OSDN Git Service

* mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
2
3         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
4         variables $src and $dst.
5         
6 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
7
8         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
9         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
10         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
11         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
12         fields. 
13         (set_message_prefixing_rule): Declare.
14
15         * diagnostic.c: (current_prefixing_rule): New variable.
16         (set_message_prefixing_rule): Define.
17         (output_set_prefix): Adjust buffer->emitted_prefix_p.
18         (init_output_buffer): Adjust Initialization.
19         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
20         
21 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
22
23         * ifcvt.c (if_convert): Do not free NULL.
24
25 2000-05-12  Nick Clifton  <nickc@cygnus.com>
26
27         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
28         to move a double word value.
29         (di_operand): New function: Return true if the operand is suitbale
30         for a double word move operation.
31         (nonimmediate_di_operand): New function: Return true if the
32         operand is a DImode register or MEM.
33
34         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
35         nonimmediate_di_operand.
36
37         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
38         nonimmediate_di_operand.
39
40         * config/fr30/fr30.md (movdi): New pattern.  Required because
41         other patterns generate DImode results.
42         (movdi_insn): New pattern.
43
44 2000-05-12  Richard Henderson  <rth@cygnus.com>
45
46         * config/alpha/alpha.c (struct shadow_summary): Define
47         bitfields as type unsigned int.
48
49 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
50
51         * config/avr/t-avr: Added definition of FLOAT while generates
52         fp-bit.c
53
54         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
55         peepholes for tst+jump = sbrs/sbrc optimization.
56
57 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
58
59         * expr.c (emit_push_insn): Do not adjust stack pointer when
60         preallocating.
61
62 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
63
64         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
65         * system.h (offsetof): ... to here.
66
67 2000-05-12  Richard Henderson  <rth@cygnus.com>
68
69         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
70         * final.c (final_end_function): Use app_disable.  Rearrange note
71         handling into a switch.  Emit deleted labels.
72         (output_asm_label): Generate label strings for deleted labels.
73         * flow.c (tail_recursion_label_list): New.
74         (find_basic_blocks_1): Set label_value_list directly.  Collect list
75         of tail recursion labels from call_placeholders.  Don't add deleted
76         labels to the label value list.
77         (cleanup_cfg): Use free_EXPR_LIST_list.
78         (flow_delete_insn_chain): Turn non-removable labels into notes.
79         (flow_delete_block): Don't disable deleting the block because of
80         a non-removable label.
81         (tail_recursion_label_p): New.
82         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
83         because of a label.
84         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
85         jump table.
86         (merge_blocks): Disable a merge because of tail recursion labels.
87         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
88         Use a more accurate measure of not merging the join block.
89         (find_if_block): Don't disable conversion because of a label.
90         (find_if_case_1, find_if_case_2): Likewise.
91         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
92         element when copying.
93         (squeeze_notes): Also leave EH notes.
94         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
95         REG_LABEL notes.
96         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
97         deleting a label.
98         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
99         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
100         referring to a deleted label.  Convert tail handling to a switch.
101         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
102         for NOTE_INSN_DELETED_LABEL.
103         (NOTE): Fix commentary.
104         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
105         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
106         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
107         (LABEL_NUSES, LABEL_REFS): Likewise.
108         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
109
110 2000-05-12  Bruce Korb  <bkorb@gnu.org>
111
112         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
113         * fixinc/check.diff: updated
114         * fixinc/inclhack.def: corrected & added some test_text-s
115         * fixinc/genfixes: removed unneeded options to autogen invocation
116         * fixinc/fixincl.tpl: Specified the output file
117         * fixinc/fixfixes.c: visual appearance
118         * fixinc/fixincl.x: regenerate
119
120 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
121
122         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
123         CTRL_defn_fix): Delete.
124         (fix_char_macro_defines, fix_char_macro_uses): Rename to
125         char_macro_def_fix and char_macro_use_fix, respectively.  Put
126         them into the FIXUP_TABLE.  Get the string to search for from
127         a c_fix_arg.
128
129         (format_write): New function.
130         (format_fix): Use it.
131
132         (FIX_PROC_HEAD): Constify text parameter.
133         (machine_name_fix): Constify all char *s.
134         * fixtests.c (skip_quote): Remove double static.
135
136         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
137         ctrl_use_quotes): Update for new scheme.
138         * fixincl.x: Regenerate.
139
140 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
141
142         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
143         DWARF2_DEBUG.
144         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
145         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
146
147 2000-05-11  Richard Henderson  <rth@cygnus.com>
148
149         * calls.c: Revert both 05-09 patches.
150
151 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
152
153         * config/mn10300/mn10300.c (print_operand): Print FP constants in
154         hexadecimal.
155         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
156         for FP values.
157
158         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
159         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
160
161 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
162
163         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
164
165 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
166
167         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
168
169 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
170
171         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
172         * config/avr/avr.c (jump_over_one_insn_p): New function.
173         * config/avr/avr.md: New peepholes added. Output test and
174         conditional jump to "sbrc" or "sbrs" command.
175
176 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
177
178         * cppmain.c (main): Use IS_DIR_SEPARATOR.
179
180 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
181
182         * except.c (find_exception_handler_labels_1): New function.
183         (find_exception_handler_labels): Split into two functions, dive
184         into CALL_PLACEHOLDERs when looking for exception handler labels.
185
186 2000-05-11 Stan Cox <scox@cygnus.com>
187
188         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
189         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
190         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
191
192 2000-05-11  Bruce Korb  <bkorb@gnu.org>
193
194         * fixinc/fixfixes.c (double_slash_fix):  obsolete
195         (else_endif_label_fix): obsolete
196         (format_fix):  new, unused as yet
197         (main): obsolete
198         * fixinc/fixlib.h: added fix description struct for use by format_fix
199         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
200         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
201         modules.  Removed the vestiges of the script version.
202         Added support for "make check".
203         * fixinc/check.diff: base diff file (needs work!!)
204         * fixinc/check.tpl: quiet the fixup output
205         * fixinc/fixtests.c (main): obsolete
206         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
207         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
208
209 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
210
211         * toplev.c (rest_of_compilation): Remove dead code after
212         combine.
213
214 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
215
216         * cpphash.c (collect_funlike_expansion): Make "# is not
217         followed by a macro argument name" a pedwarn, not an error.
218         Preserve the # in the output.  Suppress the warning if lang_asm.
219
220 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
221
222         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
223         * configure: Rebuilt.
224
225 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
226
227         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
228
229 2000-05-10  Kazu Hirata  <kazu@hxi.com>
230
231         * combine.c (try_combine): Fix a typo.
232
233 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
234
235         * config/ia64/ia64.md (insv): Add comment.
236
237 2000-05-10  Richard Henderson  <rth@cygnus.com>
238
239         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
240         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
241         dependancies on FPBIT and DPBIT.
242
243 2000-05-10  Nick Clifton  <nickc@redhat.com>
244
245         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
246         when optimising for size.
247         (mark_used_regs:) Ditto.
248         (try_pre_increment_1): Ditto.
249
250 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
251
252         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
253         Make error message friendlier.
254
255         * cpphash.h (struct hashnode): Use struct hack for name
256         member.
257         * cpphash.c (struct hashdummy): New.
258         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
259         (make_HASHNODE): No need to set ->name pointer.  Correct
260         setting of p.
261         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
262
263 2000-05-10  Richard Henderson  <rth@cygnus.com>
264
265         * flow.c (find_basic_blocks_1): Remove any spare bb_note
266         after completion.
267
268 2000-05-10  Bruce Korb  <bkorb@gnu.org>
269
270         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
271
272 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
273
274         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
275         after we enter .debug.
276
277 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
278
279         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
280         abstract instance of a nested inline function.
281
282         * stor-layout.c (finish_record_layout): finalize_type_size
283         before laying out the pending_statics.
284
285 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
286
287         * cpplex.c (spell_token): New function.
288         (spell_string, spell_comment, spell_name): fold into
289         spell_token.    
290         (I, S): Add macros.
291         (E, H): Remove macros.
292         (save_comment): Save comment opening characters too.
293         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
294         handling.
295         * cpplib.h (I, S): Add macros.
296         (E, H): Remove macros.
297         (TTYPE_TABLE): Update entries for new speller.
298         (SYNTAX_ASSERT): Remove.
299
300 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
301
302         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
303         when removing escaped newlines.  Reverse sense of test for
304         escaped newline.
305
306 2000-05-09  Richard Henderson  <rth@cygnus.com>
307
308         * flow.c (find_basic_blocks_1): Do not delete the first
309         bb_note we run across.
310         (create_basic_block): Use reorder_insns to move an existing
311         bb_note to the correct place.
312
313 2000-05-09  Richard Henderson  <rth@cygnus.com>
314
315         * calls.c (expand_call): Increment currently_expanding_call
316         before calling optimize_tail_recursion.
317
318 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
319
320         * reload1.c (reload_combine): Fix errors in last change.
321
322 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
323
324         * gcc.c (used_arg): Skip over a semicolon at the end of the
325         split-up loop; don't break out of it.
326
327         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
328         (tree.o): Depend on output.h.
329
330         * c-decl.c (pending_invalid_xref_file,
331         current_function_prototype_file): Constify.
332         (pushdecl): Constify a local char *.
333         (define_label): Constify filename parameter.
334         * c-lex.c (init_parse): Constify parameter and return value.
335         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
336         * c-tree.h: Update prototypes.
337         * c-parse.in: Constify filename member of %union, and if_stmt_file.
338         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
339         objc/objc-parse.c: Regenerate.
340
341         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
342         * dwarfout.h: Update prototypes.
343         * expr.c (expand_expr): Constify a local char *.
344         * flags.h: Constify main_input_filename.
345         * function.c (expand_function_end): Constify filename parameter.
346         * genrecog.c (make_insn_sequence): Use a character array for
347         c_test_pos.
348         (main): Remove unused variables.
349         * input.h: Constify input_filename, main_input_filename, and
350         file_stack.name.  Update prototypes.
351         * output.h: Declare first_global_object_name and
352         weak_global_object_name here, as const char *.
353         * stmt.c (expand_asm_operands): Constify filename parameter.
354         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
355         Constify filename parameter.
356         (input_filename, main_input_filename): Constify.
357         * toplev.h: Update prototypes.
358         * tree.c: Include output.h.  Don't declare
359         first_global_object_name or weak_global_object_name.  Clean up string
360         bashing in get_file_function_name_long.
361         * tree.h (struct tree_decl): Constify filename member.
362         (input_filename): Constify.
363         Update prototypes.
364         * varasm.c (first_global_object_name, weak_global_object_name):
365         Constify.
366         (assemble_start_function, assemble_variable): Clean up string bashing.
367
368         * gcc.c: Constify all spec-related strings initialized,
369         transitively, from string constants.  Constify all strings
370         and string variables related to multilibs.
371         (set_spec, read_specs): Cast argument to free to PTR.
372         (used_arg): Do not modify multilib_matches.  Use strncmp plus
373         length comparison to compare multilib switches.
374         * genmultilib: Constify everything declared in multilib.h.
375
376 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
377
378         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
379         as deleted.
380
381 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
382
383         * config/avr/avr-protos.h (extra_constraint): change a type of
384         second argument from char to int to avoid warnings.
385         (asm_output_byte): Likewise.
386         
387         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
388         (initial_elimination_offset): Handle elimination from
389         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
390         (legitimate_address_p): Use MAX_LD_OFFSET.
391         (legitimize_address): Likewise.
392         (out_movqi_r_mr): Likewise.
393         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
394         (out_movsi_r_mr): Use MAX_LD_OFFSET.
395         (out_movsi_mr_r): Likewise.
396         (out_movqi_mr_r): Likewise.
397         (out_movhi_mr_r): Likewise.
398         (notice_update_cc): Correct CC for the ashrqi3 with the shift
399         count as CONST_INT != 6.
400         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
401         shift count is a CONSTANT_P, but not a CONST_INT.
402         (ashlhi3_out): Coding style modifications.
403         (ashlsi3_out): Likewise.
404         (ashrhi3_out): Likewise.
405         (ashrsi3_out): Likewise.
406         (lshrhi3_out): Likewise.
407         (lshrsi3_out): Likewise.
408         (ashrqi3_out): Generate shift for any known constant count without
409         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
410         but not a CONST_INT.
411         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
412         shift count is a CONSTANT_P, but not a CONST_INT. 
413         (extra_constraint): change a type of
414         second argument from char to int to avoid warnings.
415         (asm_output_byte): Likewise.
416         (asm_file_end): Output size generated commands count as a hex
417         number too.
418
419         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
420
421         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
422         removed.
423         (ashlqi3): Values of "length" attribute changed. Shift count
424         uses constraints 'n' instead of 'i'.
425         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
426         shifts without clobber register.
427         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
428         (call_insn): Correct test for which_alternative == 1 (was 0).
429         (call_value_insn): Likewise.
430         
431         * config/avr/t-avr: Remove definition of FLOAT while generates
432         fp-bit.c
433
434 2000-05-09  Bruce Korb  <bkorb@gnu.org>
435
436         * fixinc/check.tpl:  Template for checking fixes
437         * fixinc/inclhack.def:  Added 'test_text' for many fixes
438         disable hpux8_bogus_inlines on SCO
439         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
440
441 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
442
443         * calls.c (expand_call): Reorganize somewhat in order
444         to avoid unnecesary recalculation inside loop and make
445         tail call failure code cleaner.
446         
447 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
448
449         * alias.c (nonlocal_reference_p): Minor reformatting.
450         * reload.c (find_equiv_reg): Simplify logic for
451         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
452         some some reformatting.
453         * reload1.c (reload_combine): Don't assume everything in
454         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
455
456 2000-05-08  Richard Henderson  <rth@cygnus.com>
457
458         * final.c (current_insn_predicate): New.
459         (final_scan_insn): Set it.
460         * output.h (current_insn_predicate): Declare.
461
462         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
463         Attach it to call insns.
464         (cond_exec_process_if_block): Track probability for true and
465         false branches.
466         (dead_or_predicable): Likewise.
467
468         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
469         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
470         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
471         (estimate_probability, expected_value_to_br_prob): Use them.
472
473         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
474         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
475         (ia64_expand_prediction): New.
476         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
477         as needed after calls.
478         (ia64_epilogue_uses): Mark b0 used.
479         * config/ia64/ia64.md (beq_true, beq_false): Remove.
480         (bne_true, bne_false): Remove.
481         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
482         (br_true, br_false): New.  Use predicate_operator and
483         ia64_expand_prediction.
484         (return_true, return_false): Likewise.
485         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
486         (call_internal1, call_value_internal): Likewise.
487         (call_value_internal1, call_multiple_values_internal1): Likewise.
488
489         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
490
491         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
492
493 2000-05-08  Richard Henderson  <rth@cygnus.com>
494
495         * rtlanal.c (may_trap_p): Consider old-style and volatile
496         asms to trap.
497
498 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
499
500         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
501
502 2000-05-08  Richard Henderson  <rth@cygnus.com>
503
504         * config/ia64/ia64.h (predicate_operator): Declare.
505
506         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
507         of existance.
508
509         * gensupport.c (process_rtx): Copy and post-process each member
510         of the define_insn rtvec individually.
511
512 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
513
514         * cpplex.c (spell_token): New function.
515         (TOKEN_LEN): Add 1 for whitespace.
516         (_cpp_lex_file): Update to use spell_token.
517         * cpplib.h (E): Remove.
518         (TTYPE_TABLE): Update CPP_VSPACE entry.
519
520 2000-05-08  Richard Henderson  <rth@cygnus.com>
521
522         * flow.c (init_propagate_block_info): Watch out for conditional
523         branch to next instruction, and thus one outgoing edge.
524
525         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
526         for global register variables; don't special case __[CD]TOR_LIST__;
527         mind ggc_p for string allocation.
528
529 2000-05-08  Nick Clifton  <nickc@cygnus.com>
530
531         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
532
533 2000-05-08  Bruce Korb  <bkorb@gnu.org>
534
535         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
536         i?86-*-msdosdjgpp* no longer uses fixincludes
537         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
538         * fixinc/inclhack.sh:  deleted
539         * fixinc/hackshell.tpl:  deleted
540         * fixinc/inclhack.tpl:  deleted
541         * fixinc/Makefile.in:  Remove dependencies on above
542         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
543
544 2000-05-08  Andreas Jaeger  <aj@suse.de>
545
546         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
547         support.
548
549 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
550
551         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
552         substitutions.
553
554 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
555
556         * cpplex.c: Move new lexer definitions and prototypes
557         to top.  Conditional include these and the code if
558         NEW_LEXER is defined.  Rename functions whose names
559         clash if this code included.
560
561 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
562
563         * rtl.def (COND_EXEC): Clarify.
564
565         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
566         same fashion as zero_extendsidi2.
567
568 2000-05-06  Richard Henderson  <rth@cygnus.com>
569
570         * config/ia64/ia64.c (predicate_operator): New.
571         (ia64_print_operand): Handle 'J'.
572         (rtx_needs_barrier): Handle COND_EXEC.
573         * config/ia64/ia64.h (BRANCH_COST): Define.
574         (PREDICATE_CODES): Update.
575         * config/ia64/ia64.md: Docuement used unspec values.
576         (attr predicable): New.
577         (movxf, movxf_internal): New.
578         (extendsfdf2): Don't comment out nop.
579         (floatdidf2): Remove.
580         (truncxfsf2, truncxfdf2, floatdixf2): New.
581         (abssi2, absdi2): Put the neg in the "true" slot.
582         (conditional branch instructions): Mark not predicable.
583         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
584         (abs*_internal): Likewise.
585         (alloc, set_bsp): Mark not predicable.
586         (barrier, insn_group_barrier, flush_cache): Likewise.
587         (define_cond_exec): New.
588
589 2000-05-06  Richard Henderson  <rth@cygnus.com>
590
591         * c-decl.c: Include "tm_p.h".
592
593         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
594         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
595         (ia64_expand_op_and_fetch): Declare.
596         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
597         (setjmp_operand): Constify variables for XSTR.
598         (ia64_encode_section_info): Likewise.
599         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
600         values to int.
601         (ia64_asm_output_external): Constify name.
602         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
603         (process_for_unwind_directive): Provide switch default.
604         (ia64_expand_compare_and_swap): Remove unused variables.
605         (ia64_expand_builtin): Likewise.
606         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
607         for printing.
608
609         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
610         (symbolic_operand, function_operand, setjmp_operand): Likewise.
611         (shift_count_operand, shift_32bit_count_operand): Likewise.
612         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
613         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
614         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
615         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
616         (ia64_expand_builtin): Likewise.
617         (call_multiple_values_operation): Make dest_regno unsigned.
618
619 2000-05-06  Richard Henderson  <rth@cygnus.com>
620
621         * rtl.def (DEFINE_COND_EXEC): New.
622         * md.texi: Document it.
623
624         * gensupport.c (input_file): Remove.
625         (struct queue_elem): Add lineno.
626         (rtx_ready_queue): Remove.
627         (errors): New.
628         (predicable_default): New.
629         (predicable_true, predicable_false): New.
630         (define_attr_queue, define_attr_tail): New.
631         (define_insn_queue, define_insn_tail): New.
632         (define_cond_exec_queue, define_cond_exec_tail): New.
633         (other_queue, other_tail): New.
634         (queue_pattern): New.
635         (process_rtx): Add patterns to the appropriate queues.
636         (is_predicable, identify_predicable_attribute): New.
637         (n_alternatives, collect_insn_data): New.
638         (alter_predicate_for_insn, alter_test_for_insn): New.
639         (shift_output_template, alter_output_for_insn): New.
640         (process_one_cond_exec, process_define_cond_exec): New.
641         (init_md_reader): Read the entire file.  Process define_cond_exec.
642         (read_md_rtx): Return elements from the queues.
643
644 2000-05-06  Richard Henderson  <rth@cygnus.com>
645
646         * flow.c (mark_set_1): Don't update conditional life info
647         if the register is not_dead.
648
649 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
650
651         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
652         (mostlyclean): Also delete fixincl, fixinc.sh, and
653         specs.ready, and make clean in the fixinc subdir.
654
655 2000-05-06  Richard Henderson  <rth@cygnus.com>
656
657         * Makefile.in (gensupport.o): Compile for the host.
658         (host-prefix gensuuprt.o): Remove.
659         (genflags.o): Depend on gensupport.h and OBSTACK_H.
660         (genattrtab.o): Likewise.
661         (gencodes.o): Depend on gensupport.h.
662         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
663         (genpeep.o, genattr.o, genoutput.o): Likewise.
664
665         * gensupport.c (obstack, rtl_obstack): New.
666         (init_md_reader): Initialize rtl_obstack.
667         * gensupport.h (rtl_obstack): Declare.
668         (message_with_line): Declare.
669
670         * genattr.c: Remove all traces of obstack manipulation.
671         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
672         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
673
674         * genattrtab.c (obstack, rtl_obstack): Remove.
675         (main): Don't init rtl_obstack.
676         * genflags.c: Likewise.
677
678         * genrecog.c (message_with_line): Move ...
679         * gensupport.c: ... here.
680
681 2000-05-06  Richard Henderson  <rth@cygnus.com>
682
683         * c-typeck.c (build_c_cast): Remove dead code.
684
685 2000-05-06  Richard Henderson  <rth@cygnus.com>
686
687         * flow.c (split_edge): Don't allocate global_live_at_start for
688         the new block unless the old blocks had them as well.
689
690         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
691
692         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
693         test_bb if a or b uses x.
694
695 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
696
697         * cpphash.h: Remove conditional #define of __extension__.
698         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
699         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
700         (ENABLE_RTL_CHECKING only).
701         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
702         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
703         (ENABLE_TREE_CHECKING only).
704         * varray.h: Add __extension__ to VARRAY_CHECK macro
705         (ENABLE_CHECKING only).
706
707 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
708
709         Use new tail-calling mechanism on ARM.
710         * arm.md (sibcall, sibcall_value): New expands.
711         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
712         (tailcalling peepholes): Delete.
713         (push_multi): Simplify.
714         * arm.c (lr_save_eliminated): Delete definition.
715         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
716         (output_return_instruction): Remove checks on lr_save_eliminated.
717         (output_arm_prologue): Remove old tail-calling code.
718         (arm_output_epilogue): New parameter, really_return.  All callers
719         changed.  Handle tail-calling epilogues.
720         * arm.h (lr_save_eliminated): Delete declaration.
721         (frame_pointer_needed): Delete declaration.
722         * arm-protos.h (arm_output_epilogue): Adjust prototype.
723
724         * arm.md (is_thumb): Examine symbol thumb_code, not expression
725         TARGET_ARM.
726         * arm.c (thumb_code): Define it.
727         (arm_override_options): Set it.
728         * arm.h (thumb_code): Declare it.
729         
730 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
731
732         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
733
734 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
735
736         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
737         bogus clobber to insns.
738         (load_multiple_operation, store_mulitple_operation): Don't check 
739         for it.
740         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
741
742         * arm.md (and_scc, ior_scc): Add missing mode.
743
744         * arm.md (call_value_symbol): Remove predicate from op2.
745
746         * arm.h (SPECIAL_MODE_PREDICATES): Define.
747         
748 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
749
750         * expr.c (get_subtarget): New function.
751         (force_operand, expand_expr, do_store_flag): Use it.
752
753         * toplev.c (compile_file): Don't take strlen of NAME if null.
754
755 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
756
757         * xcoffout.c (xcoff_current_include_file,
758         xcoff_current_function_file, xcoff_lastfile): Constify char *.
759         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
760         char *'.
761         (xcoffout_declare_function): Make name 'const char *'.
762         (xcoffout_end_epilogue): Make fname 'const char *'
763         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
764         xcoffout_declare_function, xcoffout_source_line): Match above.
765
766         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
767         -maix64 is error.
768         * rs6000.c (print_operand): Fix lossage typo.
769         (output_cbranch): Remove "cr" decoration for now.
770         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
771
772 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
773
774         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
775         constant count.
776
777 2000-05-05  Bruce Korb  <bkorb@gnu.org>
778
779         * fixinc/genfixes: Improve the matching for make target names
780
781 2000-05-05  Catherine Moore  <clm@cygnus.com>
782
783         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
784         attribute to the decl.
785         * c-decl.c (pushdecl): Propagate the USED attribute to the 
786         type copy.
787
788 2000-05-05  Richard Henderson  <rth@cygnus.com>
789
790         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
791         same way emit_group_load does.
792
793 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
794
795         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
796
797         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
798         (main): Likewise.
799
800 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
801
802         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
803
804 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
805
806         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
807         to support -shared, on platforms with dynamic libraries.
808
809 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
810
811         * system.h (S_ISBLK): Provide fallback definition.
812
813 2000-05-05  Geoff Berry  <geoffb@bops.com>
814
815         * extend.texi (Extended Asm): Document inability to give asm
816         statements access to condition codes.
817
818 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
819
820         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
821         as arg 2 of UNIQUE_SECTION.
822
823 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
824
825         * predict.c: Remove May 4 change.
826         * bb-reorder.c (make_reorder_chain): Do not perform block movement
827         if we have predicted the branch at 50-50 probability.
828
829 2000-05-05  Richard Henderson  <rth@cygnus.com>
830
831         * flow.c (init_propagate_block_info): Fix merge error
832         in HAVE_conditional_execution code.
833
834 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
835
836         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
837         shift cycle for unknown shift count. Also generates dec + brpl.
838         (ashlqi3_out): Don't generate dec + brpl which now generates by
839         `out_shift_with_cnt'.
840         (ashlhi3_out): Likewise.
841         (ashlsi3_out): Likewise.
842         (ashrqi3_out): Likewise.
843         (ashrhi3_out): Likewise.
844         (ashrsi3_out): Likewise.
845         (lshrqi3_out): Likewise.
846         (lshrhi3_out): Likewise.
847         (lshrsi3_out): Likewise.
848
849 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
850
851         * gcc.c (free_split_directories): Correct typo in explanation
852         of make_relative_prefix.
853
854 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
855
856         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
857         comparison codes to branch_comparison_operator.
858
859 2000-05-04  Richard Henderson  <rth@cygnus.com>
860
861         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
862
863 2000-05-04  Richard Henderson  <rth@cygnus.com>
864
865         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
866         (DPBIT_FUNCS): Remove _sf_to_usi.
867         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
868
869         * ifcvt.c (noce_process_if_block): Fail if A or B modified
870         between condition and jump.
871
872         * libgcc2.c (near eh_context_specific): Comment #endif string.
873         * longlong.h: Don't use strings with embedded newlines.
874
875 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
876
877         * config/rs6000/rs6000-protos.h: Add output_cbranch.
878         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
879         (print_operand): Delete %t and %T codes.
880         (output_cbranch): New function.  Support branch prediction.
881         * config/rs6000/rs6000.md: Use output_cbranch for
882         conditional branches and returns.
883
884 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
885
886         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
887         * stor-layout.c (place_field): Likewise.
888         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
889         * expr.c (store_expr): Make align unsigned.
890         * explow.c (plus_constant_wide): Make low words unsigned.
891         * expmed.c (choose_multiplier): Likewise.
892         * fold-const.c (fold):  Likewise.
893         * tree.h (build_int_2): Likewise.
894         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
895         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
896         (init_emit): Change cast to unsigned char*.
897         * varasm.c (compare_constant_1): Add cast to char*.
898         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
899         * reload1.c (reload): Likewise.
900
901         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
902
903 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
904
905         * predict.c (estimate_probability): If no prediction was found, then
906         predict the successor that is the next physical block (if such a
907         successor exists).
908
909 2000-05-04  Richard Henderson  <rth@cygnus.com>
910
911         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
912
913 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
914
915         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
916
917 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
918
919         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
920         attribute macros from here ...
921         (CPP_SPEC): to here.
922         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
923         (CPP_SPEC): Likewise.
924         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
925
926         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
927         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
928
929 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
930
931         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
932         
933         * diagnostic (vbuild_message_string, build_message_string,
934         build_location_prefix, output_get_prefix, init_output_buffer,
935         output_notice, vline_wrapper_message_with_location,
936         v_message_with_decl, default_print_error_function): De-constify.
937         (set_real_maximum_length): Prototype.
938
939         * diagnostic.h (struct output_buffer, init_output_buffer,
940         output_get_prefix, output_set_prefix): De-constify.
941
942         * function.c (init_function_start): Constify.
943
944         * gensupport.c (remove_constraints, process_rtx): Prototype.
945
946         * gthr-posix.h: Indent uses of #pragma.
947
948         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
949         Prototype.
950
951         * predict.c (find_expected_value): Delete prototype.
952         (expected_value_to_br_prob): Initialize variable `ev_reg'.
953
954         * sbitmap.h (debug_sbitmap): Prototype.
955
956         * ssa.c (compute_coalesced_reg_partition): Prototype.
957
958         * stor-layout.c (debug_rli): Prototype.
959
960         * tree.h (round_down): Prototype.
961         (init_function_start): Constify.
962
963 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
964
965         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
966         (overly conservative).  Change extern inline wrappers to
967         static inline, define them always, use PARAMS properly.
968         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
969         whitespace warnings for \f and \v at the beginning of a line.
970
971 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
972
973         * haifa-sched.c (schedule_insns): Free the flow edge list when it
974         is no longer needed
975
976 2000-05-04  Bruce Korb  <bkorb@gnu.org>
977
978         * fixincl/inclhack.def: added broken_cabs -
979         Remove `extern double cabs' declarations from math.h
980         * fixincl/inclhack.sh: regen
981         * fixincl/fixincl.x: regen
982         * fixincl/fixincl.c: Remove BOGOSITY code
983         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
984
985 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
986
987         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
988         MEM_ALIAS_SET.
989         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
990         when calling MEM_COPY_ATTRIBUTES.
991         * emit-rtl.c (operand_subword, change_address): Likewise.
992         * explow.c (stabilize): Likewise.
993         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
994         * integrate.c (copy_rtx_and_substitute): Likewise.
995         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
996         when calling MEM_COPY_ATTRIBUTES.
997         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
998         Likewise.
999         * cse.c (gen_lowpart_if_possible): Likewise.
1000         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1001         * optabs.c (gen_move_insn): Likewise.
1002         * recog.c (validate_replace_rtx_1): Likewise.
1003         * simplify-rtx.c (add_mem_for_addr): Likewise.
1004         * stmt.c (expand_anon_union_decl): Likewise.
1005         * config/arm/arm.md: Likewise.
1006         * config/h8300/h7300.c (fix_bit_operand): Likewise.
1007         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
1008         (block_move_no_loop, block_move_sequence): Likewise.
1009         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
1010         * config/alpha/alpha.c (get_aligned_mem): Likewise.
1011         Clear MEM_ALIAS_SET.
1012         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
1013         MEM_COPY_ATTRIBUTES.
1014
1015 2000-05-03  Robert Lipe <robertlipe@usa.net>
1016         
1017         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
1018         to suppress libgcc1.
1019         (i[34567]86-*-sco3.2v5*) Likewise.
1020         (i[34567]86-*-sco3.2v4*) Likewise.
1021         (i[34567]86-*-sco) Likewise.
1022         (i[34567]86-*-solaris2) Likewise.
1023         (i[34567]86-*-sysv5*) Likewise.
1024         (i[34567]86-*-sysv4*) Likewise.
1025         (i[34567]86-*-udk*) Likewise.
1026         (i[34567]86-*-sysv*) Likewise.
1027
1028 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1029
1030         * cpphash.h (U): New define, to correct type of string constants.
1031         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1032         routines, to do casts when passing unsigned strings to libc.
1033         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1034
1035         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1036         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1037         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1038         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1039         second argument an U_CHAR *.
1040
1041         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1042         length field, clean up initializer.
1043         (ISTABLE): Add __extension__ to designated-
1044         initializers version.
1045         * cpplex.c (CHARTAB): Likewise.
1046
1047         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1048         case so the file won't be empty.
1049
1050 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
1051
1052         * bb-reorder.c (struct reorder_block_def): Member succ removed.
1053         (REORDER_BLOCK_SUCC): Removed.
1054         (enum reorder_skip_type): Removed.
1055         (skip_insns_between_block): Renamed to skip_insns_after_block.
1056         Removed second argument. Removed dead code and cleaned up.
1057         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1058         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1059         second parameter to skip_insns_after_block.
1060
1061 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1062
1063         * tree.c (staticp, case LABEL_DECL): New case.
1064
1065 2000-05-03  Richard Henderson  <rth@cygnus.com>
1066
1067         * Makefile.in (start.encap): Do not depend on LIBGCC1.
1068
1069         * mklibgcc1.in: Fix typo last change.
1070
1071 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1072
1073         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1074         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1075         (GCC_CFLAGS): Use it.
1076         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1077         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1078         objc/Make-lang.in: Use it.
1079
1080 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
1081
1082         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1083
1084 2000-05-03  Richard Henderson  <rth@cygnus.com>
1085
1086         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
1087         LIBGCC1 empty with libgcc1.null.
1088
1089 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
1090
1091         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1092         change.
1093
1094 2000-05-03  Greg McGary  <gkm@gnu.org>
1095
1096         * tree.h (tree_common): Add bounded_flag member.  Remove
1097         inaccurate comment about number of remaining bits.
1098         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1099         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1100         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1101         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1102         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1103         (TYPE_QUAL_BOUNDED): New constant.
1104         (TYPE_QUALS): Handle bounded qualifier.
1105         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1106         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1107         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1108         TYPE_AMBIENT_BOUNDEDNESS): New macros.
1109         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1110         (tree_type): Add pointer_depth member.  Remove
1111         inaccurate comment about number of remaining bits.
1112         (DECL_POINTER_DEPTH): Add macro.
1113         (tree_decl): Add pointer_depth member.
1114
1115 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
1116
1117         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1118         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1119         (lshrhi3_out): Likewise.
1120         (ashrsi3_out): bugfix in shift by 8.
1121         (test_hard_reg_class): New function.
1122         * config/avr/avr.md: Bugfix inside conditions in peepholes.
1123         (ashlhi3): removed define_expand of this pattern.
1124         (*ashlhi3_insn): renamed to ashlhi3.
1125         (ashlsi3): removed define_expand of this pattern.
1126         (*ashlsi3_insn): renamed to ashlsi3.
1127         (ashrqi3): removed define_expand of this pattern.
1128         (*ashrqi3_insn): renamed to ashrqi3.
1129         (ashrhi3): removed define_expand of this pattern.
1130         (*ashrhi3_insn): renamed to ashrhi3.
1131         (ashrsi3): removed define_expand of this pattern.
1132         (*ashrsi3_insn): renamed to ashrsi3.
1133         (lshrhi3): removed define_expand of this pattern.
1134         (*lshrhi3_insn): renamed to lshrhi3.
1135         (lshrsi3): removed define_expand of this pattern.
1136         (*lshrsi3_insn): renamed to lshrsi3.
1137
1138 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
1139
1140         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1141         inclusion of "system.h".
1142
1143 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
1144
1145         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1146         TREE_ASM_WRITTEN.
1147
1148 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
1149
1150         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1151         if -mauto-pic is on.
1152         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1153         -mconstant-gp is in effect and function-descriptors are being used
1154         to make indirect calls.
1155         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1156         (MASK_AUTO_PIC): Ditto.
1157         (TARGET_CONST_GP): Ditto.
1158         (TARGET_AUTO_PIC): Ditto.
1159         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1160         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1161         -mno-pic is in effect.
1162         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1163         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
1164         -mauto-pic is in effect.
1165         (gprel64_offset): New pattern.
1166         (load_gprel64): Ditto.
1167         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
1168         -mconstant-gp is in effect, no need to preserve gp around direct
1169         calls.
1170         (call_value): Ditto.
1171         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
1172         (FUNCTION_PROFILER): Define.
1173         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
1174         @fptr() directive when -mno-pic or -mauto-pic is in effect.
1175         (ASM_OUTPUT_DESTRUCTOR): Ditto.
1176
1177 2000-05-03  Richard Henderson  <rth@cygnus.com>
1178
1179         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
1180         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
1181         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
1182         (mklibgcc, libgcc.mk): New targets.
1183         (libgcc.a): Use libgcc.mk.
1184         (stmp-multilib): Likewise.
1185         (stmp-multilib-sub): Remove.
1186         (mostlyclean): Don't delete libgcc2 temp files.
1187         * configure.in (AC_PROG_CC_C_O): Add.
1188         (NO_MINUS_C_MINUS_O): Substitute it.
1189         (all_outputs): Add mklibgcc.
1190         * mklibgcc.in: New file.
1191
1192 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1193
1194         * cppexp.c (op_t): Make an int.
1195
1196         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
1197
1198         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
1199
1200         * gensupport.c (process_rtx): Fix macros used.
1201
1202 2000-05-03  Richard Henderson  <rth@cygnus.com>
1203
1204         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
1205         call-clobbered registers of a call.
1206
1207 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
1208
1209         * gensupport.c: New file.
1210         * gensupport.h: New file.
1211         * Makefile.in (HOST_RTL): Depend on gensupport.
1212         (gensupport.o) New rule.
1213         * genattr.c: Use gensupport for reading .md files.
1214         * genattrtab.c: Ditto. 
1215         * gencodes.c: Ditto. 
1216         * genconfig.c: Ditto. 
1217         * genemit.c: Ditto. 
1218         * genextract.c: Ditto. 
1219         * genflags.c: Ditto. 
1220         * genopinit.c: Ditto. 
1221         * genoutput.c: Ditto. 
1222         * genpeep.c: Ditto. 
1223         * genrecog.c: Ditto.
1224         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
1225         * md.texi (Insn Splitting): Document define_insn_and_split.
1226
1227 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
1228
1229         * flow.c (verify_flow_info): Added two more sanity checks. The
1230         first checks that the blocks are numbered consecutively. The second
1231         checks that n_basic_blocks is actually equal to the number of
1232         basic blocks in the insn chain.
1233
1234 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1235
1236         * cpplib.h: Add accessor macros for token lists.
1237         * cpplib.c, cpphash.c, cpplex.c: Use them.
1238
1239 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1240
1241         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1242         memory usage if not in a function.
1243         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1244         return address if static.
1245
1246 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1247
1248         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
1249         whether address may trap.
1250
1251 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
1252
1253         * bb-reorder (chain_reorder_blocks): Changed code to test for
1254         EDGE_FALLTHRU rather than making erroneous assumption that the
1255         first outgoing edge is the fall-through edge.
1256
1257 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
1258
1259         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
1260         ABI for varargs, across all MIPS. This is incompatible because the
1261         va_list (__builtin_va_list) structure is different, so a compilation
1262         unit passing a va_list and a compilation unit being passed one, should
1263         both be compiled with the same ABI. (The old structure had two 
1264         pointers, now it has three.)
1265
1266 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
1267
1268         * bb-reorder.c (struct reorder_block_def): Remove members end,
1269         block_begin, and block_end.
1270         (REORDER_BLOCK_OLD_END): Delete.
1271         (REORDER_BLOCK_BEGIN): Delete.
1272         (REORDER_BLOCK_END): Delete.
1273         (chain_reorder_blocks): Remove dead code.
1274
1275 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
1276
1277         * bb-reorder.c (remove_scope_notes): Check for both types of scope
1278         notes as the end of a basic block before deleting.
1279
1280 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
1281
1282         * final.c (final_start_function): Fix spelling of "necessary".
1283
1284 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
1285
1286         * toplev.c (debug_ignore_block): Return int.
1287         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1288         * toplev.h, dwarf2out.h: Adjust.
1289         * emit-rtl.c (remove_unnecessary_notes): Test return value.
1290
1291         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1292         * toplev.c, final.c, rtl.h: Adjust.
1293
1294 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1295
1296         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1297         * configure.in: Look for makeinfo in the unified tree, then
1298         for a system makeinfo which is sufficiently new.
1299         * Makefile.in: If configure says makeinfo is too old, don't
1300         build or install Info documentation.
1301
1302 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1303
1304         * cpphash.c (collect_params): Fix off-by-one error.
1305         (dump_hash_helper): Dump all four macro nodetypes.
1306
1307 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
1308
1309         * cpphash.c (trad_stringify): Adjust p after stringification as
1310         well.
1311
1312 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1313
1314         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1315         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1316
1317         * cppfiles.c (file_cleanup): Delete.
1318         * cpphash.c (macro_cleanup): Delete.
1319         (collect_objlike_expansion, collect_funlike_expansion,
1320         macarg, scan_arguments): Remove CPP_POP case.
1321
1322         * cpplex.c (null_cleanup): Delete.
1323         (cpp_pop_buffer): Do the work that was done in the cleanups
1324         here.  Call _cpp_unwind_if_stack from here.
1325         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1326         cpp_scan_buffer): Run until we see CPP_EOF and the top of
1327         stack is the buffer _below_ the one we stacked.
1328         (cpp_get_token): Always pop an exhausted buffer.  Return
1329         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
1330         * cpplib.c (skip_if_group): Don't call cpp_get_token to
1331         increment the line number.
1332         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1333
1334         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1335         we see CPP_EOF and the top of stack is the buffer _below_ the
1336         one we stacked.
1337         * scan-decls.c: Likewise.
1338
1339 2000-05-02  Andrew Haley  <aph@cygnus.com>
1340
1341         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1342         where this function is called for the second time on a decl that
1343         has had its section info changed in such a way as to move it out
1344         of small data/bss.  
1345         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1346
1347 2000-05-01  Richard Henderson  <rth@cygnus.com>
1348
1349         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1350         the sequence we're moving, not to merge_bb->head.
1351
1352 2000-05-01  Richard Henderson  <rth@cygnus.com>
1353
1354         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1355         reference to alpha/t-linux.
1356         (alpha*-*-linux-gnu*): Likewise.
1357         * configure: Rebuild.
1358
1359         * calls.c (expand_call): Don't emit reg notes for a sibcall.
1360
1361         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1362         if not in SSA form.
1363
1364         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1365
1366 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
1367
1368         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1369         TREE_THIS_VOLATILE.
1370
1371 2000-05-01  Richard Henderson  <rth@cygnus.com>
1372
1373         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1374         emit_conditional_move.
1375
1376 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
1377
1378         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1379         as the dynamic linker.
1380
1381 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
1382
1383         * cppfiles.c (open_include_file): Open file in blocking mode.
1384         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1385         Only exclude block devices and directories.
1386
1387         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1388         static.  Allocate the hashnode and its string in the same
1389         block of memory.
1390         (del_HASHNODE): Don't free h->name.
1391         (_cpp_lookup): If there is no entry for this string, create
1392         one, of type T_VOID.
1393         (_cpp_lookup_slot): Delete.
1394         * cpphash.h: Update prototypes.
1395
1396         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1397         not hp == NULL.
1398         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1399         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
1400         node here, just fill in the value field properly.  "Delete"
1401         entries by setting the value field to T_VOID.  Check for
1402         hp->type == T_VOID, not hp == NULL.
1403
1404         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1405         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
1406         hashtab.h.
1407
1408 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
1409
1410         * config/mn10300/mn10300.c (print_operand_address): Do not add
1411         zero to SP.
1412
1413         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1414         adjusted by less than 256 bytes, use ret regardless of having any
1415         callee-saved register to restore.
1416
1417 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1418
1419         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1420
1421 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1422
1423         * config/i386/djgpp.h (INT_ASM_OP): Define.
1424         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1425         (ASM_WEAKEN_LABEL): Define.
1426         (MASK_BNU210): Define.
1427         (SUBTARGET_SWITCHES): Define.
1428         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1429         (MAKE_DECL_ONE_ONLY): Define.
1430         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1431
1432 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
1433
1434         * i386/cygwin.h (INT_ASM_OP): Define.
1435
1436 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
1437
1438         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1439         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1440
1441 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
1442
1443         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1444         __tmp_reg__ and __zero_reg__ initialization.
1445
1446 2000-04-30  Richard Henderson  <rth@cygnus.com>
1447
1448         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1449
1450         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1451         referenced bewteen the condition and the jump.  Don't delete
1452         anything but the jump.
1453
1454 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
1455
1456         * bb-reorder.c (scope_def): New struct.
1457         (scope_forest_info): New struct.
1458         (struct reorder_block_def): New member "scope".
1459         (REORDER_BLOCK_SCOPE): New macro.
1460         (relate_bbs_with_scopes): New function and prototype.
1461         (make_new_scope): Likewise.
1462         (build_scope_forest): Likewise.
1463         (remove_scope_notes): Likewise.
1464         (insert_intra_1): Likewise.
1465         (insert_intra_bb_scope_notes): Likewise.
1466         (insert_inter_bb_scope_notes): Likewise.
1467         (rebuild_scope_notes): Likewise.
1468         (free_scope_forest_1): Likewise.
1469         (free_scope_forest): Likewise.
1470         (dump_scope_forest): Likewise.
1471         (dump_scope_forest_1): Likewise.
1472         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1473         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1474         block.
1475         (reorder_basic_blocks): Added calls to build_scope_scope_forest
1476         and remove_scope_notes before reordering is done. Added calls to
1477         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1478         after reordering is done.
1479
1480 2000-40-30  Bruce Korb  <bkorb@gnu.org>
1481
1482         * fixinc/inclhack.def:  Added definitions needed by OSR5,
1483         removed two stale entries (defined away with OLD_CPP).
1484         * fixinc/inclhack.sh: regen
1485         * fixinc/fixincl.x: regen
1486
1487 2000-04-30  Richard Henderson  <rth@cygnus.com>
1488
1489         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1490         from the last insn in the sequence.
1491
1492 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
1493
1494         * cpplex.c (cpp_idcmp): New function.
1495         * cpplib.h: Prototype it.
1496         * scan_decls.c (scan_decls): Use it to inspect token names.
1497         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
1498         the file being run through the preprocessor.
1499         (check_macro_names): Provide length of token to cpp_defined.
1500
1501         * Makefile.in: Remove stale warning message.
1502
1503         * cppfiles.c (redundant_include_p): Provide length of token to
1504         cpp_defined.
1505         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1506         values are unsigned int.
1507         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1508         (_cpp_lookup_slot): Do not calculate the hash, either.
1509         * cpphash.h: Update prototypes.
1510         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1511         Hashes are unsigned int.  Calculate hash here, pass by value
1512         to _cpp_lookup_slot.
1513
1514 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1515
1516         * simplify-rtx.c (check_value_useless): Delete function.
1517         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1518         by hand.
1519         (cselib_invalidate_regno): Likewise.
1520         (cselib_invalidate_mem_1): Likewise.
1521         (references_value_p): Recognize useless values by the fact that they
1522         have no locations.
1523         (discard_useless_values): Likewise.
1524         (cselib_record_set): This may turn a useless value
1525         into a useful one.
1526
1527 2000-04-30  Richard Henderson  <rth@cygnus.com>
1528
1529         * config/d30v: New port.
1530
1531         * configure.in (d30v-*): Set fp format.
1532         * configure: Rebuild.
1533
1534 2000-04-30  Richard Henderson  <rth@cygnus.com>
1535
1536         * ifcvt.c: New file.
1537         * Makefile.in (OBJS): Add it.
1538         (ifcvt.o): New target.
1539         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1540         and conditional arithmetic.
1541         (find_insert_position): Remove.
1542         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1543         * toplev.c (DFI_ce, DFI_ce2): New.
1544         (dump_file): Add ce and ce2 dumps.
1545         (rest_of_compilation): Run if_convert a couple o times.  Set
1546         cse_not_expected after cse2.  Don't set no_new_pseudos until
1547         after sched1 or recompute_reg_usage.
1548
1549 2000-04-30  Richard Henderson  <rth@cygnus.com>
1550
1551         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1552         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1553
1554 2000-04-30  Richard Henderson  <rth@cygnus.com>
1555
1556         * flow.c (struct reg_cond_life_info): New.
1557         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1558         (init_propagate_block_info): Initialize them.
1559         (free_propagate_block_info): Destruct them.
1560         (mark_set_1): Consider conditional life before killing a register.
1561         (mark_regno_cond_dead): New.
1562         (free_reg_cond_life_info): New.
1563         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1564         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1565         (mark_used_reg): Record conditional life.
1566
1567         * haifa-sched.c (schedule_insns): Disable death counting
1568         sanity check for HAVE_conditional_execution.
1569
1570 2000-04-30  Richard Henderson  <rth@cygnus.com>
1571
1572         * Makefile.in (TIMEVAR_H): New.
1573         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1574         (timevar.h): Remove rule.
1575
1576 2000-04-29  Richard Henderson  <rth@cygnus.com>
1577
1578         * config/alpha/crtend.asm: Use C comments instead of #.
1579         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
1580
1581         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1582
1583 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
1584
1585         * cpphash.h (enum node_type: Take out T_MCONST.
1586         (union hashval): Move into struct hashnode.
1587         (struct hashnode): Pack tighter.  Remove file, line, col
1588         members.
1589         * cpphash.c: Constify most of the macro-definition structures.
1590         (struct definition): Replace by struct object_defn
1591         and struct funct_defn.  Put file, line, column information
1592         here.  All users updated to match.
1593         (_cpp_create_definition, _cpp_macroexpand): Remove special
1594         case for #define WORD OTHERWORD.
1595         * cpplib.c (do_undef): Remove T_MCONST case.
1596
1597         * cpphash.h: Move struct reflist, struct definition, and the
1598         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
1599         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
1600         * cpphash.c (_cpp_free_definition): Free data pointed to by
1601         MCONST, XCONST, MACRO, and FMACRO nodes properly.
1602         (_cpp_create_definition, del_HASHNODE): Just call
1603         _cpp_free_definition to clear out a hashnode.
1604         * cpplib.c (do_pragma_poison): Likewise.
1605
1606 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1607
1608         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
1609         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
1610         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
1611         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
1612         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
1613         REGNO_AM33_P): Redefine in terms of the new macros.
1614         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1615         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
1616         STRUCT_VALUE): Likewise.
1617         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
1618         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
1619
1620 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1621
1622         * regmove.c (struct record_stack_memrefs_data): New.
1623         (record_stack_memrefs): New function.
1624         (combine_stack_adjustments_for_block): Use it.
1625
1626 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1627
1628         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
1629         use special_function_p to detect alloca.
1630
1631 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
1632
1633         * gcc.texi: Fixes for makeinfo 4.0 --html.
1634
1635 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
1636
1637         * pcp.h: Delete file.
1638
1639 2000-04-28  Kazu Hirata  <kazu@hxi.com>
1640
1641         * h8300.c (function_epilogue): Clean up flags when the last insn
1642         in a function is a barrier.
1643
1644 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
1645
1646         * configure.in (sparc-hal-solaris2*): protect [] glob from
1647         my expansion.
1648         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
1649         rather than hard-coded constants in target_cpu_default2.
1650         * configure: Regenerate.
1651
1652 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1653
1654         * tree.c (get_callee_fndecl): Extract the initial value from
1655         a readonly decl.
1656
1657 2000-04-28  Richard Henderson  <rth@cygnus.com>
1658
1659         * varasm.c (record_constant_1): Record the CODE_LABEL when
1660         taking the address of a LABEL_REF.
1661
1662 2000-04-28  Richard Henderson  <rth@cygnus.com>
1663             Jan Hubicka  <jh@suse.cz>
1664
1665         * calls.c (combine_pending_stack_adjustment_and_call): Return the
1666         adjustment; don't do the stack adjust.
1667         (expand_call): Call compute_argument_block_size right before
1668         allocating the block; update comment; don't do alignment sanity
1669         checking for sibling call; use args_size instead of
1670         unadjusted_args_size before args_size is adjusted.  Use
1671         combine_pending_stack_adjustment_and_call to compute stack adjust
1672         for must_preallocate case.
1673
1674         * expr.c (push_block): Remove shadow `temp' in inner scope.
1675
1676 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
1677
1678         * toplev.c (rest_of_compilation): Call
1679         note_deferral_of_defined_inline_function even if the function
1680         can't be inlined.
1681
1682 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
1683
1684         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
1685
1686 2000-04-28  Richard Henderson  <rth@cygnus.com>
1687
1688         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
1689
1690 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1691
1692         * timevar.c (init_timevar): DeANSIfy function definition.
1693
1694 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1695
1696         * Makefile.in (timevar.o): Depend on flags.h.
1697         * timevar.c (unused_stack_instances): New variable.
1698         (timevar_push): Take a timevar_stack_def from
1699         unused_stack_instances if available.
1700         (timevar_pop): Push the popped timevar_stack_def onto
1701         unused_stack_instances.
1702         (TIMEVAR_ENABLE): New macro.
1703         (timevar_def): Make standalone a 1-bit field.  Add field used.
1704         (get_time): Rename parameter to now.  Return after clearing it if
1705         not TIMEVAR_ENABLE.
1706         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
1707         (timevar_pop): Likewise.
1708         (timevar_stop): Likewise.
1709         (timevar_push): Likewise.  Mark the timing variable as used.
1710         (timevar_start): Likewise.
1711         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
1712         timevars that were never used.
1713
1714 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1715
1716         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
1717         always TREE_READONLY.
1718
1719 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
1720
1721         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
1722         for call instruction with mode QImode.
1723
1724 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
1725
1726         * Makefile.in (OBJS): Add timevar.o.
1727         (toplev.o): Depend on timevar.h.
1728         (ggc-simple.o): Likewise.
1729         (ggc-page.o): Likewise.
1730         (timevar.o): New rule.
1731         (timevar.h): New rule.
1732
1733         * timevar.h: New file.
1734         * timevar.c: Likewise.
1735         * timevar.def: Likewise.
1736
1737         * toplev.h (gc_time, parse_time, varconst_time): Remove.
1738         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
1739         throughout.
1740         (TIMEVAR): Remove macro.
1741         (gc_time, parse_time, varconst_time, integration_time, jump_time,
1742         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
1743         flow_time, combine_time, regmove_time, sched_time,
1744         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
1745         sched2_time, dbr_sched_time, reorder_blocks_time,
1746         rename_registers_time, shorten_branch_time, stack_reg_time,
1747         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
1748         all_time): Remove.
1749         (compile_file): Don't initialize time variables.  Call
1750         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
1751         of many calls to print_time.
1752         (rest_of_compilation): Add timing for reload_cse_regs.
1753         (get_run_time): Removed to timevar.c.
1754         (print_time): Likewise.
1755         (get_run_time): Implement using TV_TOTAL time variable.
1756         (print_time): Get total run time from get_run_time.
1757         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
1758         computing elapsed time explicitly.
1759         * ggc-simple.c (ggc_collect): Likewise.
1760         (gc_time): Remove declaration.
1761
1762 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
1763
1764         * calls.c (combine_pending_stack_adjustment_and_call): New function.
1765         (expand_call): Use it.
1766
1767 2000-04-27  Jan Hubicka  <jh@suse.cz>
1768
1769         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
1770         fields.
1771
1772 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1773
1774         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
1775         registers.
1776
1777 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1778
1779         * function.c (epilogue_done): Pass whole insn to record_insns.
1780
1781 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1782
1783         * cse.c (CSE_ADDRESS_COST): Remove.
1784         (find_best_addr): Add new parameter "MODE", use address_cost instead
1785         of CSE_ADDRESS_COST
1786         (address_cost): New.
1787         (fold_rtx): Update call of find_best_addr.
1788         * rtl.h (address_cost): Declare.
1789         * loop.c (general_induction_var): Add new parameter "MODE", use
1790         address_cost instead of ADDRESS_COST
1791         (init_loop): Use address_cost instead of ADDRESS_COST.
1792         (check_insn_for_givs): Update call of general_induction_var.
1793         (find_mem_givs): Likewise.
1794         (consec_sets_giv): Likewise.
1795         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
1796         * i386.c (ix86_address_cost): New.
1797         * i386-protos.h (ix86_address_cost): Declare.
1798
1799 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
1800
1801         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
1802         registers.
1803
1804 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1805
1806         * expr.c (store_expr): Use clear_storage instead of direct memset
1807         libcall.
1808
1809 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
1810
1811         * config/mn10300/mn10300.c (mn10300_address_cost): Test
1812         ASHIFT, AND and LABEL_REF.
1813
1814 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1815
1816         * invoke.texi (-foptimize-sibling-calls): Fix.
1817
1818 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1819
1820         * loop.c (load_mems)  Don't use hard registers for the hoisting.
1821
1822         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
1823         calculation; rename const_equiv array in the preconditioning code
1824         from loop_unroll to loop_unroll_precondition
1825
1826 2000-04-27  Richard Henderson  <rth@cygnus.com>
1827
1828         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
1829         add new_set.
1830         (propagate_one_insn): Clear it.  Don't update reg_live here.
1831         (init_propagate_block_info): Update for pbi member changes.
1832         (free_propagate_block_info): Likewise.
1833         (mark_set_1): Know that zero_extract, sign_extract, and
1834         strict_low_part don't kill their argument.  Alter hard subregs.
1835         Update new_set for non-CLOBBER sets.  Update reg_live.
1836         (find_auto_inc): Update reg_live, not new_dead.
1837         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
1838         to determine if the reg in question was set this insn.  Only update
1839         reg info with PROP_REG_INFO.
1840
1841 2000-04-26  Richard Henderson  <rth@cygnus.com>
1842
1843         * flow.c (allocate_reg_life_data): Set max_regno here ...
1844         (life_analysis): ... not here.
1845
1846         * flow.c (calculate_global_regs_live): Force stack pointer
1847         live at end.
1848
1849 2000-04-26  Richard Henderson  <rth@cygnus.com>
1850
1851         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
1852         commit change group changes.
1853         (invert_exp_1): Similarly.
1854         (redirect_exp, invert_exp): Use them.
1855         (redirect_jump_1): New.
1856         (invert_jump_1): New.
1857         (jump_optimize_1): Remove code subsumed by condexec.c.
1858         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
1859
1860 2000-04-26  Richard Henderson  <rth@cygnus.com>
1861
1862         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
1863
1864         * genconfig.c (main): Set all HAVE_foo to 1.
1865
1866         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
1867
1868 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
1869
1870         * invoke.texi: Document -fssa flag.
1871
1872 2000-04-26  Richard Henderson  <rth@cygnus.com>
1873
1874         * flow.c (count_reg_sets_1): Remove.
1875         (count_reg_sets, count_reg_references): Remove.
1876         (recompute_reg_usage): Implement with update_life_info.
1877         Reallocate life data.
1878
1879 2000-04-26  Richard Henderson  <rth@cygnus.com>
1880
1881         * flow.c (update_life_info): Consider blocks null to mean the
1882         universal set.
1883         (calculate_global_regs_live): Likewise.
1884         (life_analysis): Do that instead of collecting all_blocks.
1885
1886 2000-04-26  Richard Henderson  <rth@cygnus.com>
1887
1888         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
1889         a still-valid conditional jump.
1890
1891 2000-04-26  Richard Henderson  <rth@cygnus.com>
1892
1893         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
1894
1895         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
1896         * flow.c (calculate_loop_depth): Remove.
1897         * output.h (calculate_loop_depth): Don't declare.
1898         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
1899         inline; run estimate_probability at the same time.
1900
1901 2000-04-26  Neil Booth  <NeilB@earthling.net>
1902
1903         * cpplib.h: "~=" is not a single pp-token.
1904         * cpplex.c: Correct commentary.
1905
1906 2000-04-26  Richard Henderson  <rth@cygnus.com>
1907
1908         * flow.c (mark_set_1): New arguments code and flags; update all
1909         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
1910         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
1911         loop_depth when optimizing for size.  Do new_dead update after
1912         emitting REG_UNUSED notes.  Merge mark_set_reg code.
1913         (mark_set_reg): Remove.
1914         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
1915         arrange to not emit REG_UNUSED notes.
1916
1917 2000-04-26  Richard Henderson  <rth@cygnus.com>
1918
1919         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
1920         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
1921
1922 2000-04-26  Richard Henderson  <rth@cygnus.com>
1923
1924         * flow.c (propagate_one_insn): Break out from propagate_block.
1925         (init_propagate_block_info): Likewise.
1926         (free_propagate_block_info): Likewise.
1927         (propagate_block): Use them.  Export.
1928         * basic-block.h: Declare them all.
1929
1930 2000-04-26  Richard Henderson  <rth@cygnus.com>
1931
1932         * basic-block.h (life_analysis): Declare here ...
1933         * output.h: ... not here.
1934         * flow.c (life_analysis): Remove nregs parameter; replace
1935         remove_dead_code with flags.  Remove ssa dead code check.
1936         Only init alias analysis if we'll use it.
1937         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
1938         * ssa.c (convert_to_ssa): Likewise.
1939         (convert_from_ssa): Likewise.
1940         * toplev.c (rest_of_compilation): Likewise.
1941
1942 2000-04-26  Richard Henderson  <rth@cygnus.com>
1943
1944         * flow.c (flow_delete_block): Rename from delete_block.  Export.
1945         * basic-block.h (flow_delete_block): Declare.
1946
1947 2000-04-26  David S. Miller  <davem@redhat.com>
1948
1949         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
1950         taking a PATTERN of it.
1951
1952 2000-04-26  <NeilB@earthling.net>
1953
1954         * cpplex.c (spell_other, spell_char): Remove.
1955         (SPELL_CHAR): New.
1956         (token_spelling, trigraph_map): Use unsigned chars.
1957         (_cpp_lex_line): Tidy up the switch statement.
1958         * cpplib.h: Implement spell_char with spell_string.
1959         (C): New.
1960
1961 2000-04-26  <RodneyBrown@pmsc.com>
1962
1963         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1964         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1965
1966 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1967
1968         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
1969         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
1970         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
1971         dwarf2out_return_save, dwarf2out_return_reg,
1972         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
1973         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
1974         gen_compile_unit_die, dwarf2out_init): Constify a char*.
1975
1976         * dwarf2out.h (dwarf2out_init): Likewise.
1977
1978         * dwarfout.c (filename_entry, primary_filename, last_filename,
1979         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
1980
1981         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
1982         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
1983         dwarf2out_return_reg): Likewise.
1984
1985 2000-04-26  Andreas Jaeger  <aj@suse.de>
1986
1987         * extend.texi (Function Attributes): Fix description of pure
1988         attribute.
1989
1990 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
1991
1992         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
1993         before calling rest_of_compilation.
1994
1995 2000-04-26  Andreas Jaeger  <aj@suse.de>
1996
1997         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
1998         last patch.
1999
2000 2000-04-25  Richard Henderson  <rth@cygnus.com>
2001
2002         * cse.c (cse_insn): Emit barrier after unconditional jump.
2003
2004         * calls.c (expand_call): Disable tail call generation once
2005         rtx_equal_function_value_matters is false.
2006
2007         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
2008         like EDGE_EH edges.
2009
2010 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
2011
2012         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
2013
2014         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
2015
2016         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
2017         is the primary DIE for a member function.
2018         (gen_decl_die): Call set_decl_origin_self here.
2019         * dwarfout.c (output_decl): And here.
2020         * integrate.c (output_inline_function): Not here.
2021         Don't clear DECL_INLINE until after calling rest_of_compilation.
2022         (set_decl_origin_self): No longer static.
2023         * tree.h: Add prototype.
2024         * toplev.c (note_deferral_of_defined_inline_function): Only write
2025         out abstract instance for actual inlines.
2026
2027 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
2028
2029         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2030         EXTENDED_REGS only if TARGET_AM33.
2031         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2032         SP_REGS to register allocation and reloading unless absolutely
2033         necessary.
2034         (movsi3): Remove special-case of adding non-constants to SP.
2035
2036 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2037
2038         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2039         INCLUDES to search and does not provide any of its own.  Also it
2040         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2041         parameters.  Also it does not call AC_DEFINE.
2042         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
2043         AC_DEFINE and provides for automatic entries for autoheader.
2044         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2045
2046         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2047         so we can pass -I flags and include gansidecl.h/system.h in this
2048         test.
2049
2050         * acconfig.h: Delete all NEED_DECLARATION_* entries.
2051
2052 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2053
2054         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2055         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2056         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2057
2058         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2059         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2060         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2061         for these macros.  Clean up spacing and linewraps.
2062
2063 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2064
2065         * calls.c (expand_call): Use get_callee_fndecl.
2066
2067         * print-tree.c (print_node): Print the chain of an _EXPR.
2068
2069 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
2070                           Jim Wilson  <wilson@cygnus.com>
2071                           Andrew Haley  <aph@cygnus.com>
2072
2073         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
2074         and gp save/restore problems.
2075         * config/ia64/crtend.asm: Add IA-64 unwind support.
2076         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2077         in fr_pad_size calculation.
2078         (save_restore_insns): Move PR save area.  Correct uses of
2079         RTX_FRAME_RELATED_P.
2080         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2081         (ia64_expand_epilogue): Add eh_epilogue support.
2082         (ia64_function_prologue): Emit .prologue directive.
2083         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2084         (ia64_override_options): Set init_machine_status and
2085         mark_machine_status.
2086         (rtx_needs_barrier): Handle bsp reads and writes.
2087         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2088         New static variables.
2089         (process_set, process_for_unwind_directive): New functions.
2090         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2091         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2092         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2093         macros.
2094         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2095         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2096         (struct machine_function): Define.
2097         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2098
2099 2000-04-25  Bruce Korb  <bkorb@gnu.org>
2100
2101         * fixinc/Makefile.in: make the removal of old programs more
2102         robust
2103         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2104         install-bin and install-sh
2105
2106 2000-04-25  Nick Clifton  <nickc@cygnus.com>
2107
2108         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2109         defined, define to return zero.
2110         (function_cannot_inline_p): If a function has any target
2111         specific attributes, then use the macro
2112         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2113         whether it can be inlined.  If it cannot, issue a suitable
2114         explanation.
2115
2116         * tm.texi: Add a new node 'Inlining' to document the new macro
2117         FUNCTION_ATTRIBUTE_INLINABLE_P.
2118
2119 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
2120
2121         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2122         commentary.
2123
2124 2000-04-25  Neil Booth  <NeilB@earthling.net>
2125
2126         Restore previous patch, plus the following fixes:
2127
2128         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2129         flags, not CPP_OPEN_PAREN.
2130         * cpplex.c (expand_token_space, init_token_list,
2131         cpp_free_token_list): Put the dummy token at list->tokens[-1].
2132         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2133
2134 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2135
2136         * config/i386/freebsd.h (INT_ASM_OP): Define.
2137
2138 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2139
2140         * loop.c (strength_reduce): Fix typo in the last checkin.
2141
2142 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2143
2144         * stor-layout.c (finalize_record_size): Simplify to use existing
2145         functions.
2146         (compute_record_mode): No longer static.
2147         * tree.h (compute_record_mode): New declaration.
2148
2149 2000-04-25  Neil Booth  <NeilB@earthling.net>
2150
2151         * Revert my patch below until cause of build failures
2152         determined.
2153
2154 2000-04-25  Richard Henderson  <rth@cygnus.com>
2155
2156         * combine.c (combine_instructions): Add missing argument
2157         to try_combine.
2158
2159         * toplev.c (rest_of_compilation): Delay sibcall optimization
2160         until after emit_eh_context.
2161
2162 2000-04-24  Nick Clifton  <nickc@redhat.com>
2163
2164         * combine.c (combine_instructions): Do not try to combine a
2165         sequence of insns when the second insn has been replaced by a
2166         note.
2167
2168 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
2169
2170         * gcc.c (load_specs): New static function.
2171         (read_specs): Use it.
2172
2173         * gcc.c (lookup_compiler): Make multiple passes for case
2174         insensitive filesystems.
2175
2176 2000-04-24  Neil Booth  <NeilB@earthling.net>
2177
2178         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
2179         * cpphash.h (_cpp_check_directive): new.
2180         * cpplex.c (handle_newline, cpp_free_token_list,
2181         init_trigraph_map, trigraph_ok, trigraph_replace,
2182         backslash_start, skip_block_comment, skip_line_comment,
2183         skip_whitespace, parse_name, parse_number, parse_string,
2184         copy_comment, _cpp_lex_line, spell_char, spell_string,
2185         spell_comment, spell_name, spell_other, _cpp_lex_file,
2186         _cpp_output_list): new.
2187         (expand_name_space): take length argument.
2188         (init_token_list): add comment list initialisation.
2189         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
2190         instead of HSPACE_BEFORE.
2191
2192         * cpplib.c (_cpp_check_directive): new
2193         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
2194         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
2195         (HSPACE_BEFORE): delete.
2196         (TTYPE_TABLE): rearrange.
2197         (struct cpp_toklist): update.
2198
2199 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2200
2201         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
2202         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
2203         argument form of AC_DEFINE.
2204
2205         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
2206         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
2207         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
2208         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
2209         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
2210
2211         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
2212
2213 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2214
2215         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
2216         deduced.h): Use -isystem, not -I, for including system headers.
2217
2218 2000-04-24  Nick Clifton  <nickc@cygnus.com>
2219
2220         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
2221         the source register is the frame pointer or arg pointer.
2222         (addsi3_small_int): Disallow if source register is the frame
2223         pointer or arg pointer.
2224
2225 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2226
2227         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
2228         call to AC_MSG_RESULT.
2229
2230 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2231
2232         * invoke.texi: Correct grammatical errors, document
2233         -fno-gnu-keywords as identical to -fno-asm for C++.
2234
2235 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2236
2237         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
2238         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
2239         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
2240         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
2241         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2242
2243         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2244         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2245         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2246         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2247         new macros names.
2248
2249 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
2250
2251         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2252         (pop_alignment): Likewise.
2253         (handle_pragma_token): Likewise.
2254
2255 2000-04-24  Robert Lipe <robertlipe@usa.net>
2256
2257         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2258
2259 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
2260
2261         * combine.c (try_combine): Update reg_nonzero_bits of
2262         newi2pat before newpat.
2263
2264 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2265
2266         * loop.c (strength_reduce): Simplify test to INSN_P.
2267         (record_giv): Attempt to simplify the add value, use CONSTANT_P
2268         expressions instead of CONST_INT.
2269         (express_from_1): Likewise.
2270
2271 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
2272
2273         * regs.h (reg_n_max): Don't declare.
2274         * flow.c (reg_n_max): Don't define.
2275         * regclass.c (renumber): Don't initialize to zero.
2276         (regno_allocated): Likewise.
2277         (reg_n_max): Define.
2278         (allocate_reg_info): Don't initialize unnecessarily.
2279
2280 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
2281
2282         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2283         and blockage_p in the newly allocated attribute.
2284
2285 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
2286
2287         * config/mn10300/mn10300.md (addsi): `inc4' on address
2288         registers does not modify cc, but `inc' on an extended
2289         register does.
2290
2291 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
2292
2293         * reload.c (find_equiv_reg): Checks all valueno regs
2294         as a reload_reg_p regs.
2295
2296 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2297
2298         * cpphash.c (collect_objlike_expansion): Add sanity check.
2299         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
2300         the buffer is the empty string, return.  Mark __DATE__ and
2301         __TIME__ as XCONST nodes, not MCONST.
2302         (_cpp_macroexpand): Avoid pushing an empty buffer.
2303         (funlike_macroexpand): Don't pop token_buffer here.
2304
2305 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
2306
2307         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2308         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2309         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2310         (REGNO_OK_FOR_BASE_P): Define in terms of them.
2311         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2312         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2313         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2314
2315 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2316
2317         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
2318         constant MULT givs.
2319
2320 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2321
2322         * cpphash.h (struct definition): Move file, line, col members...
2323         (struct hashnode): ... here.  Also add 'disabled' flag.
2324         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2325         T_IDENTITY.  Remove T_DISABLED.
2326         Update prototypes.
2327
2328         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2329         (collect_expansion): Split into collect_objlike_expansion and
2330         collect_funlike_expansion.
2331         (_cpp_macroexpand): Split out scan_arguments, stringify, and
2332         funlike_macroexpand.
2333         (_cpp_compare_defs): Rename compare_defs, make static.
2334         (_cpp_make_hashnode): Initialize hp->disabled.
2335         (macro_cleanup): Adjust for new token types.  Clear
2336         m->disabled.
2337         (_cpp_create_definition): Move code here to determine what
2338         sort of macro it is, and code to check for redefinitions, from
2339         do_define.  Implement a few simple cases without creating a
2340         full DEFINITION.
2341         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2342         Handle the simple cases.
2343         (push_macro_expansion): Set buf->has_escapes and hp->disabled
2344         here.
2345
2346         * cppinit.c (builtin_array): Change MCONST to XCONST
2347         everywhere.
2348         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2349         fix check for disabled and function-like macros.
2350         * cpplib.c (do_define): Move most logic to
2351         _cpp_create_definition.
2352         (do_undef): Handle new special token types.
2353
2354 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2355
2356         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2357         of CONSTANT_P for mult_val; always use validate_change to update insn.
2358
2359 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
2360
2361         * cpphash.c (trad_stringify, add_pat): New functions.
2362         (collect_expansion): Restore support for -traditional syntax.
2363         Use trad_stringify and add_pat.
2364         (_cpp_macroexpand): Restore support for -traditional semantics.
2365         * cpplex.c (_cpp_scan_line): Don't change space_before if we
2366         get a COMMENT token.
2367         (_cpp_lex_token): Provide COMMENT tokens to caller if
2368         traditional and parsing_define_directive.
2369         (skip_comment): Warn about // comments if -Wtraditional.
2370         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
2371         proper node type.
2372         (do_undef): Don't warn about undefining EMPTY nodes.
2373
2374 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2375
2376         * loop.c (strength_reduce): Fix biv removal code.
2377
2378 2000-04-22  Richard Henderson  <rth@cygnus.com>
2379
2380         * predict.c (estimate_probability): Examine both sides of
2381         a branch for no exits.  Use 90% not 50% for predict taken.
2382         Reorg for one copy of note generation code.
2383
2384 2000-04-22  Richard Henderson  <rth@cygnus.com>
2385
2386         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2387
2388 2000-04-22  Richard Henderson  <rth@cygnus.com>
2389
2390         * diagnostic.c (init_output_buffer): Don't initialize format_args.
2391         (output_clear): Likewise.
2392         (output_printf): Use va_copy.
2393         (vline_wrapper_message_with_location): Likewise.
2394         (v_message_with_decl): Likewise.
2395         (line_wrapper_printf): VA_START infor buffer.format_args directly.
2396         * system.h (va_copy): Provide default implementation.
2397
2398 2000-04-22  Richard Henderson  <rth@cygnus.com>
2399
2400         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2401         the collected condition is not a constant.
2402
2403 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2404
2405         * diagnostic.h: New file.
2406
2407         * Makefile.in (diagnostic.o): Depends on diagnostic.h
2408
2409         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
2410         various function prototypes.
2411         (diagnostic.h): #include.
2412         (struct output_buffer): Move into diagnostic.h.
2413         (get_output_prefix): Rename to output_get_prefix.  Export.
2414         (init_output_buffer): Export. Break out.  Ajust intialization.
2415         (output_space_left, output_append): Export.
2416         (output_newline): Rename to output_add_newline.  Export.
2417         (output_clear): Nullify additional output_buffer fields.
2418         (output_puts): Rename to output_add_string.  Export.
2419         (dump_output): Rename to output_flush_on.  Export.
2420         (build_location_prefix): Constify return-type.
2421         (emit_output_prefix): Rename to output_emit_prefix. Export.
2422         (set_real_maximum_length): New function.
2423         (output_set_maximum_length): Ditto
2424         (output_clear): Ditto.
2425         (output_add_character): Ditto.
2426         (output_add_integer): Ditto.
2427         (output_add_space): Ditto.
2428         (output_format): Ditto.
2429         (output_printf): Adjust buffer initialization.
2430         (vline_wrapper_message_with_location): Ditto.
2431         (v_message_with_decl): Ditto.  Adjust call to output_puts
2432         and get_output_prefix.
2433         (default_print_error_function): Adjust buffer intialization.
2434
2435 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2436
2437         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2438         of VOID_TYPE.
2439
2440 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
2441
2442         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2443         of explicit 0.
2444
2445 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2446
2447         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2448         accurate data about SP moves.
2449
2450 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
2451
2452         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2453         aliases to AM33 registers.
2454
2455 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2456
2457         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2458         to all EXTENDED bitmaps.
2459
2460 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
2461
2462         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2463         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2464         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2465
2466 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
2467
2468         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2469         the operand is not constant.
2470
2471 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
2472
2473         * reload.c (find_equiv_reg): Checks all valueno and regno regs
2474         as a call-clobbered regs.
2475
2476 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2477
2478         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2479         * rtl.h: Likewise.
2480         * rtl.def: Update comment.
2481         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2482         * integrate.c (expand_inline_function): Likewise.
2483         * profile.c (branch_prob): Likewise.
2484         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2485         * print-rtl.c (print_rtx): Likewise.
2486         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2487         (reemit_notes): Likewise; also use enum insn_note.
2488
2489         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2490         (place_field): Properly compute know and actual alignment.
2491
2492         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2493         in proper format.
2494
2495         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2496         note for REG1.
2497
2498 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
2499
2500         * cpphash.c (struct arg, struct arglist): Const-ify strings.
2501         (warn_trad_stringify, duplicate_arg_p): New helper functions.
2502         (collect_expansion): Rewrite to scan over a token list.
2503         Remove -traditional support.
2504         (collect_formal_parameters): Rename to collect_params; rewrite
2505         to scan over a token list.
2506         (_cpp_create_definition): Adjust to scan a token list.
2507         (_cpp_macroexpand): Remove -traditional support.
2508         (_cpp_compare_defs): Whitespace is now canonicalized.
2509         (comp_def_part): Delete function.
2510
2511         * cpphash.h: Update prototypes.
2512         * cpplex.c (init_token_list): Don't set lineno if there is no
2513         buffer.
2514         (pedantic_whitespace): New function.
2515         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
2516         consume a newline.  Use pedantic_whitespace.
2517         (_cpp_lex_token): Remove support for -traditional macros.
2518         (_cpp_get_define_token): Delete.
2519         (_cpp_get_directive_token): Do the real work here.  Use
2520         pedantic_whitespace.
2521         (_cpp_init_input_buffer): Initialize pfile->directbuf.
2522
2523         * cpplib.c (get_macro_name): Delete.
2524         (do_define): Read the entire line into pfile->directbuf, then
2525         feed the token list to _cpp_create_definition.
2526         * cpplib.h (HSPACE_BEFORE): new define.
2527         (struct cpp_reader): Add a toklist member, "directbuf".
2528
2529         * predict.c (estimate_probability): New heuristic: if a jump
2530         branches around a block with no successors, predict it taken.
2531         Disentangle control flow.
2532
2533 2000-04-20  Richard Henderson  <rth@cygnus.com>
2534
2535         * loop.c (emit_iv_add_mult): Revert last change.
2536
2537 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2538
2539         * cpplib.h (enum cpp_ttype): Add token types for all
2540         punctuators.  Distinguish pp-numbers from valid C numbers.
2541         Give some tokens better names.  Initialize from macro.
2542         (struct cpp_name, cpp_token, cpp_toklist): New data
2543         structures.
2544         Update prototypes.
2545         * cpplex.c (bump_column, expand_name_space,
2546         expand_token_space, init_token_list, cpp_output_list,
2547         _cpp_scan_line):  New functions.
2548         (output_line_command): Add third argument, new line number.
2549         * cpphash.h: Update prototypes.
2550         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2551         token names.
2552
2553 2000-04-20  Richard Henderson  <rth@cygnus.com>
2554
2555         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2556
2557 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2558
2559         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2560         object pointed to.
2561
2562 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2563
2564         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
2565         REG_EQUAL note explaining the calculated value.
2566
2567         * calls.c (expand_call): Avoid unnecesary precalculation
2568         and outgoing parameters space guarding for sibling calls.
2569         (store_one_arg): Likewise.
2570
2571 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2572
2573         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2574         (rest_of_compilation): Write sibling dump file and account
2575         for time as jump time.
2576         * invoke.texi: Update documentation on dump flags.
2577
2578 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
2579
2580         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2581
2582 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
2583
2584         * cpphash.c (special_symbol): Represent an empty macro with
2585         "\r \r " not just "\r ".
2586         (_cpp_macroexpand): Correct condition for the foo ( ) special
2587         case.
2588         (unsafe_chars): Handle EOF as second argument.
2589         (push_macro_expansion): Simplify test for removing escape at
2590         end.  Do not trim both escapes if there is no text in between.
2591
2592 2000-04-19  Jim Blandy  <jimb@redhat.com>
2593
2594         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
2595         of PTR_SIZE, when appropriate.
2596
2597 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
2598
2599         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
2600         (USE_ENUM_BITFIELDS): Fix typo.
2601
2602 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2603
2604         * stor-layout.c (place_field): Set rli->offset_align properly.
2605
2606 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2607
2608         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
2609         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
2610         PARM_BOUNDARY): Remove unnecessary casts.
2611
2612 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2613
2614         * calls.c (precompute_arguments): Remove must_preallocate and
2615         args_size calls.
2616         (expand_call): Update call of precompute_arguments.
2617
2618         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
2619         check_insn_for_givs): Break out from ...
2620         (strength_reduce) ... here; use for_every_insn_in_loop to call
2621         check_insn_for_givs.
2622         * loop.h (for_every_insn_in_loop): Declare.
2623         (loop_insn_callback): New type.
2624
2625 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2626
2627         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
2628         not nul-terminated.
2629
2630 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
2631
2632         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
2633         flag_pic and RELOC.
2634
2635 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
2636
2637         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
2638
2639         * configure.in: Delete --disable-cpplib option and all
2640         references to cpp_main.
2641         * configure: Regenerate.
2642         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
2643         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
2644         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
2645         cpp$(exeext).  Add --no-headers to makeinfo command line when
2646         generating INSTALL.  Install and uninstall cpp.1 manpage, not
2647         cccp.1.
2648         * install.texi: Delete all references to cexp.y/cexp.c.
2649         Delete ancient instructions for compiling GCC on 3b1.
2650         * INSTALL: Regenerate.
2651
2652         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
2653         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
2654         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
2655         cexp.c/cexp.y.
2656         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
2657         which is no longer tested anywhere.
2658
2659         * cppinit.c (handle_option): Don't run error message through
2660         gettext twice.
2661
2662 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2663
2664         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
2665         * cpperror.c (hashtab.h): Now include.
2666         * cppexp.c (hashtab.h): Likewise.
2667         * cpplex.c (hashtab.h): Likewise.
2668         * cppfiles.c (hashtab.h): Likewise.
2669         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
2670         to htab_find_slot_with_hash.
2671         * cpphash.c (hashtab.h): Now include.
2672         (_cpp_lookup_slot): INSERT is now enum insert_option.
2673         * cpphash.h (_cpp_lookup_slot): Likewise.
2674         * cppinit.c (hashtab.h): Include earlier.
2675         (initialize_builtins): Pass enum to htab_find_slot.
2676         * cpplib.c (hashtab.h): Now include.
2677         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
2678         (do_pragma_poison, do_assert): Likewise.
2679         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
2680         htab_find_slot_with_hash.
2681         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
2682         * tree.c (type_hash_add): Likewise.
2683         (build1): Minor cleanup.
2684
2685         * ggc-common.c: Add missing blanks.
2686         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
2687         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
2688
2689         * stmt.c (mark_case_node): New function.
2690         (mark_case_nesting): Call it.
2691
2692         * expmed.c (emit_store_flag): If comparing two-word integer
2693         with zero, can optimize NE, EQ, GE, and LT.
2694
2695         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
2696         * conflict.c: Minor cleanups.
2697         * optabs.c: Add blank line
2698         * simplify-rtx.c: Minor cleanups.
2699
2700 2000-04-18  Stan Cox  <scox@cygnus.com>
2701
2702         * gengenrtl.c (genlegend): Fix misspelling.
2703
2704 2000-04-18  Robert Lipe  <robertlipe@usa.net>
2705
2706         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
2707         bitfields of the host compiler are not signed quantities.
2708         * config.in: Regenerate.
2709         * configure: Regenerate.
2710         * system.h (USE_ENUM_BITFIELDS): Added.
2711         (ENUM_BITFIELDS): Added.
2712         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
2713         (SHORT_ENUM_BUG): Deleted.
2714         * tree.h (tree_common): Members `code', `mode', `built_in_class',
2715         now ENUM_BITFIELD.
2716         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
2717         (CODE_FIELD_BUG): Likewise.
2718         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
2719         (OLD_CC): Likewise.
2720         * config/m68k/x-ccur (X_CFLAGS): Likewise.
2721
2722 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
2723
2724         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
2725         mark is active.
2726
2727 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2728
2729         * cppexp.c (lex): Don't assume tokens are NUL terminated.
2730         * cpplib.c (do_include, do_import, do_include_next,
2731         read_line_number, detect_if_not_defined): Likewise.
2732         * cpphash.c (collect_expansion): Likewise.
2733         (special_symbol, _cpp_macroexpand): Check return from
2734         cpp_file_buffer.
2735         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
2736         macros.  Delete all uses.
2737
2738         * gcc.dg/cpp-mi.c: Add two more test cases.
2739         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
2740
2741 2000-04-17  Richard Henderson  <rth@cygnus.com>
2742
2743         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
2744         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
2745
2746 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
2747
2748         * function.c (expand_function_start): Use hard_function_value to
2749         compute the RTL to use for DECL_RESULT.
2750
2751 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2752
2753         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
2754         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2755          x86_memory_mismatch_stall): New global variables.
2756         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
2757         alloved; fix load penalties for Athlon.
2758         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2759         x86_memory_mismatch_stall): Declare.
2760         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
2761          TARGET_MEMORY_MISMATCH_STALL): New.
2762         * i386.md (athlon scheduling parameters): Fix latencies according to
2763         Athlon Optimization Manual.
2764         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
2765         vector.
2766         (fsqrt instruction patterns): Set athlon_decode to direct.
2767         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
2768         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
2769         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
2770         and TARGET_PARTIAL_REGISTER_STALL machines.
2771         (pushdf_nointeger): New pattern.
2772         (pushdf_integer): Rename from pushdf.
2773         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
2774         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
2775
2776 2000-04-17  Richard Henderson  <rth@cygnus.com>
2777
2778         * loop.c (canonicalize_condition): Add WANT_REG argument.
2779         Stop the search if we match it.
2780         * expr.h (canonicalize_condition): Update decl.
2781         * predict.c (expected_value_to_br_prob): Use it.  Track last
2782         expected value note.
2783         (find_expected_value): Remove.
2784
2785         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
2786
2787 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
2788
2789         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
2790         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
2791         a plain file.
2792         * configure.in: Call AC_FUNC_MMAP_FILE.
2793         * configure: Regenerate.
2794         * config.in: Regenerate.
2795
2796         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
2797         * fixinc/fixincl.c: Likewise.
2798
2799 2000-04-17  Richard Henderson  <rth@cygnus.com>
2800
2801         * builtins.c (expand_builtin_expect): New.
2802         (expand_builtin): Call it.
2803         * builtins.def (BUILT_IN_EXPECT): New.
2804         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
2805         * extend.texi: Document it.
2806
2807         * predict.c (expected_value_to_br_prob): New.
2808         (find_expected_value): New.
2809         * basic-block.h (expected_value_to_br_prob): Declare.
2810         * toplev.c (rest_of_compilation): Invoke it.
2811
2812         * rtl.h (NOTE_EXPECTED_VALUE): New.
2813         (NOTE_INSN_EXPECTED_VALUE): New.
2814         * rtl.c (note_insn_name): Update.
2815         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
2816         cases; handle NOTE_INSN_EXPECTED_VALUE.
2817
2818 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
2819
2820         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
2821         leaf sibcall delay slot if flag_pic.
2822         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
2823
2824 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2825
2826         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
2827
2828         * fixproto: If fix-header fails, exit with an error.
2829
2830 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2831
2832         * cse.c (struct check_depdendence_data): New.
2833         (check_dependence): New function.
2834         (invalidate): Use check_depdenence.
2835
2836 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2837
2838         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
2839         UNITS_PER_WORD is unsigned.
2840
2841         * tree.h (struct tree_common): Remove misleading comment.
2842
2843 2000-04-16  Dave Pitts  <dpitts@cozx.com>
2844
2845         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
2846         message in quotes. Otherwise, IBM's make program treats the '#' as the
2847         start of a comment and ignores the remainder of the line.
2848
2849         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
2850         upper case.
2851         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
2852         * cexp.y (initialize_random_junk): Likewise.
2853         * cppfiles.c (find_include_file): Cast alloca return value.
2854         * cppinit.c (initialize_standard_includes): Likewise.
2855         * cpplib.c (cpp_define, cpp_undef): Likewise.
2856         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
2857         * final.c (output_asm_insn): Allow for holes in EBCDIC.
2858         * fold-const.c (CHARMASK): New.
2859         (real_hex_to_f): Use it.
2860         * real.c (CHARMASK): New.
2861         (etoasc, asctoeg): Use it.
2862         (asctoeg): EBCDIC lower case characters preceed upper case.
2863
2864         * i370.c (mvs_add_label): Change spacing for coding conventions.
2865         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
2866         outputing case vectors.
2867         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
2868         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
2869         since vector in in the data CSECT.
2870         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
2871         * i370.md (Many patterns): Put the length in the XL directives.
2872         (movdi): Put back STM and MVC in definition.
2873         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
2874         pattern using the TCA.
2875         * oe.h (CPP_SPEC): Added to allow trigraphs.
2876         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
2877         not support the "long long" type.
2878
2879 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
2880
2881         * config/mips/mips-protos.h (mips_legitimate_address_p): New
2882         function.
2883         (mips_reg_mode_ok_for_base_p): Likewise.
2884         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
2885         (REG_OK_FOR_INDEX_P): Define unconditionally.
2886         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
2887         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
2888         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
2889         that GET_MODE_SIZE is unsigned.
2890         (mips_reg_mode_ok_for_base_p): Define.
2891         (mips_legitimate_address_p): Likewise.  Adjust now
2892         that GET_MODE_SIZE is unsigned.
2893         (block_move_loop): Make the number of bytes unsigned.
2894         (expand_block_move): Likewise.
2895         (function_arg): Make the loop counter unsigned to match the
2896         boundary condition.
2897
2898 2000-04-16  Richard Henderson  <rth@cygnus.com>
2899
2900         * rtl.h (enum insn_note): New enumeration.  Subsume
2901         NOTE_INSN_DELETED and friends.
2902         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
2903         * rtl.c (note_insn_name): Tweak string order.
2904
2905 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
2906
2907         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
2908         to offset * 2.
2909
2910         * cpplex.c (output_line_command): Remove debugging prints.
2911         (cpp_output_tokens): Don't write out a zero-length buffer or
2912         try to see if it has a newline in it.
2913         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
2914         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
2915         the end of the loop.  Use memmove.  Don't read past the end of
2916         the buffer.  Remove trailing newlines from error messages.
2917
2918 2004-04-16  Neil Booth  <NeilB@earthling.net>
2919
2920         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
2921         * cpplib.c: Add new syntax flags to directive table, and
2922         supporting macros.
2923
2924 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
2925
2926         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
2927         using ret $N.
2928
2929 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
2930
2931         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
2932         * haifa-sched.c: Update -fsched-verbose comments to use "=".
2933
2934 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2935
2936         * Makefile.in (ggc-page.o): Now includes toplev.h.
2937         * ggc-page.c (toplev.h): Now included.
2938         (gc_time): Remove declaration.
2939         (ggc_collect): TIME now long.
2940         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
2941         others static.
2942         * toplev.h (gc_time, parse_time, gc_time): New declarations.
2943
2944         * toplev.c: Make *_time variable long to reduce chance of overflow.
2945         (TIMEVAR): Likewise for `otime'.
2946         (print_time): Arg is now long; compute percentage in FP and round.
2947         * toplev.h (print_time): Arg is long.
2948
2949         * tree.c: Minor whitespace changes.
2950
2951         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
2952         * configure: Rebuilt.
2953         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
2954         (__fixunsxfDI): Renamed from __fixunsxfdi.
2955         (__fixunsdfDI): Renamed from __fixunsdfdi.
2956         (__fixunssfDI): Renamed from __fixunssfdi.
2957         (__floatdisf): Use proper type in REP_BIT macro.
2958         (__fixunsxfSI): Renamed from __fixunsxfsi.
2959         (__fixunsdfSI): Renamed from __fixunsdfsi.
2960         (__fixunssfSI): Renamed from __fixunssfsi.
2961         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
2962         Change location of macros and upper-case some names as above.
2963         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
2964         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
2965
2966         * varasm.c (assemble_variable): Add cast to remove warning.
2967         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
2968
2969         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
2970         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
2971         region number to -1.
2972
2973 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
2974
2975         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
2976         call unshare_all_rtl.
2977
2978         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
2979
2980 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
2981
2982         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
2983         Use .s1 not .s0 for all FP instructions.
2984
2985 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
2986
2987         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
2988         interfaces.
2989         (safe_fwrite, output_line_command): New static functions.
2990         (cpp_expand_to_buffer): Now private to cpplib.
2991         (cpp_scan_buffer): Take a printer.
2992
2993         * cpphash.h: Update prototypes.
2994         * cpplib.h: Update prototypes.
2995         (cpp_printer): New.
2996         (cpp_buffer): Remove last_nominal_fname.
2997         (cpp_reader): Remove lineno.
2998
2999         * cppmain.c: Use a cpp_printer.
3000         * fix-header.c: No need to inhibit line commands.  Call
3001         cpp_start_read with no printer.
3002
3003         * cpperror.c (cpp_notice_from_errno): Provide default name.
3004         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
3005         (find_include_file, cpp_read_file): Use make_IHASH.
3006         (file_cleanup): Set control_macro and clear
3007         input_stack_listing_current here.
3008         (_cpp_execute_include): Don't output entering-file marker.
3009         * cpphash.c (special_symbol): Look for the line number in the
3010         buffer, not the reader.
3011         (_cpp_macroexpand): No need to disable line commands.
3012         (_cpp_dump_definition): No need to generate line commands.
3013         (dump_hash_helper): Remove excess newline from output.
3014         * cppinit.c (dump_special_to_buffer): No need to generate line
3015         commands.
3016         (cpp_printer_init): New.
3017         (cpp_start_read): Take a printer, and start it up if it's not
3018         NULL.  No need to generate line commands.
3019         (cpp_finish): Expect no buffers stacked at all.  Take a
3020         printer argument, and flush the output buffer if it's not
3021         NULL.
3022         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
3023         Don't put two hashes at the beginning of an assertion.
3024         (cpp_get_token): Don't increment pfile->lineno or emit line
3025         commands here.  Return EOF if there's no buffer when we get
3026         EOF.
3027         * cpplib.c (do_define, skip_if_group):
3028         No need to disable line commands.
3029         (_cpp_output_line_command): Delete function.
3030         (do_line): Don't emit line commands here, but set things up so
3031         they will be emitted if necessary.  Use _cpp_fake_ihash to
3032         make unique nominal_fnames if necessary.
3033         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3034         with 0 for column, not -1.
3035         (_cpp_handle_eof): Don't set the control macro here.  Don't
3036         clear input_stack_listing_current here.  Don't emit line
3037         commands.
3038
3039 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
3040
3041         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3042         always, use the default SVR4 start address.
3043
3044         * config/rs6000/linux.h (LINK_SPEC): Don't define.
3045         (LINK_SHLIB_SPEC): Define.
3046         (LINK_START_DEFAULT_SPEC): Define.
3047         (LINK_OS_DEFAULT_SPEC): Define.
3048
3049         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3050
3051         * config/rs6000/eabi.asm (__eabi): Call __init rather than
3052         __do_global_ctors to handle constructors.
3053         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3054         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3055         (STARTFILE_MVME_SPEC): Likewise.
3056         (STARTFILE_SIM_SPEC): Likewise.
3057         (ENDFILE_ADS_SPEC): Use crtend.
3058         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3059         (ENDFILE_MVME_SPEC): Likewise.
3060         (ENDFILE_SIM_SPEC): Likewise.
3061         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3062         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3063         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3064         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3065         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3066         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3067         (CRTSTUFF_T_CFLAGS_S): Define.
3068         * config/rs6000/eabi-ctors.c: Delete.
3069
3070         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3071         boundary.
3072         (__fini): Likewise.
3073         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3074         boundary.
3075         (__fini): Likewise.
3076
3077 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
3078
3079         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3080         plus mask size is smaller or equal to the mode size.
3081
3082 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3083
3084         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3085         not yet set.
3086
3087         * expr.c (reload.h): Now included.
3088         (emit_block_move): Set volatile_ok when checking for movstr.
3089         (emit_move_1): Check for replacements in addresses in multi-word case.
3090         * Makefile.in (expr.o): Now includes reload.h.
3091
3092         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3093         Never have a LIBCALL end a basic block.
3094         (find_basic_blocks_1): Likewise.
3095         Reorganize CALL_INSN cases.
3096
3097         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3098
3099 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
3100
3101         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3102         completers from mov.ret instruction.
3103
3104 2000-04-14  Richard Henderson  <rth@cygnus.com>
3105
3106         * fold-const.c (extract_muldiv): Don't distribute and widen
3107         multiply across plus for non-sizetype unsigned types.
3108
3109 2000-04-14  Richard Henderson  <rth@cygnus.com>
3110
3111         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3112         If the original source is dead in the incr insn, it's dead now.
3113
3114 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3115
3116         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3117         see if DECL_BIT_FIELD needs to still be set.
3118
3119         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3120
3121         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3122         print_int_cst_octal with something that's not an INTEGER_CST.
3123
3124         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3125         and not a SUBREG to a FLOAT rtl.
3126
3127 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
3128
3129         * emit-rtl.c (try_split): Avoid infinite loop if the split
3130         results in a sequence that contains the original insn.
3131
3132 2000-04-13  Andreas Jaeger  <aj@suse.de>
3133
3134         * config/mips/mips.c (expand_block_move): Pass alignment
3135         argument to move_by_pieces in bits, not bytes.
3136
3137         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3138         __pic__ for little endian.
3139
3140 2000-04-13  Andreas Jaeger  <aj@suse.de>
3141
3142         * config/i386/i386-protos.h: Add prototype for
3143         uno_comparison_operator.
3144
3145 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3146
3147         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3148         * calls.c (ECF_PURE): New flag.
3149         (emit_call_1): Handle ECF_PURE calls.
3150         (initialize_argument_information): Unset ECF_PURE flag too.
3151         (precompute_arguments): Precompute for ECF_PURE too.
3152         (expand_call): Handle ECF_PURE calls too.
3153         (emit_library_call_value_1): Rename no_queue argument to fn_type,
3154         accept value of 2 as pure function.
3155         (emit_library_call_value, emit_library_call): Rename no_queue argument
3156         to fn_type.
3157         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3158
3159         * tree.h (DECL_IS_PURE): New macro.
3160         (struct tree_decl): Add pure_flag.
3161         * c-common.c (enum attrs): Add attribute "pure".
3162         (init_attributes): Initialize attribute "pure"
3163         (decl_attributes): Handle attribute "pure".
3164         * extend.texi (Attribute "pure"): Document.
3165         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
3166         in pure function.
3167         (flags_from_decl_or_type): Support attribute "pure".
3168
3169 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
3170
3171         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
3172         the token except for numbers and identifiers.
3173
3174 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
3175
3176         * i386.c (ix86_expand_binary_operator,
3177         ix86_expand_unary_operator): Check no_new_pseudos
3178         instead of reload_in_progress and reload_completed.
3179         (ix86_split_ashldi, ix86_split_ashrdi,
3180         ix86_split_lshrdi): Check no_new_pseudos instead
3181         of reload_completed.
3182
3183 2000-04-12  Jeffrey A Law  (law@cygnus.com)
3184
3185         * function.c (purge_addressof): Unshare any shared rtl created by
3186         purge_addressof and its children.
3187
3188 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
3189
3190         * function.c (aggregate_value_p): VOID_TYPE nodes are never
3191         aggregates.
3192
3193 2000-04-05  Andreas Jaeger  <aj@suse.de>
3194
3195         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
3196         not compiling PIC code, add flags for mabi=64.
3197         (SUBTARGET_CPP_SIZE_SPEC): New.
3198         (SUBTARGET_CPP_SPEC): New.
3199         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
3200         for MIPS/Linux and lots of code needs these defines.
3201
3202 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
3203
3204         * reorg.c (fill_slots_from_thread): Check side_effects_p when
3205         trying the "opposite arithmetic" approach.
3206
3207 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3208
3209         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
3210         (struct sh_args): Add new field force_mem.
3211         (INIT_CUMULATIVE_ARGS): Initialize it.
3212         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
3213
3214 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3215
3216         * calls.c (expand_call): Do not reverse args in "equal from" field.
3217         (emit_library_call_value_1): Emit_libcall_block for const and pure
3218         function.
3219
3220 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3221
3222         * reload1.c (reload_combine): Don't enable optimization for fixed
3223         registers when encountering a BARRIER.
3224
3225 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3226
3227         * builtins.c (expand_builtin_memcmp): Do expansion even with
3228         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
3229
3230         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
3231         stack is propertly aligned; add sanity checking for aligned
3232         stack pointer.
3233         (expand_library_call_value_1): Add sanity checking for aligned
3234         stack pointer.
3235
3236 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
3237
3238         * calls.c (emit_library_call_value_1): Change 3rd arg to
3239         locate_and_pad_parm to disregard the setting of partial.
3240
3241 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3242
3243         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3244
3245         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3246         CALL_INSN from the normal case.
3247
3248 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3249
3250         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3251         New global variables.
3252         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3253         adjustment.
3254         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3255         Declare,
3256         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3257          TARGET_ADD_ESP_8): New macros.
3258         * i386.md: Add peep2s to convert esp adjustments to push and pop
3259         instructions.
3260         (pushsi_prologue, popsi_epilogue): New patterns.
3261
3262 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3263
3264         * real.c (toe64): Remove stale #endif from the last change.
3265
3266 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
3267
3268         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3269         * real.c (toe64): Revert previous change.
3270
3271 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3272
3273         * objc/objc-act.c: Include ggc.h.
3274         (objc_tree_index, objc_global_trees): Convert most of the
3275         static tree variables into a static array with previous names
3276         as defines.
3277         (objc_ellipsis_node): New variable.
3278         (lang_init): Call objc_act_parse_init and c_parse_init.
3279         Create objc_ellipsis_node.
3280         (build_selector_translation_table): Use objc_ellipsis_node instead
3281         of (tree)1.
3282         (hack_method_prototype): Likewise.
3283         (get_arg_type_list): Likewise.
3284         (start_method_def): Likewise.
3285         (continue_method_def): Likewise.
3286         (gen_method_decl): Likewise.
3287         (ggc_mark_imp_list): New function.
3288         (ggc_mark_hash_table): New function.
3289         (objc_act_parse_init): New function.
3290         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3291         * c-parse.in (c_parse_init): For objc add roots of objc specific
3292         local tree variables.
3293         * objc/objc-parse.y: Rebuilt.
3294         * objc/objc-parse.c: Rebuilt.
3295         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3296
3297 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
3298
3299         * cse.c (delete_trivially_dead_insns): Also delete insns
3300         that copy a register to itself where the destination is
3301         a strict_low_part.
3302
3303 2000-04-11  Richard Henderson  <rth@cygnus.com>
3304
3305         * flow.c (struct propagate_block_info): Add new_dead, new_live.
3306         (propagate_block): Initialize them.  Use them in parallel instead
3307         of one tmp variable, ie revert much of the 0408 and 0407 functional
3308         changes, but keep the structural changes.
3309         (mark_set_regs): Take new_dead from propagate_block_info instead.
3310         (mark_set_1, mark_set_reg): Likewise.
3311         (mark_used_regs): Likewise with new_live.
3312         (mark_used_reg): Likewise.  Revert 0408 change.
3313
3314 2000-04-11  Nick Clifton  <nickc@cygnus.com>
3315
3316         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3317         restriction.
3318         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3319
3320 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3321
3322         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3323         const section to output a CONSTRUCTOR based on the same conditions
3324         used for VAR_DECLs.
3325
3326 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
3327
3328         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3329         * pa/pa-protos.h (output_call): Add additional argument indicating
3330         if the call is a sibling/tail call.
3331         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3332         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3333         (function_arg, function_arg_partial_nregs): Likewise
3334         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3335         (emit_move_sequence): Zero extend certain constants as needed
3336         for TARGET_64BIT.
3337         (compute_zdepdi_operands, output_64bit_and): New functions.
3338         (output_64bit_ior, function_arg): Likewise.
3339         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3340         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3341         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3342         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3343         (output_bvb): Likewise.
3344         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3345         (output_call): New argument 'sibcall'.  Generate sibcall sequences
3346         as needed.
3347         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
3348         (ouput_arg_descriptor): Do not emit argument descriptors for
3349         TARGET_64BIT.
3350         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3351         defined.
3352         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3353         (FUNCTION_OK_FOR_SIBALL): Define.
3354         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3355         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3356         (CPP_SPEC): Use new spec infrastructure.
3357         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3358         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3359         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3360         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3361         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3362         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3363         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3364         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3365         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3366         (FUNCTION_ARG); Call out to C code.
3367         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3368         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3369         (MIN_UNITS_PER_WORD): Likewise.
3370         * pa/pa.md (cmpdi): New expander.
3371         (scc patterns, movstrsi): Not available for TARGET_64BIT.
3372         (64bit conditional arithmetic): New patterns.
3373         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3374         (movsicc): Not available if modes on all the operands to not match.
3375         (movdicc): New expander and associated patterns.
3376         (64bit branches): New patterns.
3377         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3378         (pre_ldd, post_std): New patterns.
3379         (64bit addil, load low part): New patterns.
3380         (special movsf constant): Not available for TARGET_64BIT.
3381         (movsf, movdf expanders): Force constants into memory.
3382         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3383         (64bit movdf/movdi patterns): New patterns.
3384         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3385         for TARGET_64BIT.
3386         (extendqidi2, extendhidi2, extendsidi2): Similarly.
3387         (adddi3 expander): Allow "arith_operand" for second input.
3388         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3389         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3390         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3391         (muldi3): New expander for TARGET_64BIT.
3392         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3393         for TARGET_64BIT.
3394         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3395         patterns for TARGET_64BIT.
3396         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3397         patterns for TARGET_64BIT.
3398         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3399         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3400         (sibcall_epilogue): New expander.
3401         (casesi): Tweak for TARGET_64BIT.
3402         (call expanders): Set & use the outgoing argument pointer.  Use the
3403         64bit call patterns as needed. Add additional arg to output_call.
3404         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3405         (sibcall, sibcall_internal_symref): New expanders.
3406         (sibcall_value, sibcall_value_internal_symref
3407         (interspace_jump): Turn into an expander + matching patterns.
3408         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3409         * pa/pa64-regs.h: Eliminate trigraph sequences.
3410         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3411
3412 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
3413
3414         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3415         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3416         cpp_token with cpp_ttype everywhere.
3417         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3418         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3419         CPP_BUF_COL.  Line and column numbers are unsigned int, not
3420         long.
3421         * cpplex.c (cpp_buf_line_and_col): Delete.
3422         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3423         'long lineno' to 'unsigned int lineno'.
3424         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3425
3426 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3427
3428         * extend.texi: ISO C99 is not a draft anymore.
3429         * invoke.texi: ISO C++ is not a draft anymore.
3430         * cpp.texi: __cplusplus is required by the ISO standard.
3431
3432         * extend.texi (-fthis-is-variable): Undocument.
3433         * flags.h (warn_template_debugging): Remove declaration.
3434         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3435         -Wenum-clash, -Wtemplate-debugging): Undocument.
3436
3437 2000-04-10  Nick Clifton  <nickc@cygnus.com>
3438
3439         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3440         integer.
3441         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3442         integer.
3443         (ARM_SIGN_EXTEND): Use HOST_UINT.
3444         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3445         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3446         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3447         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3448
3449         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3450         (arm_gen_constant): Use HOST_UINT.
3451         (arm_canonicalize_constant): Use HOST_UINT.
3452         (arm_reload_in_hi): Use HOST_UINT.
3453         (arm_reload_out_hi): Use HOST_UINT.
3454         (output_multi_immediate): Use HOST_UINT.
3455         (int_log2): Use HOST_UINT.
3456         (arm_poke_function_name): Use HOST_UINT.
3457         (arm_output_epilogue): Use arm_volatile_func().
3458         (output_thumb_prologue): Use arm_strip_name_encoding().
3459
3460 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3461
3462         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3463         of sequence point problems.
3464
3465 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
3466
3467         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3468         Recomment.
3469         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3470
3471 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3472
3473         * sbitmap.h: Whitespace changes and use upper-case macro args.
3474         (struct simple_bitmap_def): All sizes now unsigned.
3475         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3476         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3477         (sbitmap_vector_alloc): Parms and local vars now unsigned.
3478         (sbitmap_zero): Cast bzero arg to PTR.
3479         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3480         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3481         loop to make structure clearer.
3482         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3483         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3484         (sbitmap_a_and_b_or_c): Likewise.
3485         (sbitmap_intersection_of_succs): Minor cleanups.
3486         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3487         (sbitmap_union_of_preds): Likewise.
3488         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3489         (debug_sbitmap): New function.
3490
3491         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3492         * c-typeck.c (convert_for_assignment): Likewise.
3493
3494         * expmed.c (init_expmed): Don't free objects we make.
3495         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3496
3497         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3498         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3499
3500         * gcse.c (expr_hash_table_size): Now unsigned.
3501         (compute_ae_gen): Local variable `i' now unsigned.
3502         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3503         (compute_transout, hoist_code): Likewise.
3504         (compute_local_properties): Likewise, also hash_table_size.
3505         (alloc_expr_hash_table): N_INSNS now unsigned.
3506         (delete_null_pointer_checks): Mark arg F as unused.
3507
3508         * regrename.c: Minor cleanups, including chang some variables
3509         to unsigned int.
3510
3511 2000-04-10  Neil Booth  <NeilB@earthling.net>
3512
3513         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3514         than GETC ().
3515         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3516
3517 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3518
3519         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3520         __classof__, and __headof__ from the list of gnu keywords.
3521         (-ansi): Remove -foperator-names from list of implied options.
3522         Do not call it ANSI C++.
3523         (-foperator-names): Document as -fno-operator-names.
3524
3525 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
3526
3527         * cpphash.c (timestamp): Delete.
3528         (del_HASHNODE): If type is T_MCONST, free value.cpval.
3529         (special_symbol): Remove unnecessary braces.  Remove
3530         T_VERSION.  Treat T_STDC like T_CONST unless
3531         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
3532         when one is encountered, then convert them into T_MCONST
3533         nodes.
3534         * cppinit.c (builtin_array): version_string is T_MCONST.
3535         __STDC__ has a "1" in its cpval.  Don't have a terminator
3536         entry.  Clean up which entries are dumped.
3537         (initialize_builtins): Only __STDC__ gets the special
3538         -traditional treatment.  Count the length of builtin_array.
3539         Render version_string here.
3540         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
3541         * cpplib.h (struct cpp_reader): Remove timebuf.
3542
3543 2000-04-09  Richard Henderson  <rth@cygnus.com>
3544
3545         * genrecog.c (pred): Update comparison_operator for the unordered
3546         operators.
3547
3548         * config/i386/i386.c (no_comparison_operator): Disallow unordered
3549         operators.
3550         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3551         (uno_comparison_operator): New.
3552         (put_condition_code): Handle UNORDERED/ORDERED.
3553         (unsigned_comparison): Likewise.
3554         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3555         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3556         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
3557         update all callers.  Handle all 8 unordered operators.
3558         (ix86_expand_setcc): Lose the unordered argument, update all callers.
3559         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
3560         * config/i386/i386.h (PREDICATE_CODES): Update.
3561         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3562         (ix86_expand_branch, ix86_expand_setcc): Update.
3563         * config/i386/i386.md (sunordered, sordered): New.
3564         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3565         (bunordered, bordered): New.
3566         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3567         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3568         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3569
3570 2000-04-09  Philip Blundell  <philb@gnu.org>
3571
3572         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3573
3574 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
3575
3576         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3577         fix_truncxfhi2): New patterns.
3578         * i386.c (output_fix_trunc): Handle converting to HImode.
3579
3580 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
3581
3582         * ssa.c (convert_to_ssa): Eliminate dead code when calling
3583         life_analysis.
3584         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3585         (for_each_successor_phi): Change parameter to basic_block.
3586         (coalesce_regs_in_successor_phi_nodes): Likewise.
3587         (coalesce_regs_in_copies): Likewise.
3588         (compute_coalesced_reg_partition): Use basic_block instead of index.
3589         * rtl.h (convert_to_ssa): Delete.
3590         (convert_from_ssa): Likewise.
3591         (successor_phi_fn): Likewise.
3592         (for_each_successor_phi): Likewise.
3593         (in_ssa_form): Likewise.
3594         * basic-block.h (convert_to_ssa): Moved from rtl.h.
3595         (convert_from_ssa): Likewise.
3596         (successor_phi_fn): Likewise.
3597         (in_ssa_form): Likewise.
3598         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
3599         * flow.c (calculate_global_regs_live): Pass a basic_block to
3600         for_each_successor_phi.
3601
3602 2000-04-08  Richard Henderson  <rth@cygnus.com>
3603
3604         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
3605         was modified in the current insn.
3606
3607 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3608
3609         * arm/thumb.md: Delete.
3610         * arm/thumb-protos.h: Delete.
3611
3612 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3613
3614         Merge changes from merged-arm-thumb-backend-branch onto trunk.
3615
3616         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
3617
3618         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
3619         into branch.
3620
3621         * arm.md (nop): Use the standard RTL expression.  Don't code as a
3622         define_expand.
3623         (*arm_nop, *thumb_nop): Delete.
3624
3625         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
3626         constants.  Use casts instead.
3627         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
3628         output_multi_immediate, arm_poke_function_name): Likewise.
3629         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
3630         MASK_RETURN_ADDDR): Likewise.
3631
3632         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
3633
3634         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
3635         into branch.
3636
3637         * arm.md (eh_epilogue): New function.
3638         * arm.h (struct machine_function): Move to here ...
3639         * arm.c: ... from here.
3640         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
3641         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
3642         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
3643
3644         2000-03-30  Nick Clifton  <nickc@cygnus.com>
3645
3646         * config/arm/semi.h (ASM_SPEC): Restore definition.
3647         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3648
3649         * config/arm/elf.h (ASM_SPEC): Restore definition.
3650         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3651
3652         * config/arm/arm.h (ASM_SPEC): Remove definition.
3653         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
3654
3655         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
3656
3657         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
3658
3659         2000-03-24  Nick Clifton  <nickc@cygnus.com>
3660
3661         Various formating tidyups, elimination of compile time
3662         warnings and synchronisation with internal sources:
3663
3664         * config/arm/arm-protos.h (assemble_align): Add prototype.
3665         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3666         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3667         (arm_return_addr_rtx): Rename to arm_return_addr.
3668
3669         * config/arm/arm.c: Include except.h.
3670         Define shorter typenames for strict minipool_node and struct
3671         minipool_fix.
3672         (arm_return_in_memory): For WinCE return all structures <= 32 bits
3673         in memory.
3674         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3675         (gen_comapre_reg): Rename to arm_gen_compare_reg.
3676
3677         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3678         already defined.
3679         (ASM_SPEC): Define if not already defined.
3680         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
3681
3682         * config/arm/arm.md: Rename references to gen_rotated_half_load to
3683         arm_gen_rotated_half_load, and references to gen_comapre_reg to
3684         arm_gen_compare_reg.
3685         (indirect_jump):  Only accept register operands.
3686         (load_indirect_jump): Keep this pattern since combine can generate
3687         it.
3688
3689         * config/arm/coff.h: Include aout.h.
3690         (MULTILIB_DEFAULTS): Only define if not already defined.
3691
3692         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
3693         into arm.h (so that COFF ports can support thumb based aliases).
3694         (ASM_SPEC): Move definition into arm.h
3695
3696         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
3697         redundant apcs spec.
3698         (ASM_SPEC): Move definition to arm.h
3699
3700         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
3701
3702         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
3703         for entries in the .bss section
3704
3705         2000-03-23  Nick Clifton  <nickc@cygnus.com>
3706
3707         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
3708         to thumb_far_jump_used_p.
3709
3710         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
3711         single integer parameter.
3712
3713         * config/arm/arm.c (struct machine_function): Add two new
3714         fields, 'far_jump_used' and 'arg_pointer_live'.
3715         (thumb_far_jump_used_p): Once the decision has been made that
3716         far jumps might be used, always return true.
3717         If being called from the initial elimination offset macro then
3718         do not bother to perform the test if the arg pointer is not
3719         being used.
3720         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
3721         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
3722
3723         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
3724
3725         * arm.c (output_return_instruction): Handle more cases where we can
3726         return from a function with an ldr instruction.
3727         (arm_output_epilogue): Likewise.
3728
3729         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
3730         if we need to push a large stack frame and there are no callee-saved
3731         registers.
3732
3733         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
3734         in ARM code if the frame pointer has been eliminated.
3735
3736         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
3737         unspec_volatile arguments to avoid duplicates.
3738         (consttable_1, consttable_2): Fixes for big-endian mode.
3739
3740         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
3741         as appropriate.
3742
3743         Re-write constant pool code.
3744         * arm.c (minipool_node, minipool_fix): New types.
3745         (minifix): Delete type.
3746         (arm_add_minipool_constant): Delete.
3747         (arm_compute_minipool_offsets, arm_find_barrier,
3748         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
3749         (get_jump_table_size): Now returns HOST_WIDE_INT.
3750         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
3751         functions.
3752         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
3753         (assign_minipool_offsets, arm_print_value): Likewise.
3754         (dump_minipool): Rewrite.
3755         (arm_barrier_cost): New function.
3756         (create_fix_barrier): New function.
3757         (push_minipool_barrier): New function.
3758         (push_minipool_fix): Record additional information about the fixup
3759         required.
3760         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
3761         check the mode of what needs fixing.
3762         (arm_reorg): Rewrite.
3763
3764         2000-03-08  Nick Clifton  <nickc@cygnus.com>
3765
3766         * config/arm/arm.md (indirect_jump): Force constant addresses into
3767         a register.
3768
3769         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
3770
3771         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
3772
3773         2000-02-24  Nick Clifton  <nickc@cygnus.com>
3774
3775         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
3776         adjust is word aligned.
3777         (thumb_expand_epilogue): Make sure that stack adjust is word
3778         aligned.
3779
3780         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
3781
3782         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
3783
3784         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
3785         pointer relative addresses.
3786
3787         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
3788
3789         * arm.c (find_barrier): Find the last barrier within the allowed
3790         range.
3791
3792         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3793
3794         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
3795
3796         2000-02-09  Nick Clifton  <nickc@cygnus.com>
3797
3798         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
3799         ARM_FUNCTION_PROFILER.
3800
3801         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
3802         ARM_FUNCTION_PROFILER.
3803
3804         * config/arm/linux-oldld.h: Imported from mainline sources.
3805
3806         2000-02-07  Nick Clifton  <nickc@cygnus.com>
3807
3808         * config/arm/lib1funcs.asm: Merge in thumb functions from
3809         lib1thumb.asm.
3810
3811         * config/arm/lib1thumb.asm: Delete.
3812
3813         2000-02-04  Nick Clifton  <nickc@cygnus.com>
3814
3815         * config/arm/arm.c: Sychronised with current Red hat local
3816         sources.
3817         * config/arm/arm.h: Ditto.
3818         * config/arm/arm-protos.h: Ditto.
3819
3820         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
3821
3822         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
3823
3824         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
3825         byte stores.
3826
3827         2000-02-02  Nick Clifton  <nickc@cygnus.com>
3828
3829         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
3830
3831         * config/arm/arm.md (epilogue): Fix rtl checking abort because
3832         (return) was emited using an emit_insn() call.
3833
3834         2000-01-31  Nick Clifton  <nickc@cygnus.com>
3835
3836         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
3837         thumb stack frame.
3838         (thumb_exit): Move frame pointer back into hard frame pointer
3839         register if backtracing is being used.
3840
3841         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
3842
3843         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
3844         into branch.
3845
3846         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
3847
3848         * config/arm/arm.md (neg_pool_offset): Provide default for new
3849         attribute.
3850         (arm_movsi_insn): Add neg_pool_offset attribute.
3851         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
3852         rtx for the insn that starts the scan and an unsigned long for its
3853         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
3854         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
3855         instructions in *PINSERTED.
3856         (struct minipool_fixup): Add MIN_ADDRESS elt.
3857         (sort_fixups): Compute it.
3858         (arm_reorg): Changes to support inserting pools before the insn to be
3859         fixed up.
3860
3861         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
3862
3863         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
3864         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
3865         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
3866
3867         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
3868
3869         * config/arm/semi.h (TARGET_VERSION): Do not define if already
3870         defined.
3871         (TARGET_DEFAULT): Do not define if already defined.
3872
3873         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
3874
3875         * config/arm/arm.md (anddi3): Allow disjoint source operands.
3876         (iordi3): Allow disjoint source operands.
3877         (xordi3): Allow disjoint source operands.
3878         (negdi2): Permit construction for ARM and Thumb.
3879         (arm_negdi2): Renamed version of old negdi2 pattern.
3880         (thumb_negdi2): New pattern: Only permit non-overlapping
3881         source and destination.
3882
3883         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
3884
3885         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
3886         scratch low register so that it will not be deleted.
3887
3888         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
3889
3890         * config/arm/pe.h (ARM_PE): Define.
3891
3892         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
3893         interfacearm attribute if this is a PE toolchain.
3894         (output_return_instruction): Do not emit anything if the function
3895         has the naked attribute set.
3896         (is_called_in_ARM_mode): If the function has the interfacearm
3897         attribute then return true.
3898         (thumb_expand_prologue): Do not generate a prologue for naked
3899         functions.
3900         (thumb_expand_epilogue): Do not generate an epilogie for a naked
3901         function.
3902         (output_thumb_prologue): Do not bother if the function is naked.
3903         Strip PE encoding from function name before emitting.
3904
3905         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
3906
3907         * arm.md (pic_load_addr): Fix constraints.
3908
3909         * arm.md (casesi_insn): Fix mis-applied patch.
3910
3911         * arm.md ("core" function unit): Add rules for single- and
3912         multi-cycle insns.
3913         (All TARGET_THUMB patterns): Add "type" attribute information
3914         where needed.
3915         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
3916         the following insn is a CALL.
3917
3918         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
3919         pointer.
3920         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
3921         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
3922         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
3923
3924         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
3925
3926         * config/arm/linux-gas.h: oops - this file was missed out when the
3927         branch was created...
3928
3929         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
3930
3931         * thumb.c: Deleted.  Move contents to ...
3932         * arm.c: ... here.
3933         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
3934         rule for thumb.o
3935         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
3936         * configure: Regen.
3937
3938         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
3939         declare a prototype for asm_output_align();
3940
3941         * arm.c (thumb_condition_code): Delete.
3942         (arm_print_operand): Always use arm_condition_code array.
3943
3944         * arm.c (thumb_return_addr_rtx): Delete.
3945         (arm_save_machine_status, arm_restore_machine_status): Delete.
3946         (arm_init_machine_status, arm_mark_machine_status): New functions.
3947         (arm_init_expanders): Update accordingly.
3948         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
3949         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
3950         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
3951
3952         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
3953
3954         * configure.in : Fix arm-*-aout target to use new t-arm-aout
3955         script.
3956         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
3957         targets.
3958
3959         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
3960
3961         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
3962         stack backtrace structure.
3963
3964         * config/arm/arm-protos.h: Add prototypes for functions defined in
3965         arm/pe.h.
3966
3967         * config/arm/arm.c (arm_override_options): Fix selection of
3968         attributes of default processor.
3969
3970         * config/arm/coff.h: Delete needless #include.
3971
3972         * config/arm/pe.c: Delete unused code.
3973
3974         * config/arm/pe.h (CPP_DEFINES): Delete
3975         (SUBTARGET_CPP_SPEC): Define.
3976         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
3977
3978         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
3979
3980         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
3981
3982         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
3983         updated.
3984         (CAN_DEBUG_WITHOUT_FP): Define.
3985         (FIXED_REGISTERS): Make r11 call-saved.
3986         (CALL_USED_REGISTERS): Likewise.
3987         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
3988         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
3989         frame-pointer is required.
3990         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
3991         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
3992         if the target normally needs a stack frame in non-leaf functions.
3993         (use_return_insn): Correct logic for determining when a return
3994         instruction can be used.
3995         (output_return_instruction): Handle the frame-pointer register as
3996         a normal register when not TARGET_APCS_FRAME.
3997         (arm_output_prologue): Likewise.
3998         (arm_output_epilogue): Likewise.
3999         (output_func_epilogue): Likewise.
4000         (arm_expand_prologue): Likewise.
4001         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
4002
4003         * arm.c (use_return_insn): No need to check floating point regs if
4004         TARGET_SOFT_FLOAT.
4005         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
4006         the code of value stored in the minipool array.
4007         (arm_add_minipool_constant): Likewise.
4008
4009 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4010
4011         * basic-block.h (conflict_graph_enum_fn): K&R fix.
4012
4013 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4014
4015         * tree.c (tree_expr_nonnegative_p): New function.
4016
4017         * tree.h (tree_expr_nonnegative_p): Declare.
4018
4019         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
4020         elide some sign_compare warnings.
4021         (build_conditional_expr): Likewise.
4022
4023 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
4024
4025         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
4026
4027         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
4028         * i386.c (print_operand): Use the proper suffix for a 387 HImode
4029         operand.  Abort if a 387 operand has an unsupported size.
4030
4031 2000-04-08  Neil Booth  <NeilB@earthling.net>
4032
4033         * cppexp.c (parse_charconst): Null does not end character
4034         constants.
4035         * cppinit.c (ISTABLE): Null character handled as whitespace.
4036         * cpplex.c (null_warning):  new function.
4037         (skip_string): Emit warning if nulls encountered.
4038         (_cpp_skip_hspace): Emit warning if nulls encountered.
4039         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
4040         them.
4041         * cpp.texi: Update.
4042
4043 2000-04-07  Richard Henderson  <rth@cygnus.com>
4044
4045         * flow.c (loop_depth): Remove.
4046         (reg_next_use, cc0_live, mem_set_list): Replace with ...
4047         (struct propagate_block_info): New.
4048         (life_analysis): Don't allocate reg_next_use.
4049         (propagate_block_delete_insn): Break out of propagate_block.
4050         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4051         (propagate_block_delete_libcall): Likewise.
4052         (propagate_block): Create a propagate_block_info struct to pass
4053         to subroutines.  Allocate one not two temporary regsets.  Don't
4054         clobber memory for const calls.  Look for clobbers in
4055         CALL_INSN_FUNCTION_USAGE.
4056         (mark_set_regs): Recognize COND_EXEC.
4057         (mark_set_reg): Break out of mark_set_1.
4058         (mark_used_reg): Break out of mark_used_regs.
4059         (mark_used_regs): Recognize COND_EXEC.
4060         (insn_dead_p): Use propagate_block_info struct.
4061         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4062         (find_auto_inc, try_pre_increment_1): Likewise.
4063         (print_rtl_with_bb): Dump regs live at end too.
4064         (count_reg_sets_1): Pass in loop_depth.
4065         (count_reg_sets, count_reg_references): Likewise.
4066         (recompute_reg_usage): Provide it.
4067
4068 2000-04-07  Richard Henderson  <rth@cygnus.com>
4069
4070         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4071         not the raw files.
4072
4073 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
4074
4075         * cpplib.c (do_elif): Skip the rest of the line if we're
4076         not going to bother evaluating it.
4077         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
4078         to avoid pointless calls to the lexer.
4079
4080 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
4081
4082         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4083
4084 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
4085
4086         * calls.c (expand_call): emit_queue if we're trying a sibcall.
4087
4088 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
4089
4090         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4091
4092 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
4093
4094         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4095         crtend so they can be multilibbed.
4096         (STAGESTUFF): Remove s-crt and s-crtS.
4097
4098 2000-04-07  Richard Henderson  <rth@cygnus.com>
4099
4100         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4101         if we discover we need a pseudo and no_new_pseudos is true.
4102         * config/alpha/alpha.md (ne:DI insn): New.
4103         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4104
4105 2000-04-07  Richard Henderson  <rth@cygnus.com>
4106
4107         * rtl.def (COND_EXEC): New.
4108         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4109         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4110
4111         * genconfig.c (have_cond_arith_flag): Remove.
4112         (have_cond_exec_flag): New.
4113         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4114         (main): Print HAVE_conditional_execution.
4115
4116         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4117         (sched_analyze_insn, print_pattern): Likewise.
4118         * reload.c (find_equiv_reg): Likewise.
4119         * rtlanal.c (reg_referenced_p): Likewise.
4120         (note_stores, dead_or_set_regno_p): Likewise.
4121         (reg_overlap_mentioned_p): Rewrite to use a switch.
4122
4123         * ggc.h (struct rtx_def): Forward declare.
4124
4125         * print-rtl.c (debug_rtx_range): New.
4126         * rtl.h (debug_rtx_range): Declare.
4127
4128         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4129
4130         * gcse.c (gcse_main): Don't rebuild the CFG here.
4131         (delete_null_pointer_checks): Likewise.
4132         * ssa.c (convert_to_ssa): Likewise.
4133         * toplev.c (rest_of_compilation): Do it here instead.  Combine
4134         sequential calls to TIMEVAR.  Consistently use `insns' instead of
4135         `get_insns()'.  Always split insns after reload when optimizing.
4136
4137         * basic-block.h (merge_blocks_nomove): Declare.
4138         (tidy_fallthru_edge): Declare.
4139         * flow.c (merge_blocks_nomove): Document as merging into previous
4140         blocks.  Remove cruft from between blocks; remove all edges out of A.
4141         (tidy_fallthru_edge): Export.
4142
4143 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4144
4145         * ssa.c (compute_conservative_reg_partition): Declare with
4146         void arguments.
4147         * toplev.c (clean_dump_file): Remove previously-deleted function
4148         inadvertantly merged back in.
4149         * conflict.c (conflict_graph_add): Use a single call to
4150         htab_find_slot to look up and insert.
4151
4152 2000-04-06  Richard Henderson  <rth@cygnus.com>
4153
4154         * genrecog.c (*): Rename _last_insn to last_insn.
4155         (make_insn_sequence): Set the position of the peephole2 C test
4156         to be at the last insn.
4157
4158 2000-04-06  Richard Henderson  <rth@cygnus.com>
4159
4160         * flow.c (compute_flow_dominators): Free worklist.
4161
4162 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
4163
4164         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
4165
4166 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4167
4168         * rtl.h (INSN_P): New macro.
4169         (successor_phi_fn): New typedef.
4170         (for_each_successor_phi): New prototype.
4171         (in_ssa_form): New variable.
4172         (PHI_NODE_P): Likewise.
4173         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
4174         phi nodes in successors.
4175         (mark_used_regs): Add PHI case.
4176         (set_phi_alternative_reg): New function.
4177         (life_analysis): Assert that dead code elimination is not selected
4178         when in SSA form.
4179         * toplev.c (to_ssa_time): New variable.
4180         (from_ssa_time): Likewise.
4181         (compile_file): Zero to_ssa_time and from_ssa_time.
4182         Print time to convert to and from SSA.
4183         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
4184         (print_time): Compute percent fraction as integer.
4185         * ssa.c (PHI_NODE_P): Moved to rtl.h.
4186         (convert_to_ssa): Check if we're already in SSA.
4187         Don't eliminate dead code in life_analysis.
4188         Rerun flow and life analysis at bottom.
4189         (eliminate_phi): Use canonical regnos when adding nodes.
4190         (mark_reg_in_phi): New function.
4191         (mark_phi_and_copy_regs): Likewise.
4192         (convert_from_ssa): Rerun life analysis at top.
4193         Use coalesced partition.
4194         Check for removing a phi node at the end of the block.
4195         (compute_coalesced_reg_partition): New function.
4196         (coalesce_regs_in_copies): Likewise.
4197         (coalesce_reg_in_phi): Likewise.
4198         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
4199         (for_each_successor_phi): Likewise.
4200         (rename_context): New struct.
4201         (rename_block): Use a rename_context with rename_insn_1.  When
4202         renaming sets of a subreg, emit a copy of the entire reg first.
4203         (rename_insn_1): Treat data as a rename_context *.  Save current
4204         insn in set_data.
4205         (rename_set_data): Add field set_insn.
4206         * Makefile.in (HASHTAB_H): Move up in file.
4207         (OBSTACK_H): New macro.
4208         (collect2.o): Use OBSTACK_H in dependencies.
4209         (sdbout.o): Likewise.
4210         (emit-rtl.o): Likewise.
4211         (simplify-rtx.o): Likewise.
4212         (fix-header.o): Likewise.
4213         (OBJS): Add conflict.o.
4214         (conflict.o): New rule.
4215         * basic-block.h: Include partition.h.
4216         (conflict_graph): New typedef.
4217         (conflict_graph_enum_fn): Likewise.
4218         (conflict_graph_new): New prototype.
4219         (conflict_graph_delete): Likewise.
4220         (conflict_graph_add): Likewise.
4221         (conflict_graph_conflict_p): Likewise.
4222         (conflict_graph_enum): Likewise.
4223         (conflict_graph_merge_regs): Likewise.
4224         (conflict_graph_print): Likewise.
4225         (conflict_graph_compute): Likewise.
4226         * conflict.c: New file.
4227
4228 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
4229
4230         * tlink.c (read_repo_files): Don't look for .rpo info for
4231         linker flags.
4232
4233 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4234
4235         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
4236
4237 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4238
4239         * config/sh/lib1funcs.asm (___udivsi3_i4):
4240         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
4241         only depends on FMOVD_WORKS.
4242
4243 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4244
4245         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4246         make double constant 8-byte aligned.
4247
4248 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
4249
4250         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4251         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4252         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4253         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4254         Accept storing GENERAL_REGS into offsetable memory.
4255         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4256         building a TFmode constant other than 0.0L into GENERAL_REGS.
4257
4258 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
4259
4260         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4261
4262 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
4263
4264         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4265         (macro_cleanup): No need to cast pbuf->macro.
4266         (collect_expansion): Use _cpp_get_define_token.  Goto done if
4267         it returns VSPACE.  Remove check for trailing space after
4268         CPP_COMMENT.
4269         (_cpp_create_definition): Don't diddle flags here.  Return
4270         directly on error.
4271         (unsafe_chars): Handle c1 being EOF.
4272         (push_macro_expansion): Use unsafe_chars for both accidental-paste
4273         checks.  Don't push the buffer till after we're done with
4274         them.
4275         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4276         (PEEKN, FORWARD, GETC, PEEKC): Use them.
4277         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
4278         appropriately.
4279         (_cpp_parse_assertion): Don't NUL terminate.
4280         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
4281         hspace before calling _cpp_parse_assertion.  Remove all sets
4282         of only_seen_white. Treat '\f' as hspace.  Don't do anything
4283         special with '\n' here.
4284         (maybe_macroexpand): Handle T_EMPTY hash entries without
4285         pushing a buffer at all.
4286         (cpp_get_token): Handle clearing only_seen_white here.  Handle
4287         incrementing the line number here.  Clear
4288         potential_control_macro as well as only_seen_white, if
4289         appropriate.
4290         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4291         (_cpp_get_define_token): New function, basically like
4292         _cpp_get_directive_token was but doesn't eat horizontal space.
4293         Don't do anything with only_seen_white here.
4294         (_cpp_get_directive_token): Just call _cpp_get_define_token
4295         repeatedly till it returns non-hspace.
4296
4297         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4298         (conditional_skip, skip_if_group): Return int.
4299         (DIRECTIVE_TABLE): Change origin of all conditional directives
4300         to "COND".
4301         (TRAD_DIRECT_P): New macro.
4302         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
4303         an error for a bogus directive, unless -lang-asm.  Use
4304         TRAD_DIRECT_P. Loop calling handler functions till one returns
4305         zero.
4306         (get_macro_name): Don't diddle flags here.
4307         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
4308         Create T_EMPTY nodes for #define macro /* nothing */.
4309         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
4310         Use hp->name when calling pass_thru_directive.
4311         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4312         Return the result of conditional_skip and/or skip_if_group.
4313         Don't call _cpp_output_line_command.
4314         (consider_directive_while_skipping): Use _cpp_get_directive_token.
4315         Issue -Wtraditional warnings as appropriate.  Don't complain
4316         about unrecognized directives.  If we are to stop skipping,
4317         return the number of the directive that ended the skip.
4318         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
4319         expansion and line commands while skipping.  Return the result
4320         of consider_directive_while_skipping, if nonzero.
4321         (do_endif): Just set potential_control_macro here.
4322         (validate_else): Use _cpp_get_directive_token.
4323         (do_assert, do_unassert): Don't save pointers into the
4324         token_buffer across calls to the lexer.  Use
4325         _cpp_get_directive_token.
4326
4327         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
4328         pointer, not an offset.  Replace 'data', which was a generic
4329         pointer, with 'macro', which points to a struct hashnode.
4330         (cpp_reader): Add 'potential_control_macro' pointer.
4331         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4332         (CPP_BUF_GET, CPP_FORWARD): Delete.
4333         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4334         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4335         ACTIVE_MARK_P): Update.
4336         (_cpp_get_define_token): New internal function.
4337         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4338
4339 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
4340
4341         * configure.in: And here.
4342         * configure: Regenerate.
4343         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4344         --enable-libstdcxx-v3 is passed at configure time.
4345         * config.h.in: Regenerate.
4346
4347 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
4348
4349         * final.c (final): Use xcalloc to allocate line_note_exists.
4350         * function.c (free_after_compilation): Free the temp_slots.
4351         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4352         (combine_temp_slot): Free temp_slots when they get combined.
4353         (purge_addressof): Fix typo in comment.
4354         * stmt.c (mark_goto_fixup): Mark the fixup itself.
4355         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4356
4357         * ggc.h: Include varray.h.
4358         (ggc_pending_trees): Declare.
4359         (ggc_mark_tree_children): Remove declaration.
4360         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4361         * ggc-common.c (ggc_pending_trees): New variable.
4362         (ggc_mark_roots): Call ggc_mark_trees.
4363         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
4364         the ggc_pending_trees.
4365         * Makefile.in (GGC_H): New variable.  Use it throughout in place
4366         of ggc.h.
4367
4368 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4369
4370         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4371         GET_MODE_SIZE.
4372
4373 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4374
4375         * sh.c (sh_insn_length_adjustment): New function.
4376         * sh-protos.h (sh_insn_length_adjustment): Declare.
4377         * sh.h (ADJUST_INSN_LENGTH): Use it.
4378
4379 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
4380
4381         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4382         from the insn where REG_RETVAL is added.
4383         (emit_no_conflict_block): Ditto.
4384
4385         * md.texi (Standard Names): Clarify when movX is needed.
4386
4387         * combine.c (simplify_comparison) [MINUS]: Do not replace
4388         all (op (minus A B) 0) with (op A B).
4389
4390 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
4391                           J"orn Rennecke <amylaar@cygnus.co.uk>
4392
4393         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4394         (block_lump_real): Likewise.
4395
4396 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
4397
4398         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4399         remaining non-zero debugging masks.
4400
4401 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
4402
4403         * basic-block.h (verify_flow_info): Declare.
4404         (flow_loop_outside_edge_p): Declare.
4405         * flow.c (verify_flow_info): Remove declaration.
4406         (clear_log_links, flow_loop_outside_edge_p): Likewise.
4407
4408 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
4409
4410         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4411         not C++ comments.
4412
4413 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
4414
4415         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4416         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4417         seqdi_zero_trunc+1): Allow splits only if registers are
4418         different.
4419
4420 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
4421
4422         * acconfig.h: Add HAVE_GAS_HIDDEN.
4423         * config.in: Regenerated.
4424         * configure.in: Add test for .hidden pseudo-op in gas.
4425         * configure: Regenerated.
4426         * crtstuff.c: Include auto-host.h.
4427         Emit additional .hidden pseudo-op for __dso_handle if the
4428         assembler knows about it.
4429
4430 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
4431
4432         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4433         before freeing argnames.
4434         * cpplib.c (do_ifndef): Cast return value of xstrdup.
4435
4436 2000-04-05  Michael Meissner  <meissner@redhat.com>
4437
4438         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4439         Walton <jonboy@gordian.com> to make memory references with update
4440         work wtih -mregnames.
4441
4442 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4443
4444         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4445         (regrename_optimize): Rename variables `def_uses' and
4446         `ext_basic_blocks' to avoid conflicts with similarly named
4447         typedefs in traditional C.
4448
4449         * calls.c (initialize_argument_information): Fix typo in previous
4450         change.
4451
4452 2000-04-04  Richard Henderson  <rth@cygnus.com>
4453
4454         * regrename.c (consider_available): Test fixed_regs not
4455         PIC_OFFSET_TABLE_REGNUM.
4456
4457 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
4458
4459         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4460         crtend.
4461         (CRTSTUFF_T_CFLAGS_S): Delete definition.
4462         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4463         (ENDFILE_LINUX_SPEC): Always use crtend.
4464         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4465         (powerpc-*-linux-gnu): Likewise.
4466         * configure: Regenerate.
4467
4468         * config/rs6000/eabi.h: Don't include sysv4.h.
4469         (MULTILIB_DEFAULTS): Don't define.
4470         * config/rs6000/eabiaix.h: Don't include eabi.h.
4471         * config/rs6000/eabile.h: Delete.
4472         * config/rs6000/eabilesim.h: Delete.
4473         * config/rs6000/eabisim.h: Don't include eabi.h.
4474         * config/rs6000/linux.h: Don't include sysv4.h.
4475         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4476         (MULTILIB_DEFAULTS): Don't redefine.
4477         * config/rs6000/rtems.h: Don't include eabi.h.
4478         * config/rs6000/sol2.h: Don't include sysv4le.h.
4479         * config/rs6000/sysv4le.h: Don't include sysv4.h.
4480         * config/rs6000/t-ppc: Delete.
4481         * config/rs6000/t-ppcgas: Correct comment.
4482         * config/rs6000/t-ppcos: Correct comment.  Don't build
4483         multilibs for -fPIC, rather use -fPIC -mstrict-align
4484         as default.
4485         * config/rs6000/t-ppc: Delete.
4486         * config/rs6000/vxppc.h: Don't include sysv4.h.
4487         * config/rs6000/vxppcle.h: Delete.
4488         * configure.in: Use multiple header files for p2pc ELF targets
4489         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4490         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4491         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4492         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
4493         always available for these platforms.
4494
4495 2000-04-04  Richard Henderson  <rth@cygnus.com>
4496
4497         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4498
4499 2000-04-04  Stan Cox  <scox@cygnus.com>
4500
4501         * Makefile.in: Add rules for regrename.o
4502         * regrename.c: New file.
4503         * rtl.h (regrename_optimize): Add prototype.
4504         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4505         (compile_file, decode_d_option): Add support for -frename-registers.
4506         (rest_of_compilation): Call regrename_optimize.
4507         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4508         New macros.
4509
4510 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4511
4512         * Makefile (gccbug): New target.
4513         (doc): Depend on it.
4514         * gcc.texi (Bugs): Link subnodes.
4515         (gccbug): New node.
4516         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4517         Document severities, priorities, and classes in bug form.
4518
4519 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
4520
4521         * cpplex.c (trigraph_map, speccase): Combine into single
4522         table, chartab.
4523         (NORMAL, NONTRI): New macros.
4524         (_cpp_read_and_prescan): Change to use unified table.  Use
4525         is_hspace to test for whitespace.
4526
4527         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4528         definition that doesn't provoke the "empty body in an
4529         if-statement" warning.
4530
4531 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
4532
4533         * builtins.c (expand_builtin_strlen): Force the source to
4534         be a memory address.
4535
4536 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4537
4538         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4539
4540 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4541
4542         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4543          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
4544         (ECF_IS_CONST): Rename to ECF_CONST.
4545         (special_function_p): Make static, change interface.
4546         (flags_from_decl_or_type, try_to_integrate): Break out from ...
4547         (expand_call) ... here; convert number of variables to flags.
4548         (emit_library_call_vlue_1): Likewise.
4549         (setjmp_call_p): New function.
4550         (initialize_argument_information): Accepts flags as argument;
4551         return flags.
4552         (precompute_arguments): Likewise.
4553         * tree.h (special_function_p): Remove.
4554         (setjmp_call_p): Add prototype.
4555
4556 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
4557
4558         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4559         so that addresses are offsetable by up to 16 bytes.
4560         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4561         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4562         offsetable.
4563
4564         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4565         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4566         (movsf): Don't force any constant to memory if target is integer
4567         hard register.
4568         Move fp_zero_operand check below the const0_rtx check.
4569         (movtf): Likewise. Also allow fp_zero_operand for stores into
4570         memory.
4571         (movdf): Likewise. Also allow fp_zero_operand for stores into
4572         memory and into integer hard registers.
4573         (clear_df, clear_dfp, movdf_const_intreg_sp32,
4574         movdf_const_intreg_sp64): Remove.
4575         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4576         conditions.
4577         (movdf_no_e_insn_v9_sp32): New pattern.
4578         (movdf_insn_v9only): Remove.
4579         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4580         (movdf_insn_sp64): Remove.
4581         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4582         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4583         (following splits): Rewrite conditions. Add two new splits
4584         for storing 0.0 into memory and registers.
4585         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4586         (movtf_insn_sp32): Redo constraints and conditions.
4587         (movtf_insn_vis_sp32): New pattern.
4588         (movtf_no_e_insn_sp32): Redo constraints and conditions.
4589         (movtf_insn_hq_sp64): Likewise.
4590         (movtf_insn_hq_vis_sp64): New pattern.
4591         (movtf_insn_sp64): Redo constraints and conditions.
4592         (movtf_insn_vis_sp64): New pattern.
4593         (movtf_no_e_insn_sp64): Redo constraints and conditions.
4594         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
4595         or memory.
4596         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
4597         -mvis or -m64 to take down the number of various reload patterns.
4598
4599 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
4600
4601         * pa/pa-64.h: New file.
4602         * pa/pa64-regs.h: New file.
4603         * pa/pa64-start.h: New file.
4604         * pa/t-pa64: New file.
4605         * pa/xm-pa64hpux.h: New file.
4606
4607 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4608
4609         * sparc.c (output_restore_regs): Prototype.
4610         (sparc_emit_float_lib_cmp): Constification.
4611
4612         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
4613
4614         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
4615         Prototype.
4616
4617         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
4618         (get_value_hash, hash_rtx): Likewise.
4619
4620         * ssa.c (compute_conservative_reg_partition): Prototype.
4621
4622         * tree.c (mark_hash_entry): Prototype.
4623
4624 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
4625
4626         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
4627         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
4628         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
4629
4630         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
4631         * objc/lang-specs.h: Likewise.
4632
4633 2000-04-03  Neil Booth  <NeilB@earthling.net>
4634
4635         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
4636         and SYNTAX_ERROR2. Replace `' in messages with ''.
4637         (op_to_str): Make re-entrant.
4638         (_cpp_parse_expr): Implement new error macros. Use | rather
4639         than || to logically or 2 boolean integers.  Simply expression
4640         checking we have a left operand iff needed.
4641
4642 2000-04-03  Nick Clifton  <nickc@cygnus.com>
4643
4644         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
4645
4646 2000-04-03  Philip Blundell  <philb@gnu.org>
4647
4648         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
4649
4650 2000-04-03  Felix Lee  <flee@cygnus.com>
4651
4652         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
4653         (run_shell): Use it.
4654
4655 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
4656
4657         * Makefile.in (stmp-int-hdrs): Make include subdir here...
4658         (stmp-fixproto): ...rather than here.
4659
4660 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
4661
4662         * pa.c (print_operand): Compute 'base' only inside the code paths
4663         that use it.
4664
4665 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
4666
4667         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
4668         CEIL_DIV_EXPR.
4669
4670 2000-04-03  Philipp Thomas  <pthomas@suse.de>
4671
4672         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
4673
4674 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
4675
4676         * Makefile.in (alias.o): Depend on $(TREE_H).
4677
4678 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
4679
4680         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
4681         processing C++.
4682         * cpplib.c (_cpp_handle_directive): Improve warnings for
4683         traditional C and indented directives.
4684
4685         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
4686         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
4687         fixinc/inclhack.def: Indent the # of #include_next one space.
4688         * cp/rtti.c: Un-indent #if and #endif.
4689
4690         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
4691         syntax error, but an error has already been printed.
4692         * cpplex.c (_cpp_parse_assertion): Give a more specific error
4693         message when called with nothing remaining on the line.
4694         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
4695         OTHER token, not an ASSERTION.
4696         * cpplib.c (do_assert): When we create a 'base' node, clear
4697         its aschain pointer.
4698
4699 2000-04-02  Neil Booth <NeilB@earthling.net>
4700
4701         * cppexp.c:  New typedef op_t.  struct operation and struct
4702         token updated to use it.
4703         (op_to_str): New function.
4704         (_cpp_parse_expr): Error messages modified to use op_to_str.
4705
4706 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4707
4708         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
4709         before checking MUST_PASS_IN_STACK.
4710
4711 2000-04-02  Neil Booth <NeilB@earthling.net>
4712
4713         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
4714         flags and initial priority into a single constant.  New
4715         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
4716         (_parse_cpp_expr): Implement new constants.  Take left operand
4717         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
4718         parse indicated by reducing FINISHED token.  Remove new lines
4719         from cpp_error messages.
4720
4721 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
4722
4723         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
4724         permanent obstack.
4725
4726 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
4727
4728         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
4729         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
4730         the strings and function names on the fly.  Take the #sccs
4731         entry out of the table if SCCS_DIRECTIVE is not defined.
4732         (_cpp_handle_directive): Decide if the # was at the beginning
4733         of the line here.  Issue -pedantic warnings for extended
4734         directives here.  Warn about K+R directives with the #
4735         indented, and C89/extended directives with the # not indented,
4736         here.
4737         (do_import, do_include_next, do_warning, do_ident, do_sccs,
4738         do_assert, do_unassert): Don't issue pedantic warning here.
4739
4740         * cpphash.h: Add CPP_WTRADITIONAL macro.
4741         * cpplib.h (struct cpp_options): Rename warn_stringify to
4742         warn_traditional; update comments.
4743         * cppinit.c (handle_option): Set warn_traditional not
4744         warn_stringify.
4745         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
4746         CPP_WTRADITIONAL (pfile).
4747         * cpplex.c (_cpp_lex_token): Don't decide if directives should
4748         be ignored in -traditional mode here.
4749
4750         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
4751         to initialize speccase[] and trigraph_map[].  Delete all
4752         references to pfile->input_speccase.  Always treat '?' as a
4753         special character.  Remove table-initialization code from
4754         _cpp_init_input_buffer.
4755
4756         * cpplib.h (struct cpp_reader): Remove input_speccase field.
4757         * cppinit.c (cpp_cleanup): Don't free input_speccase.
4758
4759 2000-04-01  Richard Henderson  <rth@cygnus.com>
4760
4761         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
4762         (mostlyclean): Likewise.
4763
4764         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
4765         (struct dump_file_info, enum dump_file_index, dump_file): New.
4766         (open_dump_file): Take a dump_file_index not a suffix, and a decl
4767         not a string.  Clean out file if we havn't yet done so.  Do nothing
4768         if the dump isn't enabled.
4769         (close_dump_file): Do nothing if the dump isn't open.  Dump
4770         graph data if requested.
4771         (dump_rtl, clean_dump_file): Remove.
4772         (compile_file): Don't clean the dump files.  Only finalize .bp dump
4773         if flag_test_coverage or flag_branch_probabilities.  Only finalize
4774         .combine dump if optimizing.  Iterate over dump_file to finalize the
4775         graph dumps.
4776         (rest_of_compilation): Update for open_dump_file/close_dump_file.
4777         Convert all uses of dump_rtl.
4778         (decode_d_option): Iterate over dump_file to implement 'a' and to
4779         locate pass-specific dumps.
4780
4781 2000-04-01  Neil Booth <NeilB@earthling.net>
4782
4783         * cppexp.c: Redefine priority constants.
4784         (_cpp_parse_expr): Replace left and right priority scheme with
4785         single priority logic.  Move LOGICAL to same place as COMPARE.
4786         Remove bogus check for multiple unary +/- operators.
4787
4788 2000-04-01  Neil Booth <NeilB@earthling.net>
4789
4790         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
4791         within the switch statement.  Binary operations break out of
4792         the switch naturally.  '(' tokens handled by forcing
4793         immediate shift.  ')' handled by forcing immediate reduce to
4794         the previous '('.  New error messages.
4795
4796 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
4797
4798         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
4799         part', it's already in use.  Use %K instead.  Add a return at the
4800         end of what is now %K.
4801         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
4802
4803 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4804
4805         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
4806         allocate_dynamic_stack_space.
4807         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
4808         update stack_pointer_delta; do not update arg_size_so_far.
4809         (compute_argument_block_size): Use stack_delta instead of
4810         stack_pointer_pending and arg_size_so_far.
4811         (expand_call): Add sanity checking for stack_pointer_delta;
4812         save and restore stack_pointer_delta for SIB, use
4813         stack_pointer_delta for alignment; do not update arg_space_so_far.
4814         (emit_library_call_value): Use stack_pointer_delta for alignment.
4815         (store_one_arg): Do not update arg_space_so_far.
4816         * explow.c (adjust_stack, anti_adjust_stack): Update
4817         stack_pointer_delta.
4818         (allocate_dynamic_stack_space): Add sanity checking for
4819         stack_pointer_delta.
4820         * expr.c (init_expr, clear_pending_stack_adjust): Clear
4821         stack_pointer_delta.
4822         (emit_push_insn): Update stack_pointer_delta.
4823         * function.h (struct expr_status): Add x_stack_pointer_delta;
4824         remove x_arg_space_so_far.
4825         (arg_space_so_far): Remove.
4826         (stack_pointer_delta): New macro.
4827
4828 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
4829
4830         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
4831         Reorder struct cpp_options and struct cpp_reader for better
4832         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
4833         takes two args.  Change all 'char' flags to 'unsigned char'.
4834         Move show_column flag into struct cpp_options.  Don't
4835         prototype cpp_options_init.
4836         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
4837         cppinit.c, cpplex.c, cpplib.c:
4838         Replace CPP_OPTIONS (pfile)->whatever with
4839         CPP_OPTION (pfile, whatever), and likewise for
4840         opts = CPP_OPTIONS (pfile); ... opts->whatever;
4841
4842         * cppinit.c (merge_include_chains): Take a cpp_reader *.
4843         Extract CPP_OPTION (pfile, pending) and work with that
4844         directly.
4845         (cpp_options_init): Delete.
4846         (cpp_reader_init): Turn on on-by-default options here.
4847         Allocate the pending structure here.
4848         (cl_options, enum opt_code): Define these from the same table,
4849         kept in a large macro.  Add -fshow-column and -fno-show-column
4850         options.
4851
4852         * cpperror.c (v_message): If show_column is off, don't print
4853         the column number.
4854
4855         * cppmain.c: Update for new interface.
4856         * fix-header.c: Likewise.
4857
4858 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
4859
4860         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
4861         definition.
4862         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
4863         are passed to any invocation of AR_FOR_TARGET.
4864         (AR_CREATE_FOR_TARGET): New macro.
4865         (AR_EXTRACT_FOR_TARGET): New macro.
4866         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
4867         AR_EXTRACT_FOR_TARGET.
4868         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
4869         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
4870         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
4871         AR_EXTRACT_FOR_TARGET to sub-makes.
4872
4873 2000-03-31  Neil Booth <NeilB@earthling.net>
4874
4875         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
4876         PAREN_INNER_PRIO.
4877         (_cpp_parse_expr): Check for multiple unary +/- operators.
4878         Correct priorities of ':' and '?'.  Treat ')' as having a
4879         value.  Ensure conditional expression is not void.
4880
4881 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
4882
4883         * alias.c (canon_rtx): Make it global.
4884         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
4885         equality.
4886         * cse.c (struct table_elt): Add canon_exp.
4887         (insert): Clear it.
4888         (invalidate): Canonicalize expressions only once.
4889         * rtl.h (canon_rtx): Declare.
4890
4891 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
4892
4893         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
4894         * alias.c (reg_known_value): Add comments.
4895         (init_alias_analysis): Likewise.
4896         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
4897         address.
4898         (cse_basic_block): Fix typo in comment.
4899         * emit-rtl.c: Include hashtab.h.
4900         (const_int_htab): New variable.
4901         (const_int_htab_hash): New function.
4902         (const_int_htab_eq): Likewise.
4903         (rtx_htab_mark_1): Likewise.
4904         (rtx_htab_mark): Likewise.
4905         (gen_rtx_CONST_INT): Cache all CONST_INTs.
4906         (unshare_all_rtx): Fix formatting.
4907         (init_emit_once): Initialize const_int_htab.
4908         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
4909         address.
4910         * rtl.texi: Document the fact that all CONST_INTs with the same
4911         value are shared.
4912
4913 2000-03-30  Richard Henderson  <rth@cygnus.com>
4914
4915         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
4916
4917 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
4918
4919         * configure.in: Comment out --enable-c-cpplib stanza.
4920         * configure: Regenerate.
4921
4922 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4923
4924         * expr.c (store_constructor): Properly compute displacement and
4925         alignment when offset is variable.
4926
4927         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
4928         cases of alignment in bytes.
4929
4930 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
4931
4932         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
4933         since it is used to generate c-parse.y.
4934         * objc-parse.c, objc-parse.y: Regenerated.
4935
4936         * function.c (expand_function_end): Pass alignment argument to
4937         emit_block_move in bits, not bytes.
4938
4939 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4940
4941         * expr.c (move_by_pieces_ninsns): Fix one more missing align
4942         correction.
4943
4944         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
4945
4946         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
4947         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
4948         * function.c (assign_parms): Likewise.
4949         * integrate.c (expand_inline_function): Likewise.
4950         * stmt.c (expand_decl): Likewise.
4951         (copy_rtx_and_substitute): Likewise.
4952         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
4953         (clear_by_pieces): Fix error in last change.
4954         * emit-rtl.c (init_emit): Set known registers alignment in bits.
4955         * function.h (regno_pointer_align): Now unsigned.
4956         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
4957         is in bits.
4958         * config/i386/i386.c (aligned_operand): Likewise.
4959         * config/sparc/sparc.c (mem_min_alignment): Likewise.
4960         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
4961         (unaligned_memory_operand): Likewise.
4962         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
4963         Also make alignments and sizes unsigned and some whitespace cleanup.
4964         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
4965
4966         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
4967         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
4968         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4969         (expand_builtin_memset): Likewise, but to clear_storage.
4970         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
4971         (restore_fixed_argument_area): Likewise.
4972         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
4973         (load_register_parameters): Likewise, to emit_group_load.
4974         (expand_call): Likewise, to emit_group_store and emit_block_move.
4975         (emit_library_call_value_1): Likewise, to emit_block_move.
4976         (store_one_arg): Likewise, and to emit_push_insn.
4977         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
4978         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
4979         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
4980         (emit_block_move, emit_group_load, emit_group_store): Likewise.
4981         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
4982         (expand_assigment, store_expr, store_constructor_field): Likewise.
4983         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
4984         (store_constructor, store_field, get_inner_reference): Likewise.
4985         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
4986         (expand_expr, case COMPONENT_REF): Likewise.
4987         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
4988         and positions; reindent code.
4989         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
4990         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
4991         (assign_parms): Likewise to emit_group_store.
4992         * optabs.c (prepare_cmp_insn): Alignment is in bits.
4993         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
4994         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
4995         (expand_return): Likewise to {extract,store}_bit_field.
4996         * stor-layout.c (get_mode_alignment): Minor cleanup.
4997         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
4998         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
4999
5000 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5001
5002         * config/arm/arm.h: Undo effects of previous delta:
5003         (ASM_SPEC): Do not define.
5004         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
5005
5006         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
5007         typo.
5008
5009 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5010
5011         * cppinit.c (cpp_start_read): Call initialize_dependency_output
5012         only after reading in the primary source file.
5013
5014 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
5015
5016         * c-common.c (c_common_nodes_and_builtins): The first parameter to
5017         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
5018         or a reference to a va_list.
5019         * builtins.c (stabilize_va_list): Simplify now we don't have to
5020         work around C array address decay.
5021         * c-typeck.c (convert_for_assignment): Handle assignment to
5022         a reference parameter by taking the address of the RHS.
5023         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
5024         (va_copy): Likewise.
5025         (__va_copy): Likewise.
5026         * ginclude/varargs.h (va_start): Likewise.
5027         (__va_copy): Likewise.
5028
5029 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
5030
5031         * i386/djgpp.h: Remove extraneous "+".
5032
5033         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5034
5035         * calls.c (expand_call): Fix typo in last change.
5036
5037 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
5038
5039         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5040         been expanded.
5041
5042 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5043
5044         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5045         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5046         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5047         * tree.c (bit_position, byte_position): Likewise.
5048         * tree.h: Declare new functions.
5049
5050 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5051
5052         * config/arm/arm.c: Minor formatting changes/
5053         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5054         already defined.
5055         (ASM_SPEC): Define if not already defined.
5056
5057 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5058
5059         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5060         _cpp_calc_hash.
5061
5062 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
5063
5064         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5065         value, don't output it as unsigned.
5066
5067 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
5068
5069         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5070
5071 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5072
5073         * c-common.c (c_common_nodes_and_builtins): Don't special case
5074         cplus_mode when declaring builtin bzero/bcmp, always avoid
5075         prototype arguments.
5076
5077 2000-03-29  Bruce Korb  <bkorb@gnu.org>
5078
5079         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5080         to a non-file
5081
5082 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5083
5084         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5085         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5086         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5087         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5088         (save_fixed_argument_area, restore_fixed_argument_area):
5089         conditionize by #ifdef REG_PARM_STACK_SPACE only.
5090         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5091         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5092         (precompute_register_parameters): Avoid #ifdefs on
5093         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5094         (stire_one_args): Likewise.
5095         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5096         (emit_library_call_value_1): Likewise.
5097         (compute_argument_block_size): Align to STACK_BOUNDARY only for
5098         ACCUMULATE_OUTGOING_ARGS.
5099         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5100         value.
5101         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5102         (use_crosses_set_p): Likewise.
5103         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5104         #define ACCUMULATE_OUTGOING_ARGS 1.
5105         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5106         frames.
5107         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5108         constants.
5109         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5110         (TARGET_SWITCHES): Add push-args, no-push-args,
5111         accumulate-outgoing-args and no-accumulate-outgoing-args.
5112         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5113         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5114         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5115         and PUSH_ROUNDING.
5116         (emit_push_insn): Likewise.
5117         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5118         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5119         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5120         (STACK_DYNAMIC_OFFSET): Define correctly for both
5121         ACCUMULATE_OUTGOING_ARGS and normal mode.
5122         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5123         * tm.texi (PUSH_ARGS): Document.
5124         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5125
5126 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5127
5128         * flags.h (flag_optimize_sibling_calls): Declare.
5129         * calls.c (expand_call): Fail sibcall when
5130         !flag_optimize_sibling_calls
5131         * invoke.texi (flag_optimize_sibling_calls): Document.
5132         * toplev.c (flag_optimize_sibling_calls): New global variable.
5133         (f_options): Add flag_optimize_sibling_calls.
5134         (rest_of_compilation): Conditionize
5135         optimize_sibling_and_tail_recursive_calls by
5136         flag_optimize_sibling_calls.
5137         (main): Set flag_optimize_sibling_calls for -O2.
5138         * stmt.c (expand_return): Conditionize tail recursion by
5139         flag_optimize_sibling_calls.
5140
5141 2000-03-29  Richard Henderson  <rth@cygnus.com>
5142
5143         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5144         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5145
5146 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
5147
5148         * except.c (add_eh_table_entry): Mark type_info's as referenced.
5149
5150 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5151
5152         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5153         is given.
5154         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5155         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5156         * config/rs6000/aix.h: then modified likewise.
5157
5158 2000-03-28  Richard Henderson  <rth@cygnus.com>
5159
5160         * rtl.h: Redistribute enum reg_note documentation.
5161         Kill trailing whitespace.
5162         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5163         Kill trailing whitespace.
5164
5165 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
5166
5167         * cppfiles.c (hash_IHASH): Just return i->hash.
5168         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
5169         htab_find_with_hash.
5170         (cpp_read_file): Likewise.
5171         (find_include_file): Likewise.  Properly initialize
5172         ih->nshort.  Share ih->name and ih->nshort if possible.
5173         * cpphash.c (_cpp_calc_hash): New function.
5174         (hash_HASHNODE): Just return h->hash.
5175         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
5176         htab_find_with_hash.
5177         * cpphash.h: Prototype _cpp_calc_hash.
5178         * cppinit.c (initialize_builtins): Provide a valid hash
5179         to _cpp_make_hashnode, using _cpp_calc_hash.
5180
5181         * cpphash.c (collect_expansion): # is not a special character
5182         in object-like macros.  In -traditional mode, /**/ is not
5183         token paste at the beginning or end of the line.
5184         * cpplib.c (do_include, do_import, do_include_next): If
5185         parse_include fails, return immediately.
5186
5187 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
5188
5189         * config/arm/arm.md (return peepholes): Update to reflect the new
5190         call insn patterns.
5191         * config/arm/arm.c (arm_volatile_func): Also check
5192         current_function_nothrow.
5193         (output_return_instruction, output_func_prologue): Use it.
5194         (arm_output_epilogue, arm_expand_prologue): Likewise.
5195
5196 2000-03-27  Tom Tromey  <tromey@cygnus.com>
5197
5198         * gcc.c (handle_braces): In {x*...} case, break out of loop if
5199         switch is found.
5200
5201 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5202
5203         * expr.c (store_constructor): SIZE now signed.
5204         For EXPR_SIZE, don't evaluate size; just needed if constant.
5205         * fold-const.c (fold): Fix a number of cases when folded tree is
5206         wrong type.
5207         * function.c (flush_addressof): Reenable.
5208         * tree.h (flush_addressof): Likewise.
5209         * toplev.c (independent_decode_option): Look at strings_processed.
5210         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
5211
5212 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
5213
5214         * sibcall.c (indentify_call_return_value): Find last call in the chain;
5215         Allow stack adjustment after function call.
5216
5217         * regmove.c (struct csa_memlist): Make mem field rtx *.
5218         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
5219         (try_apply_stack_adjustment): Replace whole MEM rtx.
5220         (combine_stack_adjustments_for_block): Update calls
5221         to record_one_stack_ref.
5222
5223 2000-03-28  Neil Booth  <NeilB@earthling.net>
5224
5225         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
5226         '\\' rather than a null character, so nulls are not special.  Fix
5227         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
5228         speed trigraph conversion.
5229         (_cpp_init_input_buffer): Initialize trigraph map.
5230
5231 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
5232
5233         * config/i386/i386.c (output_387_binary_op): Correct intel
5234         mode assembly output, and add spaces after commas in AT&T
5235         output.  Correct Unixware assembler comment.  Document input
5236         constraints.  Comment fp operations.  Reduce profligate buffer
5237         size.  Remove extraneous abort.  Localize temp var.
5238         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
5239         (output_fix_trunc): Add spaces after commas in assembly output.
5240
5241 2000-03-27  Richard Henderson  <rth@cygnus.com>
5242
5243         * i386-protos.h (ix86_match_ccmode): Declare.
5244         * i386.c (ix86_match_ccmode): New.
5245         (ix86_expand_fp_compare): Update for pattern renames.
5246         (ix86_expand_strlensi_unroll_1): Likewise.
5247         * i386.h (EXTRA_CC_MODES): Add CCZ.
5248         (SELECT_CC_MODE): Use it for EQ/NE zero.
5249         * i386.md (cmpsi_ccz_1): New.
5250         (cmpqi_ccz_1): New.
5251         (*testsi_ccz_1): New.
5252         (testqi_ccz_1): New.
5253         (cmpsi_ccno_1): Rename from cmpsi_0.
5254         (testsi_ccno_1): Rename from testsi_1.
5255         (testqi_ccno_1): Rename from testqi_1.
5256         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5257         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5258         (*cmphi_0): Use ix86_match_ccmode.
5259         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5260         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5261         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5262         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5263         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5264         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5265         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5266         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5267         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5268         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5269         (appropriate peepholes): Likewise.
5270         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5271         (*subsi_3, *subhi_3, *subqi_3): Remove.
5272         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5273         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5274         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5275         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5276         (x86_shift_adj_1): Use CCZ.
5277         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5278
5279 2000-03-27  Stan Cox  <scox@cygnus.com>
5280
5281         * resource.h (mark_resource_type): New.
5282         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5283         find_free_register): Use mark_resource_type.
5284         (mark_set_resources): Change include_delayed_effects
5285         to mark_resource_type.
5286         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5287         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5288         Use mark_resource_type.
5289
5290 2000-03-27  Richard Henderson  <rth@cygnus.com>
5291
5292         * i386.md (call_pop_0, call_value_pop_0): New.
5293         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
5294         (call_value_pop_1): Likewise.
5295         (call_0, call_value_0): New.
5296         (call_1, call_value_1): Remove constraint from unused arg.
5297
5298 2000-03-27  Nick Clifton  <nickc@cygnus.com>
5299
5300         * invoke.texi (Spec Files): Document new spec % command created by
5301         Tom Tromey's recent patch.
5302
5303 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
5304
5305         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5306         if not defined.
5307
5308 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5309
5310         * expr.c (expand_assignment): Fix typo in last change.
5311
5312         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5313
5314 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5315
5316         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5317         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5318         and DECL_INLINE if FUNCTION_DECL.
5319         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5320         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5321         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5322         (combine_parm_decls): Likewise.
5323         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5324         * print-tree.c (print_node): Likewise.
5325         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5326         DECL_TRANSPARENT_UNION on proper decl types.
5327         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5328         * stor-layout.c (layout_decl): Only check DECL_PACKED and
5329         DECL_BIT_FIELD of FIELD_DECL.
5330         * tree.h (DECL_RESULT_FLD): New macro.
5331
5332         * expr.c (expand_assignment): Add code to handle variable-sized
5333         BLKmode case.
5334
5335 2000-03-26  Richard Henderson  <rth@cygnus.com>
5336
5337         * calls.c (expand_call): Pass parms not original exp to
5338         optimize_tail_recursion.  Mind return value instead of looking
5339         for a barrier.
5340         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5341         call_expr.  Move checks for call_expr and current_function_decl ...
5342         (expand_return): ... here.
5343
5344 2000-03-26  Tom Tromey  <tromey@cygnus.com>
5345
5346         * gcc.c (handle_braces): Recognize `%{<S}' construct.
5347         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5348         defines.
5349         (process_command): Use them.
5350         (check_live_switch): Likewise.
5351         (give_switch): Skip ignored switches.
5352
5353 2000-03-26  Jan Hubicka  <jh@suse.cz>
5354
5355         * jump.c (jump_optimize_1): Fix typo in elide optimizations
5356         for minimal jump pass test.
5357
5358 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
5359
5360         * integrate.c (function_cannot_inline_p): Do inline functions that
5361         return `void'.
5362
5363 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5364
5365         * stor-layout.c (layout_type, set_sizetype): early_type_list is
5366         now a list of TREE_LIST entries, not types.
5367         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5368
5369         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5370         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5371         int_bit_position.
5372         * config/mips/mips.c (function_arg): Likewise; also remove cast
5373         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5374         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5375         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5376         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5377         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5378         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5379         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5380         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5381         num_adjusts now unsigned.
5382         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5383         * config/sparc/sparc.c (struct function_arg_record_value_parms):
5384         NREGS now unsigned.
5385         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5386         as is BITPOS variable; use host_integerp and int_bit_position.
5387         (function_arg_record_value_2): Likewise.
5388         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5389         Variable REGNO now unsigned.
5390         (function_arg_record_value): NREGS now unsigned.
5391
5392 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5393
5394         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5395
5396 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5397
5398         * Rework fields used to describe positions of bitfields and
5399         modify sizes to be unsigned and use HOST_WIDE_INT.
5400         * alias.c (reg_known_value_size): Now unsigned.
5401         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5402         (really_start_incremental_init): Use bitsize_zero_node.
5403         (push_init_level, pop_init_level, output_init_element): Likewise.
5404         Use bitsize_unit_node and bitsize_one_node.
5405         (output_pending_init_elements, process_init_element): Likewise.
5406         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5407         (make_extraction): Position and length HOST_WIDE_INT and unsigned
5408         HOST_WIDE_INT, respectively.
5409         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5410         (num_sign_bit_copies): Returns unsigned.
5411         BITWIDTH now unsigned; rework arithmetic.
5412         Remove recursive call from arg to MAX.
5413         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5414         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5415         REGNO now unsigned.
5416         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5417         (find_split_point, expand_compound_operation, make_extraction): LEN
5418         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5419         (make_field_assignment): Likewise.
5420         (combine_simplify_rtx): Add cast.
5421         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5422         (force_to_mode): WIDTH now unsigned; add cast.
5423         (if_then_else_cond): SIZE now unsigned.
5424         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5425         (extended_count): Now returns unsigned.
5426         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5427         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5428         (simplify_comparison): MODE_WIDTH now unsigned.
5429         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5430         (mark_used_regs_combine): Likewise; rework arithmetic.
5431         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5432         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5433         (record_promoted_value): REGNO now unsigned.
5434         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5435         (get_last_value): REGNO now unsigned.
5436         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5437         (reg_dead_regno, reg_dead_endregno): Now unsigned.
5438         (remove_death): Arg REGNO now unsigned.
5439         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5440         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5441         now unsigned.
5442         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5443         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5444         (struct cse_reg_info): REGNO now unsigned.
5445         (cached_regno): Now unsigned.
5446         (REGNO_QTY_VALID_P): Add cast.
5447         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5448         (remove_invalid_regs): Likewise.
5449         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5450         as are variables END and I.
5451         (get_cse_reg_info, insert): Likewise.
5452         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5453         (canon_hash): Likewise.
5454         (insert_regs, lookup_for_remove): REGNO now unsigned.
5455         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5456         New variable RN.
5457         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5458         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5459         * emit-rtl.c (subreg_realpart_p): Add cast.
5460         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5461         (operand_subword_force): Arg I is now unsigned.
5462         * except.c (eh_regs): Variable I is now unsigned.
5463         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5464         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5465         length is unsigned HOST_WIDE_INT; likewise for internal variables.
5466         (store_split_bit_field, extract_fixed_bit_field): Likewise.
5467         (extract_split_bit_field, store_bit_field, extract_bit_field):
5468         Likewise.
5469         * expr.c (store_constructor_fields, store_constructor, store_field):
5470         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5471         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5472         (do_jump): Likewise.
5473         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5474         MAX_SIZE is now unsigned.
5475         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5476         (emit_group_store): Likewise.
5477         (emit_move_insn): I now unsigned.
5478         (store_constructor): Use host_integerp, tree_low_cst, and
5479         bitsize_unit_node.
5480         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5481         Rework all calculations to use trees and new fields.
5482         * expr.h (promoted_input_arg): Regno now unsigned.
5483         (store_bit_field, extract_bit_field): Adjust types of pos and size.
5484         (mark_seen_cases): Arg is HOST_WIDE_INT.
5485         * flow.c (verify_wide_reg_1): REGNO now unsigned.
5486         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5487         precisions and alignments are unsigned.
5488         (optimize_bit_field_compare, fold_truthop): Likewise.
5489         (int_const_binop): Adjust threshold for size_int_type_wide call.
5490         (fold_convert): Likewise.
5491         (size_int_type_wide): Make table larger and fix thinko that only
5492         had half of table used.
5493         (all_ones_mask_p, fold): Precisions are unsigned.
5494         * function.c (put_reg_info_stack): REGNO is unsigned.
5495         (instantiate_decl): Size is HOST_WIDE_INT.
5496         (instantiate_virtual_regs): I is unsigned.
5497         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5498         (promoted_input_arg): REGNO is unsigned.
5499         * function.h (struct function): x_max_parm_reg is now unsigned.
5500         * gcse.c (max_gcse_regno): Now unsigned.
5501         (struct null_pointer_info): min_reg and max_reg now unsigned.
5502         (lookup_set, next_set): REGNO arg now unsigned.
5503         (compute_hash_table): REGNO and I now unsigned.
5504         (handle_avail_expr): regnum_for_replacing now unsigned.
5505         (cprop_insn): REGNO now unsigned.
5506         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5507         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5508         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5509         * hard-reg-set.h (reg_class_size): Now unsigned.
5510         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5511         * jump.c (mark_modified_reg): I now unsigned; add cast.
5512         (rtx_equal_for_thread_p): Add cast.
5513         * loop.c (max_reg_before_loop): Now unsigned.
5514         (struct_movable): REGNO now unsigned.
5515         (try_copy_prop): REGNO arg unsigned.
5516         (regs_match_p): XN and YN now unsigned.
5517         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5518         (strength_reduce): Likewise; NREGS also unsigned.
5519         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5520         * loop.h (struct iv_class): REGNO now unsigned.
5521         (max_reg_before_loop, first_increment_giv, last_increment_giv):
5522         Now unsigned.
5523         * machmode.h (mode_size, mode_unit_size): Now unsigned.
5524         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5525         * optabs.c (expand_binop): I and NWORDS now unsigned.
5526         (expand_unop): I now unsigned.
5527         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5528         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5529         * real.c (significand_size): Now returns unsigned.
5530         * real.h (significand_size): Likewise.
5531         * regclass.c (reg_class_size): Now unsigned.
5532         (choose_hard_reg_mode): Both operands now unsigned.
5533         (record_reg_classes): REGNO and NR now unsigned.
5534         (reg_scan): NREGS now unsigned.
5535         (reg_scan_update): old_max_regno now unsigned.
5536         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5537         * reload.c (find_valid_class): BEST_SIZE now unsigned.
5538         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5539         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5540         Likewise for variable R.
5541         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5542         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5543         (find_equiv_reg): Add casts.
5544         (regno_clobbered_p): Arg REGNO now unsigned.
5545         * reload.h (struct reload): NREGS now unsigned.
5546         (refers_to_regno_for_reload_p): Regno args are unsigned.
5547         (regno_clobbered_p): Likewise.
5548         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5549         (compute_use_by_pseudos): REGNO now unsigned.
5550         (find_reg): I and J now unsigned, new variable K, and change loop
5551         variables accordingly; THIS_NREGS now unsigned.
5552         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5553         (spill_hard_reg): REGNO arg now unsigned; add casts.
5554         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5555         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5556         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5557         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5558         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5559         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5560         (emit_reload_insns): REGNO now unsigned.
5561         (reload_cse_move2add): Add cast.
5562         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5563         and rework loop.
5564         * resource.c (mark_referenced_resources, mark_set_resources): New
5565         variable R; REGNO and LAST_REGNO now unsigned.
5566         (mark_target_live_regs): J and REGNO now unsigned.
5567         * rtl.c (mode_size, mode_unit_size): Now unsigned.
5568         * rtl.h (union rtunion_def): New field rtuint.
5569         (XCUINT): New macro.
5570         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5571         (operand_subword, operand_subword_force): Word number is unsigned.
5572         (choose_hard_reg_mode): Operands are unsigned.
5573         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5574         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5575         (regno_use_in, combine_instructions, remove_death): Likewise.
5576         (reg_scan, reg_scan_update): Likewise.
5577         (extended_count): Return is unsigned.
5578         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5579         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5580         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5581         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5582         (reg_reg_last_1): FIRS and LAST now unsigned.
5583         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5584         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5585         now unsigned.
5586         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
5587         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
5588         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
5589         (replace_regs): Arg NREGS now unsigned.
5590         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
5591         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
5592         (simplify_binary_operation): Likewise.
5593         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
5594         THIS_LAST now unsigned.
5595         (cselib_record_set): Add cast.
5596         * ssa.c (ssa_max_reg_num): Now unsigned.
5597         (rename_block): REGNO now unsigned.
5598         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
5599         sizes now unsigned.
5600         (all_cases_count): Just return -1 not -2.
5601         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
5602         Rework tests to use trees whenever possible.
5603         Use host_integerp and tree_low_cst.
5604         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
5605         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
5606         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
5607         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
5608         (smallest_mode_for_size): Likewise.
5609         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
5610         KNOWN_ALIGN is now an alignment, so simplify code.
5611         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
5612         (start_record_layout): Renamed from new_record_layout_info.
5613         Update to new fields.
5614         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
5615         New functions.
5616         (place_union_field): Renamed from layout_union_field.
5617         Update to use new fields in rli.
5618         (place_field): Renamed from layout_field.
5619         Major rewrite to use new fields in rli; pass alignment to layout_decl.
5620         (finalize_record_size): Rework to use new fields in rli and handle
5621         union.
5622         (compute_record_mode): Rework to simplify and to use new DECL fields.
5623         (finalize_type_size): Make rounding more consistent.
5624         (finish_union_layout): Deleted.
5625         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
5626         (layout_type, case RECORD_TYPE): Call new function names.
5627         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
5628         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
5629         (get_best_mode): UNIT is now unsigned; remove casts.
5630         * tree.c (bit_position): Compute from new fields.
5631         (byte_position, int_byte_position): New functions.
5632         (print_type_hash_statistics): Cast to remove warning.
5633         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
5634         (build_index_type): Likewise; make subtype of sizetype.
5635         (build_index_2_type): Pass sizetype to build_range_type.
5636         (build_common_tree_nodes): Use size_int and bitsize_int to
5637         initialize nodes; add bitsize_{zero,one,unit}_node.
5638         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
5639         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
5640         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
5641         (DECL_FIELD_BITPOS): Deleted.
5642         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
5643         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
5644         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
5645         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
5646         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
5647         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
5648         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
5649         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
5650         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
5651         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
5652         (DECL_ALIGN): Adjust to new field in union.
5653         (DECL_OFFSET_ALIGN): New field.
5654         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
5655         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
5656         (union tree_decl): Add struct for both aligns.
5657         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
5658         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
5659         (struct record_layout_info): Rework fields to have offset
5660         alignment and byte and bit position.
5661         (start_record_layout, place_field): Renamed from old names.
5662         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
5663         (byte_position, int_byte_position): Likewise.
5664         (get_inner_reference): Change types of position and length.
5665         * unroll.c (unroll_loop): New variable R; use for some loops.
5666         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
5667         (calculate_giv_inc): Arg REGNO now unsigned.
5668         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
5669         * varasm.c (assemble_variable): Clean up handling of size using
5670         host_integerp and tree_low_cst.
5671         (decode_addr_const): Use byte, not bit, position.
5672         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
5673         use tree_low_cst and int_bit_position.
5674         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
5675
5676 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
5677
5678         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
5679         (reorder_block_def): New members eff_head and eff_end.
5680         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
5681         (verify_insn_chain): New function.
5682         (skip_insns_between_block): Add code to skip deleted insns.
5683         Check for note before using.
5684         (chain_reorder_blocks): Replace calls to skip_insns_between_block
5685         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
5686         Check for note before using.
5687         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
5688         (fixup_reorder_chain): Restructure, clean up, defect removal.
5689         (reorder_basic_blocks): Remove last_insn and references to it.
5690         Moved insn chain verification code into a new function (see above).
5691         Delete defective code that sets last insn.
5692         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
5693         all blocks.
5694
5695 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5696
5697         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
5698
5699 2000-03-24  Richard Henderson  <rth@cygnus.com>
5700
5701         * tree.c (lang_safe_for_unsave): Remove.
5702         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
5703         allowing for two levels of unsafeness.  Remove lang hook.
5704         * tree.h: Update declarations.
5705         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
5706         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
5707         Always fail sibcalls when there are pending cleanups.
5708
5709 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
5710
5711         * flow.c (propagate_block): When we delete an ADDR_VEC,
5712         also delete the BARRIER following it if there is one.
5713
5714 2000-03-24  Richard Henderson  <rth@cygnus.com>
5715
5716         * builtins.c (expand_builtin_bzero): Convert `length' argument
5717         to sizetype.
5718
5719 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
5720
5721         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
5722         comparison if regno's are equal.
5723         * calls.c (initialize_argument_informat): Add ecf_flags argument.
5724         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5725         (expand_call): Update caller.
5726         Avoid making a sibling call if argument size of the callee is larger
5727         than argument size of the caller.
5728         Call hard_function_value with outgoing set if in sibcall pass.
5729         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5730
5731         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
5732         Change LEAF_REGISTERS from an array initializer to actual array
5733         identifier. Move static global variable into the function.
5734         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
5735         sequences for leaf functions.
5736         * global.c (global_alloc): Likewise.
5737         * tm.texi (LEAF_REGISTERS): Update documentation.
5738
5739         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
5740         TARGET_FLAT leaf disabling hack.
5741         (LEAF_REGISTERS): Changed from an array initializer to actual array
5742         identifier to avoid duplication and remove the above hack.
5743         (FUNCTION_OK_FOR_SIBCALL): Define.
5744         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
5745         always like call attribute.
5746         (eligible_for_sibcall_delay): New attribute.
5747         (sibcall): New delay type.
5748         (sibcall, sibcall_value, sibcall_epilogue): New expands.
5749         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
5750         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
5751         * config/sparc/sparc.c (sparc_leaf_regs): New array.
5752         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
5753         New functions.
5754         (output_function_epilogue): Move part of the code into
5755         output_restore_regs.
5756         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
5757         TYPE_SIBCALL.
5758         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
5759         prototypes.
5760
5761         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
5762         until infrastructure is finished.
5763
5764 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
5765
5766         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
5767         (save_parm_insns): Not here.
5768
5769 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5770
5771         * builtins.c (expand_builtin_bzero): New function.
5772         (expand_builtin): Handle bzero.
5773
5774         * builtins.def: Add BUILT_IN_BZERO.
5775
5776         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5777         prototype & function for bzero.
5778
5779 2000-03-23  Michael Meissner  <meissner@redhat.com>
5780
5781         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
5782         change adding TARGET_FP to the TF floating point insns, except for
5783         trunctfsf2, which generates direct calls to truncdfsf2.
5784
5785 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
5786
5787         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
5788         try to protect against middle-end changes that break binary
5789         compatibility.
5790         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
5791
5792 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5793
5794         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
5795
5796 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5797
5798         * calls.c (expand_call): If TARGET is passed by reference and
5799         is readonly, write a CLOBBER.
5800
5801 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5802
5803         * builtins.c (expand_builtin): Handle bcmp.
5804
5805         * builtins.def: Add BUILT_IN_BCMP.
5806
5807         * c-common.c (c_common_nodes_and_builtins): Provide builtin
5808         prototype & function for bcmp.
5809
5810 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
5811
5812         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
5813         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
5814         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
5815
5816 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
5817
5818         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
5819         alternative when using -fp64 -gp32.
5820
5821 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5822
5823         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
5824         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
5825         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
5826
5827         * frame.h (frame_state): Revert last change.
5828         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
5829         * libgcc2.c (throw_helper): Revert last change.
5830
5831 2000-03-22  Richard Henderson  <rth@cygnus.com>
5832
5833         * stmt.c (expand_asm_operands): Don't promote the temporary.
5834
5835 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5836
5837         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
5838         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
5839           c_get_alias_set): Likewise.
5840         * c-decl.c (duplicate_decls): Likewise.
5841         * c-typeck.c (default_conversion,build_unary_op): Likewise.
5842         * calls.c (initialize_argument_information): Likewise.
5843         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
5844         Likewise.
5845         * dwarfout.c (decl_class_context,output_type): Likewise.
5846         * expr.c (get_inner_reference): Likewise.
5847         * fold-const.c (simple_operand_p,fold): Likewise.
5848         * function.c (aggregate_value_p): Likewise.
5849         * stmt.c (expand_asm_operands): Likewise.
5850         * varasm.c (named_section): Likewise.
5851
5852 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
5853
5854         Implement dwarf2 exception handling for the ARM.
5855         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
5856         (DWARF_FRAME_RETURN_COLUMN): Define.
5857         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
5858         REG_FRAME_RELATED_EXPR note.
5859         (emit_sfm): Likewise.
5860         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
5861         * dwarf2out.c (reg_save): Handle saving a register to itself.
5862         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
5863         * except.c (eh_regs): Don't use the static chain reg if it's
5864         callee-saved.
5865         * frame.h (frame_state): Add cfa_saved field.
5866         * frame.c (execute_cfa_insn): Set it.
5867         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
5868         the epilogue.
5869         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
5870         Now takes a parm.
5871         (instantiate_virtual_regs): Adjust.
5872         * tm.texi: Adjust.
5873         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5874         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5875         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
5876
5877         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
5878         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
5879
5880 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5881
5882         * builtins.def: New file.
5883
5884         * Makefile.in (TREE_H): Depend on builtins.def.
5885
5886         * builtins.c (built_in_names): Use builtins.def.
5887
5888         * tree.h (built_in_function): Likewise.
5889
5890 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
5891
5892         * tree.c (size_in_bytes): Return size_zero_node, not
5893         integer_zero_node.
5894
5895 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
5896
5897         * config/fp-bit.c (pack_d): Correct the case when a denormal
5898         is rounded up and stops being denormal.
5899
5900 2000-03-21  Richard Henderson  <rth@cygnus.com>
5901
5902         * config/alpha/alpha.c (function_arg): Check for void_type_node
5903         before using MUST_PASS_IN_STACK.
5904
5905 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
5906
5907         * regmove.c (combine_stack_adjustments_for_block): Check that
5908         the stack pointer is a valid memory address.
5909
5910 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
5911
5912         * calls.c: re-install Mar 16 emit_library_call merge.
5913
5914 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
5915
5916         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
5917         we cannot be sure that if reload_completed base register will
5918         be properly aligned.
5919
5920 2000-03-21  Richard Henderson  <rth@cygnus.com>
5921
5922         * flow.c (delete_block): Fix typo last change.
5923
5924 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
5925
5926         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
5927         not COMPLETE_TYPE_P, to check the type of the expression.
5928
5929 2000-03-21  Michael Meissner  <meissner@redhat.com>
5930
5931         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
5932         all floating point insns that just tested the macro
5933         TARGET_HAS_XFLOATING_LIBS.
5934         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
5935         used to only use the gprs.
5936
5937 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
5938
5939         * tree.h (COMPLETE_TYPE_P): New macro.
5940         (COMPLETE_OR_VOID_TYPE_P): New macro.
5941         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
5942         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
5943         * c-aux-info.c (gen_type): Use them.
5944         * c-common.c (c_expand_expr_stmt): Likewise.
5945         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
5946         grokdeclarator, grokparms, finish_struct, start_function,
5947         store_parm_decls, combine_parm_decls): Likewise.
5948         * c-parse.y (cast_expr): Likewise.
5949         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
5950         c_size_in_bytes, c_alignof, build_component_ref,
5951         build_indirect_ref, build_array_ref, convert_arguments,
5952         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
5953         * calls.c (initialize_argument_information): Likewise.
5954         * convert.c (convert_to_integer): Likewise.
5955         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
5956         * dwarfout.c (location_or_const_value_attribute,
5957         output_enumeration_type_die, output_structure_type_die,
5958         output_union_type_die, output_type): Likewise.
5959         * expr.c (safe_from_p, expand_expr): Likewise.
5960         * function.c (assign_parms): Likewise.
5961         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
5962         * tree.c (build_array_type, build_function_type,
5963         build_method_type, build_offset_type, build_complex_type): Likewise.
5964         * c-parse.c, c-parse.h: Regenerated.
5965
5966 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5967
5968         * config/c4x/rtems.h: Include config/rtems.h.
5969
5970 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
5971
5972         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
5973         decl is a FUNCTION_DECL
5974
5975 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
5976
5977         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
5978         function uses output registers.  Don't save RP for leaf functions.
5979         Do save RP even if no epilogue.
5980         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
5981         (CALL_USED_REGISTERS): Unmark in registers.
5982         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
5983         to near the middle.
5984
5985 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
5986
5987         * config/rs6000/rs6000.md (bunordered): New expander.
5988         (bordered): New expander.
5989         (buneq): New expander.
5990         (bunge): New expander.
5991         (bungt): New expander.
5992         (bunle): New expander.
5993         (bunlt): New expander.
5994         (bltgt): New expander.
5995
5996         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
5997         (ccr_bit_negated_p): New function.
5998         (print_operand): For %C, generate appropriate cror for UNEQ,
5999         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
6000
6001 2000-03-20  Andreas Jaeger  <aj@suse.de>
6002
6003         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
6004         warning.
6005
6006         * tree.h (safe_for_unsave): Prototype.
6007
6008 2000-03-20  Richard Henderson  <rth@cygnus.com>
6009
6010         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
6011         (combine_stack_adjustments_for_block): Don't allow sp references
6012         in the side of a set we're not fixing up.
6013         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
6014         after life_analysis.
6015
6016 2000-03-20  Richard Henderson  <rth@cygnus.com>
6017
6018         * calls.c (expand_call): Don't bother generating tail call
6019         sequences if there are pending cleanups.  Use
6020         expand_start_target_temps/expand_end_target_temps to elide
6021         cleanups created during sibcall expansion.
6022
6023 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
6024
6025         * configure.in: Set $IFS to a value if it doesn't already have one
6026         in the --enable-checking handling.
6027         * configure: Regenerate.
6028
6029 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6030
6031         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6032         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6033         Regenerated.
6034
6035 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
6036
6037         * jump.c (delete_noop_moves): Remove code attempting to
6038         combine stack adjustments.
6039
6040 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6041
6042         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6043         * except.c (emit_cleanup_handler): Use them.
6044         (expand_end_all_catch): Likewise.
6045         * function.c (fixup_var_refs): Likewise.
6046         (expand_function_end): Clear catch_clauses_last.
6047         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6048         * except.h (struct eh_status): New field x_catch_clauses_last.
6049         (catch_clauses_last): New define.
6050
6051         * Makefile.in (tree.o): Depend on HASHTAB_H.
6052         * tree.c: Include hashtab.h.
6053         (struct type_hash): Remove next field.
6054         (TYPE_HASH_SIZE): Remove.
6055         (TYPE_HASH_INITIAL_SIZE): New define.
6056         (type_hash_table): Change type to htab_t.
6057         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6058         mark_hash_entry): New functions.
6059         (init_obstacks): Allocate type hash.
6060         (type_hash_lookup): Use htab functions.
6061         (type_hash_add, mark_type_hash): Likewise.
6062         (dump_tree_statistics): Call print_type_hash_statistics.
6063
6064 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6065
6066         * rs6000/t-aix41: New file.
6067
6068         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6069
6070 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
6071
6072         * tm.texi (Driver): Fix typos and tweak entry for
6073         INCLUDE_DEFAULTS.
6074         Move misplaced STRUCT_FORCE_BLK entry ...
6075         (Storage Layout): ... to here.
6076         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6077
6078 2000-03-19  Richard Henderson  <rth@cygnus.com>
6079
6080         * flow.c (delete_block): Delete the addr_vec along with the block.
6081         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6082         reference labels.
6083
6084         * fold-const.c (extract_muldiv): Apply type check for defined
6085         overflow to multiply as well as divide.
6086
6087         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6088
6089 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6090
6091         * emit-rtl.c (remove_unncessary_notes): Check that all
6092         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6093         associated NOTE_BLOCK.
6094         * function.h (identify_blocks): Update comments.
6095         (reorder_blocks): Declare.
6096         * function.c (identify_blocks): Don't take paramters.
6097         (reorder_blocks): Don't take parameters.
6098         * loop.h (find_loop_tree_blocks): Remove.
6099         (unroll_block_trees): Likewise.
6100         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
6101         reorder_blocks instead of unroll_block_trees.h
6102         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6103         * stmt.c (find_loop_tree_blocks): Remove.
6104         (unroll_block_trees): Likewise.
6105         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6106         in whole-function mode.
6107         * tree.h (reorder_blocks): Remove declaration.
6108
6109         * expr.c: Include intl.h.
6110         * Makefile.in (expr.o): Depend on intl.h.
6111
6112 2000-03-18  Richard Henderson  <rth@cygnus.com>
6113
6114         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6115
6116 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6117
6118         * tree.h (tree_index): Remove enumerals for integer types.
6119         (integer_type_kind): New type.
6120         (integer_types): New variable.
6121         (char_type_node): Adjust.
6122         (signed_char_type_node): Likewise.
6123         (unsigned_char_type_node): Likewise.
6124         (short_integer_type_node): Likewise.
6125         (short_unsigned_type_node): Likewise.
6126         (integer_type_node): Likewise.
6127         (unsigned_type_node): Likewise.
6128         (long_integer_type_node): Likewise.
6129         (long_unsigned_type_node): Likewise.
6130         (long_long_integer_type_node): Likewise.
6131         (long_long_unsigned_type_node): Likewise.
6132         * tree.c (integer_types): New variable.
6133         (init_obstacks): Register it as a root.
6134
6135 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
6136
6137         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6138         NEXT_INSN. Update last insn in chain.
6139
6140 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
6141
6142         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6143         with TYPE_DECL_SUPPRESS_DEBUG set.
6144
6145 2000-03-18  Richard Henderson  <rth@cygnus.com>
6146
6147         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6148
6149 2000-03-18  Richard Henderson  <rth@cygnus.com>
6150
6151         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6152         care for HALF_PIC_P.
6153         (expander_call_insn_operand): Remove.
6154         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6155         * i386.h (PREDICATE_CODES): Update.
6156         * i386.md (all call expanders): Remove predicates, remove special
6157         handling for half-pic.
6158         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6159         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6160         (sibcall_epilogue): New.
6161
6162 2000-03-17  Richard Henderson  <rth@cygnus.com>
6163
6164         * rtlanal.c (single_set): Reject if the parallel has anything
6165         except SET or USE or CLOBBER.
6166
6167 2000-03-17  Jeff Law  <law@cygnus.com>
6168             Richard Henderson  <rth@cygnus.com>
6169
6170         * Makefile.in (OBJS): Add sibcall.o.
6171         (sibcall.o): New.
6172         * sibcall.c: New file.
6173         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
6174         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
6175         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
6176         Emit sibcall patterns when requested.  Update all callers.
6177         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
6178         elimination seems feasable.
6179         * final.c (leaf_function_p): Sibling calls don't discount being
6180         a leaf function.
6181         * flow.c (HAVE_sibcall_epilogue): Provide default.
6182         (find_basic_blocks_1): Sibling calls don't throw.
6183         (make_edges): Make edge from sibling call to EXIT.
6184         (propagate_block): Don't remove sibcall_epilogue insns.
6185         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
6186         (sibcall_epilogue): New.
6187         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
6188         (identify_blocks_1): Likewise.  Break out from ...
6189         (identify_blocks): ... here.
6190         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
6191         (reorder_blocks): ... here.
6192         (init_function_for_compilation): Zap prologue/epilogue as varrays.
6193         (record_insns): Extend a varray instead of mallocing new memory.
6194         (contains): Read a varray not array of ints.
6195         (sibcall_epilogue_contains): New.
6196         (thread_prologue_and_epilogue_insns): Emit and record
6197         sibcall_epilogue patterns.
6198         (init_function_once): Allocate prologue/epilogue varrays.
6199         * genflags.c (gen_insn): Treat sibcall patterns as calls.
6200         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
6201         Broken out from ...
6202         (save_for_inline_nocopy): ... here.
6203         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
6204         Broken out from ...
6205         (expand_inline_function): ... here.
6206         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
6207         (subst_constants): Handle 'n' formats.
6208         * jump.c (jump_optimize_minimal): New.
6209         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
6210         optimizations if it's set.
6211         * rtl.c (copy_rtx): Do copy jump & call for insns.
6212         * rtl.h (struct rtx_def): Document use of jump and call for insns.
6213         (SIBLING_CALL_P): New.
6214         (sibcall_use_t): New.
6215         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
6216         Invoke optimize_sibling_and_tail_recursive_calls.
6217         * tree.c (lang_safe_for_unsave): New.
6218         (safe_for_unsave): New.
6219         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
6220
6221         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
6222         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
6223         (*sibcall_osf_1, *sibcall_value_osf_1): New.
6224
6225 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
6226
6227         * objc/objc-act.c (encode_method_prototype): Pass types, not
6228         PARM_DECLs, to int_size_in_bytes.
6229
6230 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
6231
6232         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
6233
6234         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6235         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
6236
6237 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6238
6239         * Clean up usages of TREE_INT_CST_LOW.
6240         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
6241         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6242         Regenerated.
6243         * c-tree.h (min_precision): Move declaration to here.
6244         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6245         (build_unary_op, add_pending_init): Use bit_position.
6246         (pending_init_member, process_init_element): Likewise.
6247         (really_start_incremental_init, push_init_level, pop_init_level):
6248         Don't make copies of nodes or modify them in place, use consistent
6249         types when tracking positions, and use tree routines computations.
6250         (set_init_index, output_init_element): Likewise.
6251         (output_pending_init_elements, process_init_element): Likewise.
6252         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6253         tree_low_cst and int_bit_position; also minor cleanup.
6254         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6255         (print_cst_octal): Precision is unsigned.
6256         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6257         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6258         (simple_type_align_in_bits): Result is unsigned int.
6259         Use tree_int_low_cst and host_integerp.
6260         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6261         (field_byte_offset): Result is HOST_WIDE_INT.
6262         Change types of internal variables so alignments are unsigned int,
6263         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6264         Use host_integerp, tree_low_cst, and int_bit_position.
6265         (add_bit_offset_attribute): Likewise.
6266         (add_data_member_location_attribute): Use tree_cst_low.
6267         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6268         (add_bit_size_attribute): Use tree_low_cst.
6269         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6270         * dwarfout.c: Similar changes to dwarf2out.c.
6271         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6272         * genoutput.c (n_occurences): Return -1 for null string.
6273         (strip_whitespace): Accept null string and make into function.
6274         (scan_operands): Reflect above changes.
6275         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6276         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6277         * ssa.c (rename_registers): Add missing cast of arg to bzero.
6278         * tree.c (int_size_in_bytes): Check for too big to represent.
6279         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6280         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6281         New declarations.
6282         (min_precision): Delete from here.
6283         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6284         and int_bit_position.
6285         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6286         (encode_method_def): Likewise.
6287         (build_ivar_list_initializer): Use int_bit_position.
6288         (generate_shared_structures): Convert size.
6289         (encode_type, encode_complete_bitfield): Use integer_zerop.
6290         (encode_bitfield): Use tree_low_cst and int_bit_position.
6291
6292 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6293
6294         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6295
6296 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6297
6298         * call.c (special_function_p): It is only malloc if it returns
6299         Pmode.
6300
6301 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6302
6303         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6304         (C33_FLAG, TARGET_C3X): Add macros.
6305         (TARGET_SWITCHES): Add -m33 option.
6306         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6307
6308 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6309
6310         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6311         (PARALLEL_PACK_FLAG): Delete.
6312         (TARGET_SWITCHES): Update.
6313         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6314
6315 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6316
6317         * fold-const.c (fold): Fix a few cases when the returned result
6318         is not of the same type as the input.
6319
6320 2000-03-16  Nick Clifton  <nickc@cygnus.com>
6321
6322         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6323         warning.
6324
6325 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6326
6327         * libgcc2.h: Move prototypes above macros with the same name.
6328         Wrap some function prototypes in the conditional which indicates
6329         whether they are supported, i.e. "BITS_PER_UNIT == 8".
6330
6331 2000-03-16  Richard Henderson  <rth@cygnus.com>
6332
6333         * calls.c: Revert last two changes.
6334
6335 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
6336
6337         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6338         has exponent 0 is a zero.
6339
6340         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6341         HASH may already be nonzero.  Add code/mode into hash value
6342         immediately after repeat label.
6343         (cselib_lookup): Don't leave the hash table in an inconsistent
6344         state before a hash lookup operation.
6345
6346 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
6347
6348         * i386.md (all HI and QI mode non-move patterns):  Conditionize
6349         by TARGET_[HQ]IMODE_MATH.
6350         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6351         x86_promote_qi_regs): Declare.
6352         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6353         TARGET_PROMOTE_QI_REGS): New macros.
6354         (PROMOTE_MODE): New macro.
6355         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6356         x86_promote_qi_regs): New global variables.
6357
6358 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
6359
6360         * calls.c (emit_library_call_value_1): Break out from ...; handle
6361         VOIDmode function calls too.
6362         (emit_library_call_value): ... here.
6363         (emit_library_call): Implement by calling emit_library_call_value_1.
6364
6365 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
6366
6367         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6368         Update arg_space_so_far on stack adjustments.
6369         (emit_library_call, emit_library_call_value): Likewise; take into
6370         account arg_space_so_far and pending_stack_adjust when calculcating
6371         the boundary.
6372
6373 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
6374
6375         * flow.c: Move all basic block reordering code into its own file.
6376         (create_basic_block): Externalize.
6377         * bb-reorder.c: New file. Copy all basic block reordering code from
6378         flow.c to this file.
6379         (reorder_basic_blocks): Fix fencepost error in for-loop.
6380         (reorder_basic_blocks): Remove braces from single statement for-loops.
6381         * basic-block.h: Add declaration for create_basic_block.
6382         * Makefile.in: Add rules for bb-reorder.o.
6383
6384 2000-03-16  Neil Booth  <NeilB@earthling.net>
6385
6386         * cppinit.c (handle_option):  Implement #unassert directive
6387         as -A- command line option.
6388         (print_help):  Update.
6389         * cpptexi.c:  Update.
6390
6391 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6392
6393         * md.texi (Standard Names): Document `jump'.
6394
6395 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6396
6397         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6398         gotos.
6399
6400 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6401
6402         Merge changes from newppc-branch onto trunk.
6403
6404         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6405
6406         * rs6000.c (toc_hash_table): Update for new hash table functions.
6407         (toc_hash_function): Likewise.
6408         (toc_hash_eq): Likewise.
6409         (toc_hash_mark_entry): Likewise.
6410         (toc_hash_mark_table): Likewise.
6411         (output_toc): Likewise.
6412         (rs6000_add_gc_roots): Likewise.
6413
6414         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6415
6416         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
6417         (AR_FLAGS_FOR_TARGET): here.  New macro.
6418
6419         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
6420
6421         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6422         fpmem_operand) Delete.
6423         (xer_operand) New.
6424         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6425         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6426         (rs6000_save_machine_status, rs6000_restore_machine_status,
6427         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6428         references to above variables.
6429         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6430         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6431         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6432         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6433         (XER_REGNO_P, XER_REGNO): New.
6434         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6435         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6436         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6437         XER_REGNO_P.
6438         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6439         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
6440         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6441
6442         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6443
6444         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6445         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6446         * rs6000.h: from here.
6447
6448         * rs6000-protos.h (rs6000_select_section): Provide prototype.
6449         (rs6000_select_rtx_section): Likewise.
6450         (rs6000_encode_section_info): Likewise.
6451         (sdata_section): Likewise.
6452         (sdata2_section): Likewise.
6453         (sbss_section): Likewise.
6454         * sysv4.h (rs6000_select_section): Delete prototype.
6455         (rs6000_select_rtx_section): Likewise.
6456         (rs6000_encode_section_info): Likewise.
6457         (sdata_section): Likewise.
6458         (sdata2_section): Likewise.
6459         (sbss_section): Likewise.
6460         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6461
6462         * sysv4.h: Delete various unnecessary #undef's and put a comment
6463         on the remaining ones.
6464         Change various comments according to coding standard.
6465
6466         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
6467
6468         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6469         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6470         (CR0_REGNO_P) Remove.
6471         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6472         setup_incoming_varargs, mtcrf_operation, print_operand,
6473         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6474         Use the above macros.
6475
6476         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
6477
6478         * config/rs6000/rs6000.md: Added a new alternative for each
6479         pattern that had a 'x' alternative but no 'y' alternative.
6480         Added a new split for each of the above patterns.
6481
6482         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6483
6484         * aix41.h (ASM_CPU_SPEC): Delete.
6485         (CPP_CPU_SPEC): Delete.
6486
6487         * aix.h (RS6000_OUTPUT_BASENAME): Define.
6488         (ASM_OUTPUT_LABEL): Define.
6489         (ASM_GLOBALIZE_LABEL): Define.
6490         (STRIP_NAME_ENCODING): Define.
6491         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6492         (STRIP_NAME_ENCODING): Don't define.
6493         (ASM_OUTPUT_LABEL): Don't define.
6494         (ASM_GLOBALIZE_LABEL): Don't define.
6495         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6496         names, and ASM_OUTPUT_LABEL to output labels, rather than
6497         asm_fprintf.
6498         (ASM_OUTPUT_LABEL): Define.
6499         (ASM_OUTPUT_INT): Use assemble_name.
6500         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6501         (STRIP_NAME_ENCODING): Don't undefine first.
6502         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6503         ELF.
6504         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6505         specified with 'asm' even with -fleading-underscore.
6506         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6507         (output_epilog): Likewise.
6508         (output_toc): Likewise.
6509         * tramp.asm: Handle -fleading-underscore correctly.
6510
6511         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6512         -mminimal-toc.
6513         (nonlocal_goto_receiver): Delete.
6514         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6515
6516         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6517         (SET_ASM_OP): Define.
6518         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6519
6520         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6521         (ASM_LONG): Define.
6522
6523         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6524         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6525
6526         * rs6000.h: Add 'u' to more constants.
6527
6528         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
6529
6530         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6531
6532         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
6533
6534         * rs6000.c (reg_or_u_cint_operand): New function.
6535         (logical_operand): Handle 64-bit hosts.
6536         (logical_u_operand): New function.
6537         (non_logical_cint_operand): Handle 64-bit hosts.
6538         (non_logical_u_cint_operand): New function.
6539         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6540         (PREDICATE_CODES): Define new functions.
6541         * rs6000-protos.h: Declare new functions.
6542         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6543         (movdi_64): Bracket code intended for 64-bit hosts.  Create
6544         CONST_DOUBLE for 32-bit values.
6545         (scc insns): Generate DImode compares.
6546         (mfcr insns): Create DImode versions.
6547         (sge matchers): New patterns.
6548
6549         2000-02-15  Gabriel Paubert  <paubert@iram.es>
6550
6551         * rs6000.md: Correct instructions length attributes and
6552         constraints on unsigned compare instructions.
6553         (*ne0): Disable for PowerPC64.
6554
6555         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6556
6557         * rs6000.c (output_function_profiler): Use .long for a 32-bit
6558         quantity, fix profile1.C test failure under -fPIC.
6559
6560         * rs6000.c: Add 'u' to many constants to suppress warnings.
6561         (constant_pool_expr_1): Make static.
6562         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6563         * rs6000.h: Add 'u' to many constants to suppress warnings.
6564
6565         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6566         for the start of the TOC, instead of LCTOC..0.
6567         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6568         of the TOC.
6569         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6570         (load_toc_aix_di): Use LCTOC..1.
6571
6572         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6573         * rs6000.c (rs6000_legitimize_address): New function from
6574         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
6575         symbols in the constant pool that really are TOC references.
6576         (print_operand_address): For ELF, write TOC offsets under
6577         -fPIC as subtractions in the insn.
6578         (output_toc): For ELF, define symbols in TOC as normal labels,
6579         to match RTL.
6580         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6581         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6582         (create_TOC_reference): Prototype only when RTX_CODE is defined.
6583         * rs6000.md (movsi): Only use create_TOC_reference on
6584         symbols in the constant pool that really are TOC references.
6585
6586         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
6587         * rs6000.c (rs6000_reorg): Delete.
6588         * rs6000-protos.h (rs6000_reorg): Delete.
6589
6590         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
6591
6592         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
6593
6594         * aix.h (SETUP_FRAME_ADDRESSES): Define.
6595         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
6596         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
6597         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
6598         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
6599         rs6000_aix_emit_builtin_unwind_init.
6600         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
6601         rs6000_emit_eh_toc_restore on AIX.
6602         (return_eh_si): Use r2.
6603         (return_eh_di): Use r2.
6604
6605         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
6606         since we're breaking binary compatibility anyway.
6607
6608         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6609
6610         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
6611         constant_pool_expr_p): Declare them.
6612         (constant_pool_expr_p): Declare it.
6613         * config/rs6000/rs6000.c (toc_label_name): Define.
6614         (rs6000_override_options): Set toc_label_name.
6615         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
6616         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
6617         uses_TOC): New functions.
6618         (print_operand): Delete old '*' case.
6619         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6620         and strip off rtl for TOC before calling output_addr_const.
6621         (rs6000_emit_load_toc_table): Use toc_label_name.
6622         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
6623         the default.
6624         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
6625         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
6626         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
6627         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
6628         into explicit TOC_REGISTER offsets.
6629         (TOC_REGISTER): New macro.
6630         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
6631         TARGET_TOC to reference TOC_REGISTER.
6632         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
6633         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
6634         uses_TOC before emitting label references.
6635
6636         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6637
6638         * rs6000.md (stack_tie): Fix warning.
6639
6640         * eabi-ctors.c: Use 'asm' names for the start/end variables,
6641         to handle -fleading-underscore.
6642         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
6643         (USER_LABEL_PREFIX): New macro.
6644         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
6645         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
6646         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
6647         call-linux can use the same multilibs.
6648         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
6649         and call-linux multilibs.  Do multilib with -fleading-underscore.
6650         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
6651         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
6652         to call-aix.
6653
6654         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
6655         have MASK_SOFT_FLOAT set.
6656         (CPP_FLOAT_DEFAULT_SPEC): New macro.
6657         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
6658         CPP_FLOAT_DEFAULT_SPEC.
6659
6660         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
6661         * rs6000.md: Whitespace change.
6662         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
6663         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
6664
6665         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6666
6667         * rs6000.md (eh_epilogue): New expander.
6668         (eh_reg_restore): New expand/split/insn combination.
6669         (return_eh_si): New insn.
6670         (return_eh_di): New insn.
6671
6672         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
6673         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
6674         * eabi-ctors.c (__do_global_ctors): Register this object's
6675         frame.  Clean up.  Call atexit() after the constructors.
6676         (__do_global_dtors): Deregister this object's frame.  Clean up.
6677         Allow for recursive calls to exit().
6678         * rs6000.c (fixuplabelno): New variable.
6679         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
6680         TARGET_RELOCATABLE, it slows down exec() under linux.
6681         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
6682
6683         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
6684         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
6685         (ASM_OUTPUT_DWARF_DELTA2): New macro.
6686         (ASM_OUTPUT_DWARF_DELTA4): New macro.
6687         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
6688         (ASM_OUTPUT_DWARF_ADDR): New macro.
6689         (ASM_OUTPUT_DWARF_DATA4): New macro.
6690         (ASM_OUTPUT_DWARF_DATA2): New macro.
6691         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
6692         (ASM_OUTPUT_DWARF_OFFSET): New macro.
6693         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
6694
6695         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6696
6697         * rs6000.c (rs6000_sr_alias_set): New variable.
6698         (rs6000_override_options): Initialise rs6000_sr_alias_set.
6699         (rs6000_emit_stack_tie): New function.
6700         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
6701         in a way that dwarf2out can understand.
6702         (rs6000_frame_related): New function.
6703         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
6704         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
6705         Use rs6000_emit_stack_tie when needed.
6706         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
6707         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
6708         * rs6000.md (stack_tie): New insn.
6709         (return_internal_si): Allow return value to be in the count
6710         register.
6711         (return_internal_di): Likewise.
6712
6713         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
6714
6715         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
6716
6717         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
6718
6719         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
6720
6721         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
6722
6723         * rs6000.md (stmw): Use the right POWER opcode.
6724         (lmw): Likewise.
6725
6726         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6727
6728         * rs6000-protos.h: New file.
6729
6730         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
6731
6732         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
6733         warnings.
6734
6735         * sysv4.h: Likewise.
6736
6737         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
6738
6739         * ../../configure.in: Delete powerpcle-*-winnt*
6740         and powerpcle-*-pe|powerpcle-*-cygwin*.
6741         * ../../configure: Regenerated.
6742         * cygwin.h: Delete.
6743         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
6744         (TARGET_WINDOWS_NT): Delete.
6745         (ABI_NT): Delete.
6746         (CALL_NT_DLLIMPORT): Delete.
6747         Delete NT-specific code.
6748         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
6749         * win-nt.h: Delete.
6750         * t-winnt: Delete.
6751         * nt-ci.asm: Delete.
6752         * nt-cn.asm: Delete.
6753         * ntstack.asm: Delete.
6754
6755         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6756
6757         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
6758         (ASM_FILE_START): Likewise.
6759         (ASM_DECLARE_FUNCTION_NAME): Likewise.
6760         (ASM_OUTPUT_LABELREF): Likewise.
6761         (ASM_OUTPUT_SKIP): Likewise.
6762         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6763         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6764         (ASM_OUTPUT_CASE_LABEL): Likewise.
6765         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
6766         (ASM_OUTPUT_ASCII): Likewise.
6767
6768         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
6769
6770         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
6771         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
6772         increment rs6000_pic_labelno here.
6773         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
6774         and increment rs6000_pic_labelno here.
6775
6776         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
6777
6778         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
6779         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
6780         allocation knows (reg) is dead before the insn.
6781
6782         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
6783
6784         * rs6000.md (movsi_to_cr): Correct typo in output template.
6785
6786         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6787
6788         * rs6000.c (rs6000_pic_labelno): Always define.
6789         (rs6000_pic_func_labelno): Delete.
6790         (lmw_operation): Check for a zero base register,
6791         which doesn't mean what we want.
6792         (stmw_operation): New function.
6793         (print_operand): Define new 'l' modifier.
6794         (rs6000_stack_info): We must save all 64 bits of the registers
6795         if TARGET_POWERPC64.
6796         (rs6000_output_load_toc_table): Delete.
6797         (rs6000_emit_load_toc_table): New function.
6798         (rs6000_allocate_stack_space): Delete.
6799         (rs6000_emit_allocate_stack): New function.
6800         (rs6000_emit_prologue): New function.
6801         (output_prolog): Use rs6000_emit_prologue.
6802         (rs6000_emit_epilogue): Change a few variable names to be
6803         more accurate.  Restore all 64 bits of the registers if
6804         TARGET_POWERPC64.  Only restore the FP registers which were used
6805         if they are being saved/restored one-at-a-time.
6806         (output_mi_thunk): Delete inefficient code generation.
6807         (output_function_profiler): Don't use rs6000_output_load_toc_table.
6808         * rs6000.h: Declare rs6000_emit_load_toc_table,
6809         rs6000_allocate_stack_space, stmw_operation.  Don't declare
6810         rs6000_output_load_toc_table.
6811         * rs6000.md (elf_high): Allow register 0, but discourage it
6812         heavily.
6813         (elf_low): Support loading into register 0.
6814         (load_toc_aix_si): New pattern.
6815         (load_toc_aix_di): New pattern.
6816         (load_toc_v4_pic_si): New pattern.
6817         (load_toc_v4_pic_di): New pattern.
6818         (load_toc_v4_PIC_1): New pattern.
6819         (load_toc_v4_PIC_1b): New pattern.
6820         (load_toc_v4_PIC_2): New pattern.
6821         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
6822         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
6823         (prologue): New expander.
6824         (movesi_from_cr): New pattern.
6825         (stmw): New pattern.
6826         (save_fpregs_si): New pattern.
6827         (save_fpregs_di): New pattern.
6828
6829         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6830
6831         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
6832         (movdi): Likewise.
6833         (movhi): Likewise.
6834         (movqi): Likewise.
6835
6836         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6837
6838         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
6839         at present.
6840         (movsi_got_internal): Likewise.
6841         (movsi_got_internal+1): Likewise.
6842         (set_sp): 'unspec 7' does a SImode clobber.
6843
6844         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6845
6846         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
6847         allocate a stack temporary.
6848         (floatsidf2_internal): Likewise.
6849         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
6850         with unspec.
6851         (floatunssidf2): Don't use the fpmem "register", just
6852         allocate a stack temporary.
6853         (floatunssidf2_internal): Likewise.
6854         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
6855         with unspec.
6856         (floatsidf2_loadaddr): Delete.
6857         (floatsidf2_store1): Delete.
6858         (floatsidf2_store2): Delete.
6859         (floatsidf2_load): Delete.
6860         (fix_truncdfsi2): Don't use the fpmem "register", just
6861         allocate a stack temporary.
6862         (fix_truncdfsi2_internal_si): Delete.
6863         (fix_truncdfsi2_internal_di): Delete.
6864         (fix_truncdfsi2_internal): New insn.
6865         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
6866         (fix_truncdfsi2_store): Delete.
6867         (fix_truncdfsi2_load): Delete.
6868         (fctiwz): Produce gen_fctiwz.
6869
6870         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
6871
6872         * eabi.h (INVOKE__main): Define.
6873         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
6874         specially.
6875         (rs6000_emit_prologue): Likewise.
6876         * rs6000.h (struct rs6000_stack): Don't keep track of whether
6877         this is the main program.
6878
6879         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6880
6881         * rs6000.c (rs6000_va_arg): Delete some unused variables.
6882
6883         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6884
6885         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
6886         goes after the argument.
6887
6888         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6889
6890         * rs6000.md: Document 'unspec' values used.
6891         (epilogue): New expander.
6892         (movesi_to_cr_one): New expander.
6893         (movesi_to_cr and following): New pattern.
6894         (lmw): New pattern.
6895         (return_internal_si): New pattern.
6896         (return_internal_di): New pattern.
6897         (return_and_restore_fpregs_si): New pattern.
6898         (return_and_restore_fpregs_di): New pattern.
6899         * rs6000.h: Declare new functions.
6900         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
6901         rather than rs6000_calls_p.
6902         (rs6000_makes_calls): Delete.
6903         (lmw_operation): New function.
6904         (mtcrf_operation): New function.
6905         (rs6000_emit_epilogue): New function.
6906         (output_epilog): Call rs6000_emit_epilogue and final if
6907         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
6908
6909         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6910
6911         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
6912         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
6913         * aix.h (SUBTARGET_SWITCHES): Document switches.
6914         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
6915         sched-prolog and sched-epilog the same.  Document all the
6916         switches.
6917         (TARGET_OPTIONS): No longer allow -mdebug-.
6918
6919         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
6920
6921         * rs6000.h (ASM_FILE_END): Move to aix.h.
6922         (EXTRA_SECTIONS): Move to aix.h.
6923         (READONLY_DATA_SECTION): Move to aix.h.
6924         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
6925         (SELECT_SECTION): Move to aix.h.
6926         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
6927         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
6928         (LINK_REGISTER_REGNUM): New definition.
6929         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
6930         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
6931         AIX and SVR4.
6932         * sysv4.h: Delete the code between the inclusion of rs6000.h
6933         and svr4.h.
6934         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
6935         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
6936         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
6937         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
6938         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
6939         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
6940         (fix_truncdfsi2_internal_di): New pattern.
6941         (fix_truncdfsi2_store): The second arg here is Pmode too.
6942         (fix_truncdfsi2_load): The second arg here is Pmode too.
6943         (tablejumpdi): Now that switch tables hold only SImode values,
6944         gcc needs to know how to add them to the pc which is DImode.
6945         * rs6000.c (rs6000_stack_info): Use symbolic name for
6946         LINK_REGISTER_REGNUM.
6947         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
6948         (output_toc): Delete unused variables s1 and s2.
6949         (output_ascii): Use fputs not fprintf on a variable string.
6950
6951         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
6952
6953         * rs6000.c (processor_target_table): Add power3 as alias for 630.
6954         * aix43.h: Revert Aug 2 change.
6955         (HAS_INIT_SECTION): Define, not visible yet.
6956         (LD_INIT_SWITCH): Define, not visible yet.
6957         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6958
6959         2000-01-04  Joel Sherrill (joel@OARcorp.com>
6960
6961         * config/rs6000/rtems.h: Include config/rtems.h.
6962
6963         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6964
6965         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6966         (SLOW_UNALIGNED_ACCESS): Define.
6967         (CASE_VECTOR_MODE): Always use 32-bit offsets.
6968         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6969         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6970         (toc_section): Likewise and .toc pseudo-op.
6971         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
6972         64-bit mode.
6973         (TEXT_SECTION_ASM_OP): Likewise.
6974         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6975         32-bit offsets.
6976
6977         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
6978
6979         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
6980         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6981         compiling libgcc2.
6982
6983         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6984
6985         * rs6000.h: Move more stuff from here...
6986         * aix.h: to here.
6987         * sysv4.h: Cleanup accordingly.
6988         * netware.h: Likewise
6989
6990         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6991
6992         * rs6000.h: Continue cleanup.
6993         * aix.h: Likewise.
6994         * lynx.h: Likewise.
6995         * netware.h: Likewise.
6996         * sol2.h: Likewise.
6997         * sysv4.h: Likewise.
6998         * win-nt.h: Likewise.
6999
7000         * rs6000.h (TARGET_SWITCHES): Add descriptions.
7001         (TARGET_OPTIONS): Likewise.
7002
7003         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
7004         (SUBTARGET_OPTIONS): Likewise.
7005
7006         * rs6000.md: Fix compile time warnings.
7007
7008         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7009
7010         vxworks patches from the Cygnus tree originally by
7011         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
7012         <vmakarov@cygnus.com>.
7013         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
7014         (ENDFILE_SPEC): Likewise.
7015         (LIB_VXWORKS_SPEC): New macro.
7016         (STARTFILE_VXWORKS_SPEC): New macro.
7017         (ENDFILE_VXWORKS_SPEC): New macro.
7018         (LINK_START_VXWORKS_SPEC): New macro.
7019         (LINK_OS_VXWORKS_SPEC): New macro.
7020         (CPP_OS_VXWORKS_SPEC): New macro.
7021         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
7022         * vxppc.h: Rewrite to use proper configuration method.
7023         * vxppcle.h: New file.
7024         * ../../configure.in: Add powerpcle-wrs-vxworks*.
7025         * ../../configure: Rebuilt.
7026
7027         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7028
7029         Lots of changes to rs6000.h, sysv4.h, aix.h,
7030         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7031         with the aim that rs6000.h is the first header
7032         included and the others override it.
7033         * aix.h: New file.
7034
7035         * x-aix41-gld: Remove.
7036         * x-aix43: Remove.
7037         * x-aix41: Remove target-specific switches, and don't specify
7038         -Wl,-bbigtoc as we don't need it any more.
7039         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7040         Use t-aix43 for AIX 4.3 and above.
7041         * ../../configure: Regenerated.
7042
7043         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7044         options, that don't do anything yet.
7045         (MASK_SCHED_PROLOG): New macro.
7046         (MASK_SCHED_EPILOG): New macro.
7047         (TARGET_SCHED_PROLOG): New macro.
7048         (TARGET_SCHED_EPILOG): New macro.
7049
7050         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7051
7052         * rs6000.c: Correct comment, the `minimal' TOCs are actually
7053         one per translation unit, not one per function.
7054         (output_toc): Also do duplicate constant elimination
7055         for per-translation-unit TOCs.
7056
7057         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
7058         a comment explaining _exactly_ when this pattern gets used.
7059         (builtin_setjmp_receiver): New pattern for better clarity.
7060         (init_v4_pic): Move it into a section dealing with TOC registers.
7061
7062         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
7063
7064         * rs6000.c (toc_hash_table): New variable.
7065         (rs6000_hash_constant): New function.
7066         (toc_hash_function): New function.
7067         (toc_hash_eq): New function.
7068         (toc_hash_mark_entry): New function.
7069         (toc_hash_mark_table): New function.
7070         (output_toc): Don't output duplicate TOC entries in
7071         a single file.
7072         (rs6000_add_gc_roots): Add the hash table as a GC root.
7073         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7074         where they clearly shouldn't be.  This may need to be fixed
7075         later when there is a GNU ar for AIX.
7076         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7077         Don't define BOOT_LDFLAGS as it is now not necessary.
7078
7079         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
7080
7081         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7082         for va_list on AIX.  Use unsigned_char_type_node rather than
7083         constructing our own version on svr4.
7084
7085         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
7086
7087         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7088         since patently it's not.
7089
7090         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
7091
7092         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7093         define_expand/define_insn pair, and handle restore of the
7094         SVR4 -fpic register.
7095
7096 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
7097
7098         * acconfig.h (HAVE_GAS_WEAK): New define.
7099         * configure.in (assembler weak support): Check for .weak support.
7100         * config.in, configure: Rebuilt.
7101         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7102         HAVE_GAS_WEAK is defined.
7103
7104 2000-03-15  Nick Clifton  <nickc@cygnus.com>
7105
7106         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7107         asm_fprintf().
7108
7109 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
7110
7111         * cppfiles.c (open_include_file): New function.
7112         (find_include_file, cpp_read_file): Use it.
7113
7114 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
7115
7116         * cpphash.c (dump_hash_helper): Take the slot, not the element.
7117
7118 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
7119
7120         * flow.c (verify_flow_info): Check for unconditional return.
7121
7122 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
7123
7124         * config/ia64/ia64.md (restore_stack_nonlocal): New.
7125         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7126         (__ia64_restore_stack_nonlocal): New.
7127         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7128
7129 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7130
7131         * cpphash.c (collect_formal_parameters): Do not complain about
7132         parameter names that just start with `__VA_ARGS__'.
7133
7134 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
7135
7136         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7137         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7138         * i386.c (pentiumpro_cost): Set mul cost to 4.
7139         (x86_use_movx): Set for PPro.
7140
7141 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
7142
7143         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7144         STACK_BOUNDARY for empty frames now.
7145
7146 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
7147
7148         * stor-layout.c (layout_union): Remove.
7149         (layout_union_field): New function, split out from layout_union.
7150         (finish_union_layout): Likewise.
7151         (layout_field): Handle unions by calling layout_union_field.
7152         (finish_record_layout): Handle unions.
7153         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7154         QUAL_UNION_TYPE handling.
7155
7156 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
7157
7158         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7159         end of basic block is jump_insn, not barrier; use create_basic_block
7160         instead of creating basic block by hand.
7161
7162 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
7163
7164         * flow.c (reorder_basic_blocks): Account for barriers when writing
7165         over NEXT_INSN (last_bb->end).
7166         (verify_flow_info): Add check for missing barriers.
7167
7168 2000-03-14  Greg McGary  <gkm@gnu.org>
7169
7170         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
7171         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
7172         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
7173         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
7174         __unbounded, __unbounded__): New keywords.
7175         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
7176         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
7177         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
7178
7179 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7180
7181         * cselib.h: New file.
7182         * alias.c: Include "cselib.h".
7183         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
7184         MEMs as two new arguments.
7185         (get_addr): New static function.
7186         (find_base_term): Handle VALUEs.
7187         (memrefs_conflict_p): Likewise.
7188         (true_dependence): Call get_addr on the addresses.
7189         Call fixed_scalar_and_varying_struct_p with addresses that have been
7190         passed through get_addr and canon_rtx.
7191         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
7192         with true_dependence.
7193         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
7194         * loop.c: Include "cselib.h".
7195         (load_mems): Process extended basic block that enters the loop with
7196         cselib.  Use that information to change initialization of the shadow
7197         register so that a constant equivalence is seen by later passes.
7198         * reload1.c: Include "cselib.h".
7199         (reload_cse_invalidate_regno): Delete function.
7200         (reload_cse_mem_conflict_p): Likewise.
7201         (reload_cse_invalidate_mem): Likewise.
7202         (reload_cse_invalidate_rtx): Likewise.
7203         (reload_cse_regno_equal_p): Likewise.
7204         (reload_cse_check_clobber): Likewise.
7205         (reload_cse_record_set): Likewise.
7206         (reg_values): Delete static variable.
7207         (invalidate_regno_rtx): Likewise.
7208         (reload_cse_delete_noop_set): New static function.
7209         (reload_cse_simplify): New static function, broken out of
7210         reload_cse_regs_1.
7211         (reload_cse_noop_set_p): Delete unused argument INSN.
7212         Just call rtx_equal_for_cselib_p on set source and destination.
7213         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
7214         reload_cse_delete_noop_set.  Delete code to keep track of values; use
7215         cselib functions instead.  Delete code to push/pop obstacks.
7216         (reload_cse_simplify_set): Use cselib to find equivalent values.
7217         Delete code to push/pop obstacks.
7218         (reload_cse_simplify_operands): Likewise.
7219         * rtl.def (VALUE): New rtx code.
7220         * rtl.h (union rtunion_def): New elt rt_cselib.
7221         (X0CSELIB, CSELIB_VAL_PTR): New macros.
7222         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
7223         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
7224         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
7225         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
7226         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
7227         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
7228         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
7229         cselib_record_set, cselib_record_sets): New static functions.
7230         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
7231         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
7232         references_value_p): New functions.
7233         (MAX_USELESS_VALUES, REG_VALUES): New macros.
7234         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
7235         n_useless_values, reg_values, callmem, cselib_obstack,
7236         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
7237         New static variables.
7238         * varray.h (union varray_data_tag): New elt te.
7239         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
7240         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
7241         dependencies.
7242
7243 2000-03-14  Nick Clifton  <nickc@cygnus.com>
7244
7245         * gcc.c (do_spec_1): Catch the case where %* is used in a
7246         substitution pattern, but it has not been initialised.
7247         Issue a meaningful error message if an unrecognised operator
7248         is encountered in a spec string.
7249
7250 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
7251
7252         * function.c (prepare_function_start): Correctly initialize
7253         cfun->stack_alignment_needed.
7254
7255 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
7256
7257         * cppfiles.c (find_include_file): Don't assume nshort is a
7258         substring of name.
7259
7260 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
7261
7262         * configure.in (hppa configurations): Add pa32-regs.h to the
7263         list of tm files as appropriate.
7264         * configure: Rebuilt.
7265         * pa.c (compute_frame_size): Remove explicit knowledge about FP
7266         register numbering.
7267         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7268         (fmpyaddoperands, fmpysuboperands): Likewise.
7269         * pa.h: Remove various definitions which depend on knowing
7270         how registers are numbered.
7271         * pa32-regs.h: New file with PA32 register numbering specific
7272         definitions.
7273
7274 2000-03-14  Richard Henderson  <rth@cygnus.com>
7275
7276         * regmove.c (combine_stack_adjustments): New.
7277         (stack_memref_p, single_set_for_csa): New.
7278         (free_csa_memlist, record_one_stack_memref): New.
7279         (try_apply_stack_adjustment): New.
7280         (combine_stack_adjustments_for_block): New.
7281         * rtl.h (combine_stack_adjustments): Declare.
7282         * toplev.c (rest_of_compilation): Call it.
7283
7284         * i386.md: Revert 2000-01-16 change.
7285
7286 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7287
7288         * gccbug.in: Add web category, gcc specific classes.
7289
7290 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
7291
7292         * stor-layout.c (finalize_record_size): Fix typo.
7293
7294 2000-03-14  Stan Shebs  <shebs@apple.com>
7295
7296         * c-typeck.c (c_alignof): Error on incomplete types.
7297         * extend.texi (Alignment): Document this.
7298
7299 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7300
7301         * cppfiles.c: Include mkdeps.h.
7302         (find_include_file, read_include_file): Remove _cpp_ prefix
7303         from name, make static.
7304         (_cpp_execute_include): New function, broken out of
7305         do_include.
7306
7307         * cpplib.c: Don't include mkdeps.h.
7308         (struct directive): Remove type field. Reorder entries.  The
7309         function takes only one argument.
7310         (struct if_stack): Make type field an int.
7311         (directive_table): Rename to dtable.  Generate it, the
7312         prototypes of the directive handlers, and the enum for the
7313         directive numbers, from a template macro.
7314         (do_ifndef, do_include_next, do_import): New functions.
7315         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7316         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7317         do_ident, do_assert, do_unassert, do_sccs): Take only one
7318         argument.
7319         (do_sccs): Define always, but alter behavior based on
7320         SCCS_DIRECTIVE.
7321         (_cpp_handle_directive, consider_directive_while_skipping):
7322         Restructure for new directive table layout.
7323
7324         (pass_thru_directive): Take a directive number, not a pointer
7325         to a struct directive.
7326         (parse_include): New function, broken out of do_include.
7327         (do_include, do_import, do_include_next): Use parse_include
7328         and _cpp_execute_include.
7329         (do_elif, do_else): Test for T_ELSE specifically when checking
7330         for #elif/#else after #else.
7331         (parse_ifdef): New function, broken out of do_ifdef.
7332         (validate_else): Expect a name arg without a leading #.
7333         (if_directive_name): Delete.
7334         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7335         directive handlers with only one argument.
7336
7337         * cpphash.h: Update prototypes.
7338         (enum node_type): Remove entries for directives.
7339         * Makefile.in: Update dependencies.
7340
7341         * cpphash.c (dump_hash_helper): Only dump nodes of type
7342         T_MACRO.  Emit a newline after each definition.
7343
7344 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7345
7346         * gccbug.in: New file.
7347         * configure.in (all_outputs): Add gccbug.
7348         * Makefile.in (install-common): Install gccbug.
7349         (GCCBUG_INSTALL_NAME): New variable.
7350         * configure: Rebuilt.
7351
7352 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7353
7354         * function.c (put_var_into_stack): Use type_for_mode to calculate
7355         part_type.  Use MEM_SET_IN_STRUCT_P.
7356         * expr.c (store_field): Handle CONCAT.
7357         (store_constructor): Use fields_length.
7358         * tree.c (fields_length): New fn.
7359         * tree.h: Declare it.
7360
7361 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7362
7363         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7364         (cpplex.o): New target.
7365         * po/POTFILES.in: Add cpplex.c.
7366
7367         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7368         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7369         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7370         skip_block_comment, skip_line_comment, skip_comment,
7371         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7372         _cpp_parse_name, skip_string, parse_string,
7373         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7374         _cpp_get_directive_token, find_position,
7375         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7376         (maybe_macroexpand, _cpp_lex_token): New functions.
7377
7378         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7379         parse_goto_mark): Delete.
7380         (_cpp_handle_eof): New function.
7381         (_cpp_handle_directive): Rename from handle_directive.
7382         (_cpp_output_line_command): Rename from output_line_command.
7383         (do_if, do_elif): Call _cpp_parse_expr directly.
7384         * cppfiles.c (_cpp_read_include_file): Don't call
7385         init_input_buffer here.
7386         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7387         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7388         here; pop the token_buffer and skip the rest of the line here.
7389         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7390         here.
7391
7392         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7393         Define here.
7394         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7395         CPP_GOTO_MARK): New macros.
7396         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7397         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7398         _cpp_read_and_prescan, _cpp_init_input_buffer,
7399         _cpp_grow_token_buffer, _cpp_get_directive_token,
7400         _cpp_handle_directive, _cpp_handle_eof,
7401         _cpp_output_line_command): Prototype them here.
7402         * cpplib.h (enum cpp_token): Add CPP_MACRO.
7403         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7404         quote_string, output_line_command): Remove.
7405
7406 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
7407
7408         * stmt.c (expand_end_case): RANGE may be signed, and when checking
7409         whether it is too large we must also verify that it isn't negative.
7410
7411 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
7412
7413         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7414         (movsi_zero_liveg0): Remove.
7415         (movsf_insn_novis_liveg0): Remove.
7416         (negsi2): Remove.
7417         (negsi2_not_liveg0): Rename to negsi2.
7418         (one_cmplsi2): Remove.
7419         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7420         (one_cmplsi2_liveg0): Remove.
7421         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7422         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7423         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7424         (PREDICATE_CODES): Remove zero_operand.
7425         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7426         TARGET_BROKEN_SAVERESTORE.
7427         (zero_operand): Remove.
7428         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7429         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7430         options.
7431         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7432         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7433         TARGET_BROKEN_SAVERESTORE): Remove.
7434         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7435         Remove.
7436         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7437         Remove.
7438         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7439         Remove.
7440
7441         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7442
7443 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7444
7445         * cpplib.c (do_pragma_implementation): Fix off-by-one error
7446         truncating a string.  Don't assume tokens are nul terminated.
7447         Problem noted by Andreas Jaeger <aj@suse.de>
7448
7449 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7450
7451         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7452         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7453         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7454
7455 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
7456
7457         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7458         STRUCTURE_SIZE_BOUNDARY.
7459
7460 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
7461
7462         * tree.h (record_layout_info_s): New structure.
7463         (record_layout_info): New type.
7464         (new_record_layout_info): New function.
7465         (layout_field): Likewise.
7466         (finish_record_layout): Likewise.
7467         * stor-layout.c (layout_record): Remove.
7468         (new_record_layout_info): New function.
7469         (layout_field): New function, broken out from layout_record.
7470         (finalize_record_size): Likewise.
7471         (compute_record_mode): Likewise.
7472         (finalize_type_size): New function, broken out from layout_type.
7473         (finish_record_layout): Likewise.
7474         (layout_type): Use them.
7475
7476 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7477
7478         * cpphash.c: Don't include version.h.
7479         (special_symbol) [case T_VERSION]: Look for the string in
7480         hp->value.cpval; don't use version_string.
7481         * cppinit.c (initialize_builtins): Set hp->value.cpval for
7482         __VERSION__ to version_string.
7483         * Makefile.in (cpphash.o): Update deps.
7484
7485 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7486
7487         Convert cpplib to use libiberty/hashtab.c.
7488
7489         * cpplib.h (struct cpp_reader): Make hashtab and
7490         all_include_files of type 'struct htab *'.  Delete HASHSIZE
7491         and ALL_INCLUDE_HASHSIZE macros.
7492
7493         * cpphash.h: Update prototypes.
7494         (struct hashnode): Remove next, prev, and bucket_hdr members.
7495         Make length a size_t.  Add hash member.
7496         (struct ihash): Remove next member.  Add hash member.  Make
7497         name a flexible array member.
7498
7499         * cppfiles.c: Include hashtab.h.
7500         (include_hash): Delete.
7501         (IHASHSIZE): New macro.
7502         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7503         (cpp_included): Do the hash lookup here.
7504         (_cpp_find_include_file): Rewrite.
7505         (cpp_read_file): Put the "fake" hash entry into the hash
7506         table.  Honor the control_macro, if it turns out we've seen
7507         the file before.  Don't push the buffer here.
7508         (_cpp_read_include_file): Push the buffer here.
7509         (OMODES): New macro.  Use it whenever we call open(2).
7510
7511         * cpphash.c: Include hashtab.h.
7512         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7513         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7514         _cpp_lookup_slot): New functions.
7515         (HASHSIZE): new macro.
7516         (hashf, _cpp_install, _cpp_delete_macro): Delete.
7517         (_cpp_lookup): Use hashtab.h routines.
7518
7519         * cppinit.c: Include hashtab.h.
7520         (cpp_reader_init): Call _cpp_init_macro_hash and
7521         _cpp_init_include_hash.  Don't allocate hashtab directly.
7522         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7523         pfile->all_include_files.
7524         (initialize_builtins): Use _cpp_make_hashnode and
7525         htab_find_slot to add hash entries.
7526         (cpp_finish): Just call _cpp_dump_macro_hash.
7527         * cpplib.c: Include hashtab.h.
7528         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7529         create hash entries.
7530         (do_pragma_poison, do_assert): Likewise.
7531         (do_include): Don't push the buffer here.  Don't increment
7532         system_include_depth unless _cpp_read_include_file succeeds.
7533         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7534         or htab_remove_elt.
7535         (do_pragma_implementation): Use alloca to create copy.
7536
7537         * Makefile.in: Update dependencies.
7538
7539 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7540
7541         * cppinit.c (cl_directive_handler): More K&R fixing.
7542
7543 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
7544
7545         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7546         STACK_BOUNDARY.
7547         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7548
7549 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7550
7551         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7552         Change from char[] to macros.
7553
7554 2000-03-12  Neil Booth  <NeilB@earthling.net>
7555
7556         * cppinit.c (cpp_start_read): Update indirect function
7557         call to K&R C.
7558
7559 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
7560
7561         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7562         entry.
7563
7564         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7565         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7566
7567 2000-03-11  Neil Booth  <NeilB@earthling.net>
7568
7569         * cppinit.c (struct pending option): Replace undef with a
7570         pointer to a directive handling routine.
7571         (struct cpp_pending): Replace separate assert_ and define_
7572         lists with one directive_ list.
7573         (new_pending_define): Rename new_pending_directive. Extra
7574         argument is the directive's handling routine.
7575         (handle_option): Update to use new_pending_directive.
7576
7577 2000-03-11  Neil Booth  <NeilB@earthling.net>
7578
7579         * cppfiles.c (file_cleanup, _cpp_find_include_file,
7580         remap_filename, _cpp_read_include_file, actual_directory,
7581         hack_vms_include_specification): Replace bcopy(), index() etc
7582         calls.  Add casts to some allocations.  Make some variables
7583         pointers to const [unsigned] char.
7584         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7585         collect_formal_parameters): Similarly.
7586         * cppinit.c (struct pending_option, append_include_chain,
7587         cpp_options_init, cpp_reader_init, initialize_standard_includes,
7588         cpp_start_read, new_pending_define, handle_option): Similarly.
7589         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
7590         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
7591         do_pragma_implementation, detect_if_not_defined,
7592         do_ifdef, skip_if_group, cpp_get_token, parse_string,
7593         do_assert, do_unassert): Similarly.
7594         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
7595         function prototypes.
7596         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
7597
7598 2000-03-10  Richard Henderson  <rth@cygnus.com>
7599
7600         * builtins.c (expand_builtin_strlen): Revert last change.
7601         Use emit_insn_before if we're at the beginning of a sequence.
7602
7603 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
7604
7605         * builtins.c (expand_builtin_strlen): Make sure that we have something
7606         at the beginning of the sequence.
7607
7608         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
7609         deferred inlines.
7610
7611         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
7612
7613 2000-03-10  Richard Henderson  <rth@cygnus.com>
7614
7615         * except.c (can_throw): Use INTVAL on a CONST_INT.
7616         (reachable_handlers): Likewise.
7617         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
7618
7619 2000-03-10  Andreas Jaeger  <aj@suse.de>
7620
7621         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
7622         MD_STARTFILE_PREFIX since those are not needed on linux.
7623         (ASM_FILE_START): New, from mips/gnu.h.
7624
7625 2000-03-09  Richard Henderson  <rth@cygnus.com>
7626             Alex Samuel  <samuel@codesourcery.com> and others
7627
7628         * Makefile.in (ssa.o): New rule.
7629         (OBJS): Add ssa.o.
7630         (STAGESTUFF): Add *.ssa and *.ussa.
7631         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
7632         * rtl.def (PHI): New RTL expression.
7633         * rtl.h (clear_log_links): New declaration.
7634         (convert_to_ssa): Likewise.
7635         (convert_from_ssa): Likewise.
7636         * flow.c (split_edge): If the entry node falls through to the
7637         split edge's source block, split the entry edge.
7638         (clear_log_links): New function.
7639         * toplev.c (ssa_dump): New variable.
7640         (flag_ssa): Likewise.
7641         (f_options): Add "ssa".
7642         (compile_file): Create SSA dump files.
7643         (rest_of_compilation): Go to and from SSA if enabled.
7644         (decide_d_option): Handle -de for SSA dump files.
7645         * ssa.c: New file.
7646
7647 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
7648
7649         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
7650         same as VAR_DECL.
7651
7652 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
7653
7654         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
7655
7656 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
7657
7658         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
7659         (MD_STARTFILE_PREFIX_1): New macro.
7660
7661 2000-03-09  Robert Lipe  <robertl@sco.com>
7662
7663         * config/ia64/ia64.c: Include system.h.
7664
7665 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7666
7667         * except.c (nothrow_function_p): If -fno-exceptions, just return.
7668         (init_eh_nesting_info): Likewise.
7669
7670         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
7671         (TREE_NOTHROW): Rename from TREE_RAISES.
7672         * toplev.c (rest_of_compilation): Set it.
7673         * print-tree.c (print_node): Adjust.
7674         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
7675         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
7676         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
7677         REG_EH_REGION note as appropriate.
7678         (libfunc_nothrow): New fn.
7679         (emit_library_call, emit_library_call_value): Use it.
7680         (expand_call): Check TREE_NOTHROW.
7681
7682         * varasm.c (make_decl_rtl): Skip initial '*' when setting
7683         DECL_ASSEMBLER_NAME.
7684
7685 2000-03-09  Andreas Jaeger  <aj@suse.de>
7686
7687         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
7688         (TARGET_MEM_FUNCTIONS): Define.
7689
7690 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
7691
7692         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
7693
7694         * except.c (can_throw): See through a SEQUENCE.
7695         (nothrow_function_p): New fn.
7696         * except.h: Declare it.
7697         * function.c (current_function_nothrow): New var.
7698         (prepare_function_start): Initialize it.
7699         * output.h: Declare it.
7700         * toplev.c (rest_of_compilation): Set it.
7701         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
7702
7703 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
7704
7705         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
7706         match.  (cpp_compare_defs): Count the nul separator when
7707         advancing over argument names.
7708
7709 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
7710
7711         * recog.c (preprocess_constraints): Matching constraints affect
7712         same alternative/different operand, not same operand/different
7713         alternative.
7714
7715         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
7716         register and a constant specially.
7717
7718 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7719
7720         * libgcc2.h: New file.
7721         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
7722
7723 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
7724
7725         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
7726         * configure: Regenerate.
7727         * config/ia64: New.
7728
7729 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7730
7731         * Makefile.in (LIBCPP_DEPS): New macro.
7732         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
7733         it to declare deps.
7734         * cpperror.c: Include cpphash.h.
7735         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
7736         dingleberry.
7737         (lex): Don't use CPP_WARN_UNDEF.
7738         (_cpp_parse_expr): Return an int, the truth value.
7739         * cppfiles.c: Include cpphash.h.
7740         (_cpp_merge_include_chains): Move to cppinit.c and make static.
7741         * cppinit.c (include_defaults_array): Disentangle.
7742         (cpp_cleanup): Don't free the if stack here.
7743         (cpp_finish): Pop off all buffers, not just one.
7744         * cpplib.c (eval_if_expr): Return int.
7745         (do_xifdef): Rename do_ifdef.
7746         (handle_directive): Don't use CPP_PREPROCESSED.
7747         (cpp_get_token): Don't use CPP_C89.
7748         * fix-header.c: Don't use CPP_OPTIONS.
7749
7750         * cpplib.h: Move U_CHAR, enum node_type, struct
7751         file_name_list, struct ihash, is_idchar, is_idstart,
7752         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
7753         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
7754         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
7755         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
7756         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
7757         of _cpp_simplify_pathname, _cpp_find_include_file,
7758         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
7759         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
7760         cppinit.c.
7761         Change all uses of U_CHAR to be unsigned char instead.
7762         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
7763
7764 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7765
7766         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
7767         (dwarf2out_begin_prologue): Set it.
7768         (output_call_frame_info): Don't emit EH unwind info for leaves.
7769
7770         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
7771         can occur outside of an EH region.
7772         * except.c: Correct comments about rethrow behavior.
7773         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
7774
7775 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
7776
7777         * flow.c (make_edges): Always call make_eh_edge for calls.
7778
7779 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
7780
7781         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
7782         (struct cpp_buffer): Remove fname and underflow fields.
7783         (struct cpp_reader): Remove get_token field.
7784         (struct include_hash): Rename to struct ihash.  Add typedef to
7785         IHASH.
7786         (struct if_stack): Remove fname field.
7787         (IF_STACK_FRAME): Rename to IF_STACK.
7788
7789         * cpperror.c (print_containing_files): Trust that there are no
7790         macro buffers below the top file buffer.
7791         * cppfiles.c: Replace all references to 'struct include_hash'
7792         with 'IHASH'.  Rename initialize_input_buffer to
7793         init_input_buffer.  Don't set or reference cpp_buffer->fname,
7794         use buffer->ihash->name instead.
7795         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
7796         not CPP_NULL_BUFFER.
7797         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
7798         IF_STACK_FRAME, IHASH not struct include_hash.
7799         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
7800         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
7801         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
7802         references to cpp_buffer->fname (delete entirely, or use
7803         ->ihash->name instead) and IF_STACK->fname.
7804         (cpp_push_buffer): Don't set new->underflow.
7805         (do_include): Use cpp_file_buffer.
7806
7807         * cpphash.c (collect_formal_parameters): Remove duplicate
7808         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
7809         used as a macro argument name.  Don't append "..." to namebuf
7810         for varargs macros.  After we're done scanning, go through
7811         namebuf and make it NUL separated, not comma separated.
7812         (_cpp_compare_defs): Remove register tag from variables.
7813         Expect defn->argnames to be NUL separated.
7814         (_cpp_dump_definition): Expect defn->argnames to be NUL
7815         separated and in forward order.
7816         * cpphash.h: Update documentation of argnames field.
7817
7818 2000-03-08  Richard Henderson  <rth@cygnus.com>
7819
7820         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
7821         to fail.  Don't pre-expand the source operand.
7822
7823         * i386.md (strlensi): Initialize eoschar and align before use.
7824
7825 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
7826
7827         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
7828         CONSTRUCTOR element.
7829
7830 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
7831
7832         * mips.c (mips_expand_prologue): If the last
7833         named argument is the vararg marker "va_list", treat it as
7834         an unnamed argument.
7835
7836 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
7837
7838         * dbxout.c (dbxout_parms): When correcting for promoted
7839         big-endian parameters, use the mode of the DECL_RTL rather
7840         than UNITS_PER_WORD.
7841
7842 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
7843
7844         * c-common.h (make_fname_decl): Declare.
7845         * c-common.c (make_fname_decl): Define.
7846         (declare_hidden_char_array): Remove.
7847         (declare_function_name): Use make_fname_decl.
7848         * c-decl.c (c_make_fname_decl): New function.
7849         (init_decl_processing): Set make_fname_decl.
7850
7851 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
7852
7853         * cccp.c (handle_directive): Initialize backslash_newlines_p.
7854
7855 2000-03-07  Philipp Thomas  <pthomas@suse.de>
7856
7857         * po/POTFILES.in: Remove cppalloc.c from file list.
7858
7859 2000-03-07  Steve Chamberlain  <sac@pobox.com>
7860
7861         * pj.c (pj_expand_prologue): current_function->args_info is
7862         now current_function_args_info.
7863
7864         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
7865         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
7866         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
7867
7868 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7869
7870         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
7871         output as hexadecimal rather than the default octal.
7872
7873 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7874
7875         * cpphash.c (special_symbol): Fix thinko in previous commit.
7876
7877 2000-03-07  Neil Booth  <NeilB@earthling.net>
7878
7879         * cppexp.c (struct operation, left_shift, right_shift,
7880         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
7881         "int"s to "unsigned int"s.
7882         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
7883         Similarly.
7884         * cpplib.h: Update for above.
7885         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
7886         returned from allocations.
7887
7888         * cppinit.c (opt_comp, parse_options): New functions.
7889         (handle_option): Use parse_option to parse a single command
7890         line option, that possibly takes an argument.
7891         (cpp_handle_options): Sort the array of command line options on
7892         first invocation (non-ASCII hosts only).
7893         (print_help): Update.
7894
7895 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
7896
7897         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
7898         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
7899
7900         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
7901         initialized.
7902         * cppinit.c (cpp_cleanup): Free imp->nshort also.
7903
7904         * cpperror.c (cpp_print_containing_files,
7905         cpp_print_file_and_line, v_cpp_message): Rename to
7906         print_containing_files, print_file_and_line, and v_message.
7907         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
7908         to _cpp_parse_expr, parse_escape, and lex.
7909         (parse_charconst): Remove broken multibyte support.
7910         * cppfiles.c (include_hash): Make static.
7911         (cpp_included): New function.
7912         (merge_include_chains, find_include_file, finclude,
7913         simplify_pathname): Rename to _cpp_merge_include_chains,
7914         _cpp_find_include_file, _cpp_read_include_file, and
7915         _cpp_simplify_pathname.
7916         * cpphash.c (cpp_lookup, free_definition, delete_macro,
7917         cpp_install, create_definition, macroexpand, compare_defs,
7918         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
7919         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
7920         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
7921         * cppinit.c (cpp_handle_option): Rename to handle_option, make
7922         static.
7923         * cpplib.c: Remove extern prototype of cpp_parse_expr.
7924
7925         * cpphash.h: Update prototypes.
7926         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
7927
7928 2000-03-07  Andrew Haley  <aph@cygnus.com>
7929
7930         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
7931         PTRDIFF_TYPE should be based solely on Pmode.
7932         (SIZE_TYPE): ditto.
7933
7934 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7935
7936         * rtl.h (rtunion_def): Constify member `rtstr'.
7937         (emit_line_note_after, emit_line_note, emit_line_note_force,
7938         emit_note, decode_asm_operands): Constify.
7939
7940         * cse.c (canon_hash): Likewise.
7941
7942         * dbxout.c (dbxout_block): Likewise.
7943
7944         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
7945         v_warning_for_asm): Likewise.
7946
7947         * dwarfout.c (function_start_label): Likewise.
7948
7949         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
7950         emit_line_note_force): Likewise.
7951
7952         * final.c (last_filename, asm_insn_count, final_scan_insn,
7953         output_source_line): Likewise.
7954
7955         * function.h (struct emit_status): Likewise.
7956
7957         * gcse.c (hash_expr_1): Likewise.
7958
7959         * genattr.c (gen_attr, main): Likewise.
7960
7961         * genattrtab.c (struct function_unit, current_alternative_string,
7962         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
7963         attr_numeral, check_attr_test, check_attr_value,
7964         convert_set_attr_alternative, convert_set_attr,
7965         compute_alternative_mask, simplify_by_exploding, gen_attr,
7966         gen_unit): Likewise.
7967
7968         * genflags.c (gen_insn): Likewise.
7969
7970         * gengenrtl.c (type_from_format): Likewise.
7971
7972         * genopinit.c (gen_insn): Likewise.
7973
7974         * genoutput.c (n_occurrences, process_template, process_template):
7975         Likewise.
7976
7977         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7978         Likewise.
7979
7980         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7981         Likewise.
7982
7983         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
7984         ggc_set_mark, ggc_get_size): Likewise.
7985
7986         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
7987
7988         * optabs.c (init_one_libfunc): Likewise.
7989
7990         * output.h (assemble_start_function): Likewise.
7991
7992         * recog.c (decode_asm_operands): Likewise.
7993
7994         * toplev.c (rest_of_compilation): Likewise.
7995
7996         * tree.h (emit_line_note_after, emit_line_note,
7997         emit_line_note_force): Likewise.
7998
7999         * varasm.c (asm_output_bss, asm_output_aligned_bss,
8000         asm_emit_uninitialised, assemble_start_function,
8001         assemble_variable, const_hash, compare_constant_1,
8002         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
8003
8004         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
8005
8006         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
8007
8008         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
8009
8010         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
8011
8012         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
8013         arm_dllimport_name_p): Likewise.
8014
8015         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
8016         Likewise.
8017
8018         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
8019
8020         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8021
8022         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
8023         arm_mark_dllexport, arm_mark_dllimport,
8024         arm_pe_encode_section_info): Likewise.
8025
8026         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
8027         ASM_FINISH_DECLARE_OBJECT): Likewise.
8028
8029         * arm/thumb.c (thumb_function_prologue): Likewise.
8030
8031         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8032
8033         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8034
8035         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8036
8037         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8038
8039         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8040
8041         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8042
8043         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8044         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8045
8046         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8047
8048         * i386/i386.c (asm_output_function_prefix): Likewise.
8049
8050         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8051
8052         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8053
8054         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8055
8056         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8057         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8058         ASM_OUTPUT_SECTION_NAME): Likewise.
8059
8060         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8061
8062         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8063
8064         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8065
8066         * m32r/m32r.c (m32r_encode_section_info): Likewise.
8067
8068         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8069
8070         * mcore/mcore.c (mcore_encode_section_info): Likewise.
8071
8072         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8073
8074         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8075
8076         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8077
8078         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8079
8080         * mips/mips.md (movdi, movsi): Likewise.
8081
8082         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8083
8084         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8085
8086         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8087
8088         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8089         ASM_OUTPUT_ASCII): Likewise.
8090
8091         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8092         output_mi_thunk, output_toc): Likewise.
8093
8094         * rs6000/rs6000.md (movsi): Likewise.
8095
8096         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8097
8098         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8099
8100         * v850/v850.c (print_operand, print_operand_address,
8101         v850_encode_data_area): Likewise.
8102
8103 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
8104
8105         * config/mips/mips.md (zero_extendsidi2): Always force operand
8106         one to memory for mips16.
8107
8108 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8109
8110         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8111         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8112         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8113         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8114         (min_precision): Result is unsigned.
8115         (add_double, neg_double, mul_double): Low word is unsigned.
8116         (lshift_double, rshift_double, lrotate_double): Likewise.
8117         (rrotate_double, div_and_round_double): Likewise.
8118         (tree_floor_log2, compare_tree_int): New functions.
8119         (preserve_rtl_expr_temps): New declaration.
8120         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8121         (decl_attributes): Use tree_log2 to find alignment.
8122         Check for TREE_INT_CST_HIGH for format args.
8123         (min_precision): Now unsigned.
8124         Use tree_floor_log2.
8125         (truthvalue_conversion): Delete long-disabled code.
8126         * c-decl.c (finish_struct): Clean up tests on field width.
8127         (finish_function): Use compare_tree_int.
8128         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8129         * c-typeck.c (comptypes): Use tree_int_cst_equal.
8130         (default_conversion, digest_init): Use compare_tree_int.
8131         (build_binary_op): Use integer_all_onesp and compare_tree_int.
8132         Fix type errors in forming masks.
8133         * calls.c (initialize_argument_information): Use compare_tree_int.
8134         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8135         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8136         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8137         (store_field): Use compare_tree_int.
8138         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8139         (expand_expr, case ARRAY_REF): Use compare_tree_int.
8140         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8141         (do_store_flag): Use compare_tree_int.
8142         * fold-const.c (encode, decode): Low part is always unsigned.
8143         (force_fit_type, add_double, neg_double, mul_double): Likewise.
8144         (lshift_double, rshift_double, lrotate_double): Likewise.
8145         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8146         (fold_convert): Use compare_tree_int.
8147         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8148         (invert_truthvalue, case INTEGER_CST): Likewise.
8149         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8150         * mkdeps.c (deps_dummy_targets): Make I unsigned.
8151         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8152         (lshift_double, rshift_double, lrotate_double, rrotate_double):
8153         Likewise.
8154         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8155         (expand_end_case): Use compare_tree_int.
8156         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8157         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8158         (layout_decl): Likewise.
8159         (layout_record, layout_union): Make sizes unsigned.
8160         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8161         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8162         * tree.c (struct type_hash): hashcode is unsigned.
8163         (build_type_attribute_variant, type_hash_list): Likewise.
8164         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
8165         (attribute_hash_list, build_array_type, build_method_type): Likewise.
8166         (build_complex_type): Likewise.
8167         (real_value_from_int_cst): Remove unneeded casts.
8168         (integer_all_onesp): Add casts.
8169         (tree_floor_log2, compare_tree_int): New functions.
8170         (build_index_type): Use tree_int_cst_sgn.
8171         * varasm.c (assemble_variable): Use compare_tree_int.
8172
8173 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
8174
8175         * cpphash.c (collect_expansion): Also catch ## at start of macro.
8176
8177         * varasm.c (make_decl_rtl): Don't add a number to members of
8178         local classes.
8179         (make_function_rtl): Likewise.
8180
8181 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8182
8183         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
8184         patch from 2000-01-28.
8185
8186 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
8187
8188         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
8189         filled with an insn from the jump target.
8190
8191 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8192
8193         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
8194         (c4x_external_ref): Likewise.
8195         * config/c4x/c4x.c (struct name_list): Likewise.
8196
8197 1999-12-16  Ben Collins  <bcollins@debian.org>
8198
8199         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
8200         argument to genmultilib.
8201         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
8202         the contents into the multilib.h header.
8203         * gcc.c: Declare multilib_exclusions for the specs file.
8204         (set_multilib_dir): Use it.
8205         (print_multilib_info): Likewise.
8206         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
8207         to pass to genmultilib.
8208
8209 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8210
8211         * builtins.c (built_in_class_names, built_in_names): Constify a
8212         char*.
8213
8214         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
8215         int.
8216         (_mcleanup): Ensure value matches format specifier in sprintf.
8217
8218         * cpphash.c (special_symbol): Don't needlessly cast away
8219         const-ness.
8220
8221         * cppinit.c (base_name): Delete unused prototype.
8222
8223         * mkdeps.c (deps_init): Make definition K&R safe.
8224
8225         * tree.h (built_in_class_names, built_in_names): Constify a
8226         char*.
8227
8228 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
8229
8230         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
8231         floating point instructions for epilogue delay.
8232
8233         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
8234         to gas if it supports .register pseudo.
8235
8236         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
8237         LONG_DOUBLE_TYPE_SIZE if not defined.
8238         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
8239         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
8240         * real.c: Likewise.
8241         * gengenrtl.c: Likewise.
8242         * print-rtl.c: Likewise.
8243         * rtl.c: Likewise.
8244         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8245         MASK_LONG_DOUBLE_128.
8246         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8247         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8248         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8249         (SUBTARGET_SWITCHES): Define.
8250         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8251         with -mlong-double-128.
8252         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8253         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8254         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8255         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8256         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8257         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8258         with -mlong-double-128.
8259         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8260         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8261         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8262         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8263         TARGET_LONG_DOUBLE_128): Define.
8264         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8265         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8266         long double on TARGET_ARCH64.
8267
8268 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
8269
8270         * function.c (free_temps_for_rtl_expr): Don't free slots
8271         that have been pushed into a higher level.
8272
8273         Revert this patch:
8274         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8275
8276 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8277
8278         * basic-block.h (ALLOCA_REG_SET): Remove.
8279         (INITIALIZE_REG_SET): New macro.
8280         * flow.c (update_life_info): Use it.
8281         (calculate_global_regs_live): Likewise.
8282         (propagate_block): Likewise.
8283         * global.c (build_insn_chain): Likewise.
8284         * haifa-sched.c (schedule_region): Likewise.
8285
8286 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
8287
8288         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8289         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8290         (DWARF_ARANGES_PAD_SIZE): New define.
8291         (output_aranges): Use it to pad the address range header.
8292         (DWARF_ROUND): Fix for non power of 2 rounding.
8293
8294 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
8295
8296         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8297
8298 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8299
8300         * tree.def (RTL_EXPR): Update documentation.
8301         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8302         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8303         * function.c (preserve_rtl_expr_temp): New function.
8304         (preserve_rtl_expr_temps): Likewise.
8305         (preserve_rtl_expr_result): Use it.
8306
8307         Revert this patch:
8308         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8309
8310 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
8311
8312         * regmove.c (copy_src_to_dest)  Do not create src->dest move
8313         for unchanging destination.
8314
8315 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8316
8317         * function.h (struct sequence_stack): Remove rtl_expr.
8318         (struct emit_staus): Likewise.
8319         (seq_rtl_expr): Remove.
8320         * tree.h (free_temps_for_rtl_expr): Don't declare.
8321         (start_sequence_for_rtl_expr): Likewise.
8322         * rtl.h (preserve_rtl_expr_result): Likewise.
8323         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8324         (start_sequence_for_rtl_expr): Remove.
8325         (push_topmost_sequence): Don't save sequence_rtl_expr.
8326         (pop_topmost_sequence): Remove comment about not restoring it.
8327         (end_sequence): Don't set seq_rtl_expr.
8328         (init_emit): Don't initialize it.
8329         (mark_sequence_stack): Don't mark it.
8330         (mark_emit_status): Likewise.
8331         * except.c (protect_with_terminate): Use
8332         start_sequence_for_rtl_expr, not start_sequence.
8333         * expr.c (expand_expr, case RTL_EXPR): Don't call
8334         preserve_rtl_expr_result or free_temps_for_rtl_expr.
8335         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8336         (preserve_rtl_expr_result): Remove.
8337         (free_temps_for_rtl_expr): Likewise.
8338         (pop_temp_slots): Likewise.
8339         (mark_temp_slot): Don't mark the rtl_expr.
8340         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8341         start_sequence_for_rtl_expr.
8342
8343 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
8344
8345         * mkdeps.c, mkdeps.h: New files.
8346         * po/POTFILES.in: Add them.
8347         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8348         (cpplib.o, cppinit.o): Depend on mkdeps.h.
8349         (mkdeps.o): New target.
8350
8351         * cppfiles.c: Delete deps_output.
8352         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
8353         OBJECT_SUFFIX, and base_name.
8354         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
8355         the include hash.
8356         (initialize_dependency_output): Use deps_init,
8357         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
8358         all the unnecessary string bashing.
8359         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
8360         level.
8361         * cpplib.c (do_include): Use deps_add_dep.
8362         * cpplib.h (struct cpp_reader): Replace deps_buffer,
8363         deps_allocated_size, deps_size, deps_column members with
8364         single pointer to a struct deps.  Delete prototype of
8365         deps_output.
8366
8367         * cppinit.c: Fix thinko in previous patch.
8368
8369 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8370
8371         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8372         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8373         (mode_for_size_tree): New function.
8374         (layout_decl, layout_type): Call it and clean up BLKmode checks.
8375         * tree.h (mode_for_size_tree): New declaration.
8376
8377         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8378
8379 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
8380
8381         * stmt.c (is_body_block): Move...
8382         * dwarfout.c, dwarf2out.c: ...from here.
8383         * tree.h: Declare it.
8384         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8385         * final.c (final_start_function): Do call remove_unnecessary_notes
8386         when scheduling.
8387
8388 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8389
8390         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8391
8392         * cpplib.h (_dollar_ok): New macro.
8393         (is_idchar, is_idstart): Use it.
8394         (IStable): Rename to _cpp_IStable.  Declare it const if
8395         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
8396         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8397         is_space): Update for renamed IStable.
8398
8399         * cppinit.c: Delete all references to FAKE_CONST and CAT
8400         macros. Define init_IStable as empty macro if gcc >=2.7 or
8401         C99. Change TABLE() to ISTABLE and hardcode name of table.
8402         (cpp_start_read): Don't change the IStable based on
8403         dollars_in_ident.
8404
8405         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
8406         changed.  Handle '$' for char1 correctly.
8407         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8408
8409         * cppexp.c (tokentab2): Make const.
8410         (cpp_lex): Make toktab const.
8411         * cppinit.c (include_defaults_array): Make const.
8412         (initialize_standard_includes): Make default_include const.
8413
8414 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8415
8416         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8417         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8418         (gen_decl_die): Likewise.
8419         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8420         (output_decl): Likewise.
8421
8422         * varasm.c (make_function_rtl): If we change the name used in the
8423         rtl, update DECL_ASSEMBLER_NAME accordingly.
8424         (make_decl_rtl): Likewise.
8425
8426         * toplev.c (rest_of_compilation): Tweak formatting.
8427
8428         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8429         remove_unnecessary_notes.
8430         (debug_ignore_block): New fn.
8431         * toplev.h: Declare it.
8432         * emit-rtl.c (remove_unncessary_notes): Call it.
8433         * dwarf2out.c (dwarf2out_ignore_block): New fn.
8434         * dwarf2out.h: Declare it.
8435         * final.c (final_start_function): Don't call remove_unnecessary_notes
8436         if we did insn scheduling.
8437
8438 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8439
8440         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8441         * cpplib.h: Delete SET_CPP_PEDANTIC.
8442
8443 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8444
8445         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8446         result is a RECORD_TYPE.
8447
8448 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8449
8450         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8451
8452 2000-03-03  Richard Henderson  <rth@cygnus.com>
8453
8454         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8455         addition over compliments over shifts.
8456
8457 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8458
8459         * reload1.c (reload_combine_note_use): Handle return register USEs.
8460         REG case: Handle multi-hard-register hard regs.
8461
8462 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8463
8464         * md.texi: Document use of '*' in insn pattern name.
8465
8466 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8467
8468         * calls.c (special_function_p): operator new may not be malloc-like.
8469
8470         * gcse.c (dump_hash_table): Really fix error in last change.
8471
8472 2000-03-02  Denis Chertykov  <denisc@overta.ru>
8473
8474         * avr.c (print_operand): Use print_operand_address instead of
8475         output_addr_const.
8476         * avr/libgcc.S: Cleanup code.
8477
8478 2000-03-02  Richard Henderson  <rth@cygnus.com>
8479
8480         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8481
8482 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
8483
8484         * tree.h (TYPE_ALIGN_UNIT): New macro.
8485
8486 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
8487
8488         * i386.c: (constant_call_address_operand): Reject CONST_INT.
8489
8490 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
8491
8492         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8493         for the buffer.
8494         (SET_CPP_PEDANTIC): New macro.
8495         * cpplib.c (do_include): Don't bother checking system_header_p.
8496         (do_warning, do_ident, do_assert, do_unassert): Likewise.
8497         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8498
8499         * function.h (struct expr_status): Add x_arg_space_so_far.
8500         (arg_space_so_far): New macro.
8501         * expr.c (init_expr): Initialize it.
8502         * calls.c (emit_call_1): Reset it.
8503         (compute_argument_block_size, expand_call): Use it.
8504         (expand_call, store_one_arg): Increment it.
8505
8506 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8507
8508         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8509         a UNION_TYPE.
8510
8511 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
8512
8513         * cppfiles.c (cpp_read_file): New function.
8514
8515         * cpphash.c (collect_expansion): Make sure to reset last_token
8516         to NORM when we hit a string.  Handle trailing whitespace
8517         properly when the expansion is empty.
8518         (create_definition): Disable line commands while parsing the
8519         directive line.
8520         (dump_definition): If pfile->lineno == 0, output a line
8521         command ahead of the dump, and add a trailing newline.
8522
8523         * cppinit.c (append_include_chain): Add fifth argument, which
8524         indicates whether or not system headers are C++ aware.
8525         (initialize_standard_includes): New function,
8526         broken out of read_and_prescan.  Pass 'cxx_aware' value from
8527         the include_defaults_array on to append_include_chain.
8528         (dump_special_to_buffer): Const-ify char array.
8529         (builtin_array): Don't dump __BASE_FILE__.
8530         (cpp_start_read): Use cpp_read_file.  Reorder code for
8531         clarity.  Don't output line commands here for -D/-A/-U
8532         switches.  Don't call deps_output for files included with
8533         -include or -imacros.
8534
8535         * cpplib.c (do_define): Don't pay any attention to the second
8536         argument.
8537         (cpp_expand_to_buffer): Disable line commands while scanning.
8538         (output_line_command): Work in the file buffer.
8539         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8540         Fix formatting of comments.  Prototype cpp_read_file.
8541
8542 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8543
8544         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8545         reference the language-equivalent of sizetype.
8546         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8547         * fold-const.c (size_binop, size_diffop): Put back checks.
8548         * gcse.c (dump_hash_table): Fix minor error in last change.
8549         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8550         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8551         all sizetypes.
8552
8553 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
8554
8555         * calls.c (expand_call)  Do not attempt to combine stack adjustments
8556         with inhibit_defer_pop set.
8557
8558 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
8559
8560         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8561         the DECL_SIZE for a FIELD_DECL.
8562
8563 2000-03-01  Bruce Korb  <bkorb@gnu.org>
8564
8565         * fixinc/inclhack.tpl: remove unused symlinks
8566         * fixinc/README: GCC Maintainer info
8567         * fixinc/inclhack.sh: regen
8568         * fixinc/fixincl.sh: regen
8569
8570 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
8571
8572         * cpphash.c (collect_expansion): Trim trailing white space
8573         from macro definitions, but don't go past the last insertion
8574         point.
8575
8576 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8577
8578         * i386.md (mulqi3): New pattern.
8579
8580 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
8581
8582         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8583         token types.
8584         (struct cpp_reader): Add parsing_if_directive and
8585         parsing_define_directive flags.
8586         (struct cpp_options): Remove output_conditionals flag.
8587         (check_macro_name): Delete prototype.
8588
8589         * cpphash.h (struct macrodef): Delete.
8590         (struct reflist): Separate from struct definition.
8591         (struct definition): Remove unused fields.  Add column number.
8592         (create_definition): Returns a DEFINITION *.  Takes a
8593         cpp_reader * and an int.
8594
8595         * cpphash.c (SKIP_WHITE_SPACE): Delete.
8596         (PEEKC): Copy defn from cpplib.c.
8597         (rest_extension, REST_EXTENSION_LENGTH): Delete.
8598         (struct arg): New.
8599         (struct arglist): Simplify.
8600         (collect_expansion): Rewrite.  Get tokens by calling
8601         cpp_get_token.  Add more error checking.
8602         (collect_formal_parameters): New function, broken out of
8603         create_definition and reworked to use get_directive_token.
8604         (create_definition): All real work is now in collect_expansion
8605         and collect_formal_parameters.  do_define handles finding the
8606         macro name.  Return a DEFINITION, not a MACRODEF.
8607         (macroexpand): Replace bcopy with memcpy throughout.  Replace
8608         character-at-a-time copy loop with memcpy and pointer increments.
8609         (compare-defs): d1->argnames / d2->argnames might be null.
8610
8611         * cpplib.c (copy_rest_of_line): Delete function.
8612         (skip_rest_of_line): Do all the work ourselves.
8613         (skip_string): New function.
8614         (parse_string): Use skip_string.
8615         (get_macro_name): New function.
8616         (check_macro_name): Delete.
8617         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
8618         (cpp_skip_hspace): Use CPP_BUMP_LINE.
8619         (handle_directive): ICE if we're called on a macro buffer.
8620         (do_define): Determine macro name and type (funlike/objlike)
8621         here.  Expunge all uses of MACRODEF.
8622         (cpp_push_buffer): Set line_base to NULL.
8623         (do_undef, read_line_number): Don't worry about getting a POP token.
8624         (eval_if_expression): Set/reset parsing_if_directive around
8625         cpp_parse_expr. Don't clear only_seen_white.
8626         (skip_if_group): Remove output_conditionals logic.  Use
8627         skip_rest_of_line.
8628         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
8629         tokens under appropriate conditions.
8630         (cpp_unassert): Call do_unassert not do_assert.  Oops.
8631
8632         * cppexp.c (parse_defined): New function, break out of
8633         cpp_lex.
8634         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
8635         ourselves, with cpp_defined.
8636         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
8637
8638         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
8639         * gcc.dg/strpaste-2.c: New.
8640
8641 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
8642
8643         * fold-const.c (size_binop): Don't asert inputs are the same and
8644         have TYPE_IS_SIZETYPE set.
8645         (size_diffop): Likewise.
8646
8647 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
8648
8649         * dwarfout.c (output_block): Output abstract blocks even if they
8650         don't have TREE_ASM_WRITTEN set.
8651
8652         * calls.c (emit_library_call): Check for null REG.
8653
8654 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8655
8656         * c-decl.c (current_function_decl): Move to toplev.c.
8657         (init_decl_processing): Don't add current_function_decl as a ggc
8658         root here.
8659         * dbxout.c (dbxout_symbol): Change return type to int.
8660         (dbxout_symbol_location, dbxout_syms): Likewise.
8661         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
8662         any locals. Use current_function_func_begin_label if set.
8663         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
8664         * dwarf2out.c (dwarf2out_begin_prologue): Set
8665         current_function_func_begin_label.
8666         * final.c (final_start_function): Reset it.
8667         * toplev.c (current_function_decl): Define it here.
8668         (current_function_func_begin_label): New variable.
8669         (main): Add both as ggc roots.
8670         * tree.h (current_function_func_begin_label): Declare.
8671
8672 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8673
8674         * gcse.c: Cleanups throughout: mostly white-space, but also
8675         some minor rearrangement of code.
8676
8677 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
8678
8679         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
8680         returns a PARALLEL.  Use emit_group_load and use_group_regs
8681         as needed.
8682         (emit_library_call_value): Similarly.
8683
8684         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
8685         * pa/quadlib.asm: Remove.
8686         * pa/quadlib.c: New file.
8687
8688         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
8689         * configure: Rebuilt.
8690
8691 2000-02-29  Philip Blundell  <pb@futuretv.com>
8692
8693         * config/arm/conix-elf.h: New file.
8694         * configure.in (arm*-*-conix*): New configuration.
8695         * configure: Regenerate.
8696
8697 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
8698
8699         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
8700         don't have TREE_ASM_WRITTEN set.
8701
8702 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8703
8704         * Eliminate DECL_FIELD_SIZE.
8705         * builtins.c (built_in_class_names, built_in_names): New variables.
8706         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
8707         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
8708         DECL_SIZE, not DECL_FIELD_SIZE.
8709         * print-tree.c (print_node): Remove code that prints extra blank
8710         lines in some cases.
8711         Properly handle inline and builtin function cases.
8712         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
8713         * tree.h (built_in_class_named, built_in_names): New declarations.
8714         (union tree_decl): Rename internal unions to u1 and u2 and change
8715         some of their components.
8716         Add new field built_in_class.
8717         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
8718         Reflect above changes.
8719         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
8720         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
8721         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
8722         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
8723
8724 2000-02-28  Dmitri Makarov  <dim@windriver.com>
8725
8726         * extend.texi: Document ARM's support for long/short calls.
8727
8728         * invoke.texi: Document ARM's -mlong-calls command line switch.
8729
8730         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
8731         (arm_encode_call_attribute): Add prototype.
8732         (arm_set_default_type_attribute): Add prototype.
8733         (arm_strip_name_encoding): Add prototype.
8734
8735         * config/arm/arm.c (arm_init_cumulative_args): replace
8736         initialisation og 'long_calls' field with initialisation of
8737         'call_cookie' field.
8738         (enum arm_pragma_enum): New enum.
8739         (arm_pragma_long_calls): New static variable.
8740         (arm_process_pragma): Also process "#pragma long_calls_off".
8741         (arm_valid_type_attribute_p): Accept short_call attribute.
8742         (arm_comp_type_attributes): Check long/short call attributes.
8743         (arm_encode_call_attribute):  New function:  Encode long_call
8744         or short_call attribute in function name.
8745         (arm_set_default_type_attributes): New function: Assign
8746         default attributes to newly defined type.
8747         (current_file_function_operand): New function: Return true if
8748         the symbol is a function which has already been compiled.
8749         (arm_is_longcall_p): New function: Return true if the
8750         indicated function should be called via a long call.
8751         (arm_get_strip_length): New function.  Returns number of
8752         prefix characters to be stripped from a function's name.
8753         (arm_strip_name_encoding): New function.  Strip prefix characters
8754         from a function's name.
8755
8756         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
8757         with 'call_cookie'.
8758         (SHORT_CALL_FAG_CHAR): Define.
8759         (LONG_CALL_FAG_CHAR): Define.
8760         (ENCODED_SHORT_CALL_ATTR_P): Define.
8761         (ENCODED_LONG_CALL_ATTR_P): Define.
8762         (ARM_NAME_ENCODING_LENGTHS): Define.
8763         (STRIP_NAME_ENCODING): Define.
8764         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
8765         (ARM_ENCODE_CALL_TYPE): Define.
8766         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
8767         (ARM_DECLARE_FUNCTION_SIZE): Define.
8768         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
8769
8770         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
8771         if a long call is needed.
8772         (call_value): Ditto.
8773         (call_symbol): Ditto.
8774
8775         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
8776         ARM_DECLARE_FUNCTION_SIZE.
8777
8778         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
8779         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
8780         (ARM_STRIP_NAME_ENCODING): Undefine.
8781         (STRIP_NAME_ENCODING): Undefine.
8782         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
8783         (ASM_DECLARE_FUNCTION_NAME): Ditto.
8784         (ASM_OUTPUT_COMMON): Ditto.
8785         (ASM_DECLARE_OBJECT_NAME): Ditto.
8786
8787         * config/arm/pe.c (arm_dllexport_name_p): Check for
8788         ARM_PE_FLAG_CHAR.
8789         (arm_dllimport_name_p): Ditto.
8790         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
8791         (arm_mark_dllimport): Ditto.
8792
8793 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8794
8795         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
8796
8797 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
8798
8799         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
8800
8801 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
8802
8803         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
8804         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
8805         NO_BUILTIN_WCHAR_TYPE is not defined.
8806         (CPP_WCHAR_TYPE): Delete.
8807         * cccp.c (main): Don't change wchar_type if cplusplus.
8808         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
8809
8810 2000-02-28  Nick Clifton  <nickc@cygnus.com>
8811
8812         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
8813
8814 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
8815
8816         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
8817         (ASM_WEAKEN_LABEL): Define.
8818
8819 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
8820
8821         * expr.c (store_constructor): Do not emit USE.
8822         * rtl.h (stupid_life_analysis): Remove.
8823
8824 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8825
8826         * function.c (number_blocks): Reset next_block_index based on
8827         what debugging format is used, not what is defined.
8828
8829         * lcm.c: Minor reformatting throughout.
8830         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
8831
8832         * toplev.c (rest_of_compilation): Account for time in
8833         optimize_mode_switching.
8834
8835         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
8836         if only marking labels.
8837
8838 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
8839
8840         * calls.c (expand_call): Attempt to combine stack adjustments with
8841         pending stack adjustments.
8842
8843 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8844
8845         * loop.c (reg_in_basic_block_p): Don't abort when falling through
8846         to the end of the function.
8847
8848 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
8849
8850         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
8851         blocks.
8852         * final.c (next_block_index): Remove.
8853         (max_block_depth): Likewise.
8854         (pending_blocks): Likewise.
8855         (init_final): Don't initialize them.
8856         (final_start_function): Don't set next_block_index.  Set up
8857         BLOCK_NUMBER.
8858         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
8859         * function.h (number_blocks): New function.
8860         * function.c (get_block_vector): New function.
8861         (identify_blocks): Use it.
8862         (reorder_blocks): Set NOTE_BLOCK.
8863         (number_blocks): New function.
8864         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
8865         * tree.h (BLOCK_NUMBER): New macro.
8866         (tree_block): Add block_num field.
8867         * dbxout.c (next_block_number): Remove.
8868         (dbxout_init): Don't set it.
8869         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
8870         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
8871         block numbers.
8872         * toplev.c (rest_of_compilation): Always call
8873         find_loop_tree_blocks.  Fix indentation.
8874         * dwarf2out.c (next_block_number): Remove.
8875         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8876         to determine block numbers.
8877         (gen_inlined_subroutine_die): Likewise.
8878         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
8879         (decls_for_scope): Don't increment next_block_number.
8880         * dwarfout.c (next_block_number): Remove.
8881         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8882         to determine block numbers.
8883         (output_inlined_subroutine_die): Likewise.
8884         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
8885         (output_decls_for_scope): Don't increment next_block_number.
8886         * sdbout.c (next_block_number): Remove.
8887         (sdbout_block): Use BLOCK_NUMBER.
8888         (sdbout_begin_block): Simplify.
8889         * xcoffout.c (next_block_number): Remove.
8890         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
8891         (xcoffout_begin_block): Don't set next_block_number.
8892         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
8893         next_block_number.
8894
8895 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8896
8897         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
8898         (expand_builtin_strcpy): Pass correct type to size_binop.
8899         (expand_builtin_strcmp): Likewise.
8900         Clean up conditional structure.
8901         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
8902         (complete_array_type): Don't use size_binop for MAXINDEX.
8903         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
8904         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
8905         (c_alignof): Use size_one_node.
8906         (build_unary_op): Pass arg of proper type to size_binop.
8907         (really_start_incremental_init, push_init_level): Use sizetype for
8908         constructor{,_bit,_unfilled}_index.
8909         (pop_init_label, output_init_element): Likewise.
8910         (output_pending_init_elements, process_init_element): Likewise.
8911         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
8912         * expr.c (store_expr): Use size_int.
8913         (store_constructor): Use proper types for size_binop args.
8914         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
8915         (expand_expr_unaligned): Likewise.
8916         (string_contant): Return object of sizetype.
8917         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
8918         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
8919         (ARGS_SIZE_TREE): Pass proper types to size_binop.
8920         * fold-const.c (int_const_binop): Refine when size_int is called.
8921         (fold_convert): Likewise.
8922         (size_int_wide): Rework to take KIND as arg, only take low order
8923         bits, handle new sizetype_tab datatype, and chain entries in
8924         size_table.
8925         (size_int_type_wide): New function.
8926         (size_binop): Validate types of arguments.
8927         (ssize_binop): Deleted.
8928         (size_diffop): New function.
8929         (extract_muldiv): Only fold division into multiplication for sizetypes.
8930         * function.c (assign_parms): Use size_diffop and make sure
8931         VAR field is of ssizetype; also pass proper type to size_binop.
8932         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
8933         (round_down): Deleted from here.
8934         * store-layout.c (sizetype_tab): Now an array.
8935         (sizetype_set, early_root_list): New variables.
8936         (variable_size): Use size_one_node.
8937         (round_up): Pass proper type to size_binop.
8938         (round_down): Moved to here and corrected as above.
8939         (layout_record): Pass proper arg types to size_binop.
8940         (layout_type): Likewise.
8941         If sizetype_set is zero, record the type just laid out.
8942         (make_unsigned_type): Don't call set_sizetype;
8943         (make_signed_type): Likewise; also, call fixup_signed_type.
8944         (initialize_sizetypes): New function.
8945         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
8946         set name of bitsizetype to "bit_size_type".
8947         Fix up type of sizes of all types made before call.
8948         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
8949         * tree.c (fix_sizetype): Deleted.
8950         (build_common_tree_nodes): Call initialize_sizetypes.
8951         (build_common_tree_nodes_2): Don't call fix_sizetype.
8952         * tree.h (TYPE_IS_SIZETYPE): New macro.
8953         (initialize_sizetype): New declaration.
8954         (enum size_type_kind): New type.
8955         (struct sizetype_tab): Deleted.
8956         (sizetype_tab): Now array; adjust sizetype macros.
8957         (size_diffop, size_int_type_wide): New functions.
8958         (size_int_wide): Change number of args and type; access macros changed.
8959         (ssize_int, sbitsize_int): New macros.
8960         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
8961         (ROUND_TYPE_SIZE_UNIT): New macro.
8962
8963 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
8964
8965         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
8966
8967 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8968
8969         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
8970         Mark as possibly unused.
8971
8972         * cse.c (cse_insn): Delete dead code involving tablejump.
8973         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
8974
8975         * Makefile.in (libcpp.a): Start by deleting it.
8976
8977 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8978
8979         * cpplib.h (enum file_change_code): Added rename_file.
8980         * cpplib.c (do_line): If a filename is given, set file_change to
8981         rename_file.
8982         (output_line_command): If file_change is rename_file, always
8983         output a # directive with the file name.
8984
8985         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
8986
8987 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
8988
8989         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
8990         when copying a PARM_DECL or RESULT_DECL.
8991
8992 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8993
8994         * fix-header.c (recognized_function): Also fix prototypes for
8995         functions taking "void".
8996
8997 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
8998
8999         * reload1.c (do_output_reload): Check reg_reloaded_valid before
9000         looking at reg_reloaded_contents.
9001
9002 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
9003
9004         * Makefile.in (STMP_FIXINC): New toggle.
9005         (LIBGCC2_DEPS): Delete all references.
9006         (stmp-headers): Delete target.  All references either deleted
9007         or changed to stmp-int-headers.
9008         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
9009         (LIBCPP_OBJS): Take out cppalloc.o.
9010         (cppalloc.o): Delete target.
9011         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
9012         (gen-protos, fix-header): Link with libiberty.a.
9013         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
9014         to empty.
9015
9016         * configure.in: Remove refs to strerror.
9017         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
9018         * system.h: Take out strerror stanza.
9019
9020         * cpperror.c (my_strerror): Delete function.
9021         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
9022         * cppmain.c (main): Call xmalloc_set_program_name first thing.
9023         * cppalloc.c: Delete file.
9024         * gen-protos.c: Don't provide xrealloc.
9025
9026         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
9027         xstrerror throughout.
9028
9029 2000-02-26  Bruce Korb  <bkorb@gnu.org>
9030
9031         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9032         match for DOS headers, too.
9033         * fixinc/inclhack.sh,fixincl.x: Regenerate.
9034
9035 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9036
9037         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
9038         is right for most ELF targets.
9039         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9040         Let the default file use %U properly.
9041         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
9042         default.
9043
9044         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9045         numbers.
9046
9047 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9048
9049         * toplev.c (documented_lang_options): Correct spelling error.
9050         (decode_d_option, decode_f_option, main): Likewise.
9051
9052         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9053
9054         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9055         to tell assembler it is permitted to expand large constants.
9056
9057 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
9058
9059         * protoize.c: (AUX_INFO_SUFFIX): New macro.
9060         (aux_info_suffix): Use.
9061         (SAVE_SUFFIX): New macro.
9062         (save_suffix): Use.
9063         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9064         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9065         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9066
9067         * invoke.texi (Running Protoize): Update documentation.
9068
9069 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9070
9071         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9072
9073 2000-02-25  John Wehle  (john@feith.com)
9074
9075         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9076
9077 2000-02-25  Anthony Green  <green@cygnus.com>
9078
9079         * toplev.c (rest_of_compilation): Rebuild jump labels if
9080         combine_instructions has created a new direct jump.
9081         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
9082         when appropriate.
9083         (combine_instructions): Call try_combine with new argument.
9084         Return non-null value when new direct jump instruction is created.
9085         * rtl.h: combine_instructions returns an int.
9086
9087 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
9088
9089         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9090         jump when changing a computed jump into a jump to a known
9091         target.
9092
9093 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
9094
9095         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9096         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9097
9098         * i386.md (define_expand "clrstrsi"): Fix typo.
9099
9100 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
9101
9102         * rtl.texi: Fix typo.
9103
9104 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9105
9106         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9107         UNITS_PER_WORD.  Change caller initial_elimination_offset.
9108         (rounded_frame_size): Take into account that argument pushed has
9109         changed.  Fix TARGET_ALIGN_DOUBLE problem.
9110
9111 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
9112
9113         * haifa-sched.c (schedule_block): Explain the real reason
9114         we delete REG_SAVE_NOTEs on the first insn of a block.
9115         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9116
9117 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
9118
9119         * input.h (push_srcloc): New function.
9120         (pop_srcloc): Likewise.
9121         * toplev.c (push_srcloc): Define it.
9122         (pop_srcloc): Likewise.
9123
9124 2000-02-24  Richard Henderson  <rth@cygnus.com>
9125
9126         * flow.c (life_analysis): When collecting reg info, clear
9127         regs_ever_live.
9128
9129 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9130
9131         Fix bug exposed by reload.c no longer rounding the frame
9132         size to BIGGEST_ALIGNMENT:
9133         * sh.c (rounded_frame_size): New function.
9134         (sh_expand_prologue, sh_expand_epilogue): Use it.
9135         (initial_elimination_offset): Likewise.
9136
9137 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9138
9139         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9140         * sh-protos.h (sh_need_epilogue): Declare.
9141         * sh.c (sh_need_epilogue_known): New static variable.
9142         (sh_need_epilogue): New function.
9143         (function_epilogue): Clear need_epilogue_known.
9144         * sh.md (return): Split into expander / insn pattern.
9145         Make the expander conditional on ! sh_need_epilogue ().
9146
9147 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
9148
9149         * machmode.h (get_mode_alignment): Declare.
9150         (GET_MODE_ALIGNMENT): Call it.
9151         * stor-layout.c (get_mode_alignment): New function. Make
9152         sure alignment is always power of 2.
9153
9154 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9155
9156         * i386.h: Remove useless definition of "I386" and misleading
9157         comment above it.
9158
9159 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9160
9161         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
9162         under which TREE_PERMANENT will be set.
9163         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
9164         build1): Use TREE_SET_PERMANENT.
9165         * print-tree.c (print_node): Don't report value of
9166         TREE_PERMANENT if ggc_p is true.
9167
9168         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
9169         decide whether to give a type a new alias set.
9170         * objc/objc-act.c (build_objc_string_object): Never copy the string.
9171         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
9172         of value of 'obstack'.
9173
9174
9175 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9176
9177         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
9178
9179 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9180
9181         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
9182         * cpplib.c (cpp_get_token): Produce them.
9183         * cppexp.c (cpp_lex): Handle them.
9184
9185 2000-02-23  Nick Clifton  <nickc@cygnus.com>
9186
9187         * config/arm/arm.c (arm_comp_type_attributes): Simply and
9188         comment tests on type attributes.
9189
9190 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9191
9192         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
9193         conform to documentation.
9194         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
9195         to check for special cases.
9196         * sh-protos.h (sh_loop_align): Declare.
9197         * sh.c (sh_loop_align): Define.
9198
9199 2000-02-22  Andrew Haley  <aph@cygnus.com>
9200
9201         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
9202         (SIZE_TYPE): Is 32 bits when using -mgp32.
9203         (PTRDIFF_TYPE): Ditto.
9204
9205 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9206
9207         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
9208
9209 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9210
9211         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
9212         BIGGEST_FIELD_ALIGNMENT a constant.
9213
9214 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
9215
9216         * dwarf2out.c (output_line_info): Put the marker for the end of
9217         the line number info at the actual end.
9218         (gen_struct_or_union_type_die): Use decl_function_context
9219         to check for local classes.
9220         * dwarfout.c (output_type): Likewise.
9221
9222 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
9223
9224         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
9225         for arguments with a mode, but no type.
9226         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
9227         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
9228         * pa/long_double.h: New file.
9229         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
9230         both have 128bit wide long doubles.
9231         * configure: Rebuilt.
9232
9233 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9234
9235         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
9236
9237         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
9238         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
9239         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
9240
9241         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9242
9243         * integrate.c (compare_blocks, find_block): Likewise.
9244
9245         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9246
9247         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9248
9249         * stmt.c (stmt_status, set_file_and_line_for_stmt,
9250         expand_asm_operands): Likewise.
9251
9252 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
9253
9254         * predict.c (estimate_probability): Added the pointer heuristic to
9255         the collection of static branch predictors.
9256
9257 2000-02-21  Catherine Moore  <clm@cygnus.com>
9258
9259         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9260         * invoke.texi (-mfix7000): Document.
9261
9262 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
9263
9264         * diagnostic.c (init_output_buffer): Make it possible to output at
9265         least 32 characters if we're given a too long prefix.
9266
9267 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
9268
9269         * varasm.c (initializer_constant_valid_p): Call
9270         lang_expand_constant to simplify the constant.
9271
9272 2000-02-20  Bruce Korb  <bkorb@gnu.org>
9273
9274         * fixinc/inclhack.def(stdio_va_list):
9275         typedef needs to be disabled.
9276         * fixinc/inclhack.sh: regen
9277         * fixinc/fixincl.x: regen
9278
9279 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
9280
9281         * print-rtl.c (print_rtx): Don't print addresses when
9282         flag_dump_unnumbered.
9283
9284 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9285
9286         * sparc.c (sparc_output_scratch_registers): Mark parameter with
9287         ATTRIBUTE_UNUSED.
9288         (sparc_va_arg, sparc_flat_output_function_prologue,
9289         sparc_flat_output_function_epilogue): Cast value to unsigned in
9290         comparison.
9291         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9292
9293         * sparc.md: Add default case in switch.
9294
9295 2000-02-19  Richard Henderson  <rth@cygnus.com>
9296
9297         * c-typeck.c (add_pending_init): Don't abort for multiple
9298         fields at the same offset.
9299         (pending_init_member): Test the correct member.
9300
9301 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9302
9303         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9304         instead of SImode.
9305         (start_catch_handler) : Same.
9306
9307 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
9308
9309         * Makefile.in: Have flow.o depend on $(EXPR_H)
9310
9311 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9312
9313         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9314         * c-decl.c (duplicate_decls, finish_enum): Likewise.
9315         (finish_decl): Remove -Wlarger-than code from here.
9316         * flags.h (id_clash_len): Now int.
9317         (larger_than_size): Now HOST_WIDE_INT.
9318         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9319         Clean up checking to see if in table.
9320         (make_bit_field_ref): Remove extra parm to bitsize_int.
9321         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9322         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9323         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9324         and for computing size of decl.
9325         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9326         Move -Wlarger-than code to here.
9327         (layout_record): Remove extra arg to bitsize_int.
9328         Set TYPE_BINFO_SIZE_UNIT.
9329         (layout_union): Remove extra arg to bitsize_int.
9330         Use proper type for size of QUAL_UNION.
9331         (layout_type): Remove extra arg to bitsize_int.
9332         * toplev.c (id_clash_len): Now int.
9333         (larger_than_size): Now HOST_WIDE_INT.
9334         (decode_W_option): Clean up id-clash and larger-than- cases.
9335         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9336         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9337         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9338         (struct tree_decl): New field size_unit.
9339         (size_int_wide): No HIGH operand; NUMBER is now signed.
9340         (size_int_2): Deleted.
9341         (size_int, bitsize_int): Don't use it and rework args.
9342         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9343
9344 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
9345
9346         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9347
9348 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
9349
9350         * invoke.texi (Warning Options): Add an explanation of why
9351         you might want the -Wfloat-equal flag.
9352
9353 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9354
9355         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9356         * cppinit.c (new_pending_define): Add cast to avoid warning.
9357         * expmed.c (extract_bit_field): Likewise.
9358         * flow.c (enum reorder_skip_type): New type.
9359         (skip_insns_between_blcok): New it.
9360         Rework to avoid warning about possibly undefined variable.
9361         * function.c (assign_parms): Make thisparm_boundary unsigned.
9362         * genrecog.c (write_switch): Cast XWINT result to int.
9363         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9364         * mips-tfile.c (init_file): Make two versions of FDR intializer:
9365         one for MIPS and one for Alpha.
9366         (get_tag, copy_object): Add casts to avoid warnings.
9367         * optabs.c (init_one_libfunc): Cast NAME to (char *).
9368         * reload.c (find_reloads): Make TYPE enum reload_type.
9369         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9370         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9371         * varasm.c (compare_constant_1): Add cast to avoid warning.
9372         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9373         to (char *).
9374         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9375         Cast switch operand of size to int.
9376         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9377         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9378         in unhandled case.
9379
9380 2000-02-18  Nick Clifton  <nickc@cygnus.com>
9381
9382         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9383         anything for an alignment of zero.
9384
9385         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9386         anything for an alignment of zero.
9387
9388 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9389
9390         * gcc.texi (Bug Reporting): Refer to bugs.html.
9391         (Bug Lists): Likewise.
9392         * system.h (GCCBUGURL): New preprocessor define.
9393         * rtl.c (fancy_abort): Use it.
9394         * gcc.c (main): Likewise.
9395
9396 2000-02-18  Richard Henderson  <rth@cygnus.com>
9397
9398         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9399         (life_analysis_1): Subsume into ...
9400         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
9401         Use update_life_info for the relaxation.
9402         (update_life_info): Update REG_BASIC_BLOCK for registers live on
9403         entry and regs_live_at_setjmp.
9404         (set_noop_p): Simplify.
9405         (notice_stack_pointer_modification_1): Renamed from s/_1//.
9406         (record_volatile_insns): Split into ...
9407         (delete_noop_moves): ... here,
9408         (notice_stack_pointer_modification): ... here,
9409         (insn_dead_p): ... and here.
9410         (propagate_block): Don't query INSN_VOLATILE.
9411         (mark_used_regs): Mind !PROP_REG_INFO.
9412         * toplev.c (rest_of_compilation): Call mark_constant_function here,
9413         not in life_analysis.
9414
9415 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
9416
9417         * loop.c (canonicalize_condition): New function,
9418         broken out of get_condition.
9419         (get_condition): Use it.
9420         * expr.h (canonicalize_condition): Prototype it.
9421
9422         * tree.h (tree_int_cst_msb): Declare.
9423         * tree.c (tree_int_cst_msb): New function.
9424
9425 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9426
9427         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9428         isn't set.
9429
9430         * invoke.texi (-fmessage-length=n): Document.
9431
9432 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
9433
9434         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9435
9436 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9437
9438         * function.c (thread_prologue_and_epilogue_insns): Put a line note
9439         after the prologue.
9440
9441 2000-02-17  Nick Clifton  <nickc@cygnus.com>
9442
9443         * config/arm/thumb.c: Replace includes of system headers with
9444         #include "system.h".
9445
9446 2000-02-16  Richard Henderson  <rth@cygnus.com>
9447
9448         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9449         Add crtbeginS.o and crtendS.o.
9450         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9451         (ENDFILE_SPEC): Use crtendS.o.
9452         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9453
9454         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9455         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
9456         shared and present.
9457         (__dso_handle): New variable.
9458         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9459         bias to __CTOR_END__.
9460
9461 2000-02-16  Richard Henderson  <rth@cygnus.com>
9462
9463         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9464
9465 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9466
9467         * longlong.h (__clz_tab): Declare as static to match definition.
9468
9469 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9470
9471         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9472         (XREF_FILE_NAME): Define.
9473
9474         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9475         (EH_FRAME_SECTION_ASM_OP): Define.
9476         (IDENT_ASM_OP): Define.
9477         (TEXT_SECTION_ASM_OP): Define.
9478         (CPP_SPEC): Define.
9479         (CTORS_SECTION_ASM_OP): Define.
9480         (CTOR_SECTION_FUNCTION): Use it.
9481         (DTORS_SECTION_ASM_OP): Define.
9482         (DTOR_SECTION_FUNCTION): Use it.
9483
9484 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
9485
9486         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9487         NOTE_BASIC_BLOCK.
9488
9489         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9490         debug_bb_n): New functions.
9491         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9492         * basic-block.h: Prototype new functions.
9493
9494 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
9495
9496         * configure.in: Add support for avr target.
9497         * configure: Rebuilt.
9498
9499         * invoke.texi: Add AVR invocation docs.
9500         * install.texi: Add information about AVR.
9501         * md.texi: Add AVR constraint letters description.
9502         * extend.texi: Add description for AVR specific attributes.
9503
9504 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
9505
9506         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9507
9508 2000-02-16  Nick Clifton  <nickc@cygnus.com>
9509
9510         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9511         (make_insn_raw): Move RTL check here.
9512
9513 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9514
9515         * version.c: Include gansidecl.h and version.h.
9516
9517         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9518
9519         * configure.in (gcc_version): When setting, narrow search to
9520         lines containing `version_string'.
9521
9522         * Makefile.in (mainversion): Likewise.
9523         (GCC_H): New variable.
9524         (gcc.h): Delete target.
9525         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9526         (version.o): Depend on version.h.
9527         (dbxout.o): Don't depend on gcc.h.
9528
9529 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9530                           Michael Meissner  <meissner@cygnus.com>
9531
9532         * md.texi (Simple Constraints): Add item about whitespace.
9533         * genoutput.c (strip_whitespace): New.
9534         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9535         strip_whitespace for constraints.
9536         Test pointer using NULL, not 0.
9537
9538 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9539
9540         * cpplib.c (do_line): Pedwarn for #line > 32767.
9541
9542         * c-lex.c (readescape): Warn about '\x', but do not reject it.
9543
9544 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
9545
9546         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9547         to default cpp spec.
9548         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9549         * cpp.texi: Document __GNUC_PATCHLEVEL__.
9550         * cpp.1: Likewise.
9551
9552         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9553         default spec.
9554
9555 2000-02-15  Denis Chertykov  <denisc@overta.ru>
9556
9557         * configure.in: Add support for avr target.
9558
9559 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9560
9561         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9562         (sh_addr_diff_vec_mode): Don't declare.
9563         * sh.c (sh_addr_diff_vec_mode): Delete.
9564
9565 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9566
9567         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9568
9569 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9570
9571         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9572         (smulsi3_highpart_i): Name.
9573         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9574         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9575         (smulsi3_highpart, umulsi3_highpart): Likewise.
9576
9577         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9578         correctly independent of endianness.
9579         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
9580         confuse the optimizers.
9581         (mulsidi3+1, umulsidi3+1): New define_split.
9582
9583 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
9584
9585         * config/sh/sh.md: Guard insn splits against illegal registers.
9586         * config/sh/sh.h: Correct comment about macros.
9587
9588 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9589                           Andrew MacLeod  <amacleod@cygnus.com>
9590
9591         * Makefile.in (lcm.o): Depend on insn-attr.h.
9592         * basic-block.h (optimize_mode_switching): Declare.
9593         * lcm.c (tm_p.h, insn-attr.h): #include.
9594         (seginfo, bb_info): New structs.
9595         (antic, transp, comp, delete, insert) : New file-scope static variables.
9596         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
9597         (reg_becomes_live, optimize_mode_switching): Likewise.
9598         * tm.texi: Add description of mode switching macros.
9599         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
9600
9601         * sh-protos.h (remove_dead_before_cse): Remove prototype.
9602         (fldi_ok, fpscr_set_from_mem): New prototypes.
9603         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
9604         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
9605         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9606         (sh_flag_remove_dead_before_cse): Remove declaration.
9607         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
9608         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
9609         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
9610         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9611         (barrier_align): Allow for JUMP_INSNS containing a parallel.
9612         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
9613         (fldi_ok): New function.
9614         (get_fpscr_rtx): Add fpscr_rtx as GC root.
9615         (emit_sf_insn): Only generate fpu switches when optimize < 1.
9616         (emit_df_insn): Likewise.
9617         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
9618         (sh_flag_remove_dead_before_cse): Delete.
9619         (get_free_reg, fpscr_set_from_mem): New functions.
9620         * sh.md (movdf, movsf): Remove no_new_pseudos code.
9621         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
9622
9623 2000-02-15  Loren Rittle  <ljrittle@acm.org>
9624
9625         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
9626
9627 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9628
9629         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
9630         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
9631
9632         * cccp.c: Include version.h and/or don't declare `version_string'.
9633         * collect2.c: Likewise.
9634         * alpha.c: Likewise.
9635         * arm/aof.h: Likewise.
9636         * arm/coff.h: Likewise.
9637         * arm/elf.h: Likewise.
9638         * arm/pe.h: Likewise.
9639         * arm/tcoff.h: Likewise.
9640         * arm/telf.h: Likewise.
9641         * arm/tpe.h: Likewise.
9642         * arm/vxarm.h: Likewise.
9643         * convex/convex.c: Likewise.
9644         * i386/dgux.c: Likewise.
9645         * i386/sun386.h: Likewise.
9646         * m88k/m88k.c: Likewise.
9647         * mcore/mcore-pe.h: Likewise.
9648         * mips/mips.h: Likewise.
9649         * romp/romp.h: Likewise.
9650         * sh/sh.c: Likewise.
9651         * cpphash.c: Likewise.
9652         * cppinit.c: Likewise.
9653         * dwarf2out.c: Likewise.
9654         * dwarfout.c: Likewise.
9655         * gcc.c: Likewise.
9656         * gcc.h: Likewise.
9657         * mips-tfile.c: Likewise.
9658         * protoize.c: Likewise.
9659         * toplev.c: Likewise.
9660         * tree.h: Likewise.
9661
9662         * version.c (version_string): Constify a char*.
9663
9664         * version.h: New file.
9665
9666 2000-02-14  Nick Clifton  <nickc@cygnus.com>
9667
9668         * configure.in: Add mcore-elf and mcore-pe targets.
9669         * configure: Regenerate.
9670
9671         * NEWS: Add note that MCore port has been contributed.
9672
9673         * invoke.texi: Document command line switches for MCore port.
9674         * install.texi: Add MCore to list of supported targets.
9675
9676 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
9677
9678         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
9679         then we will need to import the frame handling functions.
9680         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
9681         to import the frames themselves.
9682
9683 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
9684                           Jason Eckhardt  <jle@cygnus.com>
9685
9686         * basic_block.h: Added prototype for reorder_basic_blocks.
9687         * toplev.c: Changes to add -freorder-blocks and graph dump after
9688         block reordering is done.
9689         * flow.c (reorder_block_def): New structure for use during block
9690         reordering.
9691         (REORDER_BLOCK_*): New macros to access members of above structure.
9692         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
9693         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
9694         functions for block reordering.
9695
9696 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9697
9698         * gcc.texi (Passes): Fix typo.
9699         * md.texi (Standard Names): Ditto.
9700         * tm.texi (Storage Layout): Ditto.
9701
9702 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9703
9704         * cpplib.c (do_define): Only free the old definition if it
9705         actually had one.
9706
9707 2000-02-13   Neil Booth  <NeilB@earthling.net>
9708
9709         * cppfiles.c (read_and_prescan): When emitting deferred
9710         newlines, test speccase[] again instead of checking each
9711         possible whitespace character in turn.  When we encounter \r,
9712         look behind for \n first, then ahead.
9713
9714 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
9715
9716         * cse.c (cse_altered): New internal flag.
9717         (cse_insn): Set it if we changed an insn.
9718         (cse_main): Clear cse_altered before each basic block.
9719         Only garbage collect if cse_altered is true afterward.
9720
9721 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9722
9723         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
9724
9725 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
9726
9727         * combine.c (simplify_comparison): Fix typo.
9728
9729 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
9730
9731         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
9732         consistently.
9733
9734 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9735
9736         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
9737         previously inserted node instead of root node.  Caller changed.
9738
9739 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9740
9741         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
9742
9743 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9744
9745         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
9746         __dereg_frame_dtor): Add prototype argument.
9747
9748         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
9749
9750         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
9751
9752         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
9753
9754         * gthr-vxworks.h (__gthread_once): Likewise.
9755
9756         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
9757
9758 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
9759
9760         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
9761         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
9762         stack pointer in functions w/o saved registers, output LEAVE more often
9763         on TARGET_USE_LEAVE machines.
9764
9765 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
9766
9767         * config/arm/arm.c (arm_init_cumulative_args); New function:
9768         Initlaise the CUMULATIE_ARGS strcuture for a function
9769         defintion.
9770         (arm_function_arg): New function: Determine where to place a
9771         function's argument.  Also handles deciding the function's
9772         call cookie.
9773         (current_file_function_operand): New function: Return true if
9774         the symbol is a function which has already been compiled.
9775         (arm_is_long_call_p): New function: Return true if the
9776         indicated function should be called via a long call.
9777         (arm_valid_type_attribute_p): New function: Return true if the
9778         attribute is a valid, arm specific, attribute.
9779         (arm_comp_type_attribute): New function: Return true if the
9780         two types have compatable, arm specific, attributes.
9781
9782         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
9783         structure.
9784         (FUNCTION_ARG): Redefine to call arm_function_arg.
9785         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
9786         structure field.
9787         (INIT_CUMULATIVE_ARGS): Redefine to call
9788         arm_init_cumulative_args.
9789         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
9790         field.
9791         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
9792         field.
9793         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
9794         functions.
9795         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
9796         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
9797         (COMP_TYPE_ATTRIBUTES): Define.
9798
9799         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
9800         if a long call is needed.
9801         (call_value): Call arm_is_long_call_p to decide if a long call
9802         is needed.
9803         (call_symbol): Call arm_is_long_call_p to decide if a long call
9804         is needed.
9805
9806         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
9807
9808 2000-02-11  Denis Chertykov  <denisc@overta.ru>
9809
9810         * README.AVR: New file with information about the avr ports.
9811         * config/avr: New directory with avr port files.
9812
9813 2000-02-11  Andreas Jaeger  <aj@suse.de>
9814
9815         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
9816
9817 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
9818
9819         * cpphash.c: Fix formatting, update commentary.
9820         (dump_definition): Take three separate arguments instead of a
9821         MACRODEF structure argument.
9822         * cpphash.h: Update prototype of dump_definition.
9823         * cppinit.c (cpp_finish): Update call of dump_definition.
9824
9825         * cpplib.c (do_define): Always create new hash entry with
9826         T_MACRO type.  Remove redundant check for redefinition of
9827         poisoned identifier.  Update call of dump_definition.
9828         (do_undef): Don't call check_macro_name.  Rename sym_length to
9829         len.
9830         (do_error, do_warning): Don't use copy_rest_of_line or
9831         SKIP_WHITE_SPACE.
9832         (do_warning): Don't use pedwarn for the actual warning,
9833         only the notice about its not being in the standard.  (Fixes
9834         bug with #warning in system headers.)
9835         (do_ident): Stricter argument checking - accept only a single
9836         string after #ident.  Also, macro-expand the line.
9837         (do_xifdef): Use cpp_defined.  De-obfuscate.
9838
9839         (do_pragma): Split out specific pragma handling to separate
9840         functions.  Use get_directive_token.  Update commentary.  Do
9841         not pass on #pragma once or #pragma poison to the front end.
9842         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
9843         do_pragma_default): New.
9844
9845 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
9846
9847         * jump.c (jump_optimize_1): The first operand in a relational
9848         can be a CONST_INT.
9849         * optabs.c (emit_conditional_move): Handle relationals which
9850         have a known true/false result.
9851
9852 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9853
9854         * function.c (thread_prologue_and_epilogue_insns): Don't insert
9855         a RETURN insn into a block which already ends with a jump.
9856
9857 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9858
9859         * haifa-sched.c (BUF_LEN): Increase a lot.
9860
9861 2000-02-11  Nick Clifton  <nickc@cygnus.com>
9862
9863         * configure.in: Add tm_p_file specification for thumb targets.
9864         * configure: Regenerate.
9865
9866         * config/arm/thumb-protos.h: New file: Prototypes for exported
9867         functions defined in thumb.c.
9868
9869 2000-02-11  Robert Lipe  <robertl@sco.com>
9870
9871         * Makefile.in (bootstrap-lean): Remove additional files.
9872         (bootstrap2-lean): Likewise.
9873         (VOL_FILES): List of files for above.
9874
9875 2000-02-11  Nathan Sidwell  <nathan@acm.org>
9876
9877         * cpphash.c (special_symbol): Remove spurious argument to
9878         cpp_lookup.
9879
9880 2000-02-11  Joel Sherrill (joel@OARcorp.com>
9881
9882         * configure.in: (i*86-*-rtems*): Swapped elf and coff
9883         stanzas.
9884         * configure: Rebuilt.
9885
9886 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
9887
9888         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
9889
9890 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
9891
9892         * pa.c, pa.h: Remove trigraph sequences within comments.
9893
9894 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
9895
9896         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
9897
9898 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
9899
9900         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
9901
9902 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9903
9904         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
9905
9906 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9907
9908         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
9909         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
9910         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
9911         (ASM_FILE_END): Use c4x_file_end.
9912         * config/c4x/c4x.c (c4x_global_label): New function.
9913         (c4x_external_ref, c4x_file_end): Likewise.
9914
9915         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
9916         (c4x_external_ref, c4x_end_file): Likewise.
9917
9918 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
9919
9920         * cppexp.c: Don't include cpphash.h.
9921         (parse_charconst, cpp_lex): Use cpp_defined.
9922         (cpp_lex): Use get_directive_token throughout.  Remove
9923         unnecessary cases from switch.  Move assertion-handling code
9924         down to OTHER case.
9925         (cpp_parse_expr): If we see '+' or '-', check the context to
9926         determine if they are unary or binary operators.  Streamline
9927         the jumps a bit.  Do not call skip_rest_of_line.
9928
9929         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
9930         static.  Export get_directive_token.  Update commentary.
9931         (cpp_defined): New function.
9932         (do_define): Remove reference to T_PCSTRING.  Call
9933         free_definition to release memory for old definition, when
9934         redefining a macro.
9935         (eval_if_expression): Set only_seen_white to 0 before calling
9936         cpp_parse_expr.  Call skip_rest_of_line after it returns.
9937         (cpp_read_check_assertion): Don't preserve a pointer into the
9938         token buffer across a call to cpp_get_token.
9939
9940         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
9941         * cppfiles.c (redundant_include_p): Use cpp_defined.
9942         * cpphash.c (free_definition): New function.
9943         (delete_macro): Use it.  Update commentary.
9944         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
9945         free_definition.
9946         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
9947         from enum node_type.  Prototype cpp_defined and get_directive_token.
9948         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
9949
9950         * fix-header.c (check_macro_names): Use cpp_defined.
9951         (read_scan_file): Set inhibit_warnings and inhibit_errors in
9952         the options structure.
9953
9954 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9955
9956         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
9957
9958 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
9959
9960         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
9961         rather than die->die_tag.
9962
9963 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9964
9965         * combine.c (make_extraction, force_to_mode): Avoid warning on
9966         mixed-signedness conditionals.
9967         (make_field_assignment, nonzero_bits): Likewise.
9968         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
9969         (store_split_bit_field, extract_split_bit_field): Likewise.
9970         (extract_fixed_bit_field, store_bit_field,
9971         * expr.c: Change alignment to be unsigned everywhere.
9972         (move_by_pieces, store_constructor_field, store_constructor):
9973         Alignment parm is unsigned.
9974         (emit_block_move, emit_group_load, emit_group_store): Likewise.
9975         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9976         (do_compare_rtx_and_jump): Likewise.
9977         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
9978         Compare align with GET_MODE_ALIGNMENT.
9979         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
9980         (get_inner_reference): Likewise.
9981         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
9982         (expand_assignment): Local vars for alignment now unsigned.
9983         (store_constructor, store_field, expand_expr, do_jump): Likewise.
9984         (do_compare_and_jump): Likewise.
9985         (store_field): Call new function expr_align.
9986         * expr.h (emit_block_move, emit_group_load, emit_group_store):
9987         Alignment arg now unsigned.
9988         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9989         (do_compare_rtx_and_jump, store_bit_field): Likewise.
9990         (extract_bit_field): Likewise.
9991         * fold-const.c (add_double): Add cast to eliminate signedness warning.
9992         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
9993         (get_best_mode): Alignment arg is unsigned.
9994         * rtl.h (move_by_pieces): Likewise.
9995         * store-layout.c (maximum_field_alignment, set_alignment):
9996         Now unsigned.
9997         (layout_decl): Alignment arg is now unsigned.
9998         Remove unneeded casts.
9999         (layout_record, layout_union, layout_type): Remove unneeded casts.
10000         Local alignment variables now unsigned.
10001         (get_best_mode): Alignment arg now unsigned.
10002         * tree.c (expr_align): New function.
10003         * tree.h (expr_align): Likewise.
10004         (maximum_field_alignment, set_alignment): Now unsigned.
10005         (get_inner_reference): Alignment argument is now pointer to unsigned.
10006         * varasm.c (assemble_variable): Add cast to eliminate warning.
10007
10008 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
10009
10010         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
10011         then store directly into op0.
10012
10013         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
10014         the CALL_INSN, and emit the note immediately after it.
10015
10016 2000-02-10  Nick Clifton  <nickc@cygnus.com>
10017
10018         * config/arm/thumb.md (epilogue): Include a (return) in the
10019         generated insn, and emit it using emit_jump_insn not
10020         emit_insn.
10021
10022 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
10023
10024         * function.c (assign_temp): Change zero-sized arrays to size 1.
10025         * integrate.c (expand_inline_function): Do not update
10026         stack_alignment_needed
10027         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
10028         add some sanity checking, remove optimization for function with
10029         zero frame size.
10030
10031 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10032
10033         * flow.c (mark_regs_live_at_end): Delete unused variables.
10034
10035         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10036
10037         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10038         in macro FRAME_GROWS_DOWNWARD.
10039
10040         * stmt.c (expand_end_bindings): Delete unused variable.
10041
10042         * unroll.c (iteration_info): Mark parameter `loop' with
10043         ATTRIBUTE_UNUSED.
10044
10045 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10046
10047         * fixinc/server.c (load_data): Return NULL if the marker line is
10048         not found.
10049         (run_shell): If load_data returns NULL, retry the command once, in
10050         a new shell.
10051
10052         * configure: Rebuilt.
10053
10054 2000-02-09  Bruce Korb  <bkorb@gnu.org>
10055
10056         * gcc/fixincludes:  ** DELETED **
10057         * gcc/fixcpp:  ** DELETED **
10058         * gcc/fixinc-nt.sed:  ** DELETED **
10059         * gcc/just-fixinc:  ** DELETED **
10060         * gcc/Makefile.in:  Removed out-dated commentary
10061         * gcc/configure.in: Removed fast-fixincludes disablement.
10062         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10063
10064 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10065         * function.c (thread_prologue_and_epilogue_insns): Uncomment
10066         last change.
10067
10068 2000-02-09  Richard Henderson  <rth@cygnus.com>
10069
10070         * jump.c (delete_insn): Don't delete user labels at -O0.
10071
10072 2000-02-09  Robert Lipe  <robertl@sco.com>
10073
10074         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10075         Don't link with HOST_LIBS.
10076
10077 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10078
10079         * configure.in: Correct --help text for --with-dwarf2.
10080         Put tm-dwarf2.h after other tm files, if it's requested.
10081         * configure: Regenerate.
10082         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10083         defining it.
10084
10085 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10086
10087         * cpplib.h: Provide HASHNODE typedef and forward decl of
10088         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
10089         DEFINITION, struct hashnode, struct macrodef, struct
10090         definition, scan_decls prototype, default defn of
10091         INCLUDE_LEN_FUDGE moved elsewhere.
10092
10093         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10094         definition, and struct hashnode moved here. Remove the unused
10095         'predefined' field from struct definition.  Replace the 'args'
10096         union with its sole member.  All users updated (cpphash.c).
10097         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
10098         multiple include guard.
10099
10100         * cpphash.c (hashf): Make static; use better algorithm; drop
10101         HASHSIZE parameter; return an unsigned int.
10102         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
10103         used. Calculate HASHSIZE modulus here.
10104         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10105         here.
10106         (create_definition): Drop PREDEFINITION parameter.
10107         * cpplib.c (do_define): Don't calculate a hash value here.
10108         Don't pass (keyword == NULL) to create_definition.
10109
10110         * scan.h: Prototype scan_decls here.
10111         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10112         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10113         callers of cpp_lookup and cpp_install updated.
10114
10115         * cpphash.c (macarg): Hoist all the flag diddling out of the
10116         function...
10117         (macroexpand): ... and out of the loop that calls macarg.
10118         Skip over the initial paren before macro arguments with
10119         cpp_get_non_space_token; point may be some distance before
10120         that paren.  Abort if it's not there.
10121
10122         * cpplib.c (parse_clear_mark): Delete function.
10123         (parse_set_mark, parse_goto_mark): Make static.
10124         (ACTIVE_MARK_P): New macro.
10125         (skip_block_comment, skip_line_comment): Do not bump the line
10126         if ACTIVE_MARK_P is true.
10127         (cpp_pop_buffer): The buffer to be popped may not have an
10128         active mark.
10129         (cpp_get_token): When looking for the initial paren before
10130         macro arguments, only set a mark in a file buffer, Always
10131         return to that mark before proceeding to call macroexpand or
10132         return a NAME token.
10133
10134         * cpplib.h: Remove prototypes of parse_set_mark,
10135         parse_clear_mark, parse_goto_mark.
10136         (struct cpp_options): Rename 'put_out_comments' to
10137         'discard_comments' and invert its sense.
10138         * cppinit.c, cpphash.c, cpplib.c: All users of
10139         put_out_comments changed to use discard_comments, with
10140         opposite sense.
10141
10142 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10143
10144         * function.c (thread_prologue_and_epilogue_insns): Don't delete
10145         the edge from a block that both jumps and falls through to the
10146         fallthru block.
10147
10148 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
10149
10150         * config/arm/arm.md (movsi): In PIC mode, make sure that a
10151         constant source address is legitimate.
10152
10153 2000-02-09  Philip Blundell  <pb@futuretv.com>
10154
10155         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10156         correctly.
10157
10158         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10159         generating PIC.
10160         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10161
10162 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10163
10164         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
10165         ends with a newline and a NUL.  Don't be so clever manipulating
10166         strings.
10167
10168 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10169
10170         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
10171         not to BIGGEST_ALIGNMENT.
10172
10173 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
10174
10175         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
10176         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
10177         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
10178         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
10179         * frame.c (execute_cfa_insn): Handle
10180         DW_CFA_GNU_negative_offset_extended.
10181
10182 2000-02-08  Richard Henderson  <rth@cygnus.com>
10183
10184         * flow.c (tidy_fallthru_edges): Split out from ...
10185         (delete_unreachable_blocks): ... here.
10186         (find_basic_blocks): Use it.
10187
10188 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10189
10190         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
10191
10192 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
10193
10194         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
10195         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
10196         (fix-header.o): Don't depend on cpphash.h.
10197
10198         * scan.c (hashstr): New function.
10199         * scan.h: Prototype it.
10200         * fix-header.c: Don't include cpphash.h.  Use hashstr.
10201         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
10202         hashstr.  Report hash table statistics.  Add private
10203         definition of xrealloc.
10204
10205 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10206
10207         * i386.h (TARGET_SWITCHES): Fix typo in option name.
10208
10209 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
10210
10211         * function.c (thread_prologue_and_epilogue_insns): Don't replace
10212         jumps with returns unless they are jumps to the fallthru block.
10213
10214 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
10215
10216         * i386.md (addqi3_cc): Fix contraints.
10217
10218 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10219
10220         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
10221
10222 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
10223
10224         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
10225         carriage return after a macro name.
10226
10227 2000-02-07  Fred Fish  <fnf@be.com>
10228
10229         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
10230         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
10231
10232 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
10233
10234         * cppfiles.c (deps_output): Count spacers in deps_column.
10235
10236 2000-02-07  Neil Booth  <NeilB@earthling.net>
10237
10238         * cppinit.c (initialize_dependency_output): If there is no
10239         suffix, don't try to look for known suffixes.  Use strrchr.
10240         (cpp_start_read): Remove duplicate initialization.
10241
10242 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
10243
10244         * calls.c (compute_argument_block_size): New argument
10245         preferred_stack_boundary.
10246         (expand_call): update cfun->preferred_stack_boundary, update call of
10247         compute_argument_block_size
10248         (emit_library_call): Increate cfun->preferred_stack_boundary
10249         to PREFERRED_STACK_BOUNDARY
10250         (emit_library_call_value): Likewise.
10251         * explow.c (allocate_dynamic_stack_spave): Likewise.
10252         * function.c (prepare_function_start): Set
10253         cfun->preferred_stack_boundary
10254         * function.h (struct function): Add preferred_stack_boundary field.
10255         * integrate.c (expand_inline_function): Update
10256         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10257         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10258         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10259
10260 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
10261
10262         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10263         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10264         cpp_pedwarn, cpp_pedwarn_with_line,
10265         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10266         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10267         v_cpp_error_with_line, v_cpp_warning_with_line,
10268         cpp_message_from_errno, cpp_perror_with_name): Delete.
10269
10270         * cpperror.c (cpp_print_containing_files): Take starting
10271         buffer as argument.
10272         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10273         (v_cpp_message): Now called directly by all entry points.
10274         Remove -1 case.
10275         (cpp_pfatal_with_name, cpp_message): Delete.
10276         (cpp_notice_from_errno, cpp_ice): New functions.
10277         (cpp_notice): Is now for reporting error conditions, just
10278         without an associated file.
10279         (cpp_error, cpp_error_with_line): Don't do anything if
10280         opts->inhibit_errors is on.
10281         (cpp_pedwarn_with_file_and_line): Take column argument also.
10282
10283         * cpplib.h: Update prototypes of exported functions.
10284         (struct cpp_options): Add inhibit_errors.
10285
10286         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10287         non-error messages.  Include intl.h.
10288
10289         * cppinit.c, cppmain.c: Likewise.  Also, use
10290         cpp_notice_from_errno instead of cpp_perror_with_name or
10291         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10292
10293         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10294         report internal errors.
10295
10296         * cpplib.c (do_define): Switch bcopy to memcpy.
10297         Give cpp_pedwarn_with_file_and_line a dummy column argument.
10298
10299         * cpplib.c (copy_rest_of_line): Revert previous change: don't
10300         bail out early if we hit a line comment.
10301
10302 2000-02-06  Richard Henderson  <rth@cygnus.com>
10303
10304         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10305         * basic-block.h: Declare them.
10306         * emit-rtl.h (active_insn_p): New.
10307         (next_active_insn, prev_active_insn): Use it.
10308         * rtl.h: Declare it.
10309         * function.c (emit_return_into_block): New.
10310         (thread_prologue_and_epilogue_insns): Insert return insns instead
10311         of epilogues when possible.
10312         * jump.c (jump_optimize_1): Remove code to insert a return insn
10313         on the fallthru to the exit block.
10314
10315         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10316         and for non-empty stack frames.
10317         * i386.md (return): Expand to return-pop as needed.
10318
10319 2000-02-06  Richard Henderson  <rth@cygnus.com>
10320
10321         * simplify-rtx.c (simplify_relational_operation): Canonicalize
10322         constant to op1 for testing.
10323
10324 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10325
10326         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10327         (fixuns_truncqfqi2): Use it.
10328
10329 2000-02-06  Richard Henderson  <rth@cygnus.com>
10330
10331         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10332         as a TYPE_LEA insn.
10333
10334         * i386.md (widening and peepholes): Mask the constant instead of
10335         using gen_lowpart.
10336
10337 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10338
10339         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10340         input pointer before possibly branching off to the backslash
10341         code.
10342         * cpphash.c (macroexpand): Correctly delete \r escapes when
10343         stringifying parameters.
10344         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10345         if we can; bail out early if we hit a line comment.
10346         (handle_directive): Treat '# 123' in an .S file just like
10347         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
10348         Return 1 for '# not_a_directive'.
10349         (get_directive_token): Pop macro buffers here, so that
10350         cpp_get_token can't sneakily move past a newline.
10351         Add sanity checks.
10352         (cpp_get_token): goto randomchar if handle_directive returns 0.
10353
10354         * cppalloc.c: Update copyright.
10355         * cpplib.c: Merge all the static function prototypes into one
10356         block.
10357         * cpplib.h: Remove #if 0 block.
10358
10359         * cpperror.c: Remove #ifdef EMACS block.
10360         * cppmain.c: Likewise.
10361         * cpphash.c: Remove #if 0 blocks.
10362         * cppinit.c: Remove #if 0 blocks, and the -lint option.
10363         * cpplib.c: Remove #if 0 blocks and code referencing
10364         pcp_inside_if or for_lint.  Remove duplicate error message.
10365         Fix error messages for #else after #else or #elif.  Reformat.
10366         Remove archaic TODO list.
10367         * cpplib.h: Remove pcp_inside_if and for_lint flags.
10368
10369 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10370
10371         * i386/osf1elf.h: Add missing backslash to multiline string.
10372
10373 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10374
10375         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10376
10377 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10378
10379         * Makefile.in (c-common.o): Depend on $(EXPR_H).
10380
10381         * c-common.c: Include expr.h.
10382
10383         * c-pragma.c (mark_align_stack): Add prototype.
10384
10385         * caller-save.c (add_stored_regs): Likewise.
10386
10387         * combine.c (record_promoted_value): Likewise.
10388
10389         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10390         Likewise.
10391
10392         * cppinit.c (new_pending_define): Likewise.
10393
10394         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10395
10396         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10397         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10398         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10399         class_scope_p): Likewise.
10400
10401         * dwarf2out.h (dwarf2out_set_demangle_name_func,
10402         dwarf2out_add_library_unit_info): Likewise.
10403
10404         * ggc.h (ggc_page_print_statistics): Likewise.
10405
10406         * haifa-sched.c (propagate_deps): Likewise.
10407
10408         * reg-stack.c (next_flags_user, record_label_references): Likewise.
10409
10410         * rtl.h (set_stack_check_libfunc): Likewise.
10411
10412         * toplev.h (set_fatal_function): Likewise.
10413
10414         * toplev.c (set_fatal_function): Delete prototype.
10415
10416         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10417
10418 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10419
10420         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10421         (FUNC_END): Likewise.
10422
10423 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10424
10425         * caller-save.c: Include tm_p.h.
10426
10427 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10428
10429         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10430
10431 2000-02-04  Neil Booth  <NeilB@earthling.net>
10432
10433         * cccp.c (main): Check 'dir' for a NULL pointer before passing
10434         it to strcmp.
10435
10436 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
10437
10438         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10439         * genflags.c: Use the max_operand_1 logic from genemit.c to
10440         calculate how many arguments gen_insn prototypes have.  Remove
10441         NO_MD_PROTOTYPES ifdefs from the generated file.
10442         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10443         file.  Cast gen_insn initializers to insn_gen_fn.
10444         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10445         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10446
10447 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10448
10449         * fixinc/Makefile.in (HDR): Add machname.h.
10450         (clean): Likewise.
10451
10452 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10453
10454         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10455         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10456         (c4x_cpu_version): Ditto.
10457         * config/c4x/c4x-protos.h: ... here.
10458
10459 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
10460
10461         * dwarf2out.c (add_abstract_origin_attribute): Don't call
10462         gen_abstract_function on our context if we're a nested function.
10463
10464 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10465
10466         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10467         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10468
10469 2000-02-04  Bruce Korb  <bkorb@gnu.org>
10470
10471         * fixinc/genfixes(machname.h):
10472         Move the functionality from gen-machine.h into this file.
10473         UNdef MN_NAME_PAT if there are no names to change.
10474         Also, be a little kinder when AutoGen is not present.
10475
10476         * fixinc/Makefile.in(machname.h):
10477         Change the generation rule to use genfixes.
10478
10479         * fixinc/fixfixes.c(machine_name):
10480         machine_name_fix's functionality now dependent upon whether
10481         MN_NAME_PAT is defined.
10482
10483         * fixinc/fixtests.c(machine_name):
10484         ditto.
10485
10486         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10487         of MN_NAME_PAT.
10488
10489         * fixinc/fixlib.h(mn_get_regexps):
10490         ditto
10491
10492         * fixinc/gen-machine.h: DELETED
10493
10494 2000-02-04  Jan Hubicka  <jh@suse.cz>
10495             Richard Henderson  <rth@cygnus.com>
10496
10497         * i386.c (SAVE_REGS_FIRST): Remove.
10498         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10499         (ix86_compute_frame_size): Likewise.
10500         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
10501         (ix86_emit_restore_regs): Remove.
10502         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10503         when a frame pointer is in use.
10504         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
10505         instead of pop to restore a register when profitable; emit leave
10506         when profitable.
10507         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10508         as a TYPE_LEA insn.
10509         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10510         * i386.md (prologue_allocate_stack): Remove.
10511         (epilogue_deallocate_stack): Remove.
10512         (pro_epilogue_adjust_stack): New.
10513
10514 2000-02-04  Richard Henderson  <rth@cygnus.com>
10515
10516         * function.c (diddle_return_value): Rework to use a callback function.
10517         Use current_function_return_rtx if it's been set up.
10518         (do_clobber_return_reg, clobber_return_register): New.
10519         (do_use_return_reg, use_return_register): New.
10520         (expand_function_end): Use them.
10521         * stmt.c (expand_null_return): Likewise.
10522         * function.h: Declare them.
10523         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10524         (mark_reg): Change arguments as appropriate for callback.
10525         * integrate.c (expand_inline_function): Revert 19 Jan change.
10526
10527 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10528
10529         * tm.texi (Values in Registers): Fix typo: "fo" "for".
10530         (Misc): Say the scheduler, not the Haifa scheduler.
10531
10532 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
10533
10534         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10535         when in_mem is set.  Update all callers.
10536
10537 2000-02-04  Richard Henderson  <rth@cygnus.com>
10538
10539         * i386/openbsd.h (INT_ASM_OP): Define.
10540
10541 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10542
10543         * tm.texi: Fix various typos.
10544
10545 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
10546
10547         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10548         (MD_STARTFILE_PREFIX_1): New macro.
10549
10550 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
10551
10552         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10553         destination when needed.
10554         (strmovsi, strsetsi): New expander.
10555         (strmovsi_1, strsetsi_1): New pattern.
10556         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10557         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10558         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10559         * invoke.texi (align-stringops, inline-all-stringops): Document.
10560
10561 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
10562
10563         * i386/netbsd.h (INT_ASM_OP): Define.
10564
10565 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
10566
10567         * cpplib.h (cpp_reader): Add new flag, no_directives.
10568         * cpphash.c (macarg): Set it.
10569         * cpplib.c (handle_directive): If no_directives is on and we
10570         find a directive, issue an error and discard the line.
10571
10572 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
10573
10574         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10575         FP constants.  Add ! TARGET_FPU check for FP constants.
10576
10577 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
10578
10579         * flow.c (find_basic_blocks): Don't kill label_value_list
10580         here.
10581         (cleanup_cfg): Kill it here.
10582
10583 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10584
10585         * expr.c (store_field): Ensure ALIGN is no stricter than the
10586         alignment of EXP.
10587
10588 2000-02-02  Richard Henderson  <rth@cygnus.com>
10589
10590         * jump.c (delete_insn): Partially revert 19 Jan change;
10591         don't convert unused code labels to notes at -O0.
10592
10593 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10594
10595         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
10596         split_all_insns to recreate REG_LABEL notes for flow2 pass.
10597
10598 2000-02-01  Richard Henderson  <rth@cygnus.com>
10599
10600         * i386.c (general_no_elim_operand): New.
10601         (nonmemory_no_elim_operand): New.
10602         (ix86_expand_move): Copy eliminable operands before a push.
10603         * i386-protos.h: Declare new functions.
10604         * i386.h (CAN_ELIMINATE): Simplify.
10605         (PREDICATE_CODES): Update.
10606         * i386.md (push insns): Don't allow eliminable register operands.
10607
10608 2000-02-01  Richard Henderson  <rth@cygnus.com>
10609
10610         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
10611         replace BLKmode with DECL_RTL's mode.
10612
10613 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
10614
10615         * frame.c (find_fde): Convert for loop to do-while so compiler
10616         sees it's always executed at least once.
10617         * libgcc2.c (BBINBUFSIZE): Kill.
10618         (__bb_init_prg): Use fgets.
10619         (__bb_exit_trace_func): Don't paste strings.
10620         * unroll.c (unroll_loop): Initialize unroll_type, not
10621         unroll_number, and tweak logic to match.
10622
10623         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
10624         all failure paths.
10625         (ix86_flags_dependant): Likewise.  Disentangle control flow.
10626         (ix86_sched_reorder): Break guts out to
10627         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
10628         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
10629         any possible use.
10630
10631         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
10632         use string concatenation.  Don't save and restore esi.
10633
10634         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
10635         (machname.h): Remove script to separate file.  Use two-step
10636         sequence so target is not created if script fails.
10637         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
10638         identifiers are defined.
10639         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
10640         an empty string, machine_name doesn't need to do anything at
10641         all.
10642         (is_cxx_header): Add more cases to regexp.
10643         * fixinc/fixlib.h: Update prototype.
10644         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
10645         mn_get_regexps.
10646         * fixinc/fixincl.c: Define NO_BOGOSITY.
10647
10648         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
10649         (hp_sysfile): Add missing comma.
10650         (math_exception): Put the wrapper ifdefs at the beginning and
10651         the end of the file.
10652         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
10653
10654 2000-02-01  Richard Henderson  <rth@cygnus.com>
10655
10656         * sparc.c (fp_zero_operand): Turn into a normal predicate.
10657         Use CONST0_RTX.  Update all callers.
10658         * sparc.h, sparc-protos.h: Update accordingly.
10659         * sparc.md (fp mov insns): Use fp_zero_operand directly
10660         where applicable.
10661
10662 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10663
10664         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
10665         example.
10666
10667 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10668
10669         * Makefile.in (specs.ready): New target.
10670         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
10671
10672 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10673
10674         * fixinc.irix: Use unique filenames for writing into /tmp,
10675         * fixinc.ptx: Likewise.
10676         * fixinc.sco: Likewise.
10677         * fixinc.svr4: Likewise.
10678         * fixinc.winnt: Likewise.
10679
10680 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10681
10682         * tsystem.h: New file.
10683
10684         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
10685         s-crtS): Depend on tsystem.h.
10686
10687         * crtstuff.c: Include tsystem.h.
10688         * frame.c: Likewise.
10689         * libgcc2.c: Likewise.
10690
10691 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
10692
10693         * builtins.c (expand_builtin_memset): Expand for variable sized
10694         lengths too.
10695
10696 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
10697
10698         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
10699         on ABI.
10700
10701 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10702
10703         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
10704
10705         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
10706
10707 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
10708
10709         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
10710         case 3->2 combining (combining with splitting) in which 2 is CC0
10711         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
10712         checked at the begining of the function with the aid of calling
10713         function 'can_combine_p'.
10714
10715 2000-01-31  Dave Brolley  <brolley@redhat.com>
10716
10717         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
10718
10719 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
10720
10721         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
10722         new label.
10723
10724 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10725
10726         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
10727
10728         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
10729         PROTO -> PARAMS.
10730
10731 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10732
10733         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
10734         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
10735         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
10736         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
10737         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
10738         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
10739         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
10740         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
10741         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
10742         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
10743
10744         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
10745         Add %(cpp_cpu) to CPP_SPEC.
10746
10747         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
10748         Add %(cc1_cpu) to CC1_SPEC.
10749
10750 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10751
10752         * c-decl.c (c_decode_option): Accept optional numeric argument to
10753         -Wformat and set warn_format.
10754         * c-common.c: Don't emit warning about non-constant printf format
10755         string unless warn_format > 1.
10756
10757 2000-01-30  Richard Henderson  <rth@cygnus.com>
10758
10759         * alpha.md (return_internal): Allow after reload only.
10760
10761 2000-01-30  Richard Henderson  <rth@cygnus.com>
10762
10763         * i386.c (ix86_compute_frame_size): Omit padding1 if the
10764         local frame size is zero.
10765
10766 2000-01-30  Richard Henderson  <rth@cygnus.com>
10767
10768         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
10769         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
10770         * alpha.md (return): Turn into an expander.
10771         (return_internal): Don't use $26.
10772         (epilogue): Emit the return insn.
10773
10774 2000-01-30  Richard Henderson  <rth@cygnus.com>
10775
10776         * alpha.md (negtf2, abstf2): Fix word order thinko.
10777         (extendsftf2): New.
10778         (trunctfsf2): Avoid intermediate rounding errors.
10779
10780 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
10781
10782         * cppfiles.c (find_position): Drop 'colp' argument, return the
10783         new line base.
10784         (read_and_prescan): Adjust to match.  Don't ever manipulate
10785         line or line_base except via find_position.
10786
10787 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10788
10789         * c-parse.in: Apply Ulrich's changes from c-parse.y.
10790         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
10791         Regenerate.
10792
10793 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
10794
10795         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
10796         just print "<command line>".  If 'filename' is null or an
10797         empty string, print "<stdin>" for the filename.
10798         * cpplib.c (do_define): Don't print the 'location of the
10799         previous definition' message if we're still parsing the
10800         command line.
10801         (cpp_pedwarn_with_file_and_line): Always call
10802         cpp_file_line_for_message.
10803
10804 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
10805
10806         * flow.c (mark_regs_live_at_end): Fix typo.
10807
10808 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
10809
10810         * c-common.c: Adjust variable names, comments, help strings to c99.
10811         * c-lex.c: Likewise.
10812         * c-parse.y: Likewise.
10813         * c-tree.h: Likewise.
10814         * cccp.c: Likewise.
10815         * cpplib.h: Likewise.
10816         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
10817         * cppinit.c: Likewise.
10818
10819 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10820
10821         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
10822         * c4x.c: Define the optab rtx values.
10823         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
10824         (c4x_emit_libcall): Use new optab rtx values.
10825         (c4x_emit_libcall3): Likewise.
10826         (c4x_emit_libcall_mulhi): Likewise.
10827         * c4x-protos.h: Add prototypes for optab rtx values and change
10828         prototypes for above c4x_emit_libcall functions.
10829
10830 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10831
10832         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
10833         syntax is used.
10834         (c4x_function_prologue): Use regnames intead of float_reg_names when
10835         TI syntax is used.
10836         (c4x_function_epilogue): Likewise.
10837         (c4x_print_operand): Likewise.
10838         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
10839         * c4x.md (set_high): Disable for TARGET_TI.
10840
10841 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10842
10843         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
10844         of framepointer + constant to ADDR_REGS class.
10845         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
10846         * c4x.c (std_or_reg_operand): New function.
10847         * c4x-protos.h (std_or_reg_operand): Prototype it.
10848
10849 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10850
10851         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
10852                 object names as libgcc2.c.
10853         * libgcc.S: Use newly defined names.
10854
10855 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
10856         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
10857         function.
10858         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
10859         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
10860         (FLOW_LOOP_LAST_BLOCK): Likewise.
10861
10862 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10863
10864         * basic-block.h (struct loop): New fields 'first' and 'last'.
10865         * flow.c (flow_loops_find): Compute loop->first and loop->last.
10866         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
10867         and loop->last to check for NOTE_INSN_LOOP_END.
10868
10869 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
10870
10871         * predict.c (estimate_probability): Use the new FIRST and LAST fields
10872         of the loop descriptor rather than HEADER and LATCH. Also added
10873         missing break statements as well making some coding style modifications
10874         as suggested by Michael Hayes.
10875
10876 2000-01-28  Richard Henderson  <rth@cygnus.com>
10877
10878         * flow.c (find_basic_blocks): Remove do_cleanup argument.
10879         Break out that code ...
10880         (cleanup_cfg): ... here.
10881         (commit_one_edge_insertion): Detect a return instruction being
10882         emitted to an edge.  Emit a barrier following; clear fallthru.
10883         (commit_edge_insertions): Verify CFG consistency.
10884         * function.c (expand_function_start): Kill unused variable.
10885         (expand_function_end): Likewise.
10886         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
10887         to insert the epilogue.
10888
10889         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
10890         (delete_null_pointer_checks): Likewise.
10891         * output.h: Likewise.
10892         * reg-stack.c (reg_to_stack): Likewise.
10893         * toplev.c (rest_of_compilation): Likewise.  Run
10894         thread_prologue_and_epilogue_insns after rebuilding the CFG.
10895
10896 2000-01-28  Richard Henderson  <rth@cygnus.com>
10897
10898         * Makefile.in (flow.o): Revert 24 Jan change.
10899         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
10900         FUNCTION_VALUE result to DECL_RESULT's mode.
10901
10902         * haifa-sched.c (schedule_insns): Don't recompute reg info
10903         after reload.
10904
10905 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
10906
10907         * configure.in: Make --enable-cpplib the default.
10908         * configure: Regenerate.
10909         * gcc.dg/990119-1.c: No longer expected to fail.
10910
10911 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
10912
10913         * jump.c (jump_optimize_1): Delete an optimization that is also done
10914         by merge_blocks in flow.
10915
10916 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10917
10918         * diagnostic.c (build_message_string, output_printf,
10919         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
10920         (build_location_prefix): Fix non-literal format string.
10921
10922 2000-01-27  Richard Henderson  <rth@cygnus.com>
10923
10924         * alpha.md (trunctfsf2): New.
10925
10926 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
10927
10928         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
10929
10930 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
10931
10932         * cppinit.c (cpp_handle_option): Recognize C++ comments under
10933         -std=gnu89.
10934         * cpplib.c (skip_block_comment, skip_line_comment): Split code
10935         out of...
10936         (skip_comment) ... here.  Permit C++ comments in system
10937         headers always.  Warn about C++ comments in user code under
10938         -std=gnu89 -pedantic.
10939         (copy_comment): Use skip_comment.
10940         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
10941         return EOF.
10942         (consider_directive_while_skipping, do_else, do_endif): Call
10943         validate_else unconditionally.
10944         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
10945         text after the conditional in a system header.
10946         * cpplib.h (struct cpp_buffer): Add flag
10947         warned_cplusplus_comments.
10948
10949 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10950
10951         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
10952         Use unshare_all_rtl_1.
10953         (unshare_all_rtl_again): New function.
10954         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
10955
10956         * function.c (purge_addressof_1): Use unshare_all_rtl_again
10957         rather than resetting the 'used' flags ourself.
10958
10959         * toplev.c (rest_of_compilation): Add current_function_decl
10960         to the unshare_all_rtl call.
10961         * tree.h: Prototype unshare_all_rtl.
10962         * rtl.h: Prototype unshare_all_rtl_again here.
10963
10964 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
10965
10966         * genoutput.c (output_prologue): Include ggc.h in generated
10967         files.
10968         * Makefile.in (insn-output.o): Depends on ggc.h.
10969
10970 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
10971             Hans-Peter Nilsson  <hp@bitrange.com>
10972
10973         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
10974         Remove redundant include of xm-ns32k.h.
10975         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
10976         Remove redundant include of xm-ns32k.h.
10977         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
10978         Remove redundant include of xm-ns32k.h.
10979         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
10980
10981         * ns32k/ns32k.h: Update comment on multiply-add instructions.
10982         (TARGET_SWITCHES): Add documentation strings.
10983         (DWARF_FRAME_REGNUM): Override default definition.
10984         (REG_CLASS_CONTENTS): Add comments.
10985         (SUBSET_P): Format to reduce line length.
10986         (SMALL_REGISTER_CLASSES): Make a run time option.
10987         (GO_IF_NONINDEXED_ADDRESS): Reformat.
10988         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
10989         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
10990         (regclass_map): fix typo in comment.
10991         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
10992         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
10993         (trace, reg_or_mem_operand): Delete, unused function.
10994         (calc_address_cost): Small offsets are cheaper than large ones.
10995         (expand_block_move): Generate more efficient code when bytes is a
10996         known at compile time.
10997         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
10998         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
10999         instead of reg_or_mem_operand.
11000
11001         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
11002         not general_operand.  Similarly use "=rm" or stricter, not "=g".
11003         For input operands, use stricter constraints than "g" if not
11004         general_operand.  Similarly use stricter predicate than
11005         "general_operand" when stricter constraints than "g" are present,
11006         except for matching constraints.
11007         (movstrsi): Use "memory_operand" for operands 0 and 1.
11008         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
11009         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
11010         not reg_or_mem_operand.
11011         (udivmoddisi4): Ditto.
11012         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
11013         Use nonimmediate_operand for operand 3, not register_operand.
11014         (udivmoddiqi4_internal): Use register_operand for operand 1, not
11015         reg_or_mem_operand.
11016
11017 2000-01-27  Fred Fish  <fnf@be.com>
11018
11019         * gthr-posix.h: Fix typo; compatibily -> compatibility.
11020         * gthr-single.h: Likewise.
11021         * gthr-solaris.h: Likewise.
11022         * gthr-vxworks.h: Likewise.
11023         * gthr-win32.h: Likewise.
11024         * gthr.h: Likewise.
11025
11026 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
11027
11028         * cppinit.c: Add " (cpplib)" to end of string printed by
11029         -v / --version.
11030
11031 2000-01-27  Richard Henderson  <rth@cygnus.com>
11032
11033         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11034         testing for a signed comparison.
11035         (alpha_emit_floatuns): New.
11036         * alpha-protos.h: Declare it.
11037         * alpha.md (floatunsdisf2, floatunsdidf2): New.
11038         (extendsfdf2): Tidy.
11039
11040 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
11041
11042         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11043         no -g option specifying debugging format, default to -gstabs+.
11044
11045 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
11046
11047         * calls.c (special_function_p): New argument fork_or_exec.
11048         (expand_call): When profile_arc_flag is set and the function
11049         is in the fork_or_exec group, call __bb_fork_func first.
11050         * libgcc2.c, _bb module (__bb_fork_func): New function.
11051         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11052         output file.
11053         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11054         * tree.h (special_function_p): Update prototype.
11055
11056 2000-01-26  Richard Henderson  <rth@cygnus.com>
11057
11058         * alpha.c (alpha_split_tfmode_pair): New.
11059         * alpha-protos.h: Declare it.
11060         * alpha.md (abstf2, negtf2): New.
11061         (movtf insn): Add input G constraint.
11062         (movtf splitter): Use alpha_split_tfmode_pair.
11063
11064 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11065
11066         * i386/cygwin.h: PROTO -> PARAMS.
11067
11068 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
11069
11070         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11071         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11072         using _Qp_cmp/_Q_cmp and testing the return value.
11073         (print_operand): Call reverse_condition_maybe_unordered if
11074         we are handling CCFPmode or CCFPEmode.
11075         Handle ORDERED, UN* and LTGT comparisons.
11076         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11077         if not TARGET_HARD_QUAD.
11078         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11079         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11080         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11081         Adjust gen_b* calls so that they reflect return comparison of
11082         sparc_emit_float_lib_cmp.
11083
11084 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11085
11086         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11087         incoming operands array is large enough for one more operand.
11088         (alpha_emit_xfloating_arith): Likewise.
11089
11090 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11091
11092         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11093         file with one line and no trailing newline.
11094         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11095         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11096         checking if the match is on the line.
11097         * fixinc/gnu-regex.c: Provide regerror not __regerror.
11098
11099 2000-01-25  Richard Henderson  <rth@cygnus.com>
11100
11101         * sparc.c (output_cbranch): Fix accidental squashing of the
11102         fp branch pre-delay nop.
11103
11104 2000-01-25  Richard Henderson  <rth@cygnus.com>
11105
11106         * tree.def (UNNE_EXPR): Remove.
11107         * c-typeck.c (build_binary_op): Don't handle it.
11108         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11109
11110         * rtl.def (UNNE): Remove.
11111         (LTGT): Add.
11112         * jump.c (reverse_condition): Update accordingly.
11113         (swap_condition): Likewise.
11114         (comparison_dominates_p): Handle unordered comparisons.
11115         (reverse_condition_maybe_unordered): New.
11116         * rtl.h (reverse_condition_maybe_unordered): Declare.
11117
11118         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11119         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11120         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
11121         * sparc.md (bltgt): New.
11122
11123 2000-01-25  Nick Clifton  <nickc@redhat.com>
11124
11125         * emit-rtl.c (emit_insn): Only check machine class insns for
11126         improper emission of a RETURN.
11127
11128 2000-01-25  Richard Henderson  <rth@cygnus.com>
11129
11130         * Makefile.in (flow.o): Depend on $(EXPR_H).
11131         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11132         duplicate the structure of diddle_return_value for keeping regs live.
11133
11134 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11135
11136         * loop.c (current_loop_info): Delete.
11137         (consec_sets_invariant_p): Add loop argument, update callers.
11138         (get_condition_for_loop): Likewise.
11139         (count_nonfixed_reads, update_giv_derive): Likewise.
11140         (simplify_giv_expr, general_induction_var): Likewise.
11141         (consec_sets_giv, recombine_givs): Likewise.
11142         (move_movables): Delete loop_start and loop_end arguments,
11143         add loop argument, and update callers.
11144         (find_mem_givs, check_final_value): Likewise.
11145         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11146         (loop_invariant_p): Rename from invariant_p, add loop argument, and
11147         update callers.
11148         (basic_induction_var): Add loop argument, delete loop_level argument,
11149         and update callers.
11150         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11151         add loop argument, and update callers.
11152         (find_splittable_regs, find_splittable_givs): Likewise.
11153         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11154         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11155         (biv_total_increment): Delete loop_start and loop_end arguments;
11156         update callers.
11157         (precondition_loop_p): Delete loop_start and loop_info arguments;
11158         update callers.
11159         * loop.h (get_condition_for_loop): Add loop argument.
11160         (biv_total_increment): Delete loop_start and loop_end arguments.
11161         (precondition_loop_p): Delete loop_start and loop_info arguments;
11162         add loop argument.
11163         (final_biv_value): Delete loop_start and loop_end arguments;
11164         add loop argument.
11165         (final_giv_value, back_branch_in_range_p): Likewise.
11166
11167 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11168
11169         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
11170
11171 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11172
11173         * Makefile.in (c-gperf.h) : Change the "See" pointer to
11174         point to the new "generated_files" doc.
11175
11176 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11177
11178         * config/fp-bit.c (_unord_f2): Fix typo.
11179
11180 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11181
11182         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
11183         c-typeck.c, objc/objc-act.c: Remove all references to obstack
11184         functions obsoleted by GC, such as push_obstacks_nochange,
11185         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
11186         and code which existed only to decide whether or not to call
11187         them.  Remove now-unused NESTED argument from start_function;
11188         all callers changed.  Do not change behavior based on ggc_p.
11189         The use of the ixp_obstack in c-iterate.c and the util_obstack
11190         in objc/objc-act.c remain; these are not obsoleted by garbage
11191         collection.
11192         * c-tree.h: Update prototype for start_function.
11193
11194         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
11195
11196 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11197
11198         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
11199         mips16.
11200
11201 2000-01-25  Richard Henderson  <rth@cygnus.com>
11202
11203         * sparc-protos.h (select_cc_mode): Declare.
11204         * sparc.c (select_cc_mode): New.  Handle unordered compares.
11205         (output_cbranch): Always reverse via code change.  Handle
11206         unordered compares.  Factor tests and string updates.
11207         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
11208         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
11209         * sparc.md (bunordered, bordered): New.
11210         (bungt, bunlt, buneq, bunge, bunle): New.
11211
11212 2000-01-25  Richard Henderson  <rth@cygnus.com>
11213
11214         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
11215         * ggc-common.c (ggc_add_rtx_varray_root): New.
11216         (ggc_mark_rtx_varray): New.
11217         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
11218         functions down below ggc_mark_foo.
11219         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
11220
11221 2000-01-25  Richard Henderson  <rth@cygnus.com>
11222
11223         * alpha.c (secondary_reload_class): Don't allocate a secondary
11224         for integral mode memories into FLOAT_REGS.  Rearrange the more
11225         complicated memory expression inward.
11226
11227 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11228
11229         * inclhack.def: Fixes to play nicer with FreeBSD, and
11230         corrections to comments.
11231         (cxx_unready): Add select expression.
11232         (irix_sockaddr): Add bypass expression.
11233         (machine_ansi_h_va_list): New fix.
11234         (stdio_va_list): No need to edit _BSD_VA_LIST_.
11235         Split out addition of "#include <stdarg.h>" to...
11236         (stdio_stdarg_h): ... here.
11237         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
11238         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
11239         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
11240         size_t.
11241         (ultrix_ifdef): Tighten up select expression.
11242
11243         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
11244         re_ct and max_mach to avoid use of shell.  Make printed names
11245         match names in inclhack.def.  Use static copyright date.
11246         Don't count c_test and test expressions as requiring regex_t
11247         slots.  Add some commentary.
11248         * inclhack.tpl: Do not include the 'This script contains N
11249         fixup scripts' line if PROGRAM is defined.  Use static
11250         copyright date.
11251
11252 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
11253
11254         * dwarf2out.c: include "varray.h", not dyn-string.h.
11255         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11256         (addr_const_to_string, addr_to_string): Lose.
11257         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11258         (struct dw_val_struct): val_addr is now an rtx.
11259         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11260         (used_rtx_varray): New varray.
11261         (dwarf2out_init): Initialize it.
11262         (save_rtx): New fn.
11263         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11264         addr_to_string.
11265         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11266         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11267         * Makefile.in (dwarf2out.o): Update dependencies.
11268
11269 2000-01-24  Richard Henderson  <rth@cygnus.com>
11270
11271         * i386.c (i386_dwarf_output_addr_const): New.
11272         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11273
11274         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11275         if defined.
11276         * dwarfout.c (output_mem_loc_descriptor): Likewise.
11277         * i386.c (i386_simplify_dwarf_addr): New.
11278         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11279
11280 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
11281
11282         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11283         TYPE_STUB_DECL is NULL.
11284
11285 2000-01-24  Richard Henderson  <rth@cygnus.com>
11286
11287         * builtins.c (expand_tree_builtin): Move ...
11288         * c-common.c (expand_tree_builtin): ... here.
11289
11290 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11291
11292         * loop.h (LOOP_INFO): New accessor macro.
11293         * basic-block.h (struct loop): Rename field `info' to `aux'.
11294         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11295         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11296         * unroll.c (loop_iterations, unroll_loop): Likewise.
11297
11298 2000-01-24  Christopher Faylor <cgf@cygnus.com>
11299
11300         * config/i386/t-cygwin: Accomodate new winsup directory layout
11301         when searching for include files.
11302
11303 2000-01-24  Richard Henderson  <rth@cygnus.com>
11304
11305         * rtl.def: Add unordered fp comparisions.
11306         * tree.def: Likewise.
11307         * tree.h: Add ISO C 9x unordered fp comparision builtins.
11308
11309         * builtins.c (expand_tree_builtin): New function.
11310         * c-typeck.c (build_function_call): Use it.
11311         (build_binary_op): Support unordered compares.
11312         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11313
11314         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11315         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11316         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11317         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11318         * jump.c (reverse_condition): Don't abort for UNLE etc, but
11319         return UNKNOWN.
11320         (swap_condition): Handle unordered compares.
11321         (thread_jumps): Check can_reverse before reversing.
11322         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
11323         reversed for FP.
11324
11325         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
11326         setcc is present before acking for cmp_optab.  Update all callers.
11327         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11328         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11329         * expr.c (expand_expr): Likewise.  Support unordered compares.
11330         (do_jump, do_store_flag): Likewise.
11331         * expr.h (enum libfunc_index): Add unordered compares.
11332
11333         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11334         (DPBIT_FUNCS): Add _unord_df.
11335         * config/fp-bit.c (_unord_f2): New.
11336         * fp-test.c (main): Try unordered compare builtins.
11337
11338         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11339         * alpha.c (alpha_comparison_operator): Check mode properly.
11340         (alpha_swapped_comparison_operator): Likewise.
11341         (signed_comparison_operator): Likewise.
11342         (alpha_fp_comparison_operator): New.
11343         (alpha_emit_conditional_branch): Handle unordered compares.
11344         * alpha.h (PREDICATE_CODES): Update.
11345         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11346         (bunordered, bordered): New.
11347
11348 2000-01-24  Richard Henderson  <rth@cygnus.com>
11349
11350         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11351         * alpha.md (movtf): New expander, insn, and splitter.
11352
11353 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
11354
11355         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11356         dead registers.
11357
11358 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
11359
11360         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11361         (FIXED_REGISTERS, CALL_USED_REGISTERS,
11362          REG_ALLOC_ORDER): Add frame pointer
11363         (FRAME_POINTER_REGNUM): Set to 20
11364         (HARD_FRAME_POINTER_REGNUM): New macro.
11365         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11366         to HARD_FRAME_POINTER.
11367         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11368         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11369         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11370         (HI_REGISTER_NAMES): Add "frame".
11371         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11372         (debug_reg): Handle FRAME_POINTER_REGNUM.
11373         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11374         GENERAL_REGS and INDEX_REGS.
11375         * i386.c (SAVED_REGS_FIRST): new macro.
11376         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11377         (ix86_decompose_address, memory_address_length): Likewise.
11378         (regclass_map): Add frame pointer.
11379         (call_insn_operand): Handle frame_pointer_rtx.
11380         (reg_no_sp_operand): Likewise.
11381         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11382         (print_operand, legitimize_pic_address): Fix formating.
11383         (ix86_compute_frame_size): Make static, update prototype, new
11384         parameters padding1, padding2, use ix86_nsaved_regs, use
11385         stack_alignment_needed.
11386         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11387         to HARD_FRAME_POINTER_REGNUM conversions.
11388         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11389         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11390         (print_reg): Abort on FRAME_POINTER_REGNUM
11391
11392 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
11393
11394         * i386.h (PREDICATE_CODES): Add aligned_operand.
11395         * i386.c (aligned_operand): New function.
11396         (ix86_aligned_p): Kill.
11397         * i386.md (movhi_1): Emit mov for aligned operands.
11398         (promoting peep2s): Use aligned_operand.
11399
11400 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
11401
11402         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11403         expression to allow underscores in macro names.
11404         (fix_char_macro_defines): Increment scanning pointer.
11405
11406 2000-01-23  Richard Henderson  <rth@cygnus.com>
11407
11408         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11409         * alpha/osf5.h: New file.
11410         * configure.in (alpha-*-osf5): Add it to tm_file.
11411
11412         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11413
11414         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11415         (alpha_emit_xfloating_cvt, function_arg): Declare.
11416         * alpha.c (alpha_emit_conditional_branch): Call
11417         alpha_emit_xfloating_compare for TFmode compares.
11418         (alpha_lookup_xfloating_lib_func): New.
11419         (alpha_compute_xfloating_mode_arg): New.
11420         (alpha_emit_xfloating_libcall): New.
11421         (alpha_emit_xfloating_arith): New.
11422         (alpha_emit_xfloating_compare): New.
11423         (alpha_emit_xfloating_cvt): New.
11424         (print_operand): Add default abort case.
11425         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11426         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11427         (BIGGEST_ALIGNMENT): Increase to 128 bits.
11428         (RETURN_IN_MEMORY): True for TF/TCmode.
11429         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11430         (FUNCTION_ARG): Move to function_arg.
11431         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11432         (ASM_OUTPUT_LONG_DOUBLE): New.
11433         (ASM_OUTPUT_DOUBLE): Always output bits.
11434         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11435         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11436         (extenddftf2, trunctfdf2): New.
11437
11438 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11439
11440         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11441         * config/sparc/sol2.h: ... here.
11442
11443 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11444
11445         * basic-block.h (struct loops): New field `levels'.
11446         * flow.c (flow_loops_level_compute): Traverse all outer loops.
11447         (flow_loop_level_compute): Initialise level to 1.
11448         (flow_loops_find): Set loops->levels.
11449         (flow_loops_dump): Print loops->levels.
11450
11451 2000-01-23  Richard Henderson  <rth@cygnus.com>
11452
11453         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11454         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11455
11456 2000-01-23  Richard Henderson  <rth@cygnus.com>
11457
11458         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11459         * i386.h (DBX_REGISTER_NUMBER): Use them.
11460         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11461         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11462         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11463         * i386/sequent.h: Kill incorrect comment.
11464
11465 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
11466
11467         * ggc-page.c (struct page_entry): Make `context_depth' an
11468         `unsigned short'.
11469         (struct globals): Likewise.
11470
11471 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
11472
11473         * loop.c (check_dbra_loop): When checking a loop for
11474         reversability, check the source of any stores to ensure
11475         they don't depend on an initial value.
11476
11477 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11478
11479         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11480
11481 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
11482
11483         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11484         'pz_scan' into scope of entire function.  Only affects
11485         compiles with -DDEBUG.
11486
11487 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11488
11489         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11490         section naming to that prior to 2000-01-07 patch.
11491         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11492         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11493         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11494         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11495         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11496
11497 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11498
11499         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11500         constant.
11501
11502 2000-01-21  Jim Wilson  <wilson@cygnus.com>
11503
11504         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11505         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11506
11507 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11508
11509         * cpphash.c (change_newlines): Delete function.
11510         (struct argdata): Delete 'newlines' and 'use_count' fields.
11511         (macroexpand): Remove code referencing those fields.
11512
11513 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11514
11515         * loop.c (loops_info): New variable.
11516         (loop_optimize): Allocate loops->array and free it on exit.
11517         Allocate memory for loops_info and assign to each loop,
11518         replacing alloca.
11519         (find_and_verify_loops): Do not allocate loops->array.
11520
11521 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11522
11523         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11524
11525 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
11526
11527         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11528         pseudos if expanded after first flow.
11529         (movdi_pic_label_ref): Likewise.
11530
11531 2000-01-20  Richard Henderson  <rth@cygnus.com>
11532
11533         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11534
11535 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
11536
11537         * Makefile.in (fixinc.sh): Depend on specs.
11538         * fixinc/Makefile.in: Add rule to create machname.h.
11539         (fixlib.o): Depend on machname.h.
11540         * fixinc/fixtests.c (machine_name): New test.
11541         * fixinc/fixfixes.c (machine_name): New fix.
11542         * fixinc/fixlib.c (mn_get_regexps): New helper function for
11543         the machine_name test and fix.
11544         * fixinc/fixlib.h: Prototype it.
11545         * fixinc/inclhack.def (machine_name): Use the C test and fix.
11546         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11547
11548         * gcc.c (do_spec_1) [case P]: Take care not to create
11549         identifiers with three leading or trailing underscores.
11550
11551         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11552         (fixincl): Don't specify libraries twice on link line.
11553         (gnu-regex.o): Remove special rule.
11554         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11555         defined by config.h.  Do not define _REGEX_RE_COMP.
11556         (regcomp): Allocate and initialize a fastmap.
11557         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11558
11559 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
11560
11561         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11562
11563 2000-01-19  Richard Henderson  <rth@cygnus.com>
11564
11565         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11566         arguments with BB.  Update all callers.  Tidy line wrapping.
11567
11568 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
11569
11570         * emit-rtl.c (try_split): Return last_insn if we split the
11571         last_insn.
11572
11573 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
11574
11575         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11576         (ix86_initial_elimination_offset): Declare.
11577         * i386.c (ix86_nsaved_regs): Break out from ...
11578         (ix86_can_use_return_insn_p): ... here.
11579         (ix86_emit_save_regs): Break out from ...
11580         (ix86_expand_prologue): ... here.
11581         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11582         out from ...
11583         (ix86_expand_epilogue): ... here.
11584         (ix86_compute_frame_size): Make static, add prototype.
11585         (ix86_initial_elimination_offset): Break out from ...
11586         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
11587
11588 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11589
11590         * recog.h (OUT_FCN): Delete.
11591
11592         * vax.md: Call `get_insn_template' instead of OUT_FCN.
11593
11594 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11595
11596         * cppalloc.c: PROTO -> PARAMS.
11597         * cpperror.c: Likewise.
11598         * cppfiles.c: Likewise.
11599         * cpplib.c: Likewise.
11600         * cpplib.h: Likewise.
11601
11602         * config/arm/arm-protos.h: PROTO -> PARAMS.
11603         * config/arm/arm.c: Likewise.
11604         * config/c4x/c4x.c: Likewise.
11605         * config/fr30/fr30-protos.h: Likewise.
11606         * config/nextstep.c: Likewise.
11607         * config/pa/pa.c: Likewise.
11608         * config/pj/pj.c: Likewise.
11609         * config/rs6000/rs6000.c: Likewise.
11610         * config/v850/v850-protos.h: Likewise.
11611         * config/v850/v850.c: Likewise.
11612
11613 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11614
11615         * i370-protos.h: New file.
11616
11617         * i370.c: Include tm_p.h.  Fix compile time warnings.
11618
11619         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
11620         warnings.
11621
11622         * i370.md: Likewise.
11623
11624 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11625
11626         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
11627         (target_isinf, target_isnan, eisnan): Mark parameter with
11628         ATTRIBUTE_UNUSED.
11629         (eiisinf): Wrap in INFINITY.
11630         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
11631         (ibmtoe): Remove unused variable `rndsav'.
11632
11633 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11634
11635         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
11636         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
11637
11638 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
11639
11640         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
11641         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
11642         (fix_char_macro_defines, fix_char_macro_uses): New functions.
11643
11644         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
11645         Recognize Emacs mode markers also.
11646         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
11647         C++ comments in C++ headers.  Call is_cxx_header only if
11648         necessary.
11649
11650         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
11651         bypass for ncurses.
11652         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
11653         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
11654         ... these, which use the new C fixes.
11655         (math_exception): Escape literal '+' in bypass expression.
11656
11657         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
11658         Regenerate.
11659
11660 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11661
11662         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
11663         inside the MEM.
11664
11665 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11666
11667         * loop.c (loop_optimize): Allocate loop_info structure for each loop
11668         prior to calling scan_loop.
11669
11670 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11671
11672         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
11673         (split_branches, calc_live_regs): Likewise.
11674
11675 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11676
11677         * sh.md (fpu_single, fp_mode): New attributes.
11678
11679 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11680
11681         * loop.c (current_loop_info): Renamed from loop_info_data
11682         and changed to a pointer.
11683         (loop_optimize): Allocate loop_info structure for each loop
11684         and initialise to zero.
11685         (scan_loop): Set current_loop_info.
11686
11687         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
11688         on iteration_var.
11689
11690 2000-01-19  Richard Henderson  <rth@cygnus.com>
11691
11692         * stupid.c: Die die die.
11693         * Makefile.in (OBJS): Remove stupid.o.
11694         (stupid.o): Likewise.
11695
11696         * except.c (emit_eh_context): Don't emit USEs for stupid.
11697         * explow.c (probe_stack_range): Likewise.
11698         * flags.h (obey_regdecls): Remove.
11699         * flow.c (find_basic_blocks): Don't run try_merge_blocks
11700         when not optimizing.
11701         (life_analysis): Limit data collection when not optimizing.
11702         (mark_regs_live_at_end): Always mark the return value registers.
11703         (mark_used_regs): Remove dummy RETURN case.
11704         (print_rtl_with_bb): Don't consult obey_regdecls.
11705         * function.c (use_variable, use_variable_after): Remove.
11706         (assign_parms): Consult optimize not obey_regdecls.
11707         (expand_function_start): Don't emit USEs for stupid.
11708         (expand_function_end): Likewise.
11709         * global.c (build_insn_chain): Export.
11710         * integrate.c (expand_inline_function): Kill return-value USE
11711         handling code.
11712         * jump.c (jump_optimize_1): Do simple jump optimizations and
11713         dead code elimination.
11714         (calculate_can_reach_end): Remove check_deleted argument.
11715         (delete_insn): Patch out insns even when not optimizing.
11716         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
11717         * rtl.h (use_variable, use_variable_after): Remove declarations.
11718         (build_insn_chain): Declare.
11719         * stmt.c (expand_value_return): Don't emit USEs for stupid.
11720         (expand_end_bindings): Likewise.
11721         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
11722         * toplev.c (obey_regdecls): Remove.
11723         (rest_of_compilation): Don't set it.  Kill stupid in favour of
11724         flow1, local-alloc, and reload.
11725         (main): Don't set obey_regdecls.
11726
11727         * config/nextstep.c (handle_pragma): Likewise.
11728
11729         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
11730
11731         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
11732
11733 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11734
11735         * alpha-protos.h: PROTO -> PARAMS.
11736         * alpha.c: Likewise.
11737         * elf.h: Likewise.
11738         * h8300.c: Likewise.
11739         * i386-protos.h: Likewise.
11740         * i386.c: Likewise.
11741         * m32r-protos.h: Likewise.
11742         * m32r.c: Likewise.
11743         * mips.c: Likewise.
11744         * mips.md: Likewise.
11745         * gmon-sol2.c: Likewise.
11746         * sparc.c: Likewise.
11747
11748 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11749
11750         * ns32k-protos.h: New file.
11751
11752         * ns32k.c: Fix compile time warnings.
11753
11754         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
11755         warnings.
11756
11757         * ns32k.md: Likewise.
11758
11759 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11760
11761         * vax-protos.h: New file.
11762
11763         * vax.c: Fix compile time warnings.
11764
11765         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
11766         warnings.
11767
11768         * vax.md: Likewise.
11769
11770         * vaxv.md: Likewise.
11771
11772 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11773
11774         * romp-protos.h: New file.
11775
11776         * romp.c: Fix compile time warnings.
11777
11778         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
11779         warnings.
11780
11781         * romp.md: Likewise.
11782
11783 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11784
11785         * we32k-protos.h: New file.
11786
11787         * we32k.c: Fix compile time warnings.
11788
11789         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
11790         warnings.
11791
11792 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11793
11794         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
11795
11796         * except.c (eh_regs): Likewise.
11797
11798         * final.c (output_operand): Likewise.
11799
11800         * fold-const.c (target_isinf, target_isnan): Likewise.
11801
11802 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11803
11804         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
11805         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
11806
11807         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
11808         when optimize_size.
11809         (clrstrsi): Rewrite.
11810         (strsethi, strsetqi): New expanders.
11811         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
11812         (cmpstrsi): Emit compare insn before cmpstrsi_1
11813         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
11814         (strlensi_1): Likewise.
11815         (cmpstrsi_1): Likewise; do not output compare.
11816         (strlen expander): Do not unroll when optimizing for size.
11817         (*subsi3_carry): Rename to subsi3_carry
11818         (addqi3_cc): New pattern.
11819         * i386.h (processor_costs): Add move_ratio field.
11820         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
11821         * i386.c (*_cost): Set move_ratio.
11822         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
11823         (x86_expand_strlensi_1): Rewrite the main loop.
11824
11825 2000-01-17  Richard Henderson  <rth@cygnus.com>
11826
11827         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
11828         * cse.c (find_comparison_args, fold_rtx): Likewise.
11829         * integrate.c (subst_constants): Likewise.
11830         * loop.c (get_condition): Likewise.
11831
11832         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
11833
11834         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
11835
11836 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11837
11838         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
11839         (RESTORE_WARN_FLAGS): Unpack it.
11840         Change semantic type of extension to ttype.
11841         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
11842         * c-parse.y, c-parse.c, objc/objc-parse.y,
11843         objc/objc-parse.c: Regenerate.
11844
11845 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
11846
11847         * fixinc/fixlib.c: Add copyright notice.
11848         (compile_re): New function.
11849         * fixinc/fixlib.h: Prototype compile_re.
11850
11851         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
11852         Use compile_re to compile regular expressions.
11853
11854         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
11855         where the pattern matched.
11856
11857         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
11858         use 'replace'.
11859         (ultrix_ansi_compat): Likewise.
11860         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
11861         add egrep test.
11862         (interactv_add2, interactv_add3): Delete.
11863         (x11_sprintf): Don't use filename glob.
11864         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
11865         Regenerate.
11866
11867 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11868
11869         * print-rtl.c: PROTO -> PARAMS.
11870         * real.c: Likewise.
11871         * reg-stack.c: Likewise.
11872         * resource.c: Likewise.
11873         * sdbout.h: Likewise.
11874         * simplify-rtx.c: Likewise.
11875         * stor-layout.c: Likewise.
11876         * stupid.c: Likewise.
11877         * xcoffout.c: Likewise.
11878         * xcoffout.h: Likewise.
11879
11880 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11881
11882         * toplev.c: PROTO -> PARAMS.
11883         * toplev.h: Likewise.
11884         * tree.c: Likewise.
11885         * tree.h: Likewise.
11886         * unroll.c: Likewise.
11887         * varasm.c: Likewise.
11888         * varray.c: Likewise.
11889         * varray.h: Likewise.
11890
11891 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11892
11893         * reload.c: PROTO -> PARAMS.
11894         * reload.h: Likewise.
11895         * reload1.c: Likewise.
11896         * reorg.c: Likewise.
11897         * resource.h: Likewise.
11898         * rtl.c: Likewise.
11899         * rtl.h: Likewise.
11900         * rtlanal.c: Likewise.
11901         * sbitmap.h: Likewise.
11902         * sdbout.c: Likewise.
11903         * stack.h: Likewise.
11904         * stmt.c: Likewise.
11905         * system.h: Likewise.
11906
11907 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11908
11909         * machmode.h: PROTO -> PARAMS.
11910         * mbchar.h: Likewise.
11911         * mips-tdump.c: Likewise.
11912         * mips-tfile.c: Likewise.
11913         * optabs.c: Likewise.
11914         * output.h: Likewise.
11915         * prefix.c: Likewise.
11916         * profile.c: Likewise.
11917         * protoize.c: Likewise.
11918         * real.h: Likewise.
11919         * recog.c: Likewise.
11920         * recog.h: Likewise.
11921         * regclass.c: Likewise.
11922         * regmove.c: Likewise.
11923         * regs.h: Likewise.
11924
11925 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11926
11927         * ggc-common.c: PROTO -> PARAMS.
11928         * ggc-page.c: Likewise.
11929         * ggc-simple.c: Likewise.
11930         * ggc.h: Likewise.
11931         * global.c: Likewise.
11932         * graph.c: Likewise.
11933         * gthr-win32.h: Likewise.
11934         * haifa-sched.c: Likewise.
11935         * halfpic.h: Likewise.
11936         * integrate.c: Likewise.
11937         * integrate.h: Likewise.
11938         * jump.c: Likewise.
11939         * lcm.c: Likewise.
11940         * local-alloc.c: Likewise.
11941         * loop.c: Likewise.
11942         * loop.h: Likewise.
11943
11944 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11945
11946         * genattr.c: PROTO -> PARAMS.
11947         * genattrtab.c: Likewise.
11948         * gencheck.c: Likewise.
11949         * gencodes.c: Likewise.
11950         * genconfig.c: Likewise.
11951         * genemit.c: Likewise.
11952         * genextract.c: Likewise.
11953         * genflags.c: Likewise.
11954         * gengenrtl.c: Likewise.
11955         * genopinit.c: Likewise.
11956         * genoutput.c: Likewise.
11957         * genpeep.c: Likewise.
11958         * genrecog.c: Likewise.
11959
11960 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
11961
11962         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
11963
11964 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11965
11966         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
11967         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
11968         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
11969         * configure, config.in: Rebuilt.
11970
11971 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
11972
11973         * config/i386/i386.md: Add peephole to merge successive stack
11974         adjusts.
11975
11976 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
11977
11978         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
11979         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
11980         when walking backwards to find all the parameter loads when
11981         the basic block ends in a call.
11982
11983 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11984
11985         * loop.c (this_loop_info): Delete.
11986         (uid_loop): Add in place of uid_loop_num.  All uses updated.
11987         (loop_number_exit_count): Delete and replace with entry in loop
11988         structure.  All uses updated.
11989         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11990         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11991         (loop_outer_loop): Likewise.
11992         (loop_invalid, loop_number_exit_labels): Likewise.
11993         (loop_used_count_register): Delete and replace with entry in
11994         loop_info structure.
11995         (find_and_verify_loops): Add loops argument.
11996         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
11997         loop_end, etc. arguments with loop structure pointer.  All callers
11998         changed.
11999         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
12000         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
12001         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
12002         (insert_bct): Likewise.
12003         (basic_induction_var): New argument level.
12004         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
12005         vtop, and cont.  Add used_count_register.
12006         (uid_loop): Delete declaration.
12007         (loop_number_exit_count): Likewise.
12008         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12009         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12010         (loop_outer_loop, loop_used_count_register): Likewise.
12011         (loop_invalid, loop_number_exit_labels): Likewise.
12012         (unroll_loop): Replace loop_start and loop_end arguments
12013         with loop structure pointer.
12014         (loop_precondition_p, loop_iterations): Likewise.
12015         Include basic-block.h.
12016         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
12017         with loop structure pointer.
12018         (loop_precondition_p, loop_iterations): Likewise.
12019         * basic-block.h (struct loop): New entries vtop, cont,
12020         cont_dominator, start, end, top, scan_start, exit_labels,
12021         exit_count.
12022         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
12023
12024 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12025
12026         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
12027
12028 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
12029
12030         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12031
12032 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12033
12034         * pdp11-protos.h: New file.
12035
12036         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
12037         time warnings.
12038
12039         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
12040         warnings.
12041
12042         * pdp11.md: Likewise.
12043
12044         * 2bsd.h: Likewise.
12045
12046 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12047
12048         * mn10300-protos.h: New file.
12049
12050         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12051         time warnings.
12052
12053         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
12054         warnings.
12055
12056         * mn10300.md: Likewise.
12057
12058 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12059
12060         * mn10200-protos.h: New file.
12061
12062         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
12063         time warnings.
12064
12065         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
12066         warnings.
12067
12068         * mn10200.md: Likewise.
12069
12070 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12071
12072         * h8300-protos.h: New file.
12073
12074         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12075         time warnings.
12076
12077         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
12078         warnings.
12079
12080         * h8300.md: Likewise.
12081
12082 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12083
12084         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12085         (asm_emit_uninitialised): Likewise.
12086
12087 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
12088
12089         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12090         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12091
12092 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12093
12094         * config/mips/mips.c (override_options): Don't turn on extra
12095         alignment for mips16.
12096
12097 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12098
12099         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12100         eabi, and make sure queued POSTINCREMENT rtl is emitted at
12101         the right point.
12102
12103 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12104
12105         * builtins.c (PAD_VARARGS_DOWN): Define.
12106         (std_expand_builtin_va_arg): Use the above macro.
12107         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12108         * tm.texi (Register Arguments): Document the above macro.
12109
12110 2000-01-14  Nick Clifton  <nickc@cygnus.com>
12111
12112         * emit-rtl.c (emit_insn): If checking is enabled, make sure
12113         that this function has not been used to emit a jump
12114         instruction.
12115
12116         * jump.c (return_jump_1): Cope with being passed a null rtx.
12117
12118 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12119
12120         * eh-common.h: PROTO -> PARAMS.
12121         * emit-rtl.c: Likewise.
12122         * errors.c: Likewise.
12123         * errors.h: Likewise.
12124         * except.c: Likewise.
12125         * except.h: Likewise.
12126         * explow.c: Likewise.
12127         * expmed.c: Likewise.
12128         * expr.c: Likewise.
12129         * expr.h: Likewise.
12130         * final.c: Likewise.
12131         * fix-header.c: Likewise.
12132         * flow.c: Likewise.
12133         * fold-const.c: Likewise.
12134         * function.c: Likewise.
12135         * function.h: Likewise.
12136         * gcc.c: Likewise.
12137         * gcov-io.h: Likewise.
12138         * gcov.c: Likewise.
12139         * gcse.c: Likewise.
12140
12141 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12142
12143         * sh-protos.h: New file.
12144
12145         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12146         Add static prototypes.  Fix compile time warnings.
12147
12148         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
12149         * sh.md: Likewise.
12150         * elf.h: Likewise.
12151
12152 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12153
12154         * arc-protos.h: New file.
12155
12156         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
12157         time warnings.
12158
12159         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
12160         warnings.
12161
12162         * arc.md: Likewise.
12163
12164 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12165
12166         * dsp16xx-protos.h: New file.
12167
12168         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
12169         time warnings.
12170
12171         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
12172         warnings.
12173
12174         * dsp16xx.md: Likewise.
12175
12176 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12177
12178         * convex-protos.h: New file.
12179
12180         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
12181         time warnings.
12182
12183         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
12184         warnings.
12185
12186 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12187
12188         * elxsi-protos.h: New file.
12189
12190         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
12191         time warnings.
12192
12193         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
12194         warnings.
12195
12196         * elxsi.md: Likewise.
12197
12198 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12199
12200         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
12201         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
12202         match the comment for MIPS16.
12203
12204 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
12205
12206         * flow.c (split_edge): Do not call set_block_for_insn if we
12207         do not have a basic_block_for_insn structure.
12208
12209         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
12210         and destination functions are 32bit aligned within the trampoline.
12211         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
12212         (TRAMPOLINE_ALIGNMENT): Define.
12213
12214         * cse.c (cse_insn): When changing (set (pc) (reg)) to
12215         (set (pc) (label_ref)), verify the change creates a valid insn.
12216
12217         * fr30.c (call_operand): Tighten and rework to match rules for
12218         call RTL expressions.
12219         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
12220         * fr30.md (call patterns): Improve constraints.
12221
12222 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
12223
12224         * fr30.c (fr30_expand_epilogue): Revert last change.
12225         Use emit_jump_insn for the return insn.
12226
12227 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
12228                           Stan Cox  <scox@cygnus.com>
12229
12230         * predict.c: New file. Preliminary infrastructure work for static
12231         branch prediction and basic block reordering.
12232         * basic-block.h: Add prototype for estimate_probability.
12233         * Makefile.in: Add rules for predict.o.
12234
12235 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
12236
12237         * fixincludes (va_list): Use __not_va_list__ for the dummy.
12238         * fixinc/*: Likewise.
12239
12240 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12241
12242         * cccp.c: PROTO -> PARAMS.
12243         * cexp.y: Likewise.
12244         * collect2.c: Likewise.
12245         * combine.c: Likewise.
12246         * convert.h: Likewise.
12247         * cse.c: Likewise.
12248         * dbxout.c: Likewise.
12249         * dbxout.h: Likewise.
12250         * diagnostic.c: Likewise.
12251         * doprint.c: Likewise.
12252         * dwarf2out.c: Likewise.
12253         * dwarf2out.h: Likewise.
12254         * dwarfout.c: Likewise.
12255         * dwarfout.h: Likewise.
12256         * dyn-string.h: Likewise.
12257
12258 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12259
12260         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12261         macro conditionals guarding use.
12262
12263         * dwarf2out.c: Include "tm_p.h".
12264
12265         * function.c (locate_and_pad_parm): Mark parameter with
12266         ATTRIBUTE_UNUSED.
12267         (expand_function_end): Likewise for variable `context'.
12268
12269         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12270
12271 2000-01-13  Nick Clifton  <nickc@cygnus.com>
12272
12273         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12274         register to prevent compile time warnings.
12275
12276 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
12277
12278         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12279         to avoid -Wtraditional warning.
12280
12281 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12282
12283         * 1750a-protos.h: New file.
12284
12285         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
12286         time warnings.
12287
12288         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
12289         warnings.
12290
12291         * 1750a.md: Likewise.
12292
12293 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12294
12295         * a29k-protos.h: New file.
12296
12297         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12298         time warnings.
12299
12300         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
12301         warnings.
12302
12303 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12304
12305         * clipper-protos.h: New file.
12306
12307         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
12308         time warnings.
12309
12310         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
12311         warnings.
12312
12313 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12314
12315         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12316
12317 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
12318
12319         * configure.in (--enable-new-gxx-abi): New option.
12320         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12321         * Makefile.in (GXX_ABI_FLAG): New variable.
12322         * configure: Regenerate.
12323
12324 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12325
12326         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12327         * tm.texi (FORCE_STRUCT_BLK): Document.
12328         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12329
12330 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
12331
12332         * config/ns32k/ns32k.md: Revert Jan 9 change.
12333
12334         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12335         to a mode-test, if the predicate is address_operand.
12336
12337 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
12338
12339         * combine.c (if_then_else_cond): Be careful about what kinds
12340         of RTL expressions are passed to operand_subword.
12341
12342         * flow.c (split_edge): If we have to insert a new jump, make
12343         sure to associate it with a basic block.
12344
12345         * flow.c (commit_one_edge_insertion): A block with one successor
12346         can end in a JUMP_INSN that is not a simplejump.
12347
12348 2000-01-12  Robert Lipe  <robertl@sco.com>
12349
12350         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12351         (BUILD_VA_LIST_TYPE): Define.
12352         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12353         with crtstuff.c.
12354
12355 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
12356
12357         * cccp.c (do_pragma): Add cast to (char *).
12358
12359 2000-01-12  Richard Henderson  <rth@cygnus.com>
12360             Fred Fish  <fnf@be.com>
12361             Jason Merrill  <jason@cygnus.com>
12362
12363         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12364         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12365         * i386/beos-elf.h, i386/beos-pe.h: New files.
12366
12367         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12368         * cross-make (SYSTEM_HEADER_DIR): Define using
12369         CROSS_SYSTEM_HEADER_DIR.
12370
12371         * gcc.c (LIBRARY_PATH_ENV): Provide default.
12372         (process_command): Use it.
12373         (main): Likewise.  Kill trailing = from env vars.
12374         (build_search_list): Put it back.
12375         * collect2.c (main): Use LIBRARY_PATH_ENV.
12376
12377         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12378         * toplev.c: Use NEED_DECLARATION_ENVIRON.
12379
12380         * tm.texi (Frame Layout): Document SMALL_STACK.
12381         * c-common.c (c_common_nodes_and_builtins): Check it.
12382
12383         * system.h: Undef alloca after including glibc's <stdlib.h>,
12384         if USE_C_ALLOCA is defined.
12385
12386         * gcc.c (set_input): New fn.
12387         (main): After all input files are compiled, reset the input file
12388         info to the first.
12389
12390         * aclocal.m4 (rindex, index): If already defined, don't attempt
12391         to redefine.
12392
12393         * ginclude/varargs.h: (__va_list__): Define ifndef.
12394         * ginclude/stdarg.h: Likewise.
12395
12396         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12397         instead of unsigned char.
12398
12399         * hash.h (true, false, boolean): Undef before enum.
12400
12401         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12402         proper type of "HOST_WIDE_INT *", rather than their natural type of
12403         "unsigned HOST_WIDE_INT *".
12404
12405 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12406
12407         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12408
12409         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12410
12411         * regclass.c (choose_hard_reg_mode): Likewise.
12412
12413         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12414
12415         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12416
12417 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12418
12419         * c-common.c: PROTO -> PARAMS.
12420         * c-common.h: Likewise.
12421         * c-decl.c: Likewise.
12422         * c-iterate.c: Likewise.
12423         * c-lang.c: Likewise.
12424         * c-lex.c: Likewise.
12425         * c-lex.h: Likewise.
12426         * c-parse.in: Likewise.
12427         * c-pragma.c: Likewise.
12428         * c-pragma.h: Likewise.
12429         * c-tree.h: Likewise.
12430         * c-typeck.c: Likewise.
12431         * objc/objc-act.c: Likewise.
12432         * objc/objc-act.h: Likewise.
12433
12434 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12435
12436         * m88k-protos.h: New file.
12437
12438         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12439         time warnings.
12440
12441         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
12442
12443         * m88k.md: Likewise.
12444
12445         * tekXD88.h: Likewise.
12446
12447 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12448
12449         * m68k-protos.h: New file.
12450
12451         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12452         time warnings.
12453
12454         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
12455
12456         * mot3300.h: Likewise.
12457
12458 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
12459
12460         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12461         extract_bitlst.
12462         (extract_bitlist): Declare bitlen.
12463
12464 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
12465
12466         * cccp.c: Accept and ignore -lang-fortran.
12467
12468         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12469         qualifiers don't match at any level of pointerness.
12470
12471 2000-01-12  Robert Lipe  <robertl@sco.com>
12472
12473         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12474
12475 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
12476
12477         * reload1.c (reload_reg_unavailable): New static variable.
12478         (reload_reg_free_p): Test it.
12479         (reload_reg_free_for_value_p): Test it instead of
12480         reload_reg_used.
12481         (choose_reload_regs_init): Compute it.
12482
12483 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
12484
12485         * reorg.c (fill_slots_from_thread): Check modified_in_p
12486         before replacing.
12487
12488 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
12489
12490         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12491         these nodes even if INTERNALS is not set.
12492
12493 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
12494
12495         * gcse.c (delete_null_pointer_checks_1): Cope when
12496         get_condition cannot determine the condition.
12497
12498 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
12499
12500         * toplev.h (set_message_length): Declare.
12501
12502         * diagnostic.c (obstack_chunk_alloc): Define macro.
12503         (obstack_chunk_free): Likewise.
12504         (struct output_buffer): New data structure.
12505         (vmessage): Remove.
12506         (output_maximum_width): New variable.
12507         (doing_line_wrapping, set_message_length, init_output_buffer,
12508         get_output_prefix, output_space_left, emit_output_prefix,
12509         output_newline, output_append, output_puts, dump_output,
12510         vbuild_message_string, build_message_string, build_location_prefix,
12511         voutput_notice, output_printf, line_wrapper_printf,
12512         vline_wrapper_message_with_location):  New functions. Implement
12513         automatic line wrapping.
12514         (v_message_with_decl): Make it handle automatic line wrapping.
12515         (v_error_with_file_and_line): Likewise.
12516         (v_warning_with_file_and_line): Likewise.
12517         (announce_function): Likewise.
12518         (default_print_error_function): Likewise.
12519
12520 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12521
12522         * cpplib.h (struct cpp_options): Change lang_asm to char.
12523         Add lang_fortran.
12524         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12525         done in cpp_handle_option now.
12526         (initialize_builtins): Take out special case code used only by
12527         __STDC_VERSION__.
12528         (cpp_handle_option): Turn off trigraphs and trigraph warnings
12529         if -traditional.  Recognize -lang-fortran and set
12530         lang_fortran, also turn off cplusplus_comments.
12531         (print_help): Document -lang-fortran.
12532         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12533         lang_asm. Ignore all directives other than `# 123 "file"' if
12534         CPP_PREPROCESSED.
12535         (cpp_get_token): If -traditional, don't recognize directives
12536         unless the # is in column 1.
12537         (parse_string): If lang_fortran or lang_asm, silently
12538         terminate strings ('' or "") at end of line.
12539         Remove unnecessary braces.
12540
12541 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12542             Richard Henderson  <rth@cygnus.com>
12543
12544         * resource.c (mark_referenced_resources): Mark a set strict_low_part
12545         as used.
12546         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12547         strict_low_part when possible.
12548
12549 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12550
12551         * alias.c: PROTO -> PARAMS.
12552         * basic-block.h: Likewise.
12553         * bitmap.c: Likewise.
12554         * bitmap.h: Likewise.
12555         * builtins.c: Likewise.
12556         * c-aux-info.c: Likewise.
12557         * caller-save.c: Likewise.
12558         * calls.c: Likewise.
12559
12560 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12561
12562         * Makefile.in (toplev.o): Depend on regs.h.
12563
12564         * output.h (tdesc_section): Prototype.
12565
12566         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12567
12568         * sdbout.c: Include "tm_p.h".
12569
12570         * toplev.c: Include "regs.h".
12571
12572 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
12573
12574         * unroll.c (unroll_loop): Add EH support.
12575
12576 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12577
12578         * pa-protos.h: New file.
12579
12580         * pa.c: Include recog.h and tm_p.h.
12581         (compute_zdepwi_operands, compute_movstrsi_length,
12582         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12583         find_addr_reg, import_milli): Add static prototypes.
12584         (pa_cpu_string, pa_arch_string): Constify a char*.
12585         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12586         (read_only_operand): Add argument `mode'.
12587         (singlemove_string, output_move_double, output_fp_move_double,
12588         output_block_move, output_and, output_ior, output_ascii,
12589         remove_useless_addtr_insns, milli_names, output_mul_insn,
12590         output_div_insn, output_mod_insn, output_arg_descriptor,
12591         output_cbranch, output_bb, output_bvb, output_dbra, ,
12592         output_millicode_call, output_call, hppa_encode_label,
12593         output_parallel_movb, output_parallel_addb): Constify a char*.
12594         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
12595         (output_parallel_addb): Remove extra arg to `constrain_operands'
12596
12597         * pa.h:  Move all prototypes to pa-protos.h.
12598         (pa_cpu_string, pa_arch_string): Constify a char*.
12599         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
12600
12601         * pa.md: Call `function_label_operand' with mode argument.
12602         Likewise for `read_only_operand'.
12603         Fix nesting of parens in call to `symbolic_operand'.
12604
12605 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12606
12607         * i860-protos.h: New file.
12608
12609         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
12610         time warnings.
12611
12612         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
12613
12614         * i860.md: Likewise.
12615
12616 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
12617
12618         * i386.md (movstrsi expander): Rewrite.
12619         (movstrsi_1 insn): Deleted.
12620         (strmovhi, strmovqi expander): New expanders.
12621         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
12622         * i386.c (x86_single_stringop): New global variable.
12623         * i386.h (x86_single_stringop): Declare.
12624         (TARGET_SINGLE_STRINGOP): New macro.
12625
12626 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12627
12628         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
12629         integer vararg POSTINCREMENT before the destination of the jump
12630         for the hard fp case.
12631         (function_arg_pass_by_reference): Pass a copy of CUM to
12632         FUNCTION_ARG.
12633
12634         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
12635         for CONSTANT_ADDRESS_P above while loop for subreg.
12636
12637 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
12638
12639         * flow.c (propagate_block): When a prologue/epilogue insn
12640         is marked dead, unconditionally clear libcall_is_dead and
12641         insn_is_dead, and only dump rtl if warnings aren't being
12642         suppressed.
12643
12644 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
12645
12646         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
12647         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
12648         (FIXED_REGISTERS): Set dirflag as fixed.
12649         (CALL_USED_REGISTERS): Set dirflag as used.
12650         (REG_ALLOC_ORDER): Set dirflag as last one.
12651         (DIRFLAG_REG): New macro.
12652         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
12653         (HI_REGISTER_NAMES): Add dirflag.
12654         (DEBUF_PRINT_REG): Handle dirflag.
12655         * i386.md (type attribute): New cld and str types.
12656         (length_opcode attribute): Set cld and str to 1.
12657         (memory attribute): Set str to unknown - it is not clear from the
12658         patterns.
12659         (pent_np function unit): Prefixed string operations takes 12 cycles
12660         minimally; cld takes 2 cycles.
12661         (ppro_uops attribute): Str is "many" and cld is "few".
12662         (ppro_p0 unit): Handle cld here.
12663         (k6_alux unit): Handle cld and str types.
12664         (k6_load unit): It is ocupied by str opcodes.
12665         (k6_store unit): It is ocupied by str opcodes.
12666         (athlon_decode): Str is vector decoded.
12667         (athlon_ieu): Handle str and cld.
12668         (cld pattern): New.
12669         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
12670         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
12671         cmpstrsi_nz_1 insn): Do not output cld instruction
12672
12673 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
12674
12675         * gcc.texi (G++ and GCC): Add Java and Chill.
12676         (Bug Critera): Don't list languages.
12677
12678         * gcc.texi (Incompatibilities): No longer claim most C compilers
12679         are K&R.
12680
12681         * gcc.texi (G++ and GCC): Update other front-ends list.
12682
12683 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
12684
12685         * i386.c (ix86_expand_setcc): Fix typo.
12686         (ix86_expand_movcc): Similarly.
12687
12688         * Band-aid until haifa's bitset implementation is nuked.
12689         * haifa-sched.c (extract_bitlst): New parameter for size of the
12690         bitset in bits.  All callers changed.  Avoid looking at undefined
12691         bits in the bitset.
12692         (edgeset_bitsize): New variable.
12693         (schedule_region): Initialize edgeset_bitsize.
12694
12695 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12696
12697         * Makefile.in (optabs.o): Depend on real.h
12698         (resource.o): Depend on insn-attr.h
12699
12700         * builtins.c (result_vector): Wrap prototype in macro conditions
12701         governing definition and use.
12702
12703         * c-common.c: Include tm_p.h.
12704
12705         * c-lex.c: Likewise.
12706
12707         * elfos.h: Constify a char*.
12708
12709         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
12710         (get_attr_length, shorten_branches, profile_after_prologue): Mark
12711         parameter with ATTRIBUTE_UNUSED.
12712
12713         * fold-const.c (exact_real_inverse): Wrap variable `i' in
12714         CHECK_FLOAT_VALUE.
12715
12716         * haifa-sched.c (schedule_insns): Mark parameter with
12717         ATTRIBUTE_UNUSED.
12718
12719         * optabs.c: Include real.h.
12720
12721         * real.h (ereal_atof): Add prototype arguments.
12722
12723         * resource.c: Include insn-attr.h.
12724
12725         * sdbout.c (sdbout_queue_anonymous_type,
12726         sdbout_dequeue_anonymous_types): Wrap in macro
12727         SDB_ALLOW_FORWARD_REFERENCES.
12728         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
12729         ATTRIBUTE_UNUSED.
12730
12731         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
12732
12733         * stupid.c: Include tm_p.h.
12734
12735         * tree.c (real_value_from_int_cst): Mark parameter with
12736         ATTRIBUTE_UNUSED.
12737
12738 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12739
12740         * i960-protos.h: New file.
12741
12742         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
12743         time warnings.
12744
12745         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
12746
12747 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12748
12749         * combine.c (expand_field_assignment): Do not discard SUBREGs
12750         while computing nonzero_bits.
12751
12752 2000-01-09  Nick Clifton  <nickc@cygnus.com>
12753
12754         * config/arm/arm.c: Fix compile time warnings about signed vs
12755         unsigned constants.
12756         * config/arm/arm.h: Fix compile time warnings about signed vs
12757         unsigned constants.
12758
12759 2000-01-09  Philip Blundell  <philb@gnu.org>
12760
12761         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
12762         than `ldm' with only one register.
12763         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
12764         only one register.
12765
12766         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
12767         clobbered.
12768
12769 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
12770
12771         * config/ns32k/ns32k.md (load or push effective address): Operand 1
12772         must have SImode.
12773
12774 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12775
12776         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
12777         assignment used as truth value.
12778
12779         * function.c (assign_temp): Mark parameter `dont_promote' with
12780         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
12781         PROMOTE_FOR_CALL_ONLY.
12782
12783         * genrecog.c (write_subroutine): Mark variable `operands' with
12784         ATTRIBUTE_UNUSED.
12785
12786         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
12787         ATTRIBUTE_UNUSED.
12788
12789         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
12790         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
12791
12792         * toplev.c (note_deferral_of_defined_inline_function): Likewise
12793         for `decl'.
12794
12795 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12796
12797         * config/c4x.h: Tidy up comments.
12798         * config/c4x.c: Likewise.
12799
12800 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
12801
12802         * fold-const.c (lshift_double, rshift_double): Handle
12803         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
12804
12805 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12806
12807         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
12808         in prepare_function_start().
12809
12810 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
12811
12812         * config/v850/v850.c (expand_epilogue): Interrupt functions no
12813         longer allocate extra stack for function calls.
12814
12815 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12816
12817         * config/c4x/c4x.md (*subqf3_set): Fix typo.
12818
12819 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12820
12821         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
12822
12823 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
12824
12825         * rs6000.c (processor_target_table): Add power3 as alias for 630.
12826         * aix43.h: Revert Aug 2 change.
12827         (HAS_INIT_SECTION): Define, not visible yet.
12828         (LD_INIT_SWITCH): Define, not visible yet.
12829         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
12830
12831         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
12832
12833         * collect2.c (main): Expand ld2 size further.
12834         (export_object_lst): Cast assignment to avoid warning.
12835         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
12836         (scan_prog_file, COFF): Do not collect initialization or
12837         finalization functions generated for entire shared object if
12838         init/fini support present.
12839
12840 2000-01-07  Nick Clifton  <nickc@cygnus.com>
12841
12842         * config/elfos.h: Tidy up formatting of marcos.  Make sure
12843         that .section directives are always prefixed by a tab.
12844
12845         * config/svr4.h: Add #include "elfos.h" and remove duplicate
12846         definitions.
12847
12848 2000-01-07  Matt Austern  <austern@sgi.com>
12849
12850         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
12851         expon.
12852
12853 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
12854
12855         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
12856         crtstuff.c.
12857         (crtbegin.o, s-crtS): Likewise.
12858
12859 2000-01-06  Richard Henderson  <rth@cygnus.com>
12860
12861         * alpha.md (adddi_2+1): Limit offset such that it will be
12862         loadable with a single ldah+lda pair.
12863         (adddi_2+2): Explicitly fail split if we can't make it work.
12864
12865 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
12866
12867         * protoize.c: Conditionally include unistd.h.
12868         (IS_SAME_PATH_CHAR): New macro.
12869         (IS_SAME_PATH): New macro.
12870         (CPLUS_FILE_SUFFIX): New macro.
12871         (cplus_suffix): New static variable.
12872         (is_abspath): New static function.
12873         (in_system_include_dir): Handle DOS style pathnames.
12874         (file_could_be_converted): Likewise.
12875         (file_normally_convertible): Likewise.
12876         (directory_specified_p): Likewise.
12877         (file_excluded_p): Likewise.
12878         (abspath): Likewise.
12879         (shortpath): Likewise.
12880         (referenced_file_is_newer): Likewise.
12881         (save_def_or_dec): Likewise.
12882         (do_processing): Likewise.
12883         (main): Likewise.
12884         (edit_file): Likewise. Use rename instead of link.
12885         (rename_c_file): Likewise. Don't rename syscalls file.
12886         (munge_compile_params): Define null device for DOS based systems.
12887         (process_aux_info_file): Use binary mode if appliable.
12888         (edit_file): Likewise.
12889         * invoke.texi (Running Protoize): Document C++ suffixes used.
12890
12891         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
12892         IS_DIR_SEPARATOR macros.
12893         * collect2.c: Likewise.
12894         * cppinit.c: Likewise.
12895         * dwarf2out.c: Likewise.
12896         * gcc.c: Likewise.
12897         * gcov.c: Likewise.
12898         * prefix.c: Likewise.
12899         * rtl.c: Likewise.
12900         * toplev.c: Likewise.
12901         * system.h: And move to here.
12902
12903         * prefix.c (update_path): Fix typo in variable name.
12904
12905 2000-01-06  Richard Henderson  <rth@cygnus.com>
12906
12907         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
12908         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
12909         (count_reg_sets_1, count_reg_references): Likewise.
12910         (flow_loops_level_compute): Start counting actual loop depth at 1.
12911         (flow_loops_find): Likewise.
12912         * local-alloc.c (update_equiv_regs): Likewise.
12913         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
12914
12915 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12916
12917         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
12918         FIRST_PSEUDO_REGISTER
12919         * dwarf2out.c: Don't include frame.h
12920         * dwarfout.c: Likewise
12921         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
12922         frame.h
12923
12924 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
12925
12926         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12927         dead registers.
12928
12929         * i386.c (movsf splitter): Fix typo in my last checkin.
12930
12931 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12932
12933         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
12934         own definition of this macro.
12935         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
12936         flag_data_sections or UNIQUE_SECTION_P are true.
12937
12938         * tm.texi (UNIQUE_SECTION): Document that it can be called for
12939         unitialised data decls.
12940
12941         * config/i386/winnt.c (i386_pe_unique_section): Cope with
12942         being called for uninitialised data.
12943
12944         * config/i386/interix.c (i386_pe_unique_section): Cope with
12945         being called for uninitialised data.
12946
12947         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
12948         for uninitialised data.
12949
12950         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
12951         for uninitialised data.
12952
12953         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
12954         for uninitialised data.
12955
12956         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
12957         (UNIQUE_SECTION_P): Always generate a unique section if
12958         flag_data_sections is true.
12959         (UNIQUE_SECTION): Also generate unique sections for
12960         uninitialised data.
12961         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
12962         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
12963         named_section().
12964
12965 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12966
12967         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
12968         SI, or DI.
12969
12970 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12971
12972         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
12973         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
12974         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
12975         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
12976         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
12977
12978         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
12979
12980 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12981
12982         * c-decl.c (finish_enum): Simplify code to determine minimum and
12983         maximum values of the enum, and calculate the type.  Remove check
12984         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
12985         the DECL_INITIAL of each enumeration constant with a copy converted
12986         to the enumeration type.  When updating variant types, don't bother
12987         updating the type itself.
12988
12989         * c-typeck.c (build_binary_op): Simplify conditional expressions
12990         when weeding out spurious signed-unsigned warnings.  Add new
12991         spurious warning category: if the unsigned quantity is an enum
12992         and its maximum value fits in signed_type(result_type).  Update
12993         commentary.
12994         (build_conditional_expr): Warn here if one alternative is signed
12995         and the other is unsigned.
12996
12997 2000-01-05  Nick Clifton  <nickc@cygnus.com>
12998
12999         * config/fr30/fr30.h: Remove extraneous comments.
13000
13001 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
13002
13003         * reload1.c (choose_reload_regs): When disabling a reload, also
13004         set reload_spill_index to -1.
13005
13006 2000-01-04  Joel Sherrill (joel@OARcorp.com>
13007
13008         * configure.in (m68*-*-rtemscoff*): New target, formal name for
13009         old m68*-*-rtems*.
13010         (m68*-*-rtemself*): New target.
13011         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
13012         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
13013         (sparc*-*-rtemself*): New target.
13014         (sparc*-*-rtems*): Now elf not a.out.
13015         * config/i386/rtems.h: Include config/rtems.h.
13016         * config/i386/rtemself.h: Include config/rtems.h.
13017         * config/i960/rtems.h: Include config/rtems.h.
13018         * config/m68k/rtems.h: Include config/rtems.h.
13019         * config/m68k/rtemself.h: Include config/rtems.h.
13020         * config/mips/rtems64.h: Include config/rtems.h.
13021         * config/pa/rtems.h: Include config/rtems.h.
13022         * config/rs6000/rtems.h: Include config/rtems.h.
13023         * config/sh/rtems.h: Include config/rtems.h.
13024         * config/sh/rtemself.h: Include config/rtems.h.
13025         * config/sparc/rtems.h: Include config/rtems.h.
13026         * config/sparc/rtemself.h: Include config/rtems.h
13027
13028 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
13029
13030         * final.c (shorten_branches): Correctly compute length of
13031         asms without operands.
13032
13033 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
13034
13035         * configure.in: Add pj target.
13036         * configure: Regenerate.
13037         * config/pj: New directory.
13038         * config/pj/lib1funcs.S: New file.
13039         * config/pj/linux.h: New file.
13040         * config/pj/pj.c: New file.
13041         * config/pj/pj.md: New file.
13042         * config/pj/pjl.h: New file.
13043         * config/pj/t-pj: New file.
13044         * config/pj/xm-pj.h: New file
13045
13046 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
13047
13048         * toplev.c (rest_of_compilation): Run shorten-branches before
13049         reg-stack for now.
13050
13051 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13052
13053         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13054         macros so that they're consistent with their names.
13055         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13056         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13057
13058 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13059
13060         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13061         modified inadvertently.
13062
13063 2000-01-04  Joel Sherrill <joel@OARcorp.com>
13064
13065         * configure.in (v850*-*-rtems*): New target.
13066         * configure: Regenerate.
13067         * config/v850/rtems.h: New file.
13068
13069 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
13070
13071         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13072         (__gthread_key_create): Likewise.
13073         (__gthread_key_dtor):  Likewise.
13074         (__gthread_once): Fix logic.
13075         (__gthread_key_delete): Cast away constness.
13076
13077         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13078         * invoke.texi: Document.
13079         * i386/mingw32.h (CPP_SPEC): Use.
13080         (LIBGCC_SPEC): Likewise.
13081         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13082
13083 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13084
13085         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13086         (HANDLE_PRAGMA_PACK): Undefine.
13087         (SLOW_UNALIGNED_ACCESS): Define.
13088
13089 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13090
13091         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13092         to default definition.
13093         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13094         (store_fixed_bit_field): Call macro with word_mode and alignment.
13095         (extract_bit_field): Call macro with relevant mode and alignment.
13096         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13097         to default definition.
13098         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13099         and alignment.
13100         (move_by_pieces_ninsns): Likewise.
13101         (clear_by_pieces): Likewise.
13102         (emit_push_insn): Likewise.
13103         (store_field): Call macro with relevant mode and alignment.
13104         (expand_expr): Likewise.
13105         (expand_expr_unaligned): Likewise.
13106
13107         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13108         (SLOW_UNALIGNED_ACCESS): Define.
13109         (CASE_VECTOR_MODE): Always use 32-bit offsets.
13110         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13111         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13112         (toc_section): Likewise and .toc pseudo-op.
13113         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
13114         64-bit mode.
13115         (TEXT_SECTION_ASM_OP): Likewise.
13116         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13117         32-bit offsets.
13118
13119         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13120         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13121         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13122         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13123         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13124
13125 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
13126
13127         * regclass.c: Revert my Jan 4 change to loop cost computation.
13128
13129 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13130
13131         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13132         compilation.
13133
13134 2000-01-04  Stan Cox  <scox@cygnus.com>
13135
13136         * haifa-sched.c (build_control_flow): Change unreachable simple
13137         loop test to check if current block has only one predecessor.
13138         (find_rgns): Initialize degree.  Use dest as degree index, not src.
13139
13140 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13141
13142         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13143
13144         * calls.c (expand_call): Likewise for
13145         `old_stack_arg_under_construction'.
13146
13147         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13148
13149         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13150         `save_constant'.
13151
13152         * gcc.c (execute): Likewise for `ut' and `st'.
13153
13154         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13155
13156         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13157
13158         * jump.c (jump_optimize_1): Likewise for `temp2'.
13159
13160         * local-alloc.c (block_alloc): Likewise for `r1'.
13161
13162         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
13163
13164         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
13165         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
13166
13167         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
13168         and `set2'.
13169
13170         * reload.c (find_reloads): Likewise for `goal_alternative_number'
13171         and `goal_earlyclobber'.
13172
13173         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
13174
13175         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
13176
13177         * stupid.c (stupid_life_analysis): Likewise for `chain'.
13178
13179         * unroll.c (copy_loop_body): Likewise for `copy'.
13180
13181         * varasm.c (output_constructor): Likewise for `byte'.
13182
13183 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13184
13185         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
13186         all FP constants for constant->reg moves.
13187         (ix86_split_to_parts): Try to convert memory address into immediate
13188         when available in the constant pool.
13189         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
13190         moves.
13191         (LEGITIMATE_CONSTANT_P): Return 1.
13192         * i386.md (pushsf): New splitter to convert constant pool memory
13193         reference to immediate.
13194         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
13195         reload.
13196
13197 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
13198
13199         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
13200         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
13201         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
13202         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
13203         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
13204
13205 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
13206
13207         * ginclude/stdbool.h:  Support compilation as C++.
13208
13209 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13210
13211         * fold-const.c (make_range): Don't try to reverse an unbounded range.
13212
13213 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
13214
13215         * regclass.c (regclass): Properly compute loop_cost.  Adjust
13216         comments.
13217
13218         * regclass.c: Fix minor whitespace problems.
13219
13220 2000-01-03  Anthony Green  <green@cygnus.com>
13221
13222         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
13223         Restore the pic register if required.
13224
13225 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
13226
13227         * c-common.c (format_char_info): Update comment.
13228         (check_format_info): Recognize 'z' modifier in the same way 'Z'
13229         was recognized.  Emit warning for formats new in ISO C99 only
13230         if flag_isoc9x is not set.
13231
13232 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
13233
13234         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
13235
13236 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13237
13238         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
13239         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
13240         (make_compound_operation): Choose cheaper alternative between
13241         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13242
13243         * regclass.c (op_costs): Remove global variable.
13244         (record_reg_classes): New parameter "op_costs" and "reg_pref".
13245         (record_operand_costs): Break out from ...
13246         (scan_one_insn): ... here.
13247         (dump_regclass): Make dumps nicer.
13248         (regclass): Dump preferrences choosed and changes done during passes.
13249
13250 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13251
13252         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13253
13254 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13255
13256         * config/sparc/sparc.c (gen_df_reg): New function.
13257         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13258         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13259         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13260         movtf_cc_reg_sp64+1): Use it.
13261
13262 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13263
13264         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13265         copied LABEL_DECLs.
13266
13267 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13268
13269         * config/i386/i386.c (ix86_expand_unary_operator): Function
13270         definition made void.
13271         (ix86_expand_binary_operator): Update outdated preceding comment.
13272         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13273         prototype.
13274
13275         * config/i386/i386.c (override_options): Fix option-name typo.
13276
13277 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13278
13279         * system.h (CEIL): Define.
13280         * builtins.c (CEIL): Remove.
13281         * expmed.c (CEIL): Likewise.
13282         * expr.c (CEIL): Likewise.
13283         * stor-layout.c (CEIL): Likewise.
13284
13285 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13286
13287         * expr.c (store_constructor_field): Fix typo introduced with last
13288         gcc2 merge.
13289
13290 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
13291
13292         * tree.h (BINFO_N_BASETYPES): New macro.
13293
13294 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13295
13296         * expmed.c (emit_store_flag): Prevent losing a pending stack
13297         adjust the same way we prevent losing queued increments.
13298
13299 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13300
13301         * function.c (update_temp_slot_address): Handle case where sum of
13302         temporary address plus offset in register is a valid address.
13303
13304 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
13305
13306         * genrecog.c (change_state) Corrected typo.
13307
13308 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13309
13310         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13311         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13312         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13313
13314 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13315
13316         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13317         case, expand GT comparisons correctly.  Fix a comment before this
13318         part of the code.
13319
13320 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13321
13322         * dwarfout.c: Include "frame.h"
13323         * dwarf2out.c: Likewise.
13324         * Makefile.in (dwarfout.o): Depend on frame.h
13325         (dwarf2out.o): Likewise.
13326
13327 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13328
13329         Restore i386 binary compatibility in Dwarf EH info.
13330         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13331         value of FIRST_PSEUDO_REGISTER.
13332         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13333         (struct frame_state): Use DWARF_FRAME_REGISTERS.
13334         * dwarfout.c (output_reg_number): Ditto.
13335         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13336         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13337
13338 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
13339
13340         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13341         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13342         (<hack>_RE_CT): not needed
13343         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13344         rewritten to scan the file text once only
13345         "template<..." test added
13346         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13347         (is_cxx_header): declaration added
13348         * fixinc/fixtests.c(is_cxx_header): removed
13349         (apply_fix_p_t): removed
13350         (double_slash_test): is_cxx_header is only called once now
13351         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13352         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13353         within the templates.
13354         The borken spelling of "broken" was fixed.
13355         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13356         The default level depends on FIXINC_DEBUG.
13357
13358 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13359
13360         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13361         Otherwise provide a declaration for atexit.
13362         (init_dummy): Make sure dummy call to atexit is nevertheless
13363         called with correct number of args.
13364
13365         * frame.c: Update comments referring to other files.
13366
13367         * libgcc2.c: Likewise.
13368
13369 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13370
13371         * cse.c (free_element, get_element): Remove unused prototypes.
13372
13373         * fold-const.c (extract_muldiv): Initialize variables `op0' and
13374         `op1'.
13375
13376         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13377         `else' clauses.
13378
13379 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
13380
13381         * configure.in,configure: case arm for mn10200-*-* now sets
13382         float_format=i32 so that float.h will correctly claim "double"
13383         to be 32 bits. Ran autoconf to generate configure from .in file.
13384
13385 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
13386
13387         * pa.md (conditional zero): If op1 is a register, force it into
13388         the same register as op0.
13389
13390 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
13391
13392         * tree.h (BINFO_BASETYPES): Improve documentation.
13393
13394 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13395
13396         * configure.in (--enable-checking): Use a more portable `for'
13397         loop syntax.
13398
13399 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13400
13401         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13402         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13403
13404         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13405         Delete files.
13406
13407         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13408         Delete descriptions.
13409
13410         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13411         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13412         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13413         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13414         xm-svr4.h: Remove all instances of sys_siglist handling.
13415
13416 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
13417
13418         * config/sparc/sparc.md (cmp_zero_qi,
13419         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13420         cmp_zero_extendqidi2_andcc_set): New patterns.
13421
13422 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
13423
13424         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13425         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13426         (fpgnulib.c, xfgnulib.c): Add rules.
13427         * m68k/t-mot3300-gas: Likewise.
13428
13429 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
13430
13431         * configure.in: Avoid [[ by using test and changequote.  Add
13432         changequote required by 1999-12-14 change.
13433         * configure: Rebuild.
13434
13435 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
13436
13437         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13438
13439 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
13440
13441         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13442         * flow.c (find_use_as_address): Likewise.
13443         * function.c (fixup_var_refs_1): Likewise.
13444         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13445         * jump.c (invert_exp, redirect_exp): Likewise.
13446         * loop.c (replace_call_address): Likewise.
13447         (count_nonfixed_reads): Likewise.
13448         * rtlanal.c (modified_between_p): Likewise.
13449         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13450         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13451         * unroll.c (remap_split_bivs): Likewise.
13452
13453 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13454
13455         * diagnostic.c (v_message_with_decl): Use .* format specifier
13456         instead of building the format specifier width manually.
13457
13458         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13459         determining whether to provide a prototype.  Remove the
13460         sys_siglist clause in the conditional.
13461
13462 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13463
13464         * fold-const.c (operand_equal_p): Use memcmp to compare string
13465         constants.
13466         Suggested by D. J. Bernstein
13467
13468 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
13469
13470         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13471         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13472         compiling libgcc2.
13473         * config/mips/mips.h (TARGET_64BIT): Likewise.
13474         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13475         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13476         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
13477         dsps.  Give routines proper names if SI/DI modes are not used.
13478         * longlong.h: Use DWunion instead of DIunion.
13479
13480 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
13481
13482         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13483         GC_CHECKING, GC_ALWAYS_COLLECT.
13484         * configure.in: Allow --enable-checking with an argument
13485         listing check modes to enable.
13486         * config.in, configure: Rebuilt.
13487         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13488         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13489         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
13490         ENABLE_GC_ALWAYS_COLLECT.
13491         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13492         throughout.
13493         * tree.h, tree.c: Change ENABLE_CHECKING to
13494         ENABLE_TREE_CHECKING throughout.
13495
13496 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13497
13498         * fold-const.c (fold_truthop): Properly check for FP RHS.
13499
13500 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
13501
13502         * toplev.h (note_deferall_of_defined_inline_function): Declare.
13503         * toplev.c (note_deferral_of_defined_inline_function): New
13504         function, split out from ...
13505         (rest_of_compilation): ... here.  Use it.
13506
13507 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13508
13509         * expr.c (store_constructor): Don't call clear_storage if size is
13510         variable.
13511
13512 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13513
13514         * Makefile.in (toplev.o): Depend on loop.h.
13515
13516         * dwarfout.c: Include tm_p.h.
13517
13518         * emit-rtl.c (restore_emit_status): Mark parameter with
13519         ATTRIBUTE_UNUSED.
13520
13521         * final.c (final_scan_insn): Likewise.
13522
13523         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13524         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13525         flow_depth_first_order_compute, flow_loop_pre_header_find,
13526         flow_loop_tree_node_add, flow_loops_tree_build,
13527         flow_loop_level_compute, flow_loops_level_compute,
13528         flow_loop_outside_edge_p): Add prototypes.
13529         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13530
13531         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13532         Mark with ATTRIBUTE_NORETURN.
13533
13534         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13535
13536         * local-alloc.c (no_conflict_p): Likewise.
13537
13538         * loop.c (insert_bct): Hide definitions of variables with hidden
13539         usage.
13540         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13541
13542         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13543         with ATTRIBUTE_UNUSED.
13544         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13545         (reg_scan): Likewise.
13546
13547         * reload.c (find_reloads): Remove unused variables `changed'.
13548
13549         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13550         away const-ness.
13551         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13552         Remove unused variable `insn'.
13553
13554         * toplev.c: Include loop.h.
13555         (report_file_and_line): Remove unnecessary prototype.
13556
13557         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13558
13559         * unroll.c (biv_total_increment): Likewise.
13560
13561 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13562
13563         * reload1.c (emit_input_reload_insns): Restore old behaviour
13564         wrt. 'special' reloads.
13565
13566 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
13567
13568         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13569         hash.h.  (cse.c): Don't depend on hashtab.h.
13570
13571         * cse.c: Don't include hashtab.h.
13572         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13573         of dead functions.
13574         * ggc-simple.c: Don't include hash.h.
13575
13576 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
13577
13578         * dwarf2out.c (add_abstract_origin_attribute): Call
13579         gen_abstract_function on our function context.
13580
13581 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13582
13583         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13584
13585 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13586
13587         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
13588         case in switch.
13589
13590 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13591
13592         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
13593         constraints to "a!r".
13594
13595 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
13596
13597         * Makefile.in (calls.o): Depend on function.h.
13598         (alias.o): Likewise.
13599
13600 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
13601
13602         * reload1.c (emit_reload_insns): Break out code and variables into...
13603         (input_reload_insns, other_input_address_reload_insns,
13604         other_input_reload_insns, input_address_reload_insns,
13605         inpaddr_address_reload_insns, output_reload_insns,
13606         output_address_reload_insns, outaddr_address_reload_insns,
13607         operand_reload_insns, other_operand_reload_insns,
13608         other_output_reload_insns): ... new static variables, and...
13609         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
13610         do_output_reload): ... new functions.
13611
13612 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13613
13614         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
13615
13616 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13617
13618         * md.texi: Add c4x constraints documentation.
13619
13620 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13621
13622         * config/i386/dgux.c (struct option): Rename to
13623         lang_independent_option.
13624         (struct m_options): Add description field.
13625         (output_options): Rename option type, add sep declaration, output
13626         ix86_cpu_string and ix86_arch_string only if set.
13627         (output_file_start): Rename option type.
13628
13629 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
13630
13631         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
13632         stmp-int-hdrs.
13633         (libgcc2.a): Similarly.
13634
13635 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
13636
13637         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
13638         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
13639         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
13640
13641 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
13642
13643         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
13644         Remove redundant initialization of "frexpon" and "expon".
13645
13646 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13647
13648         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
13649
13650         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
13651         (store_constructor_field, expand_expr): Pass new arg.
13652
13653 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
13654
13655         * Makefile.in (explow.o): Depend on function.h.
13656
13657         * stor-layout.c (set_sizetype): Fix typo.
13658
13659 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
13660
13661         * function.c (cfun): Renamed from current_function.  All users
13662         changed.
13663         * function.h (cfun): Rename declaration as well.
13664
13665         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
13666         to be of type regset_head, not regset.  All users changed by adding
13667         address operator.
13668         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
13669
13670 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13671
13672         * config/c4x/rtems.h: New file.
13673
13674 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13675
13676         * reload1.c (spill_failure): Take class of failed reload as argument
13677         and print it.  Caller changed.
13678
13679 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13680
13681         * rs6000.h (SUBTARGET_DEFAULT): New macro.
13682         (TARGET_SWITCHES): Allow subtargets to default switches.
13683         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
13684
13685 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
13686
13687         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
13688         in a main program.
13689
13690 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
13691
13692         * cccp.c (main): Define __STDC_VERSION__ as necessary.
13693         * cppinit.c (cpp_handle_option): Likewise.
13694
13695         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
13696         determine when to define.
13697
13698 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
13699
13700         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
13701         cmove with mismatched test and data modes.
13702
13703 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
13704
13705         * c-typeck.c (c_expand_start_case): Don't warn for long switch
13706         in system headers.
13707
13708 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13709
13710         * alias.c: Minor reformatting.
13711         * flow.c: Likewise.
13712         * regs.h: Likewise.
13713         * stor-layout.c: Likewise.
13714         * fold-const.c: Likewise.
13715         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
13716         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
13717         not arg itself.
13718         (size_int_wide): Cache nodes even if garbage collecting.
13719         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
13720         of SAVE_EXPR has no side effects.
13721         * cse.c: Move a comment.
13722         * tree.c: Minor reformatting.
13723         (int_size_in_bytes): Return -1 if constant overflows.
13724
13725 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13726
13727         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
13728
13729 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
13730
13731         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
13732         after any change to c-parse.in, even if objc-parse.y didn't
13733         change.  Oops.
13734
13735 1999-12-18  David S. Miller  <davem@redhat.com>
13736
13737         * toplev.c (rest_of_compilation): Restore BLOCK tree
13738         reconstruction and branch shortening changes lost in
13739         December 18th change.
13740
13741 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
13742
13743         * config/arm/linux-elf.h: Change all instances of
13744         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
13745         * config/arm/uclinux-elf.h: Likewise.
13746
13747 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
13748
13749         * toplev.c (notice, vmessage, v_message_with_file_and_line,
13750         v_message_with_decl, file_and_line_for_asm,
13751         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
13752         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
13753         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
13754         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
13755         pfatal_with_name, fatal_io_error, need_error_newline,
13756         last_error_function, last_error_tick, announce_function,
13757         default_print_error_function, print_error_function,
13758         report_error_function, fnotice, error_with_file_and_line,
13759         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
13760         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
13761         warning_with_decl, warning_for_asm, warning, pedwarn,
13762         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
13763         diagnostic.c
13764         (compile_file): Use fnotice instead of notice.  Adjust call.
13765
13766         * diagnostic.c: New file.
13767
13768         * Makefile.in (OBJS): Include diagnostic.o
13769         (diagnostic.o): Define dependence.
13770
13771 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13772
13773         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
13774         Tweak formatting.
13775
13776 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13777
13778         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
13779
13780 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13781
13782         * fixtests.c (is_cxx_header): New fn, split out of
13783         double_slash_test.
13784         (else_endif_label): Allow "#endif // comment" in C++ headers,
13785         as determined by is_cxx_header.
13786         * fixfixes.c (else_endif_label_fix): Update comment.
13787         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
13788         a tty.
13789         * genfixes: Correct double thinko in commandline parsing.
13790         * hackshell.tpl: Generate correct sh syntax for bypass
13791         entries.
13792
13793         * inclhack.def (all): Whenever an inserted preprocessor
13794         conditional is split over multiple lines, use double
13795         backslashes in this file so the fixed header will be readable.
13796
13797         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
13798         and add bypass entry for correct version of this header.
13799         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
13800         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
13801
13802         (hpux8_bogus_inlines): New fix, split from...
13803         (ultrix_atof_param) ... here.
13804         (math_expression): Add bypass entry keyed to glibc comment
13805         indicating the problem has been dealt with; disable
13806         unnecessary sed operations; update commentary.
13807         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
13808         add select and bypass entries, simplify shell operation.
13809         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
13810
13811         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
13812          ultrix_atof_param): Add select entry.
13813         (stdio_va_list, sunos_mather_decl): Add bypass entry.
13814         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
13815         comments with the fixes they describe.
13816
13817         * c-parse.in (string action): Do not warn about ANSI string
13818         concatenation in system headers.  Affects C parser only.
13819         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
13820
13821 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13822
13823         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
13824         compiling libgcc2 the macro depends always on arch cpp defines.
13825
13826 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
13827
13828         * loop.c (insert_loop_mem): Don't record MEMs from inside
13829         EXPR_LISTs.
13830
13831 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
13832
13833         * regclass.c (regclass): Do not use flowgraph when not optimizing.
13834
13835         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
13836         notes too, create one when replacement failed, attempt to simplify
13837         resulting notes.
13838         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
13839         or REG_EQUIV notes.
13840
13841 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13842
13843         * crtstuff.c (__dso_handle): Declare.
13844         (__cxa_finalize): Likewise.
13845         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
13846         non-NULL.
13847
13848         * invoke.texi: Document -fuse-cxa-atexit.
13849
13850         * tree.h (ptr_type_node): Document.
13851         (const_ptr_type_node): Likewise.
13852
13853 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13854
13855         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
13856         (optimize_reg_copy_2): Likewise.
13857         (optimize_reg_copy_3): Likewise.
13858         (fixup_match_2): Likewise.
13859         (regmove_optimize): Likewise.
13860         (fixup_match_1): Liekwise.
13861
13862         * i386.md (HI to SImode promoting splitters): Rewrite.
13863         (pushsf mem peep2): New.
13864         (testhi to andhi peep2): Remove.
13865         * i386.h (x86_promote_QImode): New.
13866         (TARGET_PROMOTE_QImode): New.
13867         (PREDICATE_CODES): Add promotable_binary_operator.
13868         * i386.c (x86_promote_QImode0: New.
13869         (promotable_binary_operator): New.
13870         * i386-protos.h (promotable_binary_operator): New.
13871
13872         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
13873         condition.
13874         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
13875
13876 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
13877
13878         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
13879         * function.c (insert_block_after_note): Remove.
13880         (retrofit_block): Likewise.
13881         (identify_blocks): Fix indentation.
13882         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
13883         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
13884         * function.h (insert_block_after_note): Remove prototype.
13885         (retrofit_block): Likewise.
13886         * integrate.c (expand_inline_function): Don't call
13887         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
13888         just expand_start_bindings.  Use the block_map to remap old
13889         NOTE_BLOCKs to new ones.
13890         (integrate_decl_tree): Keep track of remapped blocks.
13891         * integrate.h (struct inline_remap): Add block_map.
13892         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
13893         NOTE_BLOCK on the notes.
13894         (expand_start_bindings): Rename to ...
13895         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
13896         (expand_end_bindings): Set NOTE_BLOCK.
13897         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
13898         reconstruct the BLOCK tree.
13899         * tree.h (expand_start_bindings): Macroize.  Call ...
13900         (expand_start_bindings_and_block): New function.
13901
13902 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
13903
13904         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
13905         to match the format.
13906
13907 1999-12-16  David S. Miller  <davem@redhat.com>
13908
13909         * expr.c (emit_move_insn_1): Only emit clobbers if one of
13910         the outputs is a SUBREG.
13911         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
13912         change.
13913
13914         * config/sparc/sparc.c (epilogue_renumber): Add default case
13915         to switch stmt.
13916
13917 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13918
13919         * toplev.c (rest_of_compilation): Run branch shortening after
13920         reg-stack.
13921
13922         * regclass.c (loop_depth): Remove
13923         (scan_one_insn): Do not handle LOOP_NOTE insns.
13924         (regclass): Go through basic blocks and set loop_cost
13925
13926 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
13927
13928         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
13929
13930 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13931
13932         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
13933         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
13934         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
13935
13936 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
13937
13938         * loop.c (insert_loop_mem): Ignore memory clobbers.
13939
13940         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
13941         to (OP A B).
13942
13943 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
13944
13945         * profile.c: Remove redundant #include "output.h".
13946
13947         * h8300.md (HImode preinc peephole): Fix typo.
13948
13949 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13950
13951         * function.c (retrofit_block): Abort if we don't find a suitable insn.
13952         (insert_block_after_note): Abort if we don't have a previous block.
13953         Remove FN parameter.
13954         * function.h: Adjust.
13955
13956 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
13957
13958         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
13959         argument more than once.
13960
13961 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
13962
13963         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
13964
13965 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
13966
13967         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
13968
13969 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13970
13971         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
13972         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
13973         update stack_alignment_needed.
13974         (prepare_function_start): Initialize stack_alignment_needed
13975         * function.h (struct function): Add field stack_alignment_needed.
13976
13977 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13978
13979         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
13980         Handle live_throughout / dead_or_set instead of live_before /
13981         live_after.
13982         (save_call_clobbered_regs): Get register livenessinformation from
13983         chain->live_throughout.
13984         (add_stored_regs): New function.
13985         (insert_restore, insert_save): Add restored / saved registers to
13986         dead_or_set.
13987         * global.c (reg_dies): New parameter chain.
13988         (reg_becomes_live): Third parameter is regs_set now.
13989         Changed all callers.
13990         (reg_dies): New parameter chain.  Changed all callers.
13991         (build_insn_chain): Set live_throughout instead of
13992         live_before / live_after.
13993         * reload.h (struct insn_chain): Replace members live_before /
13994         live_after with live_throughout / dead_or_set.
13995         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
13996         instead of live_before / live_after.
13997         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
13998         (order_regs_for_reload, find_reg, finish_spills): Likewise.
13999         (choose_reload_regs_init): Likewise.
14000         * stupid.c (current_chain, find_clobbered_regs): Delete.
14001         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
14002         instead of chain->live_before / chain->live_after.
14003         (mark_hard_ref): New function.
14004         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
14005
14006 1999-12-15  David S. Miller  <davem@redhat.com>
14007
14008         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
14009
14010 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14011
14012         * flow.c (calculate_loop_depth): Make global, remove prototype,
14013         rewrite to use new loop infrastructure.
14014         (find_basic_block): Remove calculate_loop_depth call.
14015         * toplev.c (rest_of_compilation): Call find_basic_block.
14016         * output.h (calculate_loop_depth): Declare.
14017
14018         * flow.c (dump_flow_info): Dump loop_depth.
14019         (flow_loops_nodes_find): Increase loop_depth for basic block in the
14020         body.
14021         (flow_loops_find): Initialize the loop_depth for each basic block.
14022
14023 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14024
14025         * tree.c (decl_function_context): Handle virtual functions.
14026
14027         * tlink.c (scan_linker_output): Don't look in demangled name when
14028         looking for linker output keywords.
14029
14030         * dwarfout.c (output_type): We can defer namespace-scope classes.
14031
14032 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
14033
14034         * regclass.c (record_reg_classes): Update comment for merging
14035         register class preferences in reg->reg copies.  Tighten conditions
14036         for merging register class preferences in reg->reg copies.
14037
14038 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
14039
14040         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14041
14042 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
14043
14044         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14045         (INIT_SECTION_ASM_OP): Delete.
14046         (FINI_SECTION_ASM_OP): Delete.
14047         (STARTFILE_SPEC): Define to hold just crtbegin.o.
14048
14049 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
14050
14051         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14052         the abstract origin wasn't emitted.
14053
14054         * dwarf2out.c (class_scope_p): New fn.
14055         (gen_subprogram_die): Use it.
14056         (gen_variable_die): Use it.  Tweak logic.
14057         (gen_struct_or_union_type_die): Check context_die to determine
14058         if we're function-local.
14059         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14060
14061 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14062
14063         * loop.c (check_dbra_loop): Can't reverse a biv that has
14064         maybe_multiple set.
14065
14066 1999-12-14  Nick Clifton  <nickc@cygnus.com>
14067
14068         * config/arm/arm.c: Add support for -mcpu=arm720 command line
14069         switch.
14070
14071 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14072
14073         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14074         for givs made from biv increments.
14075
14076 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
14077
14078         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14079         * alpha.c (override_options): Recognize -mcpu=ev67.
14080         * alpha.h (CPP_CPU_EV67_SPEC): New.
14081         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14082         (EXTRA_SPECS): Update.
14083
14084 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
14085
14086         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14087         appropriate for -lang-c89 and -std=*.
14088         * cppinit.c (cpp_handle_option): Likewise.
14089         (new_pending_define): New, split out from cpp_handle_option.
14090         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14091         or enable trigraphs for -ansi/-std=*.
14092
14093         * ginclude/stdarg.h (__va_copy): New.
14094         (va_copy): Don't define for C89.
14095
14096 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
14097
14098         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14099         for long long multiply-accumulate.
14100
14101 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14102
14103         * regclass.c (scan_one_insn): Set loop_cost to 1 when
14104         optimizing for size.
14105
14106 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14107
14108         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14109         if something changed.  Back out that part of yesterday's changes.
14110
14111         * loop.c (loop_max_reg): New static variable.
14112         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
14113         max_reg_num.
14114         (scan_loop): Call reg_scan_update whenever we may have added new
14115         registers, and update loop_max_reg.
14116
14117 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14118
14119         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
14120         when source does not die.
14121
14122         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14123
14124 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
14125
14126         * config/sparc/linux64.h (TARGET_LIVE_G0,
14127         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14128         variants on Linux.
14129         * config/sparc/linux.h (TARGET_LIVE_G0,
14130         TARGET_BROKEN_SAVERESTORE): Likewise.
14131         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14132         TARGET_BROKEN_SAVERESTORE): Likewise.
14133
14134         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14135         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14136         not %g2.
14137         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14138         as sparc64 block profiling register.
14139         * config/sparc/sparc.c (sparc_override_options): Allow block
14140         profiling with -m32.
14141         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14142         profiling register.
14143         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14144         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14145         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14146
14147         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14148         for sparc64.
14149         * config/sparc/sparc.h: Likewise.
14150         * config/sparc/xm-sysv4-64.h: Likewise.
14151         * config/float-sparc.h: Likewise.
14152         * glimits.h: Likewise.
14153         * longlong.h: Likewise.
14154
14155         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14156         (ASM_IDENTIFY_GCC): Remove.
14157
14158 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14159
14160         * combine.c (combine_simplify_rtx): Don't make shared rtl.
14161         (simplify_logical): Likewise.
14162
14163 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14164
14165         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
14166         * cppfiles.c (INO_T_EQ): Likewise.
14167
14168 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14169
14170         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
14171         * i386/mingw32.h (LIB_SPEC): Likewise.
14172         (STARTFILE_SPEC): Likewise.
14173         * i386/uwin.h (LIB_SPEC): Likewise.
14174         (STARTFILE_SPEC): Likewise.
14175
14176         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
14177         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
14178
14179 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
14180
14181         * combine.c (combine_simplify_rtx): Fix order of checks for
14182         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
14183
14184 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
14185
14186         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
14187         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
14188
14189 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14190
14191         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
14192         defined.
14193         * regclass.c (inv_reg_alloc_order): New array.
14194         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
14195
14196         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
14197         counted_for_groups, counted_for_nongroups.  Add fields rld and
14198         n_reloads.
14199         * reload.c (push_secondary_reload): Don't set nongroup field of
14200         new reloads.
14201         (push_reload): Likewise.
14202         (find_reloads): Delete code to compute nongroup fields.
14203         * reload1.c (reload_insn_firstobj): New static variable.
14204         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
14205         users changed.
14206         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
14207         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
14208         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
14209         functions.
14210         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
14211         functions.
14212         (struct hard_reg_n_uses): Deleted.
14213         (potential_reload_regs): Deleted.
14214         (init_reload): Initialize spilled_pseudos and pseudos_counted.
14215         (reload): Don't try to allocate reload registers if we already know
14216         we have to make another pass.  Call select_reload_regs.  Free memory
14217         starting with reload_firstobj when starting another pass.
14218         Don't allocate spilled_pseudos.
14219         (calculate_needs_all_insns): Call copy_reloads for an insn that
14220         needs reloads; don't call calculate_needs.
14221         (spill_cost): New static array.
14222         (used_spill_regs_local): New static variable.
14223         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
14224         to compute potential_reload_regs.
14225         (find_reload_regs): Completely rewritten to use find_reg.
14226         (allocate_reload_reg): Don't test counted_for_groups or
14227         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
14228         all cllers changed.
14229         (choose_reload_regs): Add fallback code that uses the existing
14230         register allocation from find_reload_regs.
14231
14232 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
14233
14234         * flow.c (create_edge_list): Cast xmalloc return value.
14235
14236 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
14237
14238         * doprnt.c: Remove incorrect comment closure.
14239
14240         * cse.c: Fix a few minor whitespace goofs.
14241
14242 1999-12-13  Don Bowman  <don@pixstream.com>
14243
14244         * mips/vxworks.h: Fix problem with comment termination.
14245         (EXTRA_SECTIONS): Add in_sbss.
14246         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14247
14248 1999-12-12  David S. Miller  <davem@redhat.com>
14249
14250         * cse.c (struct cse_reg_info): Add hash_next member,
14251         reorder rest of struct for better packing on 64-bit
14252         hosts.
14253         (cse_reg_info_tree): Kill.
14254         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14255         REGHASH_FN): New custom pow2 hash mechanism.
14256         (NBUCKETS): Kill.
14257         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14258         use a pow2 hash table.
14259         (get_cse_reg_info): Rework to use new REGHASH.
14260         (new_basic_block): Likewise, use HASH_SIZE, and inline
14261         free_element call.
14262         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14263         and inline free_element call.
14264         (lookup_as_function, insert, flush_hash_table, invalidate,
14265         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14266         invalidate_for_call, use_related_value, find_comparison_args,
14267         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14268         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14269         get_element): Kill.
14270
14271 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
14272
14273         * cse.c (cse_basic_block): Free qty_table consistently.
14274
14275 1999-12-12  David S. Miller  <davem@redhat.com>
14276             Jakub Jelinek    <jakub@redhat.com>
14277
14278         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14279         SUBREGs by hand, gen the appropriate hard reg directly.
14280         (movtf reg/mem split): Likewise and alter_subreg on destination
14281         if necessary.
14282         (movtf mem/reg split): Similarly.
14283         (movdf_cc_sp64): Rename from hidden pattern.
14284         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14285         (movtf_cc_sp64, following split): New pattern and splitter.
14286         (movdf_cc_reg_sp64): Rename from hidden pattern.
14287         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14288         TARGET_HARD_QUAD.
14289         (movtf_cc_reg_sp64, following split): New pattern and splitter.
14290
14291 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
14292
14293         * loop.c (load_mems): Don't hoist written floating point mem
14294         if -ffloat-store.
14295
14296 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
14297
14298         * except.h (struct eh_queue): Add `next' pointer.
14299         (struct eh_status): Make x_ehqueue a pointer.
14300         (push_ehqueue):  Declare.
14301         (pop_ehqueue): Likewise.
14302         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14303         pointer.
14304         (expand_fixup_region_end): Likewise.
14305         (expand_leftover_cleanups): Likewise.
14306         (push_ehqueue): Define.
14307         (pop_ehqueue): Likewise.
14308         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14309         than doing it inline.
14310         (expand_start_all_catch):  Adjust now that ehqueue is a
14311         pointer.
14312         (mark_eh_queue): Mark all level of the queue.
14313         (mark_eh_status):  Adjust now that ehqueue is a
14314         pointer.
14315         (init_eh_for_function): Allocate ehqueue.
14316         (free_eh_status): Free it.
14317         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14318         expansion for a fixup.
14319
14320 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14321
14322         * gthr-single.h (__gthread_active_p): Add prototype arguments.
14323
14324         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14325         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14326         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14327         function_ptr, getpagesize, __enable_execute_stack,
14328         __enable_execute_stack, __clear_insn_cache,
14329         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14330         _cleanup, _exit, __default_terminate, __terminate_func,
14331         __terminate, __empty, __throw, new_eh_context,
14332         eh_context_initialize, eh_context_static, eh_context_specific,
14333         get_eh_context, __get_eh_context, __get_eh_info,
14334         init_reg_size_table, eh_threads_initialize,
14335         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14336         __unwinding_cleanup, throw_helper, __throw, __rethrow,
14337         __pure_virtual): Add prototype arguments.
14338         (__bb_exit_func): Cast a sizeof to long when comparing against one.
14339         Cast a signed value to unsigned long when comparing against one.
14340         (new_eh_context): Wrap in _GTHREADS macro.
14341         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14342         declaration.
14343         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14344         (throw_helper): Initialize variables `handler_p' and `pc_p'.
14345
14346 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14347
14348         * combine.c (record_promoted_value): Remove unused variable
14349         `links2'.
14350
14351         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14352
14353         * global.c (record_conflicts): Likewise for `j'.
14354
14355         * genoutput.c (output_insn_data): Don't unnecessarily cast away
14356         const-ness.
14357
14358 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14359
14360         * i386-protos.h (output_387_binary_op, output_fix_trunc,
14361         output_fp_compare): Constify a char*.
14362
14363         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14364         static prototypes.
14365         (override_options, ix86_comp_type_attributes, print_operand,
14366         output_387_binary_op, output_fix_trunc, output_fp_compare):
14367         Constify a char*.
14368         (ix86_sched_reorder): Mark parameter `clock_var' with
14369         ATTRIBUTE_UNUSED.
14370
14371         * i386.h (DEBUG_PRINT_REG): Constify a char*.
14372
14373 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
14374
14375         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14376         operand, for use in the Java front-end.
14377
14378 1999-12-10  Ben Collins  <bcollins@debian.org>
14379
14380         * configure.in: Fix typo for "-64" in 64bit as check.
14381         * configure: Rebuilt.
14382
14383 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
14384
14385         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14386         appropriate.
14387
14388 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14389
14390         * c-parse.in (string): With -Wtraditional, warn if ANSI string
14391         concatenation is utilized.
14392
14393         * invoke.texi (-Wtraditional): Document it.
14394
14395 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14396
14397         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14398         Cast a ptrdiff_t to long and pass it to printf with %ld.
14399
14400 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
14401
14402         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14403         68881, we have no 68881 registers at all.
14404         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14405         value in a 68881 register if it is available.
14406
14407 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
14408
14409         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14410         for long long multiply-accumulate.
14411
14412 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14413
14414         * loop.c (insert_loop_mem): Undo last change.
14415
14416 1999-12-10  David S. Miller  <davem@redhat.com>
14417
14418         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14419         New functions.
14420         * config/sparc/sparc-protos.h: Add them.
14421         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14422         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14423         constraints which use those helpers.
14424         (EXTRA_CONSTRAINT): Use this new macro.
14425         * md.texi: Update sparc target constraints documentation.
14426         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14427         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14428         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14429         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14430         (movsf high/lo_sum split): Rework for new patterns.
14431         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14432
14433 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
14434
14435         * c-common.c (c_common_nodes_and_builtins):
14436         Create __builtin_ptrdiff_t and __builtin_size_t.
14437
14438 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
14439
14440         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14441
14442 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14443
14444         * regclass.c (globalize_reg): Re-instate test that allows
14445         fixed registers to be declared as a variable even after functions
14446         are defined.
14447
14448 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14449
14450         * i386.md (cpu attribute): Add "athlon".
14451         (athlon_decode): New attribute.
14452         (Athlon scheduling units definitions): New.
14453         (fcmp and shld patterns): Set athlon_decode to "vector".
14454         * i386.c (athlon_cost): New.
14455         (m_ATHLON): New.
14456         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14457         x86_use_sahf): Set for Athlon.
14458         (x86_use_fiop): Unset for Athlon.
14459         (override_options): Define Athlon alignments and "athlon" name.
14460         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14461         * i386.h (TARGET_ATHLON): New.
14462         (enum processor_type): Add PROCESSOR_ATHLON.
14463         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14464         for CPU_DEFAULT==5
14465         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14466
14467 1999-12-09  Andreas Jaeger  <aj@suse.de>
14468
14469         * loop.c (record_biv): Declare parameter as int.
14470
14471         * config/i386/i386-protos.h: Declare long_memory_operand.
14472
14473 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
14474
14475         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14476         EXPR_WITH_FILE_LOCATION.
14477
14478 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
14479
14480         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14481         in expander.
14482
14483         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14484
14485         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14486         updating code.
14487
14488 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
14489
14490         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14491         default on linux64 again.
14492         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14493         models for multilibing.
14494         * genmultilib: Accept | as alternative separator within a set in
14495         MULTILIB_OPTIONS.
14496
14497         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14498
14499         * calls.c (precompute_arguments): Make sure initial_value contains
14500         value pseudo which CSE expects.
14501         * cse.c (struct set): New entry orig_src.
14502         (cse_insn): Set it early on entry, use it for libcall EQUIV note
14503         replacement.
14504
14505 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
14506
14507         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14508
14509 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
14510
14511         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14512
14513 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
14514
14515         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14516         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14517
14518         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14519         if TARGET_ARCH32.
14520
14521         * longlong.h: Merge in changes from glibc.
14522         Also don't clobber %g2 register in 32bit SPARC assembly, so that
14523         -mno-app-regs libgcc can be compiled.
14524         * libgcc2.c: Add defines so that the updated longlong.h
14525         can be used in libgcc2.a. Also, make sure on most architectures
14526         (at least on all which have optimized code in longlong.h defined
14527         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14528
14529 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14530
14531         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14532         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14533         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14534         is GNU ld.
14535         * configure: Rebuilt.
14536
14537 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
14538
14539         * alpha.c (secondary_reload_class): For !BWX, sub-simode
14540         outputs require a register.
14541
14542 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
14543
14544         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14545         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
14546         functions like dptoul will be resolved.
14547         (libgcc2.a): Make sure that the object files from DPBIT are named
14548         differently (prefix `_dp') from those that would be coming from
14549         FPBIT.
14550
14551 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
14552
14553         * configure.in: When target is sparc* and tm_file contains 64,
14554         test for 64bit support in assembler.  If not supported, remove
14555         sparc/t-sol2-64 from target-dependent Makefile fragments.
14556         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14557         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14558         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14559         * acconfig.h (AS_SPARC64_FLAG): Added.
14560         * configure, config.in: Rebuilt.
14561         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14562         support.  Use AS_SPARC64_FLAG.
14563
14564 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
14565
14566         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14567         suitable for holding OFmode values so that gcc works with complex
14568         quad long doubles.
14569         (hard_64bit_mode_classes): Likewise.
14570
14571         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14572         so that it is actually matched.
14573         (sethi_di_medlow): Likewise.
14574
14575         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14576         as legitimate constant if -mvis.
14577         * config/sparc/sparc.md (movtf): Likewise.
14578         (clear_sf): Use const_double_operand.
14579         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14580
14581         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14582         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14583         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14584         routines, _Qp_* cannot be handled like that now.
14585         (INIT_TARGET_OPTABS): Likewise.
14586         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
14587         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
14588         sparc_emit_float_lib_cmp if ARCH64 and soft float.
14589         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
14590         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
14591         divtf3, sqrttf3): New expanders.
14592         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
14593         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
14594         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
14595         non-_hq patterns.
14596
14597         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
14598         * configure: Rebuilt.
14599         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
14600         -mcpu is given and we're doing 64bit compiles.
14601
14602 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
14603
14604         * loop.h (struct induction): Add multi_insn_incr.
14605         * loop.c (basic_induction_var): New multi_insn_incr argument.
14606         Set it if we search back through previous insns for the biv.
14607         (record_biv): New multi_insn_incr argument; fill in struct induction.
14608         (strength_reduce): Discard an iv with multiple bivs, any of
14609         which require multiple insns to increment.
14610
14611 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14612
14613         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
14614         documentation.
14615
14616 1999-12-06  David S. Miller  <davem@redhat.com>
14617
14618         * combine.c (check_promoted_subreg): Do not conditionalize this upon
14619         PROMOTE_FUNCTION_RETURN.
14620
14621 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
14622
14623         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
14624         and handle REG_UNUSED note on insn.
14625
14626         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
14627         inner_mask instead of mask.
14628
14629 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
14630
14631         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
14632         zero if there was an error.
14633
14634 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14635
14636         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
14637         output string.
14638
14639         * longlong.h: Fix clobbers in SPARC asm statements.
14640
14641         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
14642         valid sethi operations when TARGET_ARCH64.
14643
14644         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
14645         always use move_by_pieces to avoid infinite recursion.
14646         (restore_fixed_argument_area): Likewise.
14647
14648         * combine.c (check_promoted_subreg, record_promoted_value): New
14649         functions.
14650         (combine_instructions): Use them to retain nonzero and sign bit
14651         information after SUBREGs are eliminated by optimizations in
14652         this pass if PROMOTE_FUNCTION_RETURN.
14653
14654         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
14655         .register declaration. Don't use variables with __ prefixes.
14656
14657 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14658
14659         * fold-const.c (optimize_bit_field_compare): Only use one mode
14660         for both RHS and LHS in non-constant case.
14661
14662 1999-12-06  Nathan Sidwell  <nathan@acm.org>
14663
14664         * frame.c (start_fde_sort): Only allocate erratic array, if
14665         linear one was allocated. Return allocated flag.
14666         (fde_insert): Only insert, if there's a valid array.
14667         (fde_end_sort): Split, sort and merge if linear and erratic
14668         arrays exist, else just sort linear one.
14669         (search_fdes): New function. Linear search through original fde
14670         structure.
14671         (frame_init): Permit multiple initializations. Cope with
14672         memory shortages.
14673         (find_fde): Fallback on linear search, if failed to sort array.
14674         (__deregister_frame_info): Only free sorted array, if we
14675         allocated it.
14676
14677 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
14678
14679         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
14680
14681 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
14682
14683         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
14684
14685 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
14686
14687         * tree.h (special_function_p): Declare.
14688         * calls.c (special_function_p): Make it global.  Don't take `name'
14689         as a parameter.  Fix typo in 1999-11-28 change.
14690         (expand_cal): Adjust.
14691
14692 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
14693
14694         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
14695         * tree.h (EXPR_WFL_FILENAME): Define in terms of
14696         EXPR_WFL_FILENAME_NODE.
14697         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
14698         the TREE_CHAIN.
14699         * print-tree.c (print_note): Print TREE_PRIVATE and
14700         TREE_PROTECTED.
14701
14702         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
14703         the original die cannot be found.
14704
14705         * varray.h (varray_head_tag): Add elements_used.
14706         (VARRAY_PUSH): New macro.
14707         (VARRAY_POP): Likewise.
14708         (VARRAY_TOP): Likewise.
14709         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
14710         types.
14711         * varray.c (varray_init): Initialize elements_used.
14712         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
14713         (INTEGRATE_H): New variable.
14714         (integrate.o): Depend on INTEGRATE_H.
14715         (unroll.o): Likewise.
14716
14717         * function.h (insert_block_after_note): Declare.
14718         * function.c (insert_block_after_note): Split out from ...
14719         (retrofit_block): ... here.
14720
14721         * stmt.c (expand_fixup): Fix typo in comment.
14722
14723 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14724
14725         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
14726         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
14727         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
14728         (regmove_optimize, fixup_match_1): Likewise.
14729
14730 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14731
14732         * flow.c (flow_loops_dump): Add missing argument when calling
14733         flow_loop_nested_p.
14734
14735 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
14736             Greg McGary  <gkm@gnu.org>
14737
14738         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
14739         (init_attributes): Add A_NO_LIMIT_STACK.
14740         (decl_attributes): Handle A_NO_LIMIT_STACK.
14741         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
14742         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
14743         Handle stack bounds checking.
14744         * flags.h (flag_stack_check): Use the word 'probe' rather than
14745         'check', because the flag doesn't actually cause any checking to
14746         be done.
14747         * function.c (expand_function_start): Set
14748         current_function_limit_stack.
14749         * function.h (struct function): Add limit_stack.
14750         (current_function_limit_stack): Define.
14751         * invoke.texi (Code Gen Options): Document new options.
14752         * rtl.h: Declare stack_limit_rtx.
14753         * toplev.c (stack_limit_rtx): New variable.
14754         (decode_f_option): Handle new options -fstack-limit-register=REG,
14755         -fstack-limit-symbol=IDENT, -fno-stack-limit.
14756         (main): Add stack_limit_rtx as GC root.
14757         * tree.h (DECL_NO_LIMIT_STACK): New macro.
14758         (struct tree_decl): New member no_limit_stack.
14759
14760         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
14761         stack_limit_rtx.
14762         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
14763         (conditional_trap+1): Get new mnemonic correct.
14764         (conditional_trap+2): New pattern for DImode traps.
14765
14766         * config/m68k/m68k.c (output_function_prologue): Handle
14767         stack_limit_rtx.
14768         * config/m68k/m68k.md (trap): New insn.
14769         (conditional_trap): New insn.
14770         * md.texi (Standard Names): Document `trap' and
14771         `conditional_trap'.
14772         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
14773         so a cc0 setter doesn't get emitted at some random place in the
14774         function.
14775
14776         * config/i960/i960.md (trap): New insn.
14777         (conditional_trap): New expander.
14778         (conditional_trap+1, conditional_trap+2): New insns for signed
14779         and unsigned cases.
14780         * config/i960/i960.c (i960_function_prologue): Use
14781         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
14782
14783 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
14784                           Geoffrey Keating  <geoffk@cygnus.com>
14785
14786         * flags.h (warn_padded, warn_packed): Add global var decls.
14787         * toplev.c (warn_padded, warn_packed): Add global var defns.
14788         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
14789         * stor-layout.c (layout_record): Add local variable `type'
14790         to hold often-used TREE_TYPE (field).  Add local variable
14791         `unpacked_align' to hold alignment that would be in force
14792         if no `packed' attribute were present.  Warn if `packed' attribute
14793         is unnecessary, or even harmful.  Warn when gcc inserts padding
14794         to satisfy alignment requirements of members.  Use NULL_TREE
14795         when checking whether var_size is set.
14796         * invoke.texi: Document new flags.
14797
14798 1999-12-03  Nathan Sidwell  <nathan@acm.org>
14799
14800         * frame.c (fde_split): Reimplement to avoid variable sized array.
14801
14802 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14803
14804         * combine.c (try_combine): Before fixing up LOG_LINKS for the
14805         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
14806
14807 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
14808
14809         * invoke.texi: Document the mips option -mno-crt0
14810
14811 1999-12-02  Mike Karr  <mkarr@mathworks.com>
14812
14813         * cccp.c (argdata): Added free_ptr member.
14814         (macroexpand): Initialize free_ptr of each argument. When an
14815         argument's buffers are freed, if the argument's free_ptr corresponds
14816         to a buffer on the input stack, then return the free_ptr to that stack
14817         frame, otherwise, free it.
14818         (macarg): If an argument begins and ends on the same input stack level,
14819         then transfer the free_ptr of that buffer to the argument in case
14820         the stack is popped during the processing of a subsequent argument.
14821
14822 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
14823
14824         * loop.c (note_reg_stored): New function.
14825         (struct note_reg_stored_arg): New structure.
14826         (try_copy_prop): Change to be more conservative; only replace within
14827         one extended basic block and stop replacing if a store to the
14828         replacement reg is seen.
14829
14830 1999-12-02  Nick Clifton  <nickc@cygnus.com>
14831
14832         * config/fp-bit.c: Initialise all fields of the NAN
14833         constants.
14834
14835         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
14836         to HANDLE_PRAGMA.
14837
14838 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14839
14840         * i386.md (extend?f?f2): Force the input into a register, not
14841         the output.
14842
14843 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
14844
14845         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
14846         regclass' sake.
14847         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
14848         alternative because setting up 64bit constant is usually costly,
14849         especially when reload is in progress or completed.
14850         (movdf_const_intreg_sp64): Likewise.
14851         (movdf_const_intreg split): Fix building up constants when
14852         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
14853
14854 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
14855
14856         * combine.c (if_then_else_cond): Use const_true_rtx instead of
14857         const1_rtx for return values in EQ/NE comparison against (const_int 0)
14858         case.
14859
14860         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
14861         (asm_file_start): Emit .am33 into assembly file when compiling for
14862         the AM33.
14863         (print_operand_address): Handle POST_INC addresses.
14864         (can_use_return_insn, initial_offset): Check AM33 registers too.
14865         (expand_prologue): Check & save AM33 registers too.
14866         (expand_epilogue): Similarly.
14867         (secondary_reload_class): Handle AM33 specific secondary reloads.
14868         (output_tst): Emit efficient code for the AM33 too.
14869         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
14870         (TARGET_SWITCHES): Add -mam33 switch.
14871         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
14872         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
14873         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
14874         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
14875         (enum reg_class, REG_CLASS_NAMES): Likewise.
14876         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
14877         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
14878         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
14879         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
14880         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
14881         (HAVE_POST_INCREMENT): Define.
14882         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
14883         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
14884         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
14885         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
14886         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
14887         (zero_extend to SI from QI/HI): Likewise.
14888         (sign_extend to SI from QI/HI): Likewise.
14889         (mulsidi3, umulsidi3): New patterns for the AM33.
14890         (tstsi with zero extension from QI/HI): Add AM33 variants.
14891         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
14892         (return_internal_regs, store_movm): Handle new AM33 registers.
14893         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
14894         (LIBGCC, INSTALL_LIBGCC): Likewise.
14895         * invoke.texi: Document new flags.
14896
14897 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14898
14899         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
14900         (addsi3_carry): Likewise.
14901         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
14902         (sbbsi3_carry): Likewise.
14903         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
14904         (mulhi3): Likewise.
14905         (test?i_1): Ensure that only one operand is memory.
14906         (conditional move patterns): likewise.
14907         (shift and rotate patterns): Rewrite to expander, add
14908         "binary_operator_ok" to the condition.
14909
14910         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
14911         * i386.h (procesor_costs): Add movzbl_load field.
14912         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
14913         non-Q registers, accept DImode registers anywhere.
14914         (Q_CLASS_P): New.
14915         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
14916         * i386.c (*_cost): Set value for movxbl_load field.
14917
14918         * (addsi): New add to lea splitter.
14919         (ashlsi): Likewise.
14920         (lea to add/shift peep2): New.
14921
14922 1999-12-01  Mark Salter <msalter@cygnus.com>
14923
14924         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
14925         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
14926         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
14927
14928 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14929
14930         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
14931         * i386.md (movsi_xor): New.
14932         (movsi_or): New.
14933         (movsi_1, movhi_1, movqi_1): Remove.
14934         (movsi_2): Rename to movsi_1.
14935         (movhi_2): Rename to movhi_1.
14936         (movqi_2): Rename to movqi_1.
14937         (movdi_1): Remove; remove splitter.
14938         (movdi_2): Rename to movdi_1.
14939         (divmodsi4 splitter): Do not emit clobbers for move patterns.
14940         (long move peep2): Do not create QI or HI mode mov0s
14941         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
14942
14943         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
14944         rewrite splitters.
14945
14946         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
14947         (abs?f2_if): Likewise.
14948
14949 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
14950
14951         * ggc.h (ggc_test_and_set_mark): New macro.
14952         (ggc_mark_rtx): Use ggc_test_and_set_mark.
14953         (ggc_mark_tree): Likewise.
14954         (ggc_mark_rtvec): Likewise.
14955         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
14956
14957 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
14958
14959         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
14960         containing types.
14961         (decl_scope_table): Just an array of trees now.
14962         (push_decl_scope): Simplify.
14963         (dwarf2out_init): Adjust.
14964         (local_scope_p): New fn.
14965         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
14966         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
14967         (gen_typedef_die): Likewise.
14968         (gen_lexical_block_die): Don't call push/pop_decl_scope.
14969         (gen_inlined_subroutine_die): Likewise.
14970         (gen_abstract_function): Set current_function_decl temporarily.
14971         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
14972         Handle block extern declarations.  Don't call push/pop_decl_scope.
14973         (gen_decl_die): Fix logic for block externs.
14974
14975 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14976
14977         * calls.c (special_function_p): Remove `realloc' and add `strdup'
14978         to the list of functions which have attribute malloc by default.
14979
14980 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14981
14982         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
14983         integer constant does not match the traditional type, limit the
14984         warnings to cases where the base of the type is ten.
14985
14986         * invoke.texi (-Wtraditional): Document it.
14987
14988 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14989
14990         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
14991         * rs6000.md: Only access a CONST_INT with INTVAL
14992
14993 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
14994
14995         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
14996         (compute_nearerout): Likewise.
14997         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
14998         size_t to unsigned long for formatting.
14999
15000 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15001
15002         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
15003         Allow the user to override call-used/fixed state of %g2-5
15004         registers from the command line (with the exception of %g4 for
15005         embedded model).
15006         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
15007         there is a higher chance of having a leaf function.
15008         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
15009         for ARCH64 which has %ccr register.
15010         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
15011         patterns.
15012         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
15013         insn accept into delay slot any insn which does not use %[ol]
15014         registers.  Accept some LO_SUM and shift left by 1 for the normal
15015         restore case.
15016         (output_function_epilogue): Likewise.
15017         (epilogue_renumber): Added argument which inhibits any renumbering
15018         and just tests if the rtx does not use any %[ol] registers.
15019         (output_return): Reflect above change.
15020
15021 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15022
15023         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
15024         aggregate passing for sizes <= 16 bytes.
15025
15026 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
15027
15028         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
15029         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15030         * reload.c (find_dummy_reload): Likewise.
15031         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15032         * reload1.c (reload_as_needed): Likewise.
15033         * stupid.c (stupid_find_reg): Likewise.
15034         * tm.texi (Obsolete Register Macros): Delete section.
15035         * gmicro.h: Remove all traces of the two macros.
15036         * i386.h: Likewise.
15037         * m88k.h: Likewise.
15038         * mips.h: Likewise.
15039
15040 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
15041
15042         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15043         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15044         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15045         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15046         units for the sparclite86x chip.
15047         (flush): Revert October 14th change; add SImode specifically.
15048         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15049         * invoke.texi: Document it.
15050
15051 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
15052
15053         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15054         psimode_truncation_operand.
15055
15056         * config/mn10200/mn10200.c (psimode_truncation_operand): New
15057         function.  Return true if the operand is either a MEM valid
15058         for a PSImode address or not a MEM at all.
15059
15060         * config/mn10200/mn10200.md (truncsipsi2): Use
15061         psimode_truncation_operand.
15062
15063 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15064
15065         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15066         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15067         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15068         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15069         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15070         (flow_loop_level_compute, low_loops_level_compute): Likewise.
15071         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15072         * basic-block.h: Protect from multiple inclusion.
15073         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15074         (struct loops, struct loop): Define structures.
15075         * sbitmap.c (sbitmap_a_subset_b_p): New function.
15076         * sbitmap.h: Protect from multiple inclusion.
15077         (sbitmap_a_subset_b_p): Add prototype.
15078         * Makefile.in (LOOP_H): New macro.
15079         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15080
15081 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
15082
15083         * cppinit.c (CAT): The argument list of this macro may not contain
15084         spaces !
15085
15086 1999-11-29  David S. Miller  <davem@redhat.com>
15087
15088         Move quantity tables and register equivalence chains into
15089         per-qty and per-register structure arrays respectively.
15090         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15091         qty_const_insn, qty_comparison_code, qty_comparison_const,
15092         qty_comparison_qty): Delete, replace with...
15093         (qty_table): this structure table.
15094         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15095         (reg_eqv_table): this structure table.
15096         (make_new_qty): Add argument MODE.  Caller updated.
15097         Update to use qty_table and reg_eqv_table.
15098         (make_regs_eqv, delete_reg_equiv, insert_regs,
15099         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15100         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15101         cse_process_notes, cse_main, cse_basic_block): Likewise.
15102
15103 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15104
15105         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15106         operation if C is negative.
15107         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15108         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15109         law for some divisions if constant is negative and change other
15110         divisions to the opposite rounding.
15111
15112         * expr.c (store_constructor_field): If bit position is not multiple
15113         of alignment of TARGET's mode, use BLKmode.
15114
15115         * expr.c (expand_expr_unaligned): Add more code from full case
15116         that is needed when OP0 is in a register.
15117
15118 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15119
15120         * dwarfout.c (field_byte_offset): Size can be zero if there was
15121         an error.
15122
15123 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15124
15125         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15126         (associate_trees): Delete unused var TEM.
15127         (extract_muldiv): Delete unused var CANCEL_P.
15128
15129         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15130         (target_isinf, target_isnan, target_negative): Add return types to
15131         function definitions.
15132
15133 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
15134
15135         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15136         * fixinc/hackshell.tpl: ditto
15137         * fixinc/fixtests.c(double_slash_test): more C++ header testing
15138         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15139
15140 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15141
15142         * reload.c (push_reload): When looking for a register to put into
15143         reg_rtx, make sure all hard regs in a multi-reg register are in the
15144         right class and nonfixed.
15145
15146         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15147         pending_read_insns, pending_write_insns, pending_read_mems,
15148         pending_write_mems, pending_list_length, last_pending_memory_flush,
15149         last_function_call, sched_before_next_call): Move static variables
15150         into a structure.
15151         (bb_ prefixed versions): Replace with single array bb_deps.
15152         (struct deps): New structure.
15153         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15154         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15155         argument of type "struct deps *"; use that instead of global
15156         variables.  All callers changed.
15157         (init_rgn_data_dependencies): Delete function.
15158         (init_rtx_vector): Delete function.
15159         (init_deps): New function.
15160
15161         (free_pending_lists): Simplify, we always use the bb_deps array even
15162         if only one basic block.
15163         (compute_block_backward_dependences): Likewise.
15164         (schedule_region): Likewise.
15165
15166         (propagate_deps): New function, broken out of
15167         compute_block_backward_dependences.
15168         (compute_block_backward_dependences): Use it.
15169
15170         * alpha.md: Delete useless patterns that tried to work around
15171         register elimination problems.
15172
15173         * unroll.c (loop_iterations): Don't abort if iteration variable
15174         was made by loop.
15175
15176         From Joern Rennecke:
15177         * reload1.c (reloads_conflict): Reverse test comparing operand
15178         numbers when testing for conflict between output/outaddr reloads.
15179
15180 1999-11-29  David S. Miller  <davem@redhat.com>
15181
15182         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
15183         arg.
15184         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
15185
15186 1999-11-28  Robert Lipe  <robertl@cygnus.com>
15187
15188         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
15189         table from .fini into .dtor.
15190
15191 1999-11-28  Anthony Green  <green@cygnus.com>
15192
15193         * tree.h (struct tree_decl): Add malloc_flag.
15194         (DECL_IS_MALLOC): Define.
15195         * c-common.c (attrs): Add A_MALLOC attribute.
15196         (init_attributes): Add this attribute to the table.
15197         (decl_attributes): Handle malloc attribute.
15198         * calls.c (special_function_p): Check for the malloc attribute.
15199         * extend.texi (Function Attributes): Document malloc attribute.
15200
15201 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
15202
15203         * pa.md (reload shift-add patterns): Remove.
15204
15205 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15206
15207         * reorg.c (dbr_schedule) Print more statistics. Corrected
15208         problem when printing info when 3 delay slots are filled.
15209
15210 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
15211
15212         * combine.c (setup_incoming_promotions): Pass an outgoing
15213         regno to FUNCTION_ARG_REGNO_P which it expects.
15214
15215 1999-11-28  Andreas Jaeger  <aj@suse.de>
15216
15217         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
15218
15219 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
15220
15221         * cccp.c (do_include): Avoid initialization of automatic variable.
15222
15223         * integrate.c (mark_stores): Function definition made void, to match
15224         previous declaration.
15225         * regclass.c (dump_regclass): Ditto.
15226         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
15227
15228 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15229
15230         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
15231         known to be multiple of divisor.
15232
15233         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
15234
15235         * combine.c (try_combine): Add code to try to merge a set of a
15236         two-word pseudo to a constant with a setting of one of those words
15237         to a constant.
15238
15239         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
15240         (split_tree): Completely rework to make more general.
15241         (make_range, fold): Call negate_expr.
15242         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15243         (fold, associate): Call new split_tree and associate_trees.
15244         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15245
15246 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
15247
15248         * loop.c (try_copy_prop): Avoid GNU C extension.
15249
15250 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15251
15252         * except.c (init_eh_for_function): Still zero eh_return_context,
15253         eh_return_stack_adjust, and eh_return_handler.
15254
15255         * except.h (eh_status): Adjust documentation for x_protect_list.
15256         (begin_protect_partials): New function.
15257         * except.c (enqueue_eh_entry): Fix formatting.
15258         (get_first_handler): Add consistency check.
15259         (add_partial_entry): Adjust usage of protect_list.
15260         (emit_cleanup_handler): Save and restore ehqueue.
15261         (expand_start_all_catch): Add comment.
15262         (begin_protect_partials): New function.
15263         (end_protect_partials): Adjust usage of protect_list.
15264         (init_eh_for_function): Use xcalloc.
15265
15266 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15267
15268         * c-common.c (check_format_info): Don't call a variadic function
15269         with a non-literal format string.
15270
15271         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15272
15273         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15274         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15275         Likewise.
15276
15277         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15278         Likewise.
15279
15280         * collect2.c (collect_wait): Likewise.
15281
15282         * dbxout.c (dbxout_type): Likewise.
15283
15284         * gcc.c (do_spec_1): Likewise.
15285
15286         * genemit.c (gen_insn, gen_expand): Likewise.
15287
15288         * genrecog.c (write_switch, write_subroutine): Likewise.
15289
15290         * mips-tfile.c (catch_signal, botch): Likewise.
15291
15292         * print-rtl.c (print_rtx): Likewise.
15293
15294         * toplev.c (default_print_error_function, report_error_function,
15295         _fatal_insn): Likewise.
15296
15297 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15298
15299         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15300
15301 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15302
15303         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15304         operations when needed.
15305         * i386.md (fop_?f_comm): New.
15306         (fop_?f_1): Do not accept commutative operands.
15307
15308 1999-11-25  Andreas Jaeger  <aj@suse.de>
15309
15310         * config/mips/mips.md (casesi_internal): Add missing brace.
15311
15312 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
15313
15314         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15315         (splice_child_die): Handle moving a child DIE from the declaration
15316         DIE of a class to its specification.
15317         (gen_struct_or_union_type_die): Use 'complete' consistently.
15318         (gen_decl_die): Generate the virtual context DIE first.
15319         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15320
15321 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
15322
15323         * config/mips/mips.md (call_value_multiple_interanal1): New.
15324
15325 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15326
15327         * dwarf2out.c (free_AT, free_die): New fns.
15328         (remove_children): Call them.
15329         (output_line_info): Disable removal of duplicate notes.
15330
15331         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15332         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15333         means pretend the type isn't defined.
15334         Don't defer emitting types.
15335         (gen_type_die_for_member): New fn.
15336         (gen_decl_die): Call it.
15337         (splice_child_die): New fn.
15338         (gen_member_die): Call it rather than generate duplicate dies.
15339
15340         Defer emitting information for the abstract instance of an inline
15341         until we either inline it or emit an out-of-line copy.
15342         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15343         from output_inline_function if DECL_ABSTRACT is also set.
15344         (block_ultimate_origin): Likewise.
15345         (gen_abstract_function): New fn.
15346         (gen_decl_die, gen_inlined_subroutine_die): Call it.
15347         (gen_subprogram_die):  An abstract instance is not a declaration
15348         just because it doesn't match current_function_decl.  Don't abort
15349         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
15350         has an abstract origin.
15351         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15352         abstract instance here.
15353
15354 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
15355
15356         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15357         where we need to reload fpul from a system register.
15358
15359 1999-11-24  Andreas Jaeger  <aj@suse.de>
15360
15361         * config/mips/linux.h (CPP_PREDEFINES): Added.
15362         (LINK_SPEC): Remove -Y since this is only needed on sparc.
15363
15364 1999-11-24  Andreas Jaeger  <aj@suse.de>
15365
15366         * config/mips/linux.h (TARGET_VERSION): Added.
15367         (HANDLE_SYSV_PRAGMA): Added.
15368         (DEFAULT_VTABLE_THUNKS): Added.
15369
15370 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15371
15372         * local-alloc.c (qty): New structure and static variable.
15373         (qty_phys_reg): Remove, all references changed to qty.
15374         (qty_n_refs): Likewise.
15375         (qty_min_class): Likewise.
15376         (qty_birth): Likewise.
15377         (qty_death): Likewise.
15378         (qty_size): Likewise.
15379         (qty_mode): Likewise.
15380         (qty_n_calls_crossed): Likewise.
15381         (qty_alternate_class): Likewise.
15382         (qty_changes_size): Likewise.
15383         (qty_first_reg): Likewise.
15384         (alloc_qty): Rename variable QTY to QTYNO.
15385         (finf_free_reg): Likewise.
15386         (local_alloc): Allocate qty, do not allocate the removed variables.
15387
15388 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
15389
15390         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15391         when -membedded-pic is passed.
15392
15393         * config/mips/mips.md (casesi): Handle 64-bit case too.
15394         (casesi_internal_di): New insn.
15395
15396         * config/mips/mips.c (embedded_pic_offset): Always make the
15397         embedded-pic subtractions relative to the name of the current
15398         function by use of the magic string "..CURRENT_FUNCTION".
15399         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15400
15401 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
15402
15403         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15404         of (const_int 0), when what we really care about is
15405         whether it's a zero constant anyway.
15406         (div_trap_mips16): Likewise.
15407
15408 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
15409
15410         * loop.c (loop_optimize): Always find_loop_tree_blocks and
15411         unroll_block_trees when generating debuggable code.
15412
15413         * tree.h (unsave_expr_1): New function.
15414         (lang_unsave): New variable.
15415         (get_callee_fndecl): New function.
15416         * tree.c (unsave_expr_now_r): New function.
15417         (lang_unsave): Define.
15418         (unsave_expr_1): Likewise.
15419         (unsave_expr_now_r): Split out from unsave_expr_now.
15420         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
15421         call unsave_expr_now_r.
15422         (get_callee_fndecl): Define.
15423
15424         * Makefile.in (gencheck): Don't depend on lang_tree_files.
15425         (gencheck.o): Do depend on lang_tree_files.
15426
15427         * integrate.h (copy_decl_for_inlining): New declaration.
15428         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15429         (copy_decl_for_inlining): New function.
15430         (integrate_parm_decls): Use it.
15431         (integrate_decl_tree): Likewise.
15432
15433 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
15434
15435         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15436         the second two from the first.
15437         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15438         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15439         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15440         ISA_HAS_FP4.
15441         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15442         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15443         ISA_HAS_FP4.
15444
15445 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
15446
15447         * pa.md (call_internal_symref, call_value_internal_symref): No mode
15448         needed on the address operand.
15449         * pa.c (call_operand_address): Check for the correct mode.
15450
15451 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
15452
15453         * loop.c: Include "basic-block.h".
15454         (try_copy_prop, replace_loop_reg): New functions.
15455         (load_mems): Detect registers that just hold copies of the hoisted
15456         mem, and call try_copy_prop to eliminate them.
15457         * Makefile.in (loop.o): Update dependencies.
15458
15459 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
15460
15461         * Makefile.in (gencheck.o): Depend on gencheck.h.
15462         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15463         (insn-peep.o): Depend on except.h and function.h.
15464         (insn-attrtab.o): Depend on RECOG_H.
15465         (insn-output.o): Depend on toplev.h and flags.h.
15466         (gengenrtl.o): Depend on real.h.
15467         (gen-protos.o): Depend on cpplib.h and cpphash.h.
15468         Unify all dependencies to be on RECOG_H rather than recog.h.
15469
15470 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15471
15472         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15473         * configure.in: Try building a bi-arch 32/64-bit compiler on
15474         sparc-*-solaris2.7 and higher.
15475         * configure: Rebuild.
15476
15477 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
15478
15479         * config/freebsd.h: New, FreeBSD architecture independent file.
15480         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15481         independent pieces.
15482         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15483         directly by i386/freebsd.h.
15484         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15485         independent configuration file.
15486         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15487         directly by i386/freebsd.h.
15488         * configure: Rebuilt.
15489
15490         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15491         which is in the user's namespace.
15492         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15493         `i386' which is not in our namespace.
15494
15495 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
15496
15497         * invoke.texi (ARM Options): Add in -mno-alignment-traps
15498
15499 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15500
15501         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15502         (add_dwarf_attr, add_child_die): Just push onto the front.
15503         (reverse_die_lists): New fn.
15504         (add_sibling_attributes): Use it.
15505         (push_decl_scope): Reorganize.
15506         (add_name_and_src_coords_attributes): Don't set file and line for
15507         an artificial decl.
15508         (gen_subprogram_die): An artificial function doesn't need to match
15509         file and line.
15510         (gen_compile_unit_die): Return the generated die.  Only add
15511         AT_comp_dir if the filename is relative.
15512         (remove_AT): Simplify loop.  Also free string values.
15513         (output_die): A DIE ref can't be null.
15514         (output_value_format, value_format): Take a dw_attr_ref.
15515         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15516         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15517         AT_addr, AT_lbl): New fns.
15518         (various): Use them.
15519         (various): Constify.
15520
15521 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15522
15523         * combine.c (combine_simplify_rtx): When handling a SUBREG,
15524         take SUBREG_WORD into account.
15525         (if_then_else_cond): Likewise.
15526
15527 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15528
15529         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15530         clause from BSD license, pursuant with
15531
15532           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15533
15534 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
15535
15536         * loop.c (load_mems): Reformat slightly.
15537         * basic-block.h (regset_head): New typedef.
15538         (INIT_REG_SET): New macro.
15539
15540 1999-11-22  Bruce Korb  <autogen@linuxbox.com
15541
15542         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15543         (mips-dec-bsd*): non-functional code
15544         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15545
15546         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15547         added three replacement fixes
15548         (no_double_slash): removed comments that are not (any longer) pertinent
15549         (bad_lval): this fix currently runs against many files.
15550         The comment seems to indicate that we should select for files
15551         containing 'pragma extern_prefix'.
15552
15553         * fixinc/fixinc.x86-linux-gnu: deleted
15554         * fixinc/inclhack.sh:  regen
15555         * fixinc/fixincl.x:  regen
15556         * fixinc/fixincl.sh:  regen
15557
15558 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
15559
15560         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15561         its code is INSN and it has no notes.
15562
15563 1999-11-22  Andrew Haley  <aph@cygnus.com>
15564
15565         * varasm.c (function_defined): Remove.
15566         (make_function_rtl): Don't set function_defined.
15567         (make_decl_rtl): Remove global register warning.
15568         * regclass.c (no_global_reg_vars): New variable.
15569         (globalize_reg): Warn if function has already been defined.
15570         (regclass_init): Set no_global_reg_vars.
15571
15572 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15573
15574         * regclass.c (reg_pref): New structure and static variable
15575         (prefclass): Delete.
15576         (altclass): Delete.
15577         (all uses of prefclass and altclass): Use reg_pref instead.
15578
15579 1999-11-21  Nick Clifton  <nickc@cygnus.com>
15580
15581         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15582         -malignment-traps.
15583         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15584         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15585         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15586
15587 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
15588
15589         * varasm.c (output_constructor): Solve problem with long long
15590         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
15591
15592 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15593
15594         * global.c (allocno): New structure and static variable.
15595         (allocno_reg): Remove, all references replaced by allocno.
15596         (allocno_size): Likewise.
15597         (hard_reg_conflicts): Likewise.
15598         (hard_reg_preferences): Likewise.
15599         (hard_reg_copy_preferences): Likewise.
15600         (hard_reg_full_preferences): Likewise.
15601         (regs_someone_prefers): Likewise.
15602         (allocno_calls_crossed): Likewise.
15603         (allocno_n_refs): Likewise.
15604         (allocno_live_length): Likewise.
15605         (find_reg): Rename ALLOCNO to NUM.
15606
15607         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
15608         references updated.
15609         (may_move_out_cost): New variable.
15610         (init_reg_sets_1): Initialize may_move_out_cost.
15611         (record_reg_classes): Use may_move_out_cost.
15612
15613         * regclass.c (dump_regclass): New function.
15614         (regclass): New parameter DUMP, call DUMP_REGCLASS.
15615         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
15616         pass rtl_dump_file to regclass.
15617         * rtl.h (regclass): Update prototype.
15618
15619 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15620
15621         * i386.md (neg, not and abs patterns): Revmap to use
15622         ix86_expand_unary_operator and ix86_unary_operator_ok.
15623         (add?f and sub?f expanders): Force operand 1 to register.
15624         * i386.c (ix86_expand_unary_operator): Rewrite.
15625         (ix86_unary_operator_ok): Ensure that memory operands
15626         match real opcode.
15627         (ix86_binary_operator_ok): Do not allow operand 1 to
15628         come into memory and operand 0 not.
15629         (ix86_expand_binary_operator): Ensure that
15630         src1 is not non-matching memory.
15631
15632         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
15633         to support integer registers and memory.
15634         (abss?2_integer): Likewise.
15635
15636         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
15637         (REG_CLASS_NAMES): Likewise.
15638         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
15639         and GENERAL_REGS.
15640         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
15641         (movsf): Likewise; unify 4th and 5th alternative.
15642         (pushdf): Likewise.
15643         (movdf_1): Likewise; rename to movdf_integer.
15644         (pushxf): Likewise; rename to pushxf_integer; fix output template;
15645         remove redundant splitter.
15646         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
15647         (movdf_nointeger): New.
15648         (movxf_nointeger): New.
15649         (pushxf_nointeger): New.
15650
15651         * i386.md (extend?f?f): Split to expander and pattern, refuse two
15652         memory operands in patterns.
15653         (fop*): Refuse two memory operands.
15654
15655         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
15656         on !TARGET_USE_CLTD CPUs.
15657
15658 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
15659
15660         * extend.texi: Document C++ restricted pointers and references.
15661
15662 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
15663
15664         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
15665         (invalidate_skipped_set): Call it unconditionally.
15666         (cse_set_around_loop): Likewise.
15667
15668 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15669
15670         * rtl.texi (mem): Add documentation for alias-set argument
15671         to RTX `mem'.
15672
15673 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15674
15675         * i386.h (struct_processor_costs): New fields int_load, int_store,
15676         fp_move, fp_load and fp_store
15677         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
15678         fp->int moves
15679         (MEMORY_MOVE_COST): New macro.
15680         * i386.c (386_cost): Define new fields.
15681         (i486_cost): Likewise.
15682         (pentium_cost): Likewise.
15683         (pentiumpro_cost): Likewise.
15684         (k6_cost): Likewise.
15685
15686 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
15687                           Geoffrey Keating  <geoffk@cygnus.com>
15688
15689         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
15690
15691         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
15692         MASK_ALIGN_INT.
15693
15694         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
15695         (TARGET_STRICT_ALIGNMENT): New macro.
15696         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
15697         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
15698         * invoke.texi (M680x0 Options): Document -mstrict-align.
15699
15700 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
15701                           Richard Henderson  <rth@cygnus.com>
15702
15703         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
15704         (ix86_split_long_move): Declare.
15705         * i386.c (split_xf, ix86_split_movdi): Remove.
15706         (ix86_split_to_parts, ix86_split_long_move): New.
15707         * i386.md (dimode move splitters): Use ix86_split_long_move.
15708         (dfmode move splitters): Likewise.
15709         (xfmode move splitters): Likewise.
15710         (movsf_1): Allow F->r.
15711         (movdf_1, movxf_1): Allow F->ro.
15712
15713 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15714
15715         * except.h (struct eh_entry): Add goto_entry_p.
15716         (eh_region_from_symbol): Remove prototype.
15717         * except.c (find_func_region_from_symbol): New function.
15718         (emit_cleanup_handler): Likewise.
15719         (eh_region_from_symbol): Make it static.
15720         (add_new_handler): Verify the argument.
15721         (find_func_region): Update comment.
15722         (expand_eh_region_end): Expand handlers here, rater than waiting
15723         until expand_leftover_cleanups or start_all_catch.
15724         (expand_leftover_cleanups): Don't expand here.
15725         (expand_start_all_catch): Or here.
15726         (expand_rethrow): Check the return value from find_func_region.
15727         * function.c (expand_function_end): Emit the catch_clauses.
15728
15729 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
15730
15731         * integrate.c (expand_inline_function): Add necessary check for NULL.
15732
15733 1999-11-18  Nick Clifton  <nickc@cygnus.com>
15734
15735         * toplev.c (main): Correctly detect an unrecognised option.
15736
15737         * cppinit.c (cpp_handle_option): Do not claim to have consumed
15738         a -f option if it has not been recognised.
15739
15740 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
15741
15742         * basic-block.h (update_life_extent): Remove trailing comma on
15743         enumeration type list.
15744
15745 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15746
15747         * varasm.c (output_constructor) Solved problem with long long
15748         bitfields. Corrected calculating this_time and shift. Also
15749         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
15750
15751 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
15752
15753         * flow.c (split_edge): Take looping structure into account when
15754         determining where to put the new block note.
15755
15756 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
15757
15758         * Makefile.in (ggc-none.o): Provide host specific version if
15759         needed.
15760
15761 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
15762
15763         * cse.c (delete_trivially_dead_insns): Identify no-op insns
15764         containing subregs too.
15765
15766 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
15767
15768         * invoke.texi: Add documentation for -muninit-const-in-rodata.
15769         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
15770         (TARGET_UNINIT_CONST_IN_RODATA): Define.
15771         (text_section): Add switches -munint-const-in-rodata and
15772         -mno-uninit-const-in-rodata.
15773         (ASM_OUTPUT_COMMON): Remove.
15774         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
15775         const objects should be placed in read-only data. Otherwise declare
15776         them in common.
15777
15778 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
15779
15780         * jump.c (jump_optimize_1): Revert last change.
15781
15782 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
15783
15784         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
15785         test if optimizing for size.
15786
15787 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
15788
15789         * Makefile.in (toplev.o): Depend on except.h.
15790         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
15791
15792 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15793
15794         * i386.md (divmodsi4): Rewrite to expander.
15795         (*divmodsi4_nocltd): New.
15796         (*divmodsi4_cltd): New.
15797         (divmodsi4 splitter): Handle the case when input comes in edx.
15798         (udivmodhi4): Do not use constraints in exander.
15799         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
15800
15801 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
15802
15803         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
15804         for the common case.
15805
15806 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
15807
15808         * explow.c (hard_function_value): Add outgoing argument.
15809         * expr.h (hard_function_value): Declare it.
15810         * calls.c (expand_call, emit_library_call_value): Update callers.
15811         * function.c (aggregate_value_p): Ditto.
15812         (diddle_return_value): Must look at the outgoing registers
15813         on archs with register windows.
15814
15815 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
15816
15817         * alpha.c (alpha_build_va_list): Use make_lang_type and
15818         initialize TYPE_NAME for the va_list record.
15819
15820         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
15821
15822         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
15823         for printing.
15824         * ggc.h (struct ggc_statistics): Rearrange elements for better
15825         packing on 64-bit hosts.
15826         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
15827         (compute_nearerout): Likewise.
15828
15829 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
15830
15831         * config/rs6000/rs6000.c (first_reg_to_save): Save
15832         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
15833
15834 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
15835
15836         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
15837         notion of nesting to find the DIE for a type or function.
15838         DIEs can go in limbo even if we got a context_die.
15839         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
15840         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
15841         for local type.
15842         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
15843         (gen_type_die): Writing out the context doesn't cause member class
15844         template instantiations to be written out as well.
15845
15846 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
15847
15848         * rs6000.h (ASM_OUTPUT_DEF): New.
15849         Based on proposed addition from David Edelsohn.
15850
15851 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
15852             Bruce Korb  <autogen@linuxbox.com>
15853
15854         * fixinc/inclhack.def
15855         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
15856         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
15857                 in net/inet.h.
15858         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
15859         (svr4_endian): enabled with SVR5
15860         (svr4_mkdev): simplified syntax and enabled with SVR5
15861
15862 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
15863
15864         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
15865         * configure: Rebuilt.
15866         * config/t-freebsd-thread: New file.
15867
15868 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
15869
15870         * i386.c (ix86_decompose_address): Verify the base is a REG
15871         before trying to examine its register number.
15872
15873         * basic-block.h: Remove all #defines and prototypes related to
15874         integer lists.
15875         (free_bb_mem, compute_preds_succs): Remove prototype.
15876         * rtl.h (free_bb_mem): Remove prototype.
15877         * flow.c (alloc_int_list_node); Remove function.
15878         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
15879         (compute_preds_succs, free_bb_mem): Likewise.
15880         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
15881         * toplev.c (rest_of_compilation): Likewise.
15882         * haifa-sched.c (build_control_flow): Use flow generated edge
15883         list to build the haifa specific edge list.
15884         (find_rgns): Use new CFG data structures instead of pred/succ lists.
15885         (schedule_insns): Do not build pred/succ lists anymore.  Instead
15886         build the edge table.
15887
15888         * basic-block.h (dump_bb_data): Remove declaration.
15889         * flow.c (dump_bb_data): Remove function.
15890         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
15891         (sbitmap_union_of_predsucc): Likewise.
15892
15893         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
15894         argument.  All callers changed.
15895         (delete_null_pointer_checks_1): No longer need to compute the
15896         pred/succ lists.
15897
15898         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
15899         All callers changed.
15900         (pre_expr_reaches_here_p_work): Likewise.
15901         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
15902         * lcm.c (compute_laterin): Fix initialization of LATER.
15903         (compute_nearerout): Similarly for NEARER.
15904
15905 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15906
15907         * cse.c (set_nonvarying_address_components): Delete unused function.
15908         (refers_to_p): Likewise.
15909
15910 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
15911
15912         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
15913         needed.
15914
15915 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15916
15917         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
15918         definition in do while (0).
15919
15920 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
15921
15922         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
15923
15924 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
15925
15926         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
15927
15928 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15929
15930         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
15931         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
15932         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
15933         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
15934
15935         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
15936         saved on the stack.  Output more accurate stack frame statistics
15937         into assembler file.
15938
15939 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
15940
15941         * genextract.c (record_insn_name): New function.
15942         (get_insn_name): No longer a stub.
15943         (main): Call record_insn_name for each insn.  After each label
15944         written, print the insn name in a comment.
15945
15946 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15947
15948         * output.h (const_section, init_section, fini_section): Add
15949         prototypes.
15950
15951         * alpha/elf.h (const_section): Delete declaration.
15952
15953         * svr4.h (const_section): Likewise.
15954
15955 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
15956
15957         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
15958         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
15959         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
15960         expressions.
15961         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
15962         variable-sized array bounds.
15963
15964 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
15965
15966         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
15967         ASM_OUTPUT_LABEL.
15968
15969 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15970
15971         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
15972         addresses the same way GO_IF_LEGITIMATE_INDEX does.
15973
15974 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15975
15976         * cse.c (hash_arg_in_struct): Delete.
15977         (struct table_elt): Delete elt in_struct.
15978         (struct set): Delete elt src_in_struct.
15979         (merge_equiv_classes): Don't set either hash_arg_in_struct or
15980         the corresponding in_struct elts.
15981         (canon_hash): Likewise.
15982         (safe_hash): Likewise.
15983         (find_best_addr): Likewise.
15984         (record_jump_cond): Likewise.
15985         (cse_insn): Likewise.
15986
15987 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
15988
15989         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
15990
15991         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
15992         unsigned types.
15993
15994 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
15995
15996         * function.c (diddle_return_value): Put back check that the DECL_RTL
15997         for the function is a register.
15998
15999         * function.c (diddle_return_value): Use hard_function_value to
16000         get an rtx suitable for use in the USE/CLOBBER insn.
16001
16002         * global.c (global_conflicts): Update comments.
16003         (record_conflicts): No need to record conflicts between pseudos here.
16004
16005 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
16006
16007         * fixinc/fixincl.c: Added verbose levels for status messages
16008
16009 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16010
16011         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
16012         operand as argument to expand_and or expand_binop.
16013
16014 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
16015
16016         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
16017         gcc_add_string_root.
16018
16019 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
16020
16021         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
16022
16023 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
16024
16025         * flow.c (compute_flow_dominators): Initially put all blocks on
16026         the worklist.
16027         * lcm.c (compute_antinout_edge, compute_available): Similarly.
16028         * gcse.c (compute_cprop_avinout): Remove.
16029         (compute_cprop_data): Use compute_available.
16030         (delete_null_pointer_checks_1): Use compute_available.
16031
16032         * basic-block.h (compute_available): Returns a void now.
16033         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16034         to return a value anymore.
16035         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16036         worklists.  Fix boundary cases. Compute maximal solutions.
16037         (compute_laterin, compute_nearerout): Similarly.
16038
16039         * dwarf2out.c (add_AT_location_description): Allow
16040         (mem (plus (pseudo) (...)) too.
16041
16042 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
16043
16044         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16045
16046 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
16047                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16048
16049         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16050
16051         * gansidecl.h: Likewise.
16052
16053         * rtl.c: Likewise.
16054
16055         * rtl.h: Likewise.
16056
16057         * toplev.h: Likewise.
16058
16059         * tree.c: Likewise.
16060
16061         * tree.h: Likewise.
16062
16063         * varray.c: Likewise.
16064
16065         * varray.h: Likewise.
16066
16067 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
16068
16069         * gcov.c (struct arcdata): Add hits and total, remove prob.
16070         (output_branch_counts): New.
16071         (process_args): Set output_branch_counts if -c.
16072         (calculate_branch_probs): Store hits and total instead of
16073         percentage.
16074         (output_data): Emit counts if output_branch_counts is true.
16075         * gcov.texi (Invoking Gcov): Document -c switch..
16076
16077 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
16078
16079         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16080         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16081
16082 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
16083
16084         * invoke.texi (C Dialect Options): Add missing builtins from
16085         c-common.c to list.
16086         * extend.texi (Other Builtins): Copy to this list.
16087
16088 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16089
16090         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16091         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
16092         redundant bitmap.h.
16093
16094 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
16095
16096         * flow.c (compute_flow_dominators): No longer treat basic block 0
16097         or (n_basic_blocks - 1) specially.  Clear the AUX field before
16098         starting computation of doms/pdoms.  Fix initial state for pdoms.
16099
16100 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16101
16102         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16103         match rtl.o's: added ggc.h and toplev.h
16104         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16105         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16106         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16107
16108 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
16109
16110         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16111         from HAVE_DOS_BASED_FILESYSTEM.
16112         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16113         HAVE_DOS_BASED_FILESYSTEM.
16114         (main): Likewise.
16115         (split_directories): Only special-case DOS file names if
16116         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
16117         instead of explicit tests.  Conditionalize on !VMS.
16118         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16119         tests.  Conditionalize on !VMS.
16120         (process_command): Only use make_relative_prefix if !VMS.
16121         (free_split_directories): Conditionalize on !VMS.
16122         (DIR_UP): Conditionalize on !VMS.
16123
16124 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16125
16126         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16127
16128 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16129
16130         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16131         case.
16132
16133 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
16134
16135         * invoke.texi (Environment Variables): Document relative path
16136         lookup.
16137         * gcc.c (DIR_UP): If not defined, define as "..".
16138         (standard_bindir_prefix): New static, holds target location to
16139         install binaries.
16140         (split_directories): New function to split a filename into
16141         component directories.
16142         (free_split_directories): New function, release memory allocated
16143         by split_directories.
16144         (make_relative_prefix): New function, make a relative pathname if
16145         the compiler is not in the expected location.
16146         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16147         can figure out an appropriate prefix from argv[0].
16148         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16149         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
16150         STANDARD_BINDIR_PREFIX.
16151
16152 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16153
16154         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
16155         in c4x.c.
16156         * config/c4x/c4x.h: Moved prototypes to c4x.h.
16157         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16158         c4x_secondary_memory_needed) Delete.
16159         (fp_zero_operand): Add mode argument.
16160
16161 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
16162
16163         * reload1.c (reload_reg_free_for_value_p): Don't use a register
16164         that is in reload_reg_used.
16165
16166 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
16167
16168         * config/arm/arm-protos.h: New file: Prototypes for functions
16169         defined in arm.c and pe.c.
16170         * config/arm/arm.h: Fix compile time warnings.
16171         * config/arm/arm.c: Fix compile time warnings.
16172         * config/arm/pe.h: Fix compile time warnings.
16173         * config/arm/aout.h: Fix compile time warnings.
16174
16175 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
16176
16177         * config/m32r/m32r-protos.h: New file: Prototypes for functions
16178         defined in m32r.c
16179
16180         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
16181         Add support for subtargets.
16182         Add prototypes for new predicates.
16183         Add scheduling macros.
16184
16185         * config/m32r/m32r.c: Fix compile time warnings.
16186         (int8_operand): New predicate function.
16187         (reg_or_cmp_int16_operand): New predicate function.
16188         (extend_operand): New predicate function.
16189         (m32r_adjust_code): New scheduling function.
16190         (m32r_adjust_priorty): New scheduling function.
16191         (m32r_sched_init): New scheduling function.
16192         (m32r_sched_reorder): New scheduling function.
16193         (m32r_sched_variable_issue): New scheduling function.
16194         (direct_return): New codegen function.
16195         (m32r_not_same_reg): New rtl testsing function.
16196
16197         * config/m32r/m32r.md: Fix compile time warnings.
16198         Add support for pre decrement and post increment memory
16199         references.
16200         Add S<cc> patterns.
16201         Add fabs patterns.
16202
16203 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16204
16205         * global.c (EXECUTE_IF_CONFLICT): Don't define.
16206         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
16207         (find_reg): Likewise.
16208
16209 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
16210
16211         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
16212         to avoid assembler errors.
16213
16214 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
16215
16216         * config/v850/v850-protos.h: New file: Prototypes for functions
16217         defined in v850.c
16218         * config/v850/v850.h: Move prototypes to v850-protos.h
16219         * config/v850/v850.c: Move prototypes to v850-protos.h
16220         * config/v850/v850.md: Fix compile time warnings.
16221
16222         * config/fr30/fr30-protos.h: New file: Prototypes for functions
16223         defined in fr30.c
16224         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
16225         * config/fr30/fr30.c: Fix compile time warnings.
16226         * config/fr30/fr30.md: Fix compile time warnings.
16227
16228 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
16229
16230         * tree.h (get_containing_scope): Declare it.
16231         * tree.c (get_containing_scope): New fucntion.
16232         (decl_function_context): Use it.
16233         * toplev.c (rest_of_compilation): Use get_containing_scope.
16234
16235 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16236
16237         * Makefile.in (rtl.o): Depend on toplev.h.
16238
16239 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
16240
16241         * cse.c (delete_trivially_dead_insns): Replace alloca with
16242         xmalloc/xcalloc.
16243         * except.c (update_rethrow_references): Likewise.
16244         (init_eh_nesting_info): Likewise.
16245         * function.c (identify_blocks): Likewise.
16246         * gcse.c (dump_hash_table): Likewise.
16247         * graph.c (print_rtl_graph_with_bb): Likewise.
16248         * loop.c (combine_movables): Likewise.
16249         (move_movables): Likewise.
16250         (count_loop_regs_set): Likewise.
16251         (strength_reduce): Likewise.
16252         * profile.c (compute_branch_probabilities): New function, split
16253         out from ...
16254         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
16255         * regclass.c (regclass): Likewise.
16256         * regmove.c (regmove_optimize): Likewise.
16257         * toplev.c (compile_file): Likewise.
16258         (main): Don't mess with the stack rlimit.
16259
16260 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
16261
16262         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16263         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16264
16265 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
16266
16267         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16268
16269 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
16270
16271         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16272         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16273         macro expansion.
16274
16275 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
16276
16277         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16278
16279 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
16280
16281         * gcse.c (post_dominators): Kill.
16282         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16283         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
16284         pass in a pdom array since we do not need pdoms.
16285         * haifa-sched.c (schedule_insns): Similarly.
16286         * flow.c (compute_dominators): Remove dead function.
16287         (compute_flow_dominators): Do not compute doms or pdoms if the
16288         caller does not request them.  Split up loop to build doms and
16289         pdoms.  Use a worklist to compute doms and pdoms.
16290         * basic-block.h (compute_dominators): Remove prototype.
16291
16292 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
16293
16294         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16295         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16296         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16297         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16298         (cant_move, fed_by_spec_load, is_load_insn): Remove.
16299         (schedule_region): Remove unused variable.
16300         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16301
16302 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
16303
16304         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16305         (update_equiv_regs): Likewise.
16306         (block_alloc): Likewise.
16307         * reg-stack.c (reg_to_stack): Likewise.
16308         (convert_regs_2): Likewise.
16309         * reload1.c (reload_as_needed): Likewise.
16310
16311 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
16312
16313         * Makefile.in (dbxout.o): Depend on ggc.h.
16314         (dwarf2out.o): Likewise.
16315         (xcoffout.o): Likewise.
16316         * dbxout.c: Include ggc.h.
16317         (dbxout_init): Register lastfile as a root.
16318         * dwarf2out.c: Include ggc.h.
16319         (dwarf2out_line): Register lastfile as a root.
16320         * xcoffout.c: Include ggc.h.
16321         (xcoffout_source_line): Register xcoff_lastfile as a root.
16322
16323 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
16324
16325         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16326
16327 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
16328
16329         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16330         defined.
16331         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16332
16333 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16334
16335         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16336         (EXECUTE_IF_CONFLICT): Likewise.
16337         (ALLOCNO_LIVE_P): Avoid signed division.
16338         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16339         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16340         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16341
16342 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
16343
16344         * haifa-sched.c (schedule_block): Don't crash if there's no
16345         next insn for an interblock movement.
16346         (add_branch_dependences): Don't allow clobber insns to move either.
16347
16348 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
16349
16350         * i386.c (split_xf): New.
16351         * i386-protos.h: Declare it.
16352         * i386.md (movxf_1): Add general regs alternatives.
16353         (movxf_1+1): New splitter for same.
16354
16355 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
16356
16357         * function.c (purge_addressof_1): Add missing return values.
16358
16359 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
16360
16361         * function.c (is_addressof): New function.  Returns true if
16362         the given piece of RTL is an ADDRESSOF.
16363         (purge_addressof_1): Make boolean.  Return false if the
16364         ADDRESSOFs could not be purged.
16365         (purge_addressof): If ADDRESSOFs could not be purged from the
16366         notes attached to an insn, remove the offending note(s),
16367         unless they are attached to a libcall.
16368
16369 1999-11-05  Andreas Jaeger  <aj@suse.de>
16370
16371         * genoutput.c (null_operand =): Initialize all fields.
16372
16373         * errors.h: Add extern to prototypes.
16374
16375 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
16376
16377         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16378         * configure: Rebuilt.
16379
16380 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16381
16382         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16383         (mirror_conflicts): New function.
16384         (global_alloc): Call it.
16385         (expand_preferences): Remove redundant CONFLICTP test.
16386         (find_reg, dump_conflicts): Likewise.
16387         (prune_preferences): Process conflicts one word at a time.
16388
16389 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
16390
16391         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16392         instead of an explicit loop.
16393
16394 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
16395
16396         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
16397         if REG_RETVAL check succeeds, then put classp in src_elt.
16398
16399 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
16400
16401         * function.c (pad_to_arg_alignment): Only update argument_pad
16402         if the argument's alignment is greater than STACK_BOUNDARY.
16403
16404 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
16405
16406         * bitmap.h (BITMAP_XFREE): New.
16407         * flow.c (life_analysis): Use it.
16408         (life_analysis_1): Free blocks.
16409
16410         * combine.c (undo_commit): New.
16411         (try_combine): Use it.  Don't zap undobuf.undos.
16412         (combine_instructions): Don't zap undobuf.undos; free the
16413         undobuf.frees list.
16414
16415         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16416
16417         * stmt.c (cost_table_): New.
16418         (estimate_case_costs): Use it instead of xmalloc.
16419
16420         * toplev.c (compile_file): Reuse dumpname memory instead
16421         of strdup'ing it.
16422
16423 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
16424
16425         * reg-stack.c (convert_regs_1): Initialize target_stack->top
16426         after verifying an EH edge.
16427
16428         * haifa-sched.c (init_rgn_data_dependences): Correctly
16429         size bb_pending_lists_length when zeroing.
16430
16431 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
16432
16433         * function.c (diddle_return_value): New.
16434         (expand_function_end): Use it.
16435         * stmt.c (expand_null_return): Likewise.
16436         (expand_value_return): Likewise.
16437
16438         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16439
16440         * reload1.c (reload): Don't remove return value clobbers.
16441
16442 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
16443
16444         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16445
16446 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
16447
16448         * cse.c (cse_main): Use xmalloc, not alloca.
16449         (cse_basic_block): Likewise.
16450         * local-alloc.c (local_alloc): Likewise.
16451
16452 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
16453                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16454
16455         * rtl.c: Include toplev.h.
16456         (fatal): Remove declaration.
16457
16458 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
16459
16460         * haifa-sched.c (schedule_block): Fix thinko.
16461
16462 1999-11-03  James McKelvey <mckelvey@fafnir.com>
16463
16464         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
16465         S_IR* defined values
16466
16467 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
16468
16469         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16470         call `malloc' instead.
16471
16472 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
16473
16474         * flags.h (flag_renumber_insns): Declare.
16475         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
16476         renumbering table.
16477         * rtl.h (renumber_insns): Change prototype.
16478         * toplev.c (flag_renumber_insns): Define.
16479         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16480
16481 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
16482
16483         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16484         and fpsqrtd.  Use them and create fdiv function unit to more
16485         accurately represent fpu sqrt pipeline semantics on UltraSparc.
16486         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16487
16488 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
16489
16490         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16491         3 on UltraSparc.
16492         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16493         insn into ready list, do not use just a raw swap.
16494
16495 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
16496
16497         * rtl.h (renumber_insns): New function.
16498         (remove_unnecessary_notes): Likewise.
16499         * emit-rtl.c (renumber_insns): Define.
16500         (remove_unncessary_notes): Likewise.
16501         * toplev.c (rest_of_compilation): Remove dead code.
16502         Use renumber_insns and remove_unncessary_notes.
16503
16504         * gcse.c (struct null_pointer_info): New type.
16505         (get_bitmap_width): New function.
16506         (current_block): Remove.
16507         (nonnull_local): Likewise.
16508         (nonnull_killed): Likewise.
16509         (invalidate_nonnull_info): Take a null_pointer_info as input.
16510         (delete_null_pointer_checks_1): New function.
16511         (delete_null_pointer_checks): Use it.
16512
16513         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16514         (split_edges): Likewise.
16515         (schedule_block): Likewise.
16516         (compute_block_backward_dependencies): Likewise.
16517         (schedule_region): Likewise.
16518         (schedule_insns): Likewise.
16519
16520 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
16521
16522         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16523         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16524         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16525         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16526         * jump.c (delete_unreferenced_labels): Don't delete if
16527         LABEL_ALTERNATE_NAME is set.
16528         * print-rtl.c (print_rtx): Dump alternate name.
16529         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16530         * rtl.h (LABEL_ALTERNATE_NAME): Define.
16531         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16532         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16533
16534 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16535
16536         * fix-header.c (recognized_extern, recognized_function): Constify
16537         a char*.
16538
16539         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16540         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16541         (compute_available): Remove unused variable `last'.
16542         (compute_nearerout): Remove unused variable `temp_bitmap'.
16543         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16544         Remove unused variable `x'.
16545
16546         * scan.h (recognized_function, recognized_extern): Constify a
16547         char*.
16548
16549         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16550
16551 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16552
16553         * varasm.c (decode_rtx_const): Use XSTR to access the string
16554         of a SYMBOL_REF.
16555
16556 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
16557
16558         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16559
16560 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16561
16562         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16563
16564 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
16565
16566         * pa.c (ireg_operand): New function.
16567         * pa.h (PREDICATE_CODES): Handle ireg_operand.
16568         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16569         Fix out of date comment.
16570
16571         * pa.md (negdi2): Turn into expander + anonymous pattern.
16572
16573         * reload.c (find_reloads): Fix typos in recent change.
16574
16575         * dwarf2out.c: Do not include ctype.h.
16576
16577 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16578
16579         * regclass.c (record_reg_classes): Always use may_move_cost when
16580         seeing how operand fits with various register classes.
16581
16582 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
16583
16584         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16585         * toplev.c: Revert Nov 1 13:22 change.
16586
16587 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
16588
16589         * config/pa/pa.md (height reduction patterns): Add checks for
16590         overlapping operands to avoid semantic-destroying splits for
16591         height reduction patterns.
16592
16593 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16594
16595         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
16596         have been an hyphen, fixed.
16597         * configure: Rebuilt.
16598
16599 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
16600
16601         * config/arm/tpe.h: Add prototypes for exported functions.
16602         * config/arm/pe.c: Fix compile time warnings.
16603         * config/arm/semi.h: Fix compile time warnings.
16604         * config/arm/arm.c: Fix compile time warnings.
16605         * config/arm/arm.h: Fix compile time warnings.
16606         * config/arm/arm.md: Fix compile time warnings.
16607         * config/arm/thumb.c: Fix compile time warnings.
16608         * config/arm/thumb.h: Fix compile time warnings.
16609         * config/arm/thumb.md: Fix compile time warnings.
16610
16611 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
16612
16613         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
16614         detection code
16615
16616         * unroll.c (unroll_loop): Remove LOOP notes when loop is
16617         completely unrolled.
16618
16619 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16620
16621         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
16622
16623 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
16624
16625         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
16626         * rtl.h (rtx_equal_p): Move prototype.
16627         * rtl.c (rtx_equal_function_value_matters): Move from
16628         rtlanal.c
16629         (rtx_equal_p): Likewise.
16630         * rtlanal.c (rtx_equal_function_value_matters): Delete.
16631         (rtx_equal_p): Likewise.
16632
16633 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16634
16635         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
16636         ! HAS_INIT_SECTION.
16637
16638 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
16639
16640         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
16641
16642         * pa.h (ADDR_VEC_ALIGN): Define.
16643
16644         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
16645         notes when presented with "if (foo) break; end_of_loop" and
16646         the break sequence gets moved out of the loop.
16647
16648         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
16649         Remove explicit zero initializations of entries within MAP.
16650
16651 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
16652
16653         * reg-stack.c (convert_regs_1): Handle EH edges specially.
16654
16655 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
16656
16657         * bitmap.h (BITMAP_XMALLOC): New macro.
16658         * flow.c (CLEAN_ALLOCA): Remove.
16659         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
16660         (life_analysis): Likewise.
16661         (update_life_info): Don't use CLEAN_ALLOCA.
16662         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
16663         (calculate_global_regs_live): Likewise.
16664         (print_rtl_with_bb): Likewise.
16665         (verify_flow_info): Likewise.
16666         * global.c (global_alloc): Likewise.
16667         (global_conflicts): Likewise.
16668         * integrate.c (save_for_inline_nocopy): Likewise.
16669         (expand_inline_function): Likewise.
16670         * jump.c (jump_optimize_1): Likewise.
16671         (duplicate_loop_exit_test): Likewise.
16672         (thread_jumps): Likewise.
16673         * loop.c (loop_optimize): Likewise.
16674         (combine_givs): Likewise.
16675         (recombine_givs): Likewise.
16676         * reorg.c (dbr_schedule): Likewise.
16677         * unroll.c (unroll_loop): Likewise.
16678
16679         * combine.c (combine_instructions): Use xmalloc instead of alloca.
16680
16681 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
16682
16683         * toplev.c (rest_of_compilation): Don't optimize the CFG
16684         when rebuilding, just before dbr.
16685
16686 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16687
16688         * output.h (assemble_end_function, assemble_destructor,
16689         assemble_constructor, assemble_gc_entry, assemble_global,
16690         assemble_label, output_constant_pool) Constify a char*.
16691
16692         * varasm.c (assemble_destructor, assemble_constructor,
16693         assemble_gc_entry, assemble_end_function, assemble_global,
16694         assemble_label, output_constant_pool): Likewise.
16695
16696 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
16697
16698         * config/arm/thumb.c (thumb_expand_prologue): Add comments
16699         explaining what is goin on in this function.
16700
16701 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16702
16703         * regclass.c (record_reg_classes): In matching case, recompute
16704         costs since the direction of movement is different.
16705
16706 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
16707
16708         * resource.c (mark_target_live_regs): For unconditional branches,
16709         the resources found at the branch target should be added to the
16710         resources found so far, not intersected.
16711
16712 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
16713
16714         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
16715         old cpp's.
16716         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
16717         (sys/mman.h): Include this file only if #HAVE_MMAP.
16718         (run_compiles): Initialize `esac_fmt' with one old KR string, not
16719         with automatically concatenated ANSI strings.
16720
16721 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
16722
16723         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
16724         (DIV_ROUND_UP): Robustify.
16725         (ggc_recalculate_in_use_p): New function.
16726         (release_pages): Don't inline it.
16727         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
16728         outer contexts.
16729         (ggc_pop_context): Use ggc_recalculate_in_use_p.
16730         (clear_marks): Always save in_use_p.
16731         (sweep_pages): Use ggc_recalculate_in_use_p.
16732         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
16733         Release pages before counting statistics.
16734
16735 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
16736
16737         * toplev.c (rest_of_compilation): Fix thinko in this change:
16738
16739         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16740
16741         (rest_of_compilation): If inside an inlined external function,
16742         pretend we are just being declared.
16743
16744 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
16745
16746         * flow.c (calculate_global_regs_live): Fix thinko.
16747
16748         * integrate.c (expand_inline_function): Fix bugs in previous
16749         change from Oct 28, 1999.
16750
16751 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
16752
16753         * stmt.c (expand_value_return): Fix typo in this change:
16754
16755         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16756         (expand_value_return): Correctly convert VAL when promoting function
16757         return; support RETURN_REG being a PARALLEL.
16758
16759 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
16760
16761         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
16762
16763 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16764
16765         * hard-reg-set.h (reg_names): Constify a char*.
16766
16767         * regclass.c  (reg_names): Likewise.
16768
16769         * regs.h (reg_names): Likewise
16770
16771         * a29k/a29k.c (reg_names): Delete declaration.
16772
16773         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
16774
16775         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
16776         arc_output_function_epilogue): Likewise.
16777
16778         * elxsi/elxsi.c (reg_names): Likewise.
16779
16780         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
16781
16782         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
16783         Likewise.
16784
16785         * m88k/m88k.c (output_function_profiler): Likewise.
16786
16787         * sparc/sparc.c (sparc_flat_output_function_prologue,
16788         sparc_flat_output_function_epilogue): Likewise.
16789
16790 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
16791
16792         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
16793         warning from -Wuninitialized and put it under -W.
16794         * function.c (uninitialized_vars_warning): Warn only when the
16795         corresponding flag is set.
16796
16797 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
16798
16799         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
16800         is nonzero and the single set does not have an elt, then assign
16801         it an elt.
16802
16803         * simplify-rtx.c: New file.
16804         * Makefile.in (OBJS): Add simplify-rtx.o
16805         (simplify-rtx.o): Add dependencies.
16806         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
16807         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
16808         (cse_gen_binary, simplify_unary_operation): Delete.
16809         (simplify_binary_operation, simplify_plus_minus): Likewise.
16810         (check_fold_consts, simplify_relation_operation): Likewise.
16811         (simplify_ternary_operation): Likewise.
16812         (delete_trivially_dead_insns): Simplify the contents of the
16813         REG_EQUAL note before trying to substitute it into the source
16814         of the reg-reg copy at the end of a libcall sequence.
16815
16816         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
16817         references/callers changed.
16818
16819         * mn10200.c (mn10200_va_arg): Force the return value into a
16820         register.
16821
16822         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
16823
16824         * cccp.c (macroexpand): Avoid out of range accesses for omitted
16825         arguments.
16826
16827 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
16828
16829         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
16830
16831 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
16832
16833         * fold-const.c (fold): Fix thinko when optimizing comparisons
16834         against -0.0.
16835
16836 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
16837
16838         * gcc.texi (Passes): Update front-end files to their current
16839         location.
16840
16841 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
16842
16843         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
16844         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
16845         (PREDICATE_CODES): Add addition_operation.
16846         * alpha-protos.h (addition_operation): Declare.
16847         (secondary_reload_class): Likewise.
16848         * alpha.c (addition_operation): New.
16849         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
16850         * alpha.md (adddi3): Turn into expander.
16851         (*lda, *adddi_2): New.
16852         (movsf, movdf patterns): Don't preference integer regs.
16853         (movsi, movdi patterns): Don't preference fp regs.
16854
16855 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
16856
16857         * genrecog.c (write_switch): Check for duplicate CODE cases.
16858
16859 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
16860
16861         * ggc-common.c: Update pre-function commentary.
16862         * ggc-page.c: Likewise.
16863         (poison): Remove.
16864         (poison_pages): Use memset directly.
16865         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
16866         (ggc_collect): Poison before sweeping.
16867         * ggc-simple.c: Update pre-function commentary.
16868         (ggc_alloc_obj): Poison non-zeroed memory.
16869
16870 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
16871
16872         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
16873         match format string, even on 64-bit hosts.
16874         * gcc-page.c (ggc_page_print_statistics): Likewise.
16875
16876 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
16877
16878         * config/i386/i386.c (ix86_cpu): Revert last patch.
16879         * config/i386/i386.h (ix86_cpu): Ditto.
16880
16881 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
16882
16883         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
16884         TYPE_SIZE, convert type of result to sizetype.
16885
16886 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
16887
16888         * flow.c (count_or_remove_death_notes): Equate NULL with the
16889         universal set.
16890
16891         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
16892         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
16893         dbr_schedule.
16894
16895         * i386.c (pic_label_no): Delete.
16896         (ix86_attr_length_default): Don't use single_set to peek
16897         inside a parallel.
16898
16899         * recog.c (peephole2_optimize): Allow recog_next_insn to index
16900         the first insn after bb->end.
16901         * i386.md (push mem peeps): Scratch is live after evaluation
16902         of the memory.
16903         (cmp mem peep): Similarly.
16904
16905 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
16906
16907         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
16908         * function.c (pad_to_arg_alignment): Add missing braces.
16909
16910 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16911
16912         * alpha/alpha-protos.h (literal_section): Add prototype.
16913         (alpha_need_linkage, alpha_start_function,alpha_end_function):
16914         Constify a char*.
16915
16916         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
16917         prototype.
16918         (alpha_start_function, alpha_end_function, float_strings,
16919         alpha_need_linkage): Constify a char*
16920
16921         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
16922
16923         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
16924
16925         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
16926
16927         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
16928
16929 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16930
16931         * flow.c (debug_flow_info): Add prototype.
16932
16933         * gcc.c (main): Likewise.
16934
16935         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
16936         Likewise.
16937
16938         * reload1.c (failed_reload, set_reload_reg): Likewise.
16939
16940         * mips-tfile.c (main): Likewise.
16941         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
16942         with ATTRIBUTE_NORETURN.
16943
16944 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
16945
16946         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
16947         DECL is not a memory ref.
16948
16949 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
16950
16951         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
16952         * config/i386/i386.c (ix86_cpu): Add extern attribute.
16953
16954 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
16955
16956         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
16957         * config/mips/elf64.h: ditto.
16958
16959 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
16960
16961         * expr.c (emit_push_insn): New argument alignment_pad.
16962         Update all callers.  Adjust stack pointer based on alignment pad.
16963         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
16964         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
16965         (locate_and_pad_parm): New argument alignment_pad.  Update all
16966         callers.
16967         * expr.h (emit_push_insn): Update prototype.
16968         (locate_and_pad_parm): Update prototype.
16969         * calls.c (arg_data):  Add new field alignment_pad.
16970         (initialize_argument_information): Initialize alignment_pad.
16971
16972 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
16973
16974         * except.c (free_eh_nesting_info): Free the info itself.
16975         * function.c (free_after_compilation): Don't free NULL.
16976         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
16977         (pre_edge_insert): Free inserted.
16978         * stmt.c (free_stmt_status): Don't free NULL.
16979
16980 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
16981
16982         * gcov.c (DIR_SEPARATOR): Provide default.
16983         (output_data): Add test for MS-DOS format absolute filename.
16984         (fancy_abort): Correct program name.
16985         (open_files): Open all files in binary mode.
16986         * libgcc2.c (__bb_exit_func): Likewise.
16987
16988         * profile.c (init_branch_prob): Specify binary when opening files.
16989
16990         * flags.h (flag_unwind_tables): New decl.
16991         * toplev.c (flag_unwind_table): New definition.
16992         (f_options): Add -funwind-tables.
16993         (decode_g_option): Clarify warning when unknown -g option is given.
16994         (rest_of_compilation): If inside an inlined external function,
16995         pretend we are just being declared.
16996
16997         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
16998         (dwarf2out_frame_finish): Likewise.
16999
17000 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
17001
17002         * fold-const.c (merge_ranges): If not in0, but in1, handle
17003         upper bounds equal like subset case.
17004
17005 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
17006
17007         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
17008         passed in a register but moved to the stack.
17009
17010 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
17011
17012         * gcc.c (pass_exit_codes, greatest_status): New variables.
17013         (struct option_map): Add entry for "--pass-exit-codes".
17014         (execute): Update greatest_status if error.
17015         (display_help): Add documentation for -pass-exit-codes.
17016         (process_command): Handle -pass-exit-codes.
17017         (main): Look at pass_exit_codes and greatest_status on call to exit.
17018
17019 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17020
17021         * reload.c (find_reloads): Refine test for no input reload
17022         case to not includes reloads emitted after insn.
17023
17024         * function.c (find_temp_slots_from_address): Handle sum involving
17025         a register that points to a temp slot.
17026         (update_temp_slot_address): Make recursive call if both old and
17027         new are PLUS with a common operand.
17028         * calls.c (expand_call): Mark temp slot for result as having
17029         address taken.
17030
17031         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17032
17033         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17034         component as well as "BINUTILS".
17035
17036         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17037         * integrate.c (copy_rtx_and_substitute): Likewise.
17038         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17039         All callers changed.
17040         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17041
17042         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17043         gdb extensions, write size of type; also be more consistent
17044         in using references when this is a subtype.
17045
17046         * pa.md (extv, extzv, insv): Use define_expand to reject constant
17047         that is out of range.
17048
17049         * loop.c (unknown_constant_address_altered): New variable.
17050         (prescan_loop): Initialize it.
17051         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17052         (invariant_p, case MEM): Remove handling for volatile and readonly;
17053         check new variable if readonly.
17054         (check_dbra_loop): Chdeck unknown_constant_address_altered.
17055
17056         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17057         (addr_affects_sp_p): Removed from note_mem_written and only
17058         define #ifdef AUTO_INC_DEC.
17059
17060         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17061
17062         * regclass.c (record_reg_classes): Properly handle register move
17063         directions.
17064
17065         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17066         Don't think valid if both operands are invalid.
17067         (struct constant_descriptor): New field RTL.
17068         (mark_const_hash_entry): Mark it.
17069         (record_constant{,_rtx}): Initialize it.
17070         (output_constant_def): Allocate RTL in permanent obstack and
17071         save in table.
17072         ({record,compare}_constant_1): Modes must match for
17073         CONSTRUCTOR of ARRAY_TYPE.
17074
17075         * c-common.h (initializer_constant_valid_p): Delete decl from here.
17076         * output.h (initializer_constant_valid_p): Move decl to here.
17077         * c-common.c (initializer_constant_valid_p): Delete function from here.
17078         * varasm.c (initializer_constant_valid_p): Move function to here.
17079
17080         * tree.h (STRIP_SIGN_NOPS): New macro.
17081         * fold-const.c (optimize_minmax_comparison): New function.
17082         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17083         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17084         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17085         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17086         widening conversions.
17087         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17088         to look at size of mode, not precision of type; also add missing cases.
17089         (optimize_bit_field_compare, decode_field_reference): Don't try to
17090         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17091
17092         * dwarf2out.c (ctype.h): Include.
17093         (dwarf2out_set_demangle_name_func): New function.
17094         (size_of_line_info): Deleted.
17095         (output_line_info): Compute size of line info table from difference
17096         of labels.
17097         (base_type_die, add_name_attribute): Call demangle function, if any.
17098         (field_byte_offset): Use bits per word for variable length fields.
17099         (gen_array_type_die): Add array name.
17100         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17101         (dwarf2out_add_library_unit_info): New function.
17102
17103         * explow.c (set_stack_check_libfunc): New function.
17104         (stack_check_libfunc): New static variable.
17105         (probe_stack_range): Allow front-end to set up a libfunc to call.
17106
17107         * combine.c (simplify_comparison): When making comparison in wider
17108         mode, check for having commuted an AND and a SUBREG.
17109         (contains_muldiv): New function.
17110         (try_combine): Call it when dividing a PARALLEL.
17111         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17112         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17113         a PLUS.
17114         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17115         use one of the CLOBBERs instead.
17116         (if_then_else_cond): If comparing against zero, just return thing
17117         being compared.
17118
17119         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17120         Don't generate shifts and subtract if have conditional arithmetic.
17121
17122         * rtl.h (delete_barrier): New declaration.
17123         * jump.c (jump_optimize): Set up to handle conditional call.
17124         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17125         (delete_barrier): New function.
17126
17127         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17128
17129         * recog.c (nonmemory_operand): Accept ADDRESSOF.
17130
17131         * tree.c (build_type_attribute_variant): Push to obstack of
17132         ttype around type_hash_canon call.
17133
17134         * expr.c (placeholder_list): Move decl to file scope.
17135         (expand_expr): Don't force access to volatile just because its
17136         address is taken.
17137         If ignoring reference operations, just expand the operands.
17138         (expand_expr, case COMPONENT_REF): Propagate
17139         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17140         Refine test for using bitfield operations vs pointer punning.
17141         (expand_expr, case CONVERT_EXPR): If converting to
17142         BLKmode UNION_TYPE from BLKmode, just return inner object.
17143         Use proper mode in store_field call.
17144         Properly set sizes of object to store and total size in store_field
17145         call for convert to union.
17146         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17147         memory (like for ADDR_EXPR).  Also, don't put constant in register if
17148         we'll want it in memory.
17149         (readonly_fields_p): New function.
17150         (expand_expr, case INDIRECT_REF): Call it if LHS.
17151         (expand_assignment): Handle a RESULT_DECL where
17152         DECL_RTL is a PARALLEL.
17153         (do_jump, case WITH_RECORD_EXPR): New case.
17154         (get_inner_reference): Always go inside a CONVERT_EXPR
17155         and NOP_EXPR if both modes are the same.
17156         (store_field): Use bitfield operations if size of bitsize is not same
17157         as size of RHS's type.
17158         Check for bitpos not a multiple of alignment in BLKmode case.
17159         Do block move in largest possible alignment.
17160         (store_constructor): Set BITSIZE to -1 for variable size and properly
17161         in case of array of BLKmode.
17162         (expand_expr_unaligned): New function.
17163         (do_compare_and_jump): Call it.
17164
17165         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
17166         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
17167         does not include 'o'.
17168
17169         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
17170         both SET_DEST and SET_SRC reference a virtual register.
17171         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
17172
17173         * integrate.c (expand_inline_function): Handle case of setting
17174         virtual stack vars register (from built in setjmp); when parameter
17175         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
17176         (subst_constant): Add new parm, MEMONLY.
17177         (expand_inline_function, integrate_parm_decls): Pass new parm.
17178         (integrate_decl_tree): Likewise.
17179         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
17180         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
17181         (copy_rtx_and_substitute, case SET): Add explicit calls to
17182         copy_rtx_and_substitute for both sides.
17183
17184         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
17185         constraints.
17186         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
17187         within INDEX_TYPE, instead of before.
17188         (fixup_gotos): Use f->target_rtl, not the next insn,
17189         since latter may be from a later fixup.
17190         (expand_value_return): Correctly convert VAL when promoting function
17191         return; support RETURN_REG being a PARALLEL.
17192         (expand_return): When checking for result in regs and having
17193         cleanup, consider PARALLEL in DECL_RTL as being in regs.
17194
17195 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
17196
17197         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
17198         last_nominal_fname): Mark const.
17199         (struct include_hash: name, nshort, control_macro): Mark
17200         const.
17201         (struct macrodef: symnam): Mark const.
17202         (struct if_stack: fname): Mark const.
17203         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
17204         (IStable): New character-syntax array which encompasses all
17205         the old is_foo arrays.
17206         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
17207         is_space): New macros for interrogating IStable.
17208         (check_macro_name): Kill last argument.  All callers changed.
17209
17210         * cppinit.c (initialize_char_syntax): Delete.
17211         (is_idchar, is_idstart, is_hor_space, is_space,
17212         trigraph_table): Delete.
17213         (IStable): New.  Initialize with clever macros to avoid
17214         information duplication.
17215         (builtin_array): Table of builtins to get rid of explicit list
17216         in initialize_builtins.
17217         (initialize_builtins): Use builtins_array.
17218         (cpp_start_read): Call init_IStable, and set IStable['$'] if
17219         opts->dollars_in_ident.
17220
17221         * cppexp.c: Change all refs to is_xyz[] arrays to use new
17222         is_xyz() macros.
17223         (cpp_parse_expr): Avoid 'format string is not constant'
17224         warning. Use ISGRAPH to identify printable chars.
17225         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
17226         is_xyz() macros.
17227         (read_and_prescan): Map trigraphs to chars with open-coded
17228         if-else-if-... sequence, not a lookup table.
17229         * cpphash.c: Change all refs to is_xyz[] arrays to use new
17230         is_xyz() macros.
17231         * cpplib.c: Change all refs to is_xyz[] arrays to use new
17232         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
17233         (check_macro_name): Remove ability to report an invalid
17234         assertion name, which is never used.
17235         (do_line): Constify a couple of char *'s.
17236         * cppmain.c (main): Call cpp_cleanup before returning.
17237
17238 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
17239
17240         * ggc.h (struct ggc_statistics): New type.
17241         (ggc_get_size): New function.
17242         (ggc_print_statistics): Likewise.
17243         * ggc-common.c (ggc_stats): New variable.
17244         (ggc_mark_rtx_children): Keep statistics.
17245         (ggc_mark_tree_children): Likewise.
17246         (ggc_print_statistics): New function.
17247         * ggc-page.c (struct globals): Add bytes_mapped field.
17248         (alloc_anon): Update it.
17249         (release_pages): Likewise.
17250         (ggc_get_size): New function.
17251         (ggc_page_print_statistics): New function.
17252         * ggc-simple.c (ggc_get_size): New function.
17253
17254 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
17255
17256         * flow.c (propagate_block): When the last reference to a label
17257         before an ADDR_VEC is deleted because the reference is a dead
17258         store, delete the ADDR_VEC.
17259
17260 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
17261
17262         * resource.c (find_free_register): Don't use the frame pointer
17263         if frame_pointer_needed.
17264
17265 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
17266
17267         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17268         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17269
17270         * config/i960/i960.c (i960_va_start): New locals base, num.
17271         Use INDIRECT_REF instead of ARRAY_REF on valist.
17272         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17273
17274 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
17275
17276         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17277
17278 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
17279
17280         * tree.def (PLACEHOLDER_EXPR): Update comments.
17281
17282 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17283
17284         * c-common.c (check_format_info): Avoid non-literal format string
17285         warnings when `first_arg_num' is zero.
17286
17287 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17288
17289         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17290
17291 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
17292
17293         * arm.md (casesi_insn): Add a clobber of the condition code
17294         register.
17295
17296 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
17297
17298         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17299         used by both cc1 and cc1plus.
17300
17301 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
17302
17303         * config/arm/arm.c: Initialise arm_structure_size_boundary to
17304         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17305         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17306         to the value 32 if it has not already been defined.
17307         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17308         Override definition in arm.h with a value of 8.
17309
17310 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
17311
17312         * c-pragma.c (push_alignment): Don't check the return value
17313         of xmalloc.
17314
17315 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
17316
17317         * sparc.h (ADJUST_COST): Fix thinko.
17318
17319 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
17320
17321         * cccp.c (rescan): Fixed obp pointer handling around call to
17322         check_expand subroutine.
17323
17324 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
17325
17326         * gcse.c (delete_null_pointer_checks): Only record non-null info
17327         for pseudos when examining stores.
17328
17329         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17330         splitters for these patterns.  Use "#" for output templates.
17331         (addsi3_carryin_shift): New pattern.
17332
17333 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
17334
17335         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17336         of the function return register into a plain REG until
17337         after function inlining is done.
17338
17339 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17340
17341         * jump.c (jump_optimize_1): If we did cross-jumping, and
17342         the data will matter, rebuild the CFG.
17343         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17344         not optimizing.  Don't run shorten_branches.
17345         * toplev.c (rest_of_compilation): Run shorten_branches after
17346         reg_to_stack.
17347
17348 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
17349
17350         * rtl.h (note_stores): Add additional paramter.
17351         * rtlanal.c (reg_set_p_1): Take additional paramter.
17352         (reg_set_last_1): Likewise.
17353         (reg_set_p): Adjust call to note_stores.
17354         (reg_set_last): Likewise.
17355         (note_stores): Pass data parameter to worker function.
17356         * alias.c (record_set): Take additional parameter.
17357         (init_alias_analysis): Pass it.
17358         * caller-save.c (mark_set_regs): Take additional parameter.
17359         (save_call_clobbered_regs): Pass NULL to note_stores.
17360         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17361         parameter.
17362         (record_dead_and_set_regs_1): Likewise.
17363         (reg_dead_at_p_1): Likewise.
17364         (combine_instructions): Adjust calls to note_stores.
17365         (try_combine): Likewise.
17366         (record_dead_insn): Remove.
17367         (record_dead_and_set_regs): Adjust calls to note_stores.
17368         (reg_dead_at_p): Likewise.
17369         * cse.c (invalidate_skipped_set): Take additional parameter.
17370         (cse_check_loop_start): Likewise.
17371         (cse_check_loop_start_value): Remove.
17372         (cse_set_around_loop): Adjust calls to note_stores.
17373         * flow.c (notice_stack_pointer_modification): Take additional
17374         parameter.  Remove duplicate declaration.
17375         (record_volatile_insns): Adjust calls to note_stores.
17376         * gcse.c (record_set_info): Take additional parameter.
17377         (record_last_set_info): Likewise.
17378         (invalidate_nonnull_info): Likewise.
17379         (record_set_insn): Remove.
17380         (compute_sets): Adjust calls to note_stores.
17381         (last_set_insn): Remove.
17382         (compute_hash_table): Adjust calls to note_stores.
17383         (insert_insn_end_bb): Likewise.
17384         (delete_null_pointer_checks): Likewise.
17385         * global.c (mark_reg_store): Take additional parameter.
17386         (mark_reg_clobber): Likewise.
17387         (reg_becomes_live): Likewise.
17388         (global_conflicts): Adjust calls to note_stores.
17389         (build_insn_chain): Likewise.
17390         * integrate.c (note_modified_parmregs): Take additional parameter.
17391         (mark_stores): Likewise.  Make it static.
17392         (save_for_inline_nocopy): Adjust calls to note_stores.
17393         (try_constants): Likewise.
17394         * integrate.h (mark_stores): Remove declaration.
17395         * jump.c (mark_modified_reg): Take additional parameter.
17396         (thread_jumps): Adjust calls to note_stores.
17397         * local-alloc.c (validate_equiv_mem_from_store): Take additional
17398         parameter.
17399         (no_equiv): Likewise.
17400         (reg_is_set): Likewise.
17401         (validate_equiv_mem): Adjust calls to note_stores.
17402         (update_equiv_regs): Likewise.
17403         (block_alloc): Likewise.
17404         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17405         (note_addr_stored): Take additional parameter.
17406         (note_set_pseudo_multiple_uses): Likewise.
17407         (record_initial): Likewise.
17408         (prescan_loop): Adjust calls to note_stores.
17409         (strength_reduce): Likewise.
17410         (check_dbra_loop): Likewise.
17411         * regmove.c (flags_set_1): Take additional paramter.
17412         (mark_flags_life_zones): Adjust calls to note_stores.
17413         * reload1.c (mark_not_eliminable): Take additional parameter.
17414         (forget_old_reloads_1): Likewise.
17415         (reload_cse_invalidate_rtx): Likewise.
17416         (reload_cse_check_clobber): Likewise.
17417         (reload_combine_note_store): Likewise.
17418         (move2add_note_store): Likewise.
17419         (reload): Adjust calls to note_stores.
17420         (reload_as_needed): Likewise.
17421         (emit_reload_insns): Likewise.
17422         (reload_cse_regs_1): Likewise.
17423         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17424         (reload_combine): Adjust calls to note_stores.
17425         * resource.c (update_live_status): Take additional paramter.
17426         (mark_target_live_regs): Adjust calls to note_stores.
17427         * stupid.c (find_clobbered_regs): Take additional parameter.
17428         (stupid_life_analysis): Adjust calls to note_stores.
17429
17430 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
17431
17432         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17433         definition.
17434
17435         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17436         definition.
17437
17438         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17439         of the variable arm_structure_size_boundary.
17440
17441 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
17442
17443         * alias.c (init_alias_analysis): Allocate reg_known_value and
17444         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
17445         and reg_seen.
17446         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17447         * cse.c (cse_main): Call end_alias_analysis.
17448         * haifa-sched.c (schedule_insns): Likewise.
17449         * local-alloc. (update_equiv_regs): Likewise.
17450         * reload1.c (reload_cse_regs): Likewise.
17451
17452 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17453
17454         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17455         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17456         mapping from MASK_FPU.
17457
17458 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
17459
17460         * sparc.md (call): Don't bound structure return size to 0xfff.
17461
17462 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
17463
17464         * resource.c (mark_target_live_regs): Check that the target
17465         insn wasn't created after compute_bb_for_insn.
17466
17467 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
17468
17469         * ggc-page.c (poison_pages): Don't be overzealous.
17470
17471 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
17472
17473         * alias.c: Update comments for ADDRESS.
17474         (nonlocal_reference_p): Look inside the ADDRESS to determine if
17475         it is a local memory reference.
17476
17477         * c-typeck.c (build_function_call): Check that the built-in
17478         function is of class BUILT_IN_NORMAL before trying to recongize
17479         it as BUILT_IN_ABS.
17480         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17481         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17482
17483 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
17484
17485         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17486         of alloca.
17487         (pre_gcse): Likewise.
17488         (hoist_expr_reaches_here_p): Likewise.
17489         (hoist_code): Likewise.
17490         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17491         code to ...
17492         (pre_expr_reaches_here_p_work): ... here.
17493         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17494         code to ...
17495         (expr_reaches_here_p_work): ... here.
17496
17497 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
17498
17499         * resource.c (find_basic_block): Delete.
17500         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17501         (init_resource_info): Call compute_bb_for_insn.
17502
17503 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
17504
17505         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17506         with already adjacent blocks, but no fallthru.
17507         (merge_blocks_move_successor_nojumps): Simplify.
17508         (debug_flow_info): New.
17509
17510         * toplev.c (rest_of_compilation): Open jump1 dump file before
17511         jump and close after, as opposed to just using dump_rtl.
17512
17513 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17514
17515         * reload.h (earlyclobber_operand_p): Declare.
17516         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
17517         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17518         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17519         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
17520
17521 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
17522                           Richard Henderson  <rth@cygnus.com>
17523
17524         * emit-rtl.c (emit_block_insn_before): New.
17525         (emit_block_insn_after): New.
17526         * basic-block.h: Declare them.
17527
17528         * bitmap.h: Protect from multiple inclusion.
17529
17530         * recog.c (scratch_operand): Handle VOIDmode correctly.
17531
17532         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17533
17534         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17535         * function.c (assign_parms): Likewise.
17536         * global.c (global_conflicts): Clarify STACK_REGS commentary.
17537
17538         * reg-stack.c (max_uid): Remove.
17539         (blocks, block_begin, block_end, block_drops_in): Remove.
17540         (block_stack_in, block_out_reg_set, block_number): Remove.
17541         (struct block_info_def, BLOCK_INFO): New.
17542         (enum emit_where): New.
17543         (current_block): New.
17544         (BLOCK_NUM): Remove.
17545         (mark_regs_pat, record_label_references): Remove.
17546         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17547         (nan): New.
17548         (goto_block_pat, print_blocks, dump_stack_info): Remove.
17549         (reg_to_stack): Simplified test for existance of fp code.  Use
17550         flow.c code.  Call shorten_branches after cross-jump opt.
17551         (check_asm_stack_operands): Renamed from record_asm_reg_life.
17552         Return false if the asm doesn't use stack regs.  Don't do life
17553         analysis on the asm.
17554         (emit_pop_insn): Replace function pointer arg `when' with
17555         enum `where'.  Update all callers.
17556         (change_stack): Likewise.  Update basic block end.
17557         (emit_swap_insn): Use current_block->head to limit reverse search
17558         for start of block.  Use emit_block_insn_after.
17559         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17560         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
17561         structure assignment instead of bcopy.
17562         (print_stack): New.
17563         (convert_regs_entry, convert_regs_exit): New.
17564         (convert_regs_1, convert_regs_2): Split out from convert_regs.
17565         Work on basic blocks and the CFG.
17566         (convert_regs): Use them.
17567
17568         * i386.c (output_fix_trunc): Remove code for DImode input operand
17569         not at top-of-stack.
17570         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17571         appropriate mode.
17572         (fix_truncdi_1): Allow any mode scratch.
17573
17574 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
17575
17576         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17577         * linux.h, netbsd.h, vms.h: Not here.
17578
17579 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
17580
17581         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17582         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17583         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17584         CONDITIONAL_REGISTER_USEAGE): Use them.
17585         * config/mips/mips.c (mips_move_1word,mips_move_2words,
17586         gen_conditional_branch,override_options) : Use them.
17587         * config/mips/mips.md : Use them.
17588
17589 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
17590
17591         * i386.md (zero_extendqihi2): Use SImode register name with andl.
17592
17593 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
17594
17595         * integrate.c (function_cannot_inline_p): Don't allow inlining
17596         if setjmp is used.
17597
17598 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17599
17600         * c-parse.in (cast_expr): Constify.
17601
17602         * cccp.c (special_symbol): Likewise.
17603
17604         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
17605
17606         * dwarf2out.c (base_type_die): Likewise.
17607
17608         * global.c (allocno_compare): Likewise.
17609
17610         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
17611
17612         * regclass.c (fix_register): Likewise.
17613
17614         * rtl.h (fix_register): Likewise.
17615
17616         * stupid.c (stupid_reg_compare): Likewise.
17617
17618         * toplev.c (decode_f_option): Likewise.
17619
17620         * tree.c (build_complex_type): Likewise.
17621
17622 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
17623
17624         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
17625
17626 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17627
17628         * reload.c (find_reloads): Compute mode and nregs fields of all
17629         reloads.
17630         * reload1.c (calculate_needs_all_insns): Simplify a bit.
17631         (calculate_needs): Use precomputed mode/nregs values.
17632         (allocate_reload_reg): Likewise.
17633         Break out two...
17634         (failed_reload, set_reload_reg): ... new functions.
17635         (choose_reload_regs_init): New function, mostly broken out from...
17636         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
17637         Also lose one #if 0 block.
17638
17639 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
17640
17641         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
17642         substitution.
17643
17644 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
17645
17646         * tree.h (BLOCK_TYPE_TAGS): Remove.
17647         (BLOCK_END_NOTE): Likewise.
17648         (BLOCK_LIVE_RANGE_FLAG): Likewise.
17649         (BLOCK_LIVE_RANGE_START): Likewise.
17650         (BLOCK_LIVE_RANGE_END): Likewise.
17651         (tree_block): Remove live_range_flag, live_range_var_flag, and
17652         type_tags.  Remove end_note, live_range_start, and live_range_end.
17653         (remember_end_note): Remove prototype.
17654         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
17655         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
17656         remember_end_note.
17657         * ggc-common.c (ggc_mark_tree_children): Don't mark
17658         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
17659         * integrate.c (adjust_copied_decl_tree): Remove.
17660         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
17661         * stmt.c (last_block_end_note): Remove.
17662         (init_stmt): Don't add a GC root for it.
17663         (expand_fixup): Don't set it.
17664         (remember_end_note): Remove.
17665         (expand_end_bindings): Don't set last_block_end_note.
17666
17667 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17668
17669         * reload1.c (reload_reg_free_for_value_p): Show
17670         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
17671         reloads.
17672
17673 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
17674
17675         * expmed.c (extract_bit_field): Allow for the case of non-integer
17676         objects that are smaller than a word (like SFmode on a 64-bit
17677         machine).
17678
17679         * loop.c (basic_induction_var): A non-integer variable which is
17680         being set by a paradoxical subreg is probably not a biv.
17681
17682 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17683
17684         * prefix.c (translate_name) Check for empty prefix string.
17685
17686 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
17687
17688         * Makefile.in (CPP_CROSS_NAME): New variable.
17689         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
17690         xcpp.
17691         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
17692         names of the files to be uninstalled.
17693
17694 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
17695
17696         * collect2.c (IS_DIR_SEPARATOR): Define.
17697         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
17698
17699         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
17700         functions too.
17701
17702         * haifa-sched.c (add_dependence): Update the true dependency
17703         cache the first time we add a true dependence to the LOG_LINKS chain.
17704
17705 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
17706
17707         * fold-const.c (fold): Fix comment.
17708
17709 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17710
17711         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
17712         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
17713         dbxout_start_new_source_file, dbxout_source_file,
17714         dbxout_source_line, dbxout_finish, dbxout_type_fields,
17715         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
17716         Constify a char*.
17717         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
17718         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
17719         (dbxout_block): Initialize variable `blocknum'.
17720
17721         * dbxout.h (dbxout_init, dbxout_finish,
17722         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
17723         dbxout_args, dbxout_source_line): Constify a char*.
17724
17725         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
17726         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
17727         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
17728         low_pc_attribute, high_pc_attribute, body_begin_attribute,
17729         body_end_attribute, comp_dir_attribute, sf_names_attribute,
17730         src_info_attribute, mac_info_attribute, producer_attribute,
17731         lookup_filename, generate_macinfo_entry, fundamental_type_code,
17732         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
17733         dwarfout_undef): Constify a char*.
17734         (add_incomplete_type, retry_incomplete_types): Add prototypes.
17735
17736         * dwarfout.h (dwarfout_define, dwarfout_undef,
17737         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
17738
17739 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
17740
17741         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
17742         (MULTILIB_ISA_DEFAULT): New.
17743         (MULTILIB_DEFAULTS): Use it.
17744         * config/mips/mips.c (): Remove the now unnecessary definition
17745         of MIPS_ISA_DEFAULT.
17746         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
17747         unnecessary definition.
17748
17749 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
17750
17751         * arm.md (pic_load_addr): Add constraints to operand 1.
17752
17753 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
17754
17755         * fixinc/genfixes:  Provide a means for specifying -D options to
17756         AutoGen
17757
17758 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
17759
17760         * arm.c (arm_override_options): Correct initialization of
17761         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
17762         arm_is_strong, and arm_is_6_or_7.
17763
17764         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
17765         (note_set_pseudo_multiple_uses): New function.
17766         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
17767         if a pseudo set in the loop exit is used elsewhere.
17768
17769 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
17770
17771         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
17772
17773 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
17774
17775         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
17776         a single load-address pattern.
17777
17778 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
17779
17780         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
17781         depending on whether or not line-number notes are present.
17782
17783 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17784
17785         * cccp.c (progname, file_buf, default_include, include_file,
17786         macrodef, definition, hashval, wchar_type, user_label_prefix,
17787         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
17788         expand_to_temp_buffer, is_system_include, base_name,
17789         absolute_filename, read_name_map, open_include_file,
17790         record_control_macro, check_precompiled, check_preconditions,
17791         pcfinclude, pass_thru_directive, create_definition,
17792         check_macro_name, comp_def_part, collect_expansion,
17793         check_assertion, read_token_list, assertion_install,
17794         assertion_lookup, eval_if_expression, conditional_skip,
17795         validate_else, skip_quoted_string, quote_string, macarg1,
17796         error_from_errno, install, lookup, hashf, dump_defn_1,
17797         perror_with_name, pfatal_with_name, main, trigraph_pcp,
17798         check_white_space, rescan, handle_directive, monthnames,
17799         special_symbol, do_include, remap_include_file, write_output,
17800         arglist, do_assert, do_unassert, do_line, do_error, do_once,
17801         do_ident, do_sccs, do_xifdef, skip_if_group,
17802         output_line_directive, macroexpand, macarg, change_newlines,
17803         initialize_builtins, make_definition): Constify a char*.
17804
17805         * pcp.h (stringdef): Likewise.
17806
17807 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
17808
17809         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
17810         not of pattern.
17811
17812 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
17813                           Richard Henderson  <rth@cygnus.com>
17814
17815         * alias.c: Include ggc.h.
17816         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
17817         (record_set): Verify enough room in reg_base_value.
17818         (init_alias_analysis): Allocate reg_base_value with xcalloc.
17819         Register it as a GC root.
17820         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
17821         * Makefile.in (alias.o): Depend on ggc.h.
17822
17823         * unroll.c (unroll_loop): Verify the insn before a barrier
17824         is a JUMP_INSN before checking JUMP_LABEL.
17825
17826 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17827
17828         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
17829         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
17830         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
17831         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
17832         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
17833         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
17834
17835 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17836
17837         * output.h (ctors_section, dtors_section, bss_section): Prototype.
17838
17839         * alpha/alpha-interix.h (text_section): Delete prototype.
17840         * alpha/elf.h (text_section): Likewise.
17841         * arm/linux-elf.h (text_section): Likewise.
17842         * arm/linux-telf.h (text_section): Likewise.
17843         * c4x/c4x.h (text_section): Likewise.
17844         * dsp16xx/dsp16xx.h (bss_section): Likewise.
17845         * elfos.h (text_section): Likewise.
17846         * i386/aix386ng.h (text_section): Likewise.
17847         * i386/i386-interix.h (text_section): Likewise.
17848         * i386/sco5.h (text_section): Likewise.
17849         * i386/svr3gas.h (text_section): Likewise.
17850         * nextstep.h (text_section): Likewise.
17851         * psos.h (text_section): Likewise.
17852         * ptx4.h (text_section): Likewise.
17853         * svr3.h (text_section): Likewise.
17854         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
17855
17856 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17857
17858         * final.c (peephole): Delete prototype.
17859
17860         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
17861         (pre_insert_copies): Remove unused variable `bb'.
17862
17863         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
17864         prototypes.
17865
17866         * output.h (peephole): Add prototype.
17867
17868 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
17869
17870         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
17871         -O0.
17872
17873 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
17874
17875         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
17876         for inlined declarations.
17877
17878 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
17879
17880         * arm.c (logical_binary_operator): New fucntion.
17881         * arm.h (logical_binary_operator): Declare it.
17882         (PREDICATE_CODES): Handle logical_binary_operator.
17883         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
17884         output constraints.  Add appropriate splitters.
17885         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
17886         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
17887         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
17888
17889 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17890
17891         * genoutput.c (struct operand_data): New elt eliminable.
17892         (output_operand_data): Write it.
17893         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
17894         (compare_operands): Take it into account.
17895         * recog.h (struct insn_operand_data): New elt eliminable.
17896         * reload1.c (check_eliminable_occurrences, elimination_effects): New
17897         functions.
17898         (old_asm_operands_vec, new_asm_operands_vec): Delete.
17899         (eliminate_regs): Move code that detects changes to elimination
17900         target regs into new function elimination_effects.
17901         Delete one #if 0 block.
17902         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
17903         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
17904         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
17905         Only call eliminate_regs for real operands of the insn, not for parts
17906         of its structure or parts matched by things like match_operator.
17907         Use elimination_effects and check_eliminable_occurrences.  Use
17908         copy_insn to duplicate the pattern when not in the final pass.
17909
17910 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
17911
17912         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
17913         and fld.
17914
17915 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
17916
17917         * fixinc/README: document the "mach" machine matching test
17918         * fixinc/fixfixes.c: Implement the #else/#endif label fix
17919         * fixinc/fixtests.c: Implement the #else/#endif label test
17920         * fixinc/inclhack.def: utilize these tests and fixes
17921         * fixinc/inclhack.sh:  regen
17922         * fixinc/fixincl.x:  regen
17923         * fixinc/fixincl.sh:  regen
17924
17925 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
17926
17927         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
17928         depend on ggc.h.
17929
17930 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
17931
17932         * gcc.1: Document exit codes.
17933
17934 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17935
17936         * calls.c: Include tm_p.h later, so everything we need is defined.
17937         * expr.c: Likewise.
17938         * function.c: Likewise.
17939
17940         * except.c: Include tm_p.h.
17941
17942         * sparc.c: Likewise.
17943         (dwarf2out_cfi_label): Don't prototype.
17944         (check_return_regs, epilogue_renumber,
17945         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
17946         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
17947         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
17948         ultra_schedule_insn): Add static prototype.
17949         (data_segment_operand, text_segment_operand): Call itself with the
17950         proper number of arguments.
17951         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
17952
17953         * sparc.h: Move all declarations to sparc-protos.h.
17954         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
17955         symbolic_operand.
17956
17957         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
17958
17959         * config/svr4.h (text_section, ctors_section, dtors_section): Add
17960         Prototypes.
17961         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
17962         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
17963         ASM_OUTPUT_ASCII): Constify a char*.
17964
17965         * sparc-protos.h: New file for sparc prototypes.
17966
17967 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17968
17969         * function.c (record_insns, contains): Always declare and define.
17970         (record_insns): Mark with ATTRIBUTE_UNUSED.
17971
17972 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17973
17974         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
17975         to .section when outputting a .bss section to deal with multiple
17976         .bss input sections (as happens with -fdata-sections)
17977         Also output %progbits, not @progbits so the assembler doesn't treat as
17978         a comment.
17979         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
17980
17981         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
17982         thumb parts even when building with non-thumb CPUs, by forcing
17983         thumb mode.
17984
17985 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
17986
17987         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
17988         (movdf_const_intreg_sp64): Similarly.
17989
17990         * local-alloc.c (update_equiv_regs): Check the correct insn
17991         for pre-existing REG_EQUIV notes.
17992
17993 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
17994
17995         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
17996         block reached by a branch if we're not going to actually process
17997         this block.
17998
17999 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
18000
18001         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
18002         a local extern function declaration.
18003
18004 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
18005
18006         * i386.c (ix86_expand_prologue): Properly wrap USE around
18007         reg for CALL_INSN_FUNCTION_USAGE.
18008
18009 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
18010
18011         * config/mips/mips.md (movdf_internal1a): Allow floating-point
18012         move between GP_REGs.
18013
18014 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
18015
18016         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
18017         the mode size when finding out if an offset is legal.
18018
18019 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
18020
18021         * basic-block.h (PROP_*): Move constants from ...
18022         * flow.c: ... here.
18023         (compute_bb_for_insn): Free the array before reallocating.
18024         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
18025         (allocate_reg_life_data): Reset all reg variables collected by
18026         propagate_block.
18027         (get_block_head_tail): Don't convert from bb to block.
18028         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
18029         (find_insn_reg_weight): Take block not bb.
18030         (schedule_block): Don't set block num for moved insns.
18031         (schedule_region): Don't update_life_info or find_insn_reg_weight.
18032         (schedule_insns): Do it here instead.
18033         * combine.c (combine_instructions): Invoke compute_bb_for_insn
18034         before update_life_info.
18035         * recog.c (split_all_insns, peephole2_optimize): Update for
18036         new arg to update_life_info.
18037         * rtlanal.c (remove_note): Cope with NULL note.
18038         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18039         if we did sched1.
18040
18041 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
18042
18043         * jump.c (jump_optimize_1): More accurately detect casesi insns.
18044
18045         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18046         block records so that merge_blocks_nomove will clean up correctly.
18047         (split_edge): Handle casesi insns.
18048
18049         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18050
18051 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
18052
18053         * pa.md (call, call_value): Do not emit a blockage after restoring
18054         the PIC register.
18055
18056 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
18057
18058         * c-typeck.c (c_expand_asm_operands): Fix typo.
18059
18060 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18061
18062         * arm.c (fpu_rhs_operand): Verify modes.
18063         (fpu_add_operand): Likewise.
18064         (di_operand): Likewise.
18065         (soft_df_operand): Likewise.
18066
18067 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
18068
18069         * arm.c (arm_return_in_memory): APCS rules state that the elements
18070         of a structure returned in a register must be 'integer-like'.
18071
18072 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
18073
18074         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18075         in the source tree when the generated targets are out of date
18076         * fixinc/genfixes: Alter it to run individual fixes for make.
18077         * fixinc/README: rewrite
18078         * fixinc/inclhack.def: moved initial comments to README
18079
18080 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
18081
18082         * toplev.c (main): Do not generate an error message if an
18083         unrecognised command line switch is recognisable by another
18084         language.  If extra_warnings are enabled, then generate a
18085         warning message instead.
18086
18087 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18088
18089         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18090         (insert_pack_attributes): Delete prototype.
18091
18092         * c-pragma.c (default_alignment): New static variable.
18093         (push_alignment): Initialize to current effective alignment.
18094         (pop_alignment): Use to set new alignment.
18095         (insert_pack_attributes): Delete function.
18096         (handle_pragma_token): Set default_alignment as well each time
18097         a #pragma pack(<n>) is encountered.
18098
18099 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
18100
18101         * reg-stack.c (stack_result): Aggregates are not returned in
18102         stack registers.
18103
18104 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
18105
18106         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18107
18108 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
18109
18110         * basic-block.h (set_block_num): Declare.
18111         * flow.c (update_life_info): Don't call compute_bb_for_insn
18112         or free_basic_block_vars.
18113         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18114         (insn_orig_block): Remove.
18115         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
18116         (schedule_block): Keep BLOCK_NUM up-to-date.
18117         (schedule_insns): Use compute_bb_for_insn.
18118         * recog.c (split_all_insns): Likewise.
18119         (peephole2_optimize): Likewise.
18120
18121 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
18122
18123         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18124         if the pic register is used.
18125
18126 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18127
18128         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18129         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18130         if that tests TREE_PERMANENT.
18131
18132 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
18133
18134         * cse.c (invalidate_for_call): Do not remove memory references from
18135         the table here.  It's handled elsewhere.
18136
18137         * haifa-sched.c (add_dependence): Protect references to the
18138         true dependency cache with #ifdef INSN_SCHEDULING.
18139         (remove_dependence): Similarly.
18140
18141         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18142         to the cfg code that this is a return instruction.
18143         * mn10300.md (return_internal): Similarly.
18144
18145         * combine.c (get_last_value): If the last set of a register
18146         is after subst_low_cuid, then we can not use it to determine
18147         the register's last value.
18148
18149 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18150
18151         * Makefile.in: Back out previous change.
18152
18153 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
18154
18155         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18156
18157         * haifa-sched.c (add_dependence): Only check/update the cache
18158         if it exists.
18159         (remove_dependence): Likewise.
18160         (schedule_insns): Only create the true_dependency_cache if the
18161         average number of instructions in a basic block is very large.
18162
18163 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18164
18165         * Makefile.in (ggc-common.o): Depend on genrtl.h.
18166         (ggc-simple.o): Likewise.
18167         (ggc-page.o): Likewise.
18168
18169 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
18170
18171         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
18172         Prototype for exported functions.
18173         (pre_lcm, pre_rev_lcm): Remove prototypes.
18174         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
18175         (compute_available): Move to lcm.c, and change parameter order.
18176         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
18177         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
18178         (gcse_main): No longer call compute_preds_succs.  Rebuild the
18179         set table after reach pre pass.
18180         (pre_insert_map, pre_delete_map, edge_list): New.
18181         (alloc_pre_mem): Allocate edge vectors.
18182         (free_pre_mem): Delete edge vectors.
18183         (compute_pre_data): Call new edge based lcm routines.
18184         (process_insert_insn): New function.
18185         (insert_insn_end_bb): Use it.
18186         (pre_edge_insert): New function.
18187         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
18188         needed.
18189         (pre_insert_copies): Revamp using new edge based lcm outputs.
18190         (pre_delete): Likewise.
18191         (one_pre_gcse_pass): Insert & remove fake edges to the exit
18192         block.
18193         (compute_code_hoist_vbeinout): New new edge based routines.
18194         * lcm.c: Remove all the old LCM functions.  Replace with new ones
18195         that work with the new cfg datastructures and work with edges
18196         instead of blocks.
18197
18198 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18199
18200         * reload.h (struct reload): Add new fields "mode" and "nregs".
18201         * reload1.c: Change all occurrences of reload_mode and reload_nregs
18202         to reference the "mode" and "nregs" field within struct reload.
18203
18204 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
18205
18206         * haifa-sched.c (true_dependency_cache): New.
18207         (add_dependence): Use the true dependency cache to avoid expensive
18208         walks down the LOG_LINKS dependency list.  Add entries to the
18209         cache as necessary.
18210         (remove_dependence): Remove entries from the true dependency cache
18211         as needed.
18212         (schedule_insns): Allocate and initialize and free the true
18213         dependency cache.
18214
18215         * haifa-sched.c (schedule_insns): Do not remove inter-block
18216         dependencies anymore.
18217
18218 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18219
18220         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
18221         * i386/t-winnt: Likewise.
18222
18223 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
18224
18225         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
18226
18227 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
18228
18229         * Makefile.in (LANGUAGES): Omit "proto".
18230         (clean): Remove stale comment about removing unprotoize.c.
18231
18232 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18233
18234         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
18235         using arithmetic on void pointers.
18236
18237 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
18238
18239         * haifa-sched.c (compute_block_forward_dependencies): Only check
18240         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
18241
18242 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
18243
18244         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18245         (expr_equiv_p): Reject memories with different alias sets.
18246
18247 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
18248
18249         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18250         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18251         (f_options): Add "bounded-pointers" and "bounds-check" entries.
18252         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18253         (lang_init): Set default for flag_bounds_check if still "unspecified".
18254
18255 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18256
18257         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
18258
18259 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18260
18261         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18262         instructions.
18263
18264 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18265
18266         * config/c4x/c4x.md (*db_noclobber,
18267         *decrement_and_branch_until_zero_noclobber): New patterns and
18268         associated splitters.
18269
18270 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18271
18272         * config/c4x/c4x.md (parallel instruction patterns): Rework
18273         constraints to keep reload happy.
18274
18275 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18276
18277         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18278         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18279         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18280         Add new patterns and associated post-reload splitters.
18281
18282 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18283
18284         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18285
18286 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18287
18288         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18289         if appropriate.
18290         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18291
18292 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18293
18294         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
18295         memory mode.
18296
18297 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18298
18299         * pa.c (move_operand): Rely on memory_address_p to determine the
18300         validity of non-indexed memory addresses.
18301         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18302         operand in DFmode and SFmode when generating PA2.0 code.
18303
18304 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
18305
18306         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18307
18308 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
18309
18310         * mips.c (function_prologue): Fix argument types.
18311         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18312         (casesi_internal): Write to the scratch register.
18313
18314 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
18315
18316         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
18317         to U_CHAR **.
18318         (parse_charconst): Delete unnecessary cast when calling
18319         cpp_parse_escape.
18320         (cpplib.h): Kill prototype of cpp_parse_escape.
18321
18322 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
18323
18324         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18325         * unroll.c (unroll_loop): Cast return value of alloca.
18326         * i370/i370.c: Include function.h and toplev.h.
18327         (i370_label_scan): Remove c++ commented abort.
18328         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18329         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18330         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18331         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18332
18333 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
18334
18335         * config/t-freebsd: Do not override USER_H.
18336         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18337
18338 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18339                           Mumit Khan  <khan@xraylith.wisc.edu>
18340
18341         * c-parse.in (component_decl): Support anonymous struct/union.
18342         (%expect): Update.
18343         * c-parse.y: Regenerate.
18344         * c-parse.c: Likewise.
18345         * objc/objc-parse.y: Likewise.
18346         * objc/objc-parse.c: Likewise.
18347         * c-decl.c (finish_struct): Don't sort the fields.
18348         (field_decl_cmp): Delete unused function.
18349
18350 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
18351
18352         * sparc.md (movsf_const_intreg): Revert last constraint change.
18353         (movdf_const_intreg_sp32): Likewise.
18354
18355 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18356
18357         * cse.c: Include hashtab.h instead of splay-tree.h
18358         (struct cse_reg_info): No longer use variant union.  Add new
18359         field "regno".  All references changed to avoid union.
18360         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18361         (free_cse_reg_info): Remove.
18362         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18363         (get_cse_reg_info): Revamp to use expandable hash tables instead
18364         of splay trees.  Initialize new fields in cse_reg_info structure.
18365         (new_basic_block): Similarly.
18366
18367 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
18368
18369         * genrecog.c (message_with_line): Prototype.
18370         (validate_pattern): Pass along the set for the dest, not a flag.
18371         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
18372         Check for PC/CC0 as sources.
18373         (nodes_identical): Check for children position match before
18374         allowing the combination.
18375
18376         * rtl.c (read_rtx): Track line number across \\\n.
18377
18378 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
18379
18380         * mips.h (SPECIAL_MODE_PREDICATES): New.
18381         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18382         (movdi+1, movsi+1): Add output reload constraint.
18383         (casesi_internal): Likewise.  Fix commentary.
18384         (return_internal): Use pmode_register_operand.
18385
18386 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
18387
18388         * 1750a.md (movstrqi): Add missing output reload constraint.
18389         (call_value): Likewise.
18390         * a29k.md (cpxxx patterns): Add missing match_operator mode.
18391         (jmpfdec): Add missing inout reload constraint.
18392         * elxsi.md (addsi patterns): Add missing output reload constraint.
18393         (move from sp): Use @ alternates.
18394         (call_value): No constraint on output.
18395         * fr30.md (movsi_pop): Add missing output reload constraint.
18396         (movsf_constant_store): Likewise.
18397         (splits): Remove constraints.
18398         (subsi3): Add missing mode.
18399         * i370.md (cmpstrsi+1): Add missing output reload constraint.
18400         (call_value): Likewise.
18401         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18402         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18403         * m32r.md (movsicc_internal): Add output reload constraint.
18404         (movstrsi_internal): Add inout reload constraints.
18405         * m88k.h (reg_names): Don't declare.
18406         (SPECIAL_MODE_PREDICATES): New.
18407         * m88k.md (*): Use register_operand not reg_or_0_operand
18408         on destinations.
18409         * mn10200.h (PREDICATE_CODES): New.
18410         * ns32k.md (ffs pattern): Add output reload constraint.
18411         * pdp11.md (sob pattern): Add inout reload constraint.
18412         * sh.md (splits): Remove constraints.
18413         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18414         * v850.md (pattern_is_ok_for_epilogue): Likewise.
18415         * vax.md (jgequ pattern): Add inout reload constraint.
18416
18417 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
18418
18419         * configure.in (djgpp): Revert previous patch.
18420         * configure: Rebuit.
18421         * config/i386/djgpp.h: Revert previous patch.
18422
18423 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
18424
18425         * fixinc/inclhack.def: Restore patch lost during last merge of
18426         "no_bogosity" branch.
18427         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18428
18429 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18430
18431         * fixincludes: Add a HPUX 11 fix for inttypes.h.
18432         * fixinc/inclhack.def: Same.
18433         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18434
18435 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
18436
18437         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18438         as the base of a PLUS.
18439
18440 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18441
18442         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
18443         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
18444
18445 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
18446
18447         * pa.md (post_stw+1): Use pmode_register_operand.
18448         (dcacheflush, icacheflush): Likewise.
18449
18450         * i386.md (movstricthi_1): Allow r/r.
18451
18452 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
18453
18454         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18455         to (not (and (arg0) (arg1))). Similary for and.
18456
18457         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18458         fallthrough to associate code.
18459         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18460         bits in common.
18461
18462         * combine.c (simplify_logical): Convert XOR to IOR if operands have
18463         no bits in common; remove XOR to ROTATE conversion.
18464
18465 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18466
18467         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18468
18469 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18470
18471         * config/c4x/c4x.c (dst_operand): New.
18472         (PREDICATE_CODES): Update.
18473         * config/c4x/c4x.h (dst_operand): Declare it.
18474         * config/c4x/c4x.md:  Define mode for each unspec usage.
18475         (move patterns):  Use dst_operand predicate instead of src_operand.
18476         (movqi_update, movqf_update): Delete.
18477
18478 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
18479
18480         * recog.c (pmode_register_operand): New.
18481         * recog.h: Declare it.
18482         * genrecog.c (pred_codes): Likewise.
18483         (special_mode_pred_table): Likewise.
18484         (validate_pattern): Don't warn no mode for address_operand.
18485
18486         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18487         if the operand is not insn-like.
18488
18489 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
18490                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18491
18492         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18493
18494 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
18495
18496         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18497         instead of general_operand in a SET_DEST.  Use const_double_operand
18498         instead of an explicit test against CONST_DOUBLE.
18499         (movsf_const_lo): Add missing register mode.
18500         (goto_handler_and_restore): Add auxiliary test for Pmode.
18501         (flush): Adjust to use address_operand.
18502         (return_sf_no_fpu): Add missing output constraint.
18503
18504 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
18505
18506         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18507         for call return value.
18508         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18509
18510 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
18511
18512         * toplev.c (main): Only warn about options for other languages.
18513         * collect2.c (main): Pass -w to sub-gcc.
18514
18515 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
18516
18517         * flow.c (propagate_block): Add call-clobbered registers to
18518         significant too.
18519
18520         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18521         zapping mem_set_list.
18522         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18523         (mark_set_1, mark_used_regs): Likewise.
18524
18525 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
18526
18527         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18528
18529 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18530
18531         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18532         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18533         options. Also add a new item "C-only Warning Options" to the
18534         option summary.
18535
18536 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
18537
18538         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18539         from multiple calls.
18540
18541 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
18542
18543         * i386.md (call value patterns): Move to the end of the file.
18544         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18545
18546 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18547
18548         * configure.in (djgpp configuration): Define extra_objects..
18549         * configure: Rebuilt.
18550         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18551         (DTORS_SECTION_ASM_OP): Define.
18552         (INIT_SECTION_ASM_OP): Define.
18553         (FINI_SECTION_ASM_OP): Define.
18554         (DATA_SECTION_ASM_OP): Define.
18555         (TEXT_SECTION_ASM_OP): Define.
18556         (EH_FRAME_SECTION_ASM_OP): Define.
18557         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18558         (STARTFILE_SPEC): Add crtbegin.o.
18559         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18560         to here from LINK_COMMAND_SPEC.
18561         (DO_GLOBAL_CTORS_BODY): Define.
18562         (CRTSTUFF_USE_FINI_SECTION): Define
18563         (HAS_INIT_SECTION): Delete.
18564
18565 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
18566
18567         * Makefile.in (all.cross): Depend on xcpp$(exeext).
18568
18569 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
18570
18571         * pa.h (PREDICATE_CODES): New.
18572
18573         * genrecog.c (validate_pattern): Condense the destination
18574         non-lvalue message.
18575
18576 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
18577
18578         * alpha.md (call-1): Supply missing mode for operator.
18579         (*): Add missing output reload constraints.  Remove constraints
18580         from define_splits.
18581
18582         * i386.h (SPECIAL_MODE_PREDICATES): New.
18583         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18584         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18585         (addsi_lea_3): Add missing mode for op 3.
18586         (prologue_set_got, prologue_get_pc): Add missing modes.
18587         (*) Add missing output reload constraints.
18588
18589 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
18590
18591         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
18592         check for member bit-size overflow and use var_size if it occurs.
18593         (layout_record): Use bitsize_int() to define the type size in bits.
18594         Likewise for computation and assignment to DECL_FIELD_BITPOS.
18595         (layout_decl): Likewise when assigning to DECL_SIZE.
18596
18597 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
18598
18599         * genrecog.c (validate_pattern): Typo last change.  Verify
18600         that output operands have output reloads.
18601
18602 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
18603
18604         * genrecog.c (special_mode_pred_table): New.
18605         (NUM_SPECIAL_MODE_PREDS): New.
18606         (find_operand): New.
18607         (validate_pattern): New argument `insn'.  Warn for assignment to
18608         any predicate accepting non-lvalues.  Conditionaly warn for
18609         match_operand without a mode.  Try much harder to match source
18610         and destination modes on a set.
18611         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
18612
18613 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
18614
18615         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
18616
18617 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
18618
18619         * combine.c (simplify_logical): Recognize xor pattern that encodes
18620         rotation.
18621
18622 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18623
18624         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
18625         alignment.
18626
18627 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
18628
18629         * ggc-page.c (MAP_FAILED): Provide default.
18630
18631 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
18632
18633         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
18634         * sparc.h (PREDICATE_CODES): Update.
18635
18636 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
18637
18638         * alpha.c (some_ni_operand): New.
18639         * alpha-protos.h: Declare it.
18640         * alpha.h (PREDICATE_CODES): Update.
18641         * alpha.md (sXaddq reload insns): Use some_ni_operand
18642         for SET_DEST instead of some_operand.
18643
18644 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
18645                           Jim Wilson  <wilson@cygnus.com>
18646
18647         * genrecog.c (maybe_both_true_2): Don't compare modes of
18648         two DT_pred tests.
18649         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
18650         after find_afterward.
18651         (debug_decision_1): Dump next and afterward codes.
18652
18653 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
18654
18655         * rtl.c (dump_and_abort): Remove.
18656         (fatal_with_file_and_line): New.
18657         (fatal_expected_char): New.
18658         (read_rtx_lineno, read_rtx_filename): New.
18659         (read_skip_spaces): Track line number.
18660         (read_name): Use fatal_with_file_and_line.
18661         (read_rtx): Use fatal_expected_char.  Track line number.
18662         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
18663
18664         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
18665         if it isn't a CODE_LABEL.
18666
18667         * genattr.c (main): Set read_rtx_filename.
18668         * genattrtab.c (main): Likewise.
18669         * gencodes.c (main): Likewise.
18670         * genconfig.c (main): Likewise.
18671         * genemit.c (main): Likewise.
18672         * genextract.c (main): Likewise.
18673         * genflags.c (main): Likewise.
18674         * genopinit.c (main): Likewise.
18675         * genoutput.c (main): Likewise.
18676         * genpeep.c (main): Likewise.
18677
18678         * genrecog.c (decision_test.u.insn): Add `lineno'.
18679         (pattern_lineno, error_count): New variables.
18680         (message_with_line): New.
18681         (add_to_sequence): Break out checking code to ...
18682         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
18683         (merge_insn): Use message_with_line.
18684         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
18685         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
18686
18687 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18688
18689         * expr.c (store_constructor): Clear union if constructor is empty.
18690
18691 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
18692
18693         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
18694         Add !endian checks.  Change %{...} to %(...).
18695
18696 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
18697
18698         * i386.md (*addsi3_cc): Renamed from addcsi3.
18699         (*addsi3_carry): Renamed from addxsi3.
18700         (*subsi3_cc): Renamed from subcsi3.
18701         (*subsi3_carry): Renamed from subxsi3.
18702         (*xorqi_cc_1): Renamed from xorcqi_1.
18703         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
18704         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
18705
18706 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
18707
18708         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
18709         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
18710
18711 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
18712
18713         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
18714         climb up the chain of insns.
18715
18716 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
18717
18718         * genrecog.c (write_subroutine): Careful for null trees.
18719         (process_tree): Don't elide empty functions.
18720
18721 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
18722
18723         * Makefile.in (genrtl.o): Depend on ggc.h.
18724         * configure.in (valloc): Probe for it.
18725         (with-gc): Use ggc-page if valloc present.
18726         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
18727         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
18728         (ggc_alloc_string): Moved from ggc-page.c.
18729         * ggc-none.c (ggc_alloc_obj): New.
18730         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
18731         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
18732         (struct globals): Likewise for dev_zero_fd.
18733         (init_ggc): Likewise for it's initialization.
18734         (ggc_allocated_p): Move careful dereference from ...
18735         (ggc_lookup_page_table): ... here.  Delete.
18736         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
18737         (alloc_anon): Use valloc if no mmap.
18738         (release_pages): Use free if using valloc.
18739         (ggc_alloc_obj): Renamed from alloc_obj.
18740         (ggc_set_mark): Renamed from mark_obj.
18741         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
18742         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
18743         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
18744         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
18745         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
18746         (ggc_collect): Use fp printing instead of our own rounding.
18747         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
18748         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
18749         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
18750         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
18751         (struct ggc_string, struct ggc_any): Delete.
18752         (offsetof): Provide default definition.
18753         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
18754         (PTR_KEY): New.
18755         (struct ggc_mem): New, from corpse of ggc_any.
18756         (struct ggc_status): Delete.
18757         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
18758         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
18759         (n_strings_collected, n_anys_collected): Delete.
18760         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
18761         (ggc_alloc_string, ggc_alloc): Delete.
18762         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
18763         (ggc_free_string, ggc_free_any): Delete.
18764         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
18765         (ggc_compare_addresses, ggc_mark_string): Delete.
18766         (ggc_mark_string_if_gcable, ggc_mark): Delete.
18767         (search_data): Delete.
18768         (struct globals): New.
18769         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
18770         (tree_insert, tree_lookup): New.
18771         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
18772         (clear_marks, sweep_objs): New.
18773         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
18774         (init_ggc): Set allocated_last_gc.
18775         (ggc_push_context): Gut.  Use G.context.
18776         (ggc_pop_context): Likewise.
18777         (ggc_pop_context_1): New.
18778         (debug_ggc_tree): New.
18779         (debug_ggc_balance, tally_leaves): New.
18780         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
18781         (ggc_mark_string_if_gcable): Remove decl.
18782         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
18783         (ggc_mark_rtvec_children): New.
18784         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
18785         (ggc_mark_if_gcable): New decl.
18786         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
18787         (ggc_alloc_tree, ggc_alloc): Likewise.
18788         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
18789         (ggc_alloc_obj): New decl.
18790         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
18791         (ggc_alloc_tree, ggc_alloc): Likewise.
18792         (ggc_set_mark): New decl.
18793         * rtl.h (struct rtx_def): Remove gc_mark.
18794         (struct rtvec_def): Likewise.
18795         * tree.h (struct tree_common): Likewise.
18796
18797 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
18798
18799         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
18800         float_format and thread_file definitions.
18801         * configure: Rebuilt.
18802
18803 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
18804
18805         * extend.texi (Function Names): Document types of function names.
18806
18807 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18808
18809         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
18810         an earlyclobbered output conflict with RELOAD_INPUT reloads.
18811
18812 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18813
18814         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
18815
18816 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18817
18818         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
18819
18820 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
18821
18822         * collect2.c (main): Do prelimnary link on AIX if rflag.
18823
18824 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18825
18826         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
18827         __CTOR_LIST__ in opposite order, which is the correct order for sorted
18828         constructors.
18829         (__do_global_dtors): similarly for __DTOR_LIST__.
18830
18831 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18832                                 Diego Novillo <dnovillo@cygnus.com>
18833
18834         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
18835         FPUL_REGS.
18836
18837 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
18838
18839         * fixincl/*: Merged "no_bogosity" branch
18840         * fixincl/fixlib.h: protect against doubly defining t_bool
18841         * fixincl/server.h: protect against doubly defining t_bool
18842
18843 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
18844
18845         * genoutput.c: Include toplev.h.
18846
18847 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
18848
18849         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
18850         Undef.
18851         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
18852         * configure: Regenerate.
18853
18854 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18855
18856         * gcse.c (delete_null_pointer_checks): Returns void.
18857
18858 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18859
18860         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
18861         * emit-rtl.c (copy_insn_1): Likewise.
18862
18863 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18864
18865         * config/mips/mips.c (mips_build_va_list): Correct
18866         TREE_CHAIN setting when hard-float.
18867         (mips_va_start): Use corrected setting.
18868         (mips_va_arg): Likewise.  Also pass a tree to build of
18869         POSTINCREMENT_EXPR rather than a naked 'int'.
18870
18871 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
18872
18873         * ggc.h (ggc_push_context): Fix comment.
18874         (ggc_pop_context): Likewise.
18875         (mark_string_if_gcable): Likewise.
18876         * ggc-common.c (ggc_mark_rtx_children): Use
18877         ggc_mark_string_if_gcable.
18878         * ggc-page.c (ggc_lookup_page_table): New function.
18879         (ggc_allocated_p): Likewise.
18880         (mark_obj): Fix formatting.
18881         (ggc_mark_string_if_gcable): New function.
18882         * ggc-simple.c (ggc_allocated_strings): New variable.
18883         (ggc_strings_used): Likewise.
18884         (ggc_compare_addresses): New function.
18885         (ggc_pop_context): Pop the `any' memory too.
18886         (ggc_mark_string_if_gcable): New function.
18887         (ggc_collect): Initialize and tear down ggc_allocated_strings.
18888
18889 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
18890
18891         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
18892         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
18893         * rs6000.c (expand_block_move): Match movstrsi_?reg register
18894         changes.
18895
18896 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
18897
18898         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
18899         (sched_reg_live_length, sched_reg_basic_block): Delete.
18900         (current_block_num, bb_live_regs, old_live_regs): Delete.
18901         (dead_notes, struct sometimes): Delete.
18902         (sched_note_set, birthing_insn_p): Delete.
18903         (adjust_priority): Gut useless reg lifetime code.
18904         (create_reg_dead_note, attach_deaths): Delete.
18905         (attach_deaths_insn, new_sometimes_live): Delete.
18906         (finish_sometimes_live): Delete.
18907         (find_pre_sched_live, find_post_sched_live): Delete.
18908         (update_reg_usage): Delete.
18909         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
18910         (schedule_insns): Delete reg lifetime code.
18911         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
18912         (unlink_other_notes): Adjust REG_NOTE commentary.
18913         (reemit_notes): Use REG_SAVE_NOTE.
18914         (schedule_block): Likewise.
18915         (schedule_region): Allocate bitmap of blocks in region.  Use
18916         count_or_remove_death_notes.  Use update_life_info.
18917
18918         * rtl.h (REG_SAVE_NOTE): New.
18919         * rtl.c (reg_note_name): Update.
18920
18921 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
18922
18923         * combine.c (refresh_blocks, need_refresh): New.
18924         (combine_instructions): Allocate refresh_blocks.  Invoke
18925         update_life_info if needed.
18926         (distribute_notes): Mark refresh_blocks instead of installing
18927         USE insns.
18928         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
18929         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
18930
18931         * Makefile.in (recog.o): Depend on basic-block.h.
18932
18933 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
18934
18935         * genrecog.c (add_to_sequence): Thinko last change: delete
18936         shadowing allow_const_int variable.
18937
18938 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18939
18940         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
18941         __GNUC__ and __GNUC_MINOR__.
18942
18943         * gansidecl.h: Likewise.
18944
18945         * rtl.c: Likewise.
18946
18947         * rtl.h: Likewise.
18948
18949         * toplev.h: Likewise.
18950
18951         * tree.c: Likewise.
18952
18953         * tree.h: Likewise.
18954
18955         * varray.c: Likewise.
18956
18957         * varray.h: Likewise.
18958
18959 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18960
18961         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
18962         use one before a jump table.
18963
18964         * rtl.def (ADDRESS): Change documentation to match reality.
18965         * md.texi: Don't document it.
18966         * gmicro.md (load address pattern): Use 'p' constraint, delete use
18967         of ADDRESS rtx.
18968
18969         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
18970
18971 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
18972
18973         * genrecog.c (add_to_sequence): Move allow_const_int test outside
18974         known predicate block; default allow_const_int true.
18975         (debug_decision_list): New.
18976
18977 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
18978
18979         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
18980
18981 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
18982
18983         * gcse.c (gcse_main): Avoid global optimizations if we have a
18984         large number of basic blocks and the ratio of edges to blocks
18985         is high.
18986         (delete_null_pointer_checks): Likewise.
18987
18988 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
18989
18990         * c-common.c (check_format_info): Warn if format string isn't a
18991         string literal.
18992
18993 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18994
18995         * configure.in (arm*-*-*): Don't let autoconf remove brackets
18996         * configure: regenerate
18997
18998 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
18999
19000         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
19001         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
19002         (peepholes): Re-enable.
19003
19004 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
19005
19006         * Makefile.in (flow.o): Depend on TREE_H.
19007         * basic-block.h (REG_SET_EQUAL_P): New.
19008         (XOR_REG_SET): New.
19009         (n_edges): Declare.
19010         (free_regset_vector): Remove declaration.
19011         (flow_delete_insn_chain): Declare.
19012         (enum update_life_extent): New.
19013         (update_life_info, count_or_remove_death_notes): Declare.
19014         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
19015         Verify register live at bb->global_live_at_start before adding USE.
19016         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
19017         (CLEAN_ALLOCA): New.
19018         (n_edges): New.
19019         (PROP_*): New flags.
19020         (find_basic_blocks_1): Use alloc_EXPR_LIST.
19021         (clear_edges): Zero n_edges.
19022         (make_edge): Increment n_edges.
19023         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
19024         (flow_delete_insn_chain): Export.
19025         (delete_block): Decrement n_edges.
19026         (merge_blocks_nomove): Likewise.
19027         (life_analysis): Give life_analysis_1 PROP flags.
19028         (verify_wide_reg_1, verify_wide_reg): New.
19029         (verify_local_live_at_start): New.
19030         (update_life_info): Rewrite to call into propogate_block.
19031         (mark_reg): New.
19032         (mark_regs_live_at_end): After reload, if epilogue as rtl,
19033         always mark stack pointer.  Conditionally mark PIC register.
19034         After reload, mark call-saved registers, return regsiters.
19035         (life_analysis_1): Accept PROP flags not remove_dead_code.
19036         Call mark_regs_live_at_end before zeroing regs_ever_live.
19037         Use calculate_global_regs_live.  Copy global_live_at_end before
19038         calling final propagate_block.  Zero reg_next_use on exit.
19039         (calculate_global_regs_live): New.
19040         (allocate_bb_life_data): Don't allocate bb->local_set.
19041         (init_regset_vector, free_regset_vector): Remove.
19042         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19043         Test flags before every operation.  Warn if prologue/epilogue insn
19044         would have been deleted.
19045         (mark_set_regs, mark_set_1): Accept and use FLAGS.
19046         Use alloc_EXPR_LIST.
19047         (mark_used_regs): Accept and use FLAGS, not FINAL.
19048         Remove special handling for RETURN.
19049         (try_pre_increment): Use alloc_EXPR_LIST.
19050         (dump_flow_info): Dump n_edges.
19051         (unlink_insn_chain, split_hard_reg_notes): Remove.
19052         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19053         (find_insn_with_note, new_insn_dead_notes): Remove.
19054         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19055         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19056         (replace_insns): Remove.
19057         (count_or_remove_death_notes): New.
19058         (verify_flow_info): Abort on error after all checks.
19059         (remove_edge): Decrement n_edges.
19060         (remove_fake_edges): Tweak format.
19061         * haifa-sched.c (schedule_insns): Use split_all_insns.
19062         * output.h (update_life_info): Remove declaration.
19063         * recog.c (split_all_insns): From the corpse of split_block_insns,
19064         do the whole function block by block.  Use update_life_info.
19065         (recog_last_allowed_insn): New.
19066         (recog_next_insn): Mind it.
19067         (peephole2_optimize): Set it.  Walk backwards through blocks.
19068         Use update_life_info.
19069         * rtl.h (update_flow_info, replace_insns): Remove declarations.
19070         (split_all_insns): Declare.
19071         * toplev.c (rest_of_compilation): Thread prologue before flow2.
19072         Use split_all_insns.
19073
19074         * i386.md (or -1 peep2s): Disable.
19075
19076 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
19077
19078         * config/mips/mips.md (movstrsi+[123]) : Combine these into
19079         a single pattern.  Scrap the 'd' versions as unnecessary.
19080
19081         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19082         tablejump_mips162,tablejump_internal4): The operands to a
19083         label_ref must be VOIDmode.
19084
19085 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19086
19087         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19088
19089 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19090
19091         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19092
19093 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19094
19095         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19096         cache every function if ggc_p.
19097
19098 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19099
19100         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19101         instead of copy_rtx.  Accept sequences that contain asm statements.
19102         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19103         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19104         orig_asm_operands_vector, copy_asm_operands_vector,
19105         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19106         variables.
19107         * rtl.h (copy_insn, copy_insn_1): Declare.
19108
19109 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19110
19111         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19112
19113         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19114         arguments to `current_file_function_operand'.
19115
19116         * genrecog.c: Include hard-reg-set.h and resource.h in the
19117         generated output file.
19118
19119         * real.c: Include tm_p.h.
19120
19121 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19122
19123         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19124         output operand.
19125
19126 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
19127
19128         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19129         before the fctiwz insn.
19130
19131 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19132                           Mark Mitchell  <mark@codesourcery.com>
19133
19134         * tree.c (make_lang_type_fn): New funtion pointer.
19135         (make_lang_type): Call it.
19136         * tree.h (make_lang_type): Declare.
19137         (make_lang_type_fn): Likewise.
19138         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19139
19140 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
19141
19142         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19143         make sure that HIGH instructions are copied into BASE_REGS.
19144
19145 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
19146
19147         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19148
19149 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
19150
19151         * c-decl.c (finish_struct): Use simpler method of
19152         removing elements of a singly-linked list.
19153
19154 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
19155
19156         * alpha.md (peephole2's): Comment out peephole2's that generate
19157         buggy code.
19158
19159 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
19160
19161         * genrecog.c (add_to_sequence): Disable mode check for
19162         wildcard matches.
19163
19164 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19165
19166         * ggc-simple.c (init_ggc): Set empty_string.
19167
19168 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
19169
19170         * configure.in: Detect mmap.  Add --with-gc=foo to select
19171         garbage collector; default to page if mmap available.
19172         * Makefile.in (GGC): Substitute.
19173
19174 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
19175
19176         * c-decl.c (ggc_p): Enable.
19177
19178 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19179
19180         * flow.c (verify_flow_info): Make it extern & unconditionally define.
19181
19182 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
19183
19184         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
19185         string for little-endian-data.
19186
19187 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
19188
19189         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
19190         case somebody tries to compile --enable-checking code with gcc
19191         1.34 or such.
19192
19193 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
19194
19195         * genrecog.c (add_to_sequence): Verify operand to label_ref is
19196         VOIDmode.
19197
19198 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
19199
19200         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
19201         * jump.c (jump_optimize_1): Document why.
19202
19203 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19204
19205         * collect2.c (scan_prog_file, scan_libraries): Prototype function
19206         pointers and casts for `int_handler' and `quit_handler'.
19207
19208         * flow.c (verify_flow_info, split_hard_reg_notes,
19209         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
19210         remove_edge, remove_fake_successors): Add static prototypes.
19211         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
19212         (mark_set_1): Initialize variable `regno'.
19213         (unlink_insn_chain): Likewise for variable `curr'.
19214         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
19215
19216         * loop.c (strength_reduce): Initialize variable
19217         `unrolled_insn_copies'.
19218         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
19219         prototypes.  Change these functions to take const PTR parameters
19220         to avoid prototype conflict when used as the comparson argument
19221         for qsort.
19222         (check_dbra_loop): Initialize variable `comparison_val'.
19223
19224         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
19225         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
19226         (find_valid_class): Initialize variable `best_class'.
19227         (find_reloads): Call memcpy, not bcopy.
19228
19229         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
19230         (hard_reg_use_compare): Don't needlessly cast away const.
19231         (reload_reg_class_lower): Likewise.
19232         (choose_reload_regs): Initialize variable `regno'.
19233
19234 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
19235
19236         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
19237
19238 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
19239
19240         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
19241         ({,d}discard): Add forward declarations.  Declare parameter as
19242         unused.
19243         (main_without_main): Explicitly declare return type to be int.
19244         (memcpy): Properly declare.
19245
19246         * libgcc2.c (toplevel): If inhibit_libc is defined and not
19247         building the trampoline support, declare malloc, free, and
19248         atexit.
19249         (__clear_cache): Mark arguments as potentially unused.
19250
19251         * frame.c (toplevel): If inhibit_libc is defined, declare
19252         malloc and free.
19253
19254 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
19255
19256         * flow.c (make_edge): Accept an optional 2D bitmap in which
19257         to cache edge existence.  Update all callers.
19258         (make_label_edge, make_eh_edge): Pass through the edge cache.
19259         (make_edges): Provide the cache.
19260
19261 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19262
19263         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19264         a char*.
19265         (local_mbtowc): Change the type of variable `i' from int to size_t.
19266
19267         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19268         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19269
19270 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
19271
19272         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19273         after other includes that define the appropriate types.  Include
19274         tm_p.h for getting user prototypes.
19275         * ggc-callbacks.c (toplevel): Ditto.
19276         * ggc-none.c (toplevel): Ditto.
19277         * gcc-page.c (toplevel): Ditto.
19278         * ggc-simple.c (toplevel): Ditto.
19279
19280 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
19281                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
19282
19283         * config/mips/mips.c (mips_move_2words): Split doubles if
19284         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19285
19286 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
19287
19288         * genrecog.c (struct decision_test): New.
19289         (struct decision): Remove test-related members, sort the rest by size.
19290         (IS_SPLIT): Simplify.
19291         (new_decision, new_decision_test): New.
19292         (add_to_sequence): Use them.  No special handling for args of
19293         non-MATCH codes.
19294         (maybe_both_true): Renamed from not_both_true; return sense changed.
19295         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
19296         of maybe_both_true and adjusted for decision_test.
19297         (position_merit): Remove.
19298         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19299         (merge_accept_insn): New, broken out of merge_trees.
19300         (merge_trees): Use them.  No special case for c_test; no node
19301         splitting; use test type instead of position_merit.
19302         (factor_tests): New.
19303         (simplify_tests): New.
19304         (break_out_subroutines): Don't write code now.
19305         (find_afterward): New.
19306         (write_afterward, write_switch, write_cond): New.
19307         (write_action, is_unconditional): New.
19308         (write_node): New.  Use them.
19309         (write_tree_1): Rewrite.  Use the new functions above.
19310         (write_tree): Remove afterward processing.
19311         (write_subroutine): Simplify function variant emission.
19312         (write_subroutines): New.
19313         (same_codes, clear_codes): Remove.
19314         (same_modes, clear_modes): Remove.
19315         (write_header): New, broken out of main.
19316         (make_insn_sequence): Use new_decision and new_decision_test.
19317         (process_tree): New, broken out of main.
19318         (main): Adjust for merge_trees interface change.
19319         Don't #define operands in the output file.
19320         (record_insn_name): New, broken out of make_insn_sequence.
19321         (debug_decision_2, debug_decision_1, debug_decision_0): New.
19322         (debug_decision): New.
19323
19324 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
19325
19326         * resource.c (find_free_register): Mark class_str argument const.
19327         * resource.h: Update prototype to match.
19328
19329         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19330         * i386.md: Give all anonymous insns names.
19331
19332 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
19333
19334         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19335         blocks.
19336
19337 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
19338
19339         * toplev.c (dbr_sched_time): Unconditional.
19340         (peephole2_time): New.
19341         (compile_file): Add pass numbers to all of the dump file suffixes.
19342         Dump peephole2_time.  Don't dump times for non-applicable passes.
19343         (rest_of_compilation): Add pass numbers to dump file suffixes.
19344         Conditionalize calls to the scheduler.
19345         * invoke.texi: Update.
19346
19347 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
19348
19349         * flow.c (make_edges): Fix insn iteration.
19350         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19351         (find_basic_blocks_1): Fix spelling mistake.
19352
19353 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
19354
19355         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19356         always have side-effects.  Use memset not bzero.
19357         (make_node): Likewise.
19358
19359 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
19360
19361         * stmt.c (expand_anon_union_decl): When any of the elements of the
19362         union is addressable, so is the entire union.
19363
19364 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
19365
19366         * sbitmap.c (sbitmap_ones): Don't set too many bits.
19367
19368         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19369         * bitmap.c (bitmap_operation): Return true iff TO changed.
19370         (bitmap_equal_p): New.
19371         (bitmap_bit_p): Tidy arithmetic.
19372         (debug_bitmap_file): Likewise.
19373
19374 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
19375
19376         * toplev.c (rest_of_compilation): Turn on cse_not_expected
19377         before cse2 instead of after.
19378
19379 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
19380
19381         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19382         register offsets.
19383
19384 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19385
19386         * cppinit.c (is_idchar initializer): Loosen tests to accept
19387         gcc 2.>6 and >2.
19388
19389 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
19390
19391         * mips.md: Define conditional move patterns for floating point
19392         operands and DI mode conditions.
19393
19394 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
19395
19396         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19397         always have side-effects.
19398
19399 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
19400
19401         * mn10200.c (asm_file_start): Fix typo.
19402
19403         * cppinit.c (is_idchar initializer): Tighten tests for when
19404         to put the table into initialized memory.
19405
19406         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19407         not an array of rtunion.
19408         * gcc-page.c (ggc_alloc_rtvec): Similarly.
19409         * gcc-simple (ggc_free_rtvec): Similarly.
19410
19411         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19412         of rtunions.
19413
19414         * mbchar.h: Add missing #endif.
19415
19416         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19417         (FPBIT, DPBIT): Define.
19418
19419 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19420
19421         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19422
19423         * profile.c (instrument_arcs, output_gcov_string,
19424         tablejump_entry_p): Add static prototypes.
19425         (output_gcov_string): Constify a char*.
19426
19427         * regmove.c (replacement_quality, fixup_match_2): Add static
19428         prototypes.
19429
19430         * resource.h (reg_dead_p): Add extern prototype.
19431
19432         * rtl.c (trim_filename): Add static prototype.
19433
19434         * scan-decls.c (skip_to_closing_brace): Likewise.
19435
19436         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19437         (expand_end_case): Initialize variable `range'.
19438         (emit_case_nodes): Remove unused prototype `rtx_fn'.
19439
19440         * varasm.c (asm_emit_uninitialised): Add static prototype.
19441         (asm_emit_uninitialised, assemble_variable): Mark parameter with
19442         ATTRIBUTE_UNUSED.
19443
19444 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19445
19446         * cpplib.c (if_directive_nameo): Add static prototype.
19447
19448         * cse.c (cse_insn): Remove unused variable `p'.
19449
19450         * except.c (create_rethrow_ref, push_entry,
19451         receive_exception_label, new_eh_region_entry, find_func_region,
19452         clear_function_eh_region, process_nestinfo): Add static prototypes.
19453         (get_reg_for_handler): Hide definition.
19454         (process_nestinfo): Initialize variable `extra_handlers'.
19455
19456         * expr.h (expand_builtin_longjmp): Add extern prototype.
19457
19458         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19459
19460         * function.c (prepare_function_start): Likewise.
19461         (pop_function_context_from): Mark parameter `context' with
19462         ATTRIBUTE_UNUSED.
19463         (push_temp_slots_for_block, flush_addressof): Hide definition.
19464
19465         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19466         solve_program_flow_graph, calculate_branch_probs,
19467         function_summary, main, fancy_abort): Add prototypes.
19468
19469         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19470         (add_hash): Constify a char*.
19471
19472         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19473         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19474         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19475
19476         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19477
19478         * lists.c (free_list, zap_lists): Likewise.
19479
19480 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19481
19482         * alias.c (nonlocal_reference_p): Add static prototype.
19483
19484         * bitmap.c (bitmap_element_allocate): Prototype args in function
19485         pointer cast.
19486
19487         * builtins.c (stabilize_va_list): Add static prototype.
19488         (expand_builtin_va_arg): Constify a char*.
19489
19490         * c-lex.c (getch, put_back, extend_token_buffer_to,
19491         read_line_number, token_getch, token_put_back): Add static
19492         prototypes.
19493
19494         * c-parse.gperf (hash, is_reserved_word): Likewise.
19495
19496         * cccp.c (is_dir_separator): Likewise.
19497
19498 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19499
19500         * graph.h: New file to prototype functions exported by graph.c.
19501
19502         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19503
19504         * graph.c: Include graph.h.
19505
19506         * toplev.c: Likewise.  Remove redundant prototypes.
19507
19508 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
19509
19510         * invoke.texi: Removed duplicated description for -Q.
19511
19512 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
19513
19514         * extend.texi: Grammar fix in __extension__ text.
19515
19516 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
19517
19518         * md.texi (define_peephole2): New section.
19519
19520 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
19521
19522         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19523         (mov $-1 to or peepholer): Enable for pentium when optimizing for
19524         speed.
19525
19526 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
19527
19528         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19529
19530 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
19531
19532         * i386.md (ffs expander): Emit Pentium friendly code for
19533         TARGET_PENTIUM.
19534
19535 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
19536
19537         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19538         for non-trees.
19539         (build1): Likewise.
19540
19541 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19542
19543         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19544
19545 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
19546
19547         * config/m68k/m68k.c (use_return_insn): Return false if the pic
19548         register is in use.
19549
19550 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19551
19552         * md.texi (No Constraints): Delete section.
19553         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19554         * final.c (final_scan_insn): We always have register constraints.
19555         * genattrtab.c: Don't include "insn-config.h".
19556         (write_attr_case): We always have register constraints.
19557         * genconfig.c (register_constraint_flag): Delete.
19558         (walk_insn_part): Don't check whether we have register constraints.
19559         (main): Don't write out "#define REGISTER_CONSTRAINTS".
19560         * genoutput.c (have_constraints): Delete.
19561         (main): Don't set it.
19562         (output_operand_data): We always have constraints.
19563         (scan_operands): Likewise.
19564         (compare_operands): Likewise.
19565         * local-alloc.c (block_alloc): We always have constraints.
19566         (requires_inout): Always compile this function.
19567         * recog.c (extract_insn): We always have constraints.
19568         (constrain_operands, reg_fits_class_p): Always compile these
19569         functions.
19570         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19571         fields.
19572         (struct insn_operand_data): Likewise.
19573         * regclass.c (regclass): We always have constraints.
19574         (record_reg_classes, copy_cost, record_address_regs,
19575         auto_inc_dec_reg_p): Always compile these functions.
19576         * regmove.c (regmove_optimize): We always have constraints.
19577         * reload.c (find_reloads): Likewise.
19578         * reload1.c (reload): Likewise.
19579         (reload_cse_simplify_operands): Likewise.
19580         * i860.c (output_delay_insn): Likewise.
19581
19582 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
19583
19584         * iris6.h (BUILD_VA_LIST_TYPE): Define.
19585
19586 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19587
19588         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
19589         for the va_list record.
19590
19591 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
19592
19593         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
19594         prologues.
19595
19596 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
19597
19598         * alias.c: Include insn-flags.h.
19599         * Makefile.in (alias.o): Update.
19600
19601 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
19602
19603         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
19604         to LTU and GEU.  Handle more cases using sbb.
19605
19606 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
19607
19608         * i386.md (truncatexfdf splitters): Do not use subreg.
19609         (fop XFmode patterns): Fix mode in operand testing.
19610
19611 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
19612
19613         * jump.c (jump_optimize_1): Amend last change to test only the
19614         form of the operand, not the insn.
19615
19616         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
19617         not register_operand to determine when B may need preloading.
19618
19619 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
19620
19621         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
19622         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
19623         (call-value patterns): Move to end of file.
19624         (*): Remove mode from label_ref in (pc) context.
19625         (movstrqi): Use memory not general_operand for BLKmode operands.
19626         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
19627         to register_operand operands.
19628         (peep2 patterns): Convert from commented-out peephole patterns.
19629
19630 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19631
19632         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
19633         to BUILT_IN_INIT_DWARF_REG_SIZES.
19634         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
19635         Renamed from BUILT_IN_DWARF_REG_SIZE; call
19636         expand_builtin_init_dwarf_reg_sizes.
19637         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
19638         with __builtin_init_dwarf_reg_size_table.
19639         * dwarf2out.c (struct reg_size_range): Delete.
19640         (expand_builtin_init_dwarf_reg_sizes): New function.
19641         (expand_builtin_dwarf_reg_size): Delete.
19642         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
19643         (expand_builtin_dwarf_reg_size): Don't declare.
19644         * libgcc2.c (dwarf_reg_size_table_initialized): New.
19645         (dwarf_reg_size_table): New.
19646         (init_reg_size_table): New function.
19647         (copy_reg): Use dwarf_reg_size_table.
19648         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
19649         before use.
19650
19651 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
19652
19653         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
19654         Correctly build argument list to constructor and destructor functions.
19655
19656 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
19657
19658         * c-tree.h (warn_float_equal): Declare.
19659         * c-decl.c (warn_float_equal): Define.
19660         (c_decode_option): Recognize -W[no-]float-equal.
19661         * c-typeck.c (build_binary_op): Conditionally warn
19662         about equality tests of floating point types.
19663         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
19664         * invoke.texi: Add docs for -Wfloat-equal warning.
19665
19666 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
19667
19668         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
19669         generating RTL directly.
19670         * mips.h (INIT_TARGET_OPTABS): Likewise.
19671         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
19672
19673         * expr.h (init_mov_optab): Delete declaration
19674
19675         * h8300.c (WORD_REG_USED): Update to avoid useless register
19676         saves in interrupt functions and functions which never return.
19677
19678         * cse.c (struct set): Delete inner_dest_loc field.
19679         (cse_insn): Remove assignments to inner_dest_loc field.
19680
19681 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
19682
19683         * ggc-page.c: Don't include <unistd.h> etc taken care of
19684         by "system.h".  Include <sys/mman.h> afterward.
19685
19686 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
19687
19688         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
19689         ggc_alloc_string.
19690
19691 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
19692
19693         * xcoffout.c (xcoffout_declare_function): Add documentation.
19694         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
19695         TARGET_64BIT.  Compare constant to -1, not bit pattern.
19696         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
19697         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
19698         gen_movsi typos.
19699
19700 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
19701
19702         * dwarf2out.c (add_abstract_origin_attribute): Abort if
19703         origin_die is NULL.
19704         (gen_inlined_enumeration_type_die): Do not abort if the type has
19705         not been writeen out.
19706         (gen_inlined_structure_type_die): Do not abort if the type has
19707         not been writeen out.
19708         (gen_inlined_union_type_die): Do not abort if the type has
19709         not been writeen out.
19710         (gen_tagged_type_instantiation_die): Do not abort if the type
19711         has not been written out.
19712
19713 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19714
19715         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
19716         call it.
19717         * reg-stack.c (straighten_stack): Copy hard reg set with
19718         COPY_HARD_REG_SET.
19719
19720 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
19721
19722         * builtins.c (stabilize_va_list): Stabilize array type va_list
19723         to a pointer type, not the base record type.
19724         (expand_builtin_va_copy): Dereference the pointers explicitly;
19725         use the correct size for the copy.
19726
19727         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
19728         (rs6000_va_arg): Likewise.
19729
19730 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
19731
19732         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
19733
19734 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
19735
19736         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
19737         field.
19738         (DECL_BUILT_IN_CLASS): Adjust accordingly.
19739
19740 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
19741
19742         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
19743         (init_ggc): Use it instead of a constant.
19744         (ggc_collect): Bound allocated_last_gc by it.
19745
19746 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
19747
19748         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
19749         with va_list.
19750
19751 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
19752
19753         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
19754         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
19755         * configure:  Regen.
19756         * config/mips/openbsd.h:  New, OpenBSD little endian target.
19757         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
19758         * config/mips/xm-openbsd.h:  New, OpenBSD host.
19759
19760 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
19761
19762         * config/m68k/m68k.c (output_function_prologue,
19763         output_function_epilogue): Use
19764         current_function_uses_pic_offset_table instead of regs_ever_live
19765         to decide whether to save/restore pic register.
19766         (legitimize_pic_address): Don't modify regs_ever_live any more.
19767
19768 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
19769
19770         * function.h (struct function): Add x_dont_save_pending_sizes_p.
19771         * stor-layout.c (variable_size): Don't add sizes to the pending
19772         sizes list if x_dont_save_pending_sizes_p is set.
19773
19774 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
19775
19776         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
19777         for symbolic_operand().
19778         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
19779
19780 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19781
19782         * combine.c (gen_rtx_combine): Add missing call to va_end().
19783
19784         * final.c (asm_fprintf): Likewise.
19785
19786         * genattrtab.c (attr_rtx): Likewise.
19787
19788 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
19789
19790         * cse.c: Update comments.
19791         (cse_insn): When converting a conditional/computed jump into
19792         an unconditional jump, always make sure a BARRIER immediately
19793         follows the converted jump.  Do not delete unreachable code.
19794         (cse_basic_block): Do not delete unreachable code.
19795         * toplev.c (rest_of_compilation): Move call to
19796         delete_trivially_dead_insns after the conditional call to
19797         jump_optimize.
19798
19799 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19800
19801         * collect2.c (make_temp_file): Don't prototype.
19802
19803         * gcc.c (make_temp_file): Likewise.
19804
19805         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
19806
19807 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
19808
19809         * varasm.c (asm_emit_uninitialised): New function: Generate
19810         the assembler statements necessary to declare an uninitialised
19811         variable.
19812         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
19813         variable.
19814         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
19815         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
19816         section.
19817         (assemble_variable): Use asm_emit_uninitialised to emit an
19818         uninitialised variable.
19819
19820 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
19821
19822         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
19823         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
19824         <geoffk@cygnus.com>.
19825
19826 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19827
19828         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
19829         * c-common.h (builtin_function): Don't declare.
19830
19831         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
19832         DECL_BUILT_IN.
19833         (pushdecl): Likewise.
19834         (finish_decl): Likewise.
19835         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
19836         int.  All callers changed.
19837         Set the builtin's DECL_BUILT_IN_CLASS.
19838         * tree.h (enum built_in_class): New.
19839         (enum built_in_function): Delete NOT_BUILT_IN.
19840         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
19841         in a union.
19842         (DECL_SET_FUNCTION_CODE): Likewise.
19843         (DECL_BUILT_IN_CLASS): New macro.
19844         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
19845         (struct tree_decl): Split builtin function code field into a
19846         struct.
19847         (builtin_function): Declare.
19848
19849 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
19850
19851         * optabs.c (init_traps): Fix typo in last change.
19852
19853 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
19854
19855         * toplev.c (rest_of_decl_compilation): Update comment.
19856
19857 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19858
19859         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
19860         in .sbss if appropriate.
19861         (EXTRA_SECTION_FUNCTIONS): Add sbss.
19862         (SBSS_SECTION_ASM_OP): New macro.
19863         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
19864         (EXTRA_SECTIONS): Add in_sbss.
19865         * config/mips/mips.h: Prototype sbss_section.
19866
19867 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
19868
19869         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
19870         to disappear.
19871
19872 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
19873
19874         * optabs.c (init_traps): Register trap_rtx as a GC root.
19875
19876 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19877
19878         * config/mips/mips.c (function_arg_pass_by_reference): Define
19879         unconditionally, since it's called unconditionally.
19880
19881 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19882
19883         * toplev.c (documented_lang_options): Add -fshort-wchar.
19884         * c-decl.c (c_decode_option): Likewise.
19885         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
19886         for wchar_t.
19887         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
19888         * gcc.c (default_compilers): If -fshort-wchar,
19889         override __WCHAR_TYPE__.
19890         * tm.texi (C Dialect Options): Add -fshort-wchar.
19891
19892         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
19893         symbol for a variable.
19894
19895         * cpplib.h (CPP_PREPROCESSED): New macro.
19896         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
19897         we're seeing this input for a second time.
19898
19899 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
19900
19901         * emit-rtl.c (init_emit_once): Initialize modes first.
19902
19903 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
19904
19905         * config/i386/i386.c (pic_label_name): Change to char pointer.
19906         (global_offset_table): New variable.
19907         (load_pic_register): Fill global_offset_table if it hasn't
19908         already been done.  Allocate pic_label_name dynamically.
19909         * ggc.h (empty_string): New variable.
19910         * ggc-simple.c (empty_string): Likewise.
19911         (init_ggc): Allocate empty_string and add as root.
19912         * stmt.c (digit_strings): New variable.
19913         (init_stmt): Add last_block_end_note as root.  Allocate and
19914         initialize digit_strings.
19915         (expand_asm_operands): Use empty_string instead of string
19916         constant.  Use digit_strings instead of string constants.
19917         * profile.c (init_arc_profiler): Allocate string with
19918         ggc_alloc_string instead of xmalloc.
19919         (output_func_start_profiler): Likewise.
19920         * c-typeck.c (digest_init): Check if init is error_mark_node.
19921
19922 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
19923                           Richard Henderson  <rth@cygnus.com>
19924
19925         * ggc-page.c: New file.
19926         * Makefile.in (ggc-page.o): New.
19927
19928 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
19929
19930         * invoke.texi: Document -fdelete-null-pointer-checks
19931         * toplev.c (flag_delete_null_pointer_checks): New.
19932         (f_options): Add entry for -fdelete-null-pointer-checks.
19933         (rest_of_compilation): Conditionalize null pointer check
19934         elimination on flag_delete_null_pointer_checks.
19935         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
19936
19937 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
19938
19939         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
19940         copyright notice and special exception to GPL.
19941
19942 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19943
19944         * abi64.h (mips_function_value): Add prototype arguments.
19945
19946         * mips-protos.h: New file with mips prototypes.
19947
19948         * mips.c: Include "tm_p.h".
19949         (mktemp, lookup_name): Add prototype arguments.
19950         (extern_list, string_constant, mips_fill_delay_slot,
19951         mips_output_external, mips_output_external_libcall,
19952         mips_output_filename, mips_declare_object, function_prologue,
19953         mips_expand_prologue, function_epilogue, mips16_constant,
19954         build_mips16_function_stub, mips_output_conditional_branch):
19955         Constify a char*.
19956         (mips_va_start): Remove unused variable `u'.
19957         (mips_va_arg): Cast value to unsigned when comparing against one.
19958         (trace): Delete.
19959         (save_restore_insns, mips_expand_prologue): Add missing arg in
19960         call to `large_int'.
19961
19962         * mips.h: Move prototypes to mips-protos.h.
19963         (data_section, memory_address_p, rdata_section,
19964         readonly_data_section, simple_epilogue_p, text_section): Delete
19965         prototypes delcared elsewhere.
19966         (mips_epilogue_delay_slots, print_options): Delete unused decls.
19967         (trace): Delete.
19968         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
19969
19970         * mips.md: Delete extra args in call to `mips_move_2words'.
19971
19972         * xm-iris6.h (alloca): Add prototype argument.
19973
19974         * genpeep.c: Include "tm_p.h" in generated output file.
19975
19976 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19977
19978         * basic-block.h (find_edge_index): Change parameters.
19979         * flow.c (verify_edge_list): Pass basic_block parameters to
19980         find_edge_index instead of integers.
19981
19982 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
19983
19984         * combine.c (simplify_comparison): Use an unsigned shift to adjust
19985         the constant.
19986
19987 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
19988
19989         * gcc.1: Fix a formatting error.
19990
19991 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19992
19993         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
19994         i786, mn10200, mn10300, pdp11, v850.
19995
19996 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
19997
19998         * libgcc2.c (num_digits): Add prototype with
19999         __attribute__((const)).
20000         (__terminate): Add prototype.
20001
20002 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
20003
20004         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
20005
20006         * alpha/alpha.c (print_operand): Fix type of `code'.
20007         (alpha_output_filename): Constify.
20008         * alpha/alpha.h: Move all function declarations ...
20009         * alpha/alpha-protos.h: ... here.  New file.
20010         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
20011         (SECTION_FUNCTION_TEMPLATE): Likewise.
20012
20013 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20014
20015         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
20016         * expr.c (expand_expr): Likewise.
20017         (do_jump): Likewise.
20018         (do_store_flag): Pass ccp_store_flag to can_compare_p.
20019         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
20020         accessor macros.
20021         (enum can_compare_purpose): New.
20022         (can_compare_p): Adjust prototype.
20023         (prepare_cmp_insn, prepare_operand): Declare.
20024         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
20025         * optabs.c (cmp_available_p): Deleted.
20026         (expand_abs): Pass ccp_jump to can_compare_p.
20027         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
20028         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
20029         Call can_compare_p rather than cmp_available_p.
20030         (prepare_operand): No longer static.
20031         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20032         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20033         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20034         sequence to use emit_cmp_and_jump_insns.
20035         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20036
20037 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
20038
20039         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20040         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20041         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20042         (plus (reg) (const_int 0))
20043         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20044
20045 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
20046
20047         * rs6000.c (expand_block_move): DImode loads and stores require
20048         word-aligned displacements.  Increment address registers with
20049         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
20050
20051 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
20052
20053         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20054         is no name for the base type, rather than segfault.  If we are
20055         writing out a complex integer type, use DW_ATE_lo_user.
20056
20057         * expr.c (emit_move_insn_1): If we are copying a complex that fits
20058         in one word or less (complex char, complex short, or on 64 bit
20059         systems complex float) to/from a hard register, copy it through
20060         memory instead of dying in gen_{real,imag}part.  If we have a
20061         short complex type, prevent inlining since it allocates stack
20062         memory.
20063
20064         * tree.c (build_complex_type): If we are writing dwarf2 output,
20065         generate a name for complex integer types.
20066
20067 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20068
20069         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20070         * flow.c (remove_edge): Remove extra whitespace.
20071         (remove_fake_edges): Fix comment.
20072         (add_noreturn_fake_exit_edges): Use the correct name.
20073
20074 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
20075
20076         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20077         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20078         (clean): Depend on INTL_CLEAN.
20079         (maintainer-clean): Adjust.
20080
20081 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20082
20083         * configure.in (AC_PREREQ): Bump to 2.13.
20084         (AC_C_STRINGIZE): Call this instead of using a custom macro.
20085
20086         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20087
20088         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20089
20090         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20091
20092         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20093         (HAVE_STRINGIZE): Define.
20094
20095 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
20096
20097         * c-parse.in: save and restore warn_pointer_arith on __extension__
20098         along with pedantic.
20099         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20100         Set the type of extension to itype rather than $<itype>1 kludge.
20101         * extend.texi (Alternate Keywords): Adjust documentation.
20102         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20103
20104 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
20105
20106         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20107         most assembler templates.
20108
20109         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20110         FP loads and stores.
20111         (following_call): Always return zero for the PA8000.
20112         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20113         FP loads and stores.
20114         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20115
20116         * pa.h (BRANCH_COST): Define.
20117
20118         * pa.md (return, return_internal): Use bve for PA2.0.
20119
20120         * pa.md (fused multiply): Add variants which reduce height for the
20121         fused multiply, but which still generate 2 insns.
20122         (fnegabs): Similarly.
20123
20124         * pa.md (subsi3): Turn into an expander.  Create two anonymous
20125         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
20126         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20127
20128         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20129         for TARGET_PA_20.
20130         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20131         code generation.
20132         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20133         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20134
20135         * regclass.c (init_regs): Add "top_of_stack" as a garbage
20136         collection root.
20137
20138         * flow.c (record_active_eh_regions): Terminate loop after finding
20139         the last insn in the last basic block.
20140
20141 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20142
20143         * config/c4x/c4x.md: Delete parallel instruction peepholes.
20144
20145 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20146
20147         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20148
20149 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20150
20151         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20152         splitting to not use output template.
20153
20154 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20155
20156         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20157         * config/c4x/c4x.c (c4x_va_start): New function.
20158
20159 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
20160
20161         * genrecog.c (not_both_true): Handle correctly cases when called for
20162         tests with different positions in the insn.
20163
20164 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20165
20166         * machmode.h (HOST_PTR_PRINTF): Move from here ...
20167
20168         * system.h (HOST_PTR_PRINTF): ... to here.
20169
20170         * mips-tfile.c: Don't include machmode.h.
20171
20172         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
20173         (mips-tfile.o): Don't depend on machmode.h.
20174
20175 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20176
20177         * haifa-sched.c (sched_analyze): Rename local variable `region' to
20178         avoid conflicts with typedef struct `region' at the top level scope.
20179
20180 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
20181
20182         * basic-block.h (basic_block): Add eh_beg, eh_end.
20183         * flow.c (entry_exit_blocks): Update.
20184         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
20185         Call new functions.
20186         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
20187         lists.c functions to allocate insn lists.
20188         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
20189         edge creation ...
20190         (make_eh_edge): ... here.  New.
20191         (move_stray_eh_region_notes): New.
20192         (record_active_eh_regions): New.
20193         (delete_unreachable_blocks): Split out block merging ...
20194         (try_merge_blocks): ... here.  New.
20195         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
20196         Dump debugging data.
20197         (merge_blocks_move_successor_nojumps): Likewise.
20198         (merge_blocks): Use eh_beg+eh_end to validate block movement.
20199
20200 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20201
20202         * extend.texi (Bound member functions): Document unbound pmf
20203         conversion.
20204
20205 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20206
20207         * flow.c (split_edge): Handle insertion on a fallthrough edge which
20208         has the EXIT_BLOCK as a dest.
20209
20210 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20211
20212         * flow.c (remove_edge): New function to remove an edge from the
20213         flow graph.
20214         (remove_fake_successors): New function to remove fake successor edges.
20215         (remove_fake_edges): New function to remove all fake edges from the
20216         flow graph.
20217         (add_fake_exit_edges): New function to add fake edges from all blocks
20218         with no successors to the exit block.
20219         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
20220         prototypes for new functions.
20221
20222 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20223
20224         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
20225         Use Pmode to determine whether to output .dword or .word.
20226
20227 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
20228
20229         * tree.c (built_in_filename): New variable.
20230         (BUILT_IN_FILENAME): New macro.
20231         (init_tree_codes): Allocate built_in_filename.
20232         (make_node): Use built_in_filename instead of string constant.
20233
20234 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
20235
20236         * configure.in: Add fr30 target.
20237         * configure: Regenerate.
20238         * config/fr30: New directory.
20239         * config/fr30/crti.asm: New file.
20240         * config/fr30/fr30.c: New file.
20241         * config/fr30/crtn.asm: New file.
20242         * config/fr30/fr30.h: New file.
20243         * config/fr30/fr30.md: New file.
20244         * config/fr30/lib1funcs.asm: New file.
20245         * config/fr30/t-fr30: New file.
20246         * config/fr30/xm-fr30.h: New file.
20247
20248 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
20249
20250         * flow.c (merge_blocks_move_successor_nojumps): Delete the
20251         BARRIER at the end of the successor, not the BARRIER before
20252         the successor.
20253
20254         * pa.c (pa_add_gc_roots): Fix thinko in last change.
20255
20256 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
20257
20258         * stmt.c (any_pending_cleanups): Don't crash when
20259         current_function->stmt is unset.
20260
20261 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20262
20263         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20264         other initializations that may use it for relative offsets.
20265
20266 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20267
20268         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20269         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
20270         * config/i386/sol2dbg.h: Removed.
20271         * config/i386/sol2gas.h: New file, to enable gas work-around.
20272         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20273         Don't use sol2dbg.h.
20274         * configure: Rebuilt.
20275
20276 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
20277
20278         * invoke.texi (-fthis-is-variable): Remove documentation.
20279
20280 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
20281
20282         * basic-block.h (compute_bb_for_insn): Declare.
20283         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
20284         to use; set size of basic_block_for_insn directly.
20285         (find_basic_blocks): Update.
20286
20287 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20288
20289         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20290
20291 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20292
20293         * crtstuff.c (ON_EXIT): Delete empty macro definition.
20294         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20295
20296 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
20297
20298         * c-decl.c (c_decode_option): Extend comment.
20299
20300 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
20301
20302         * toplev.c (progname): Make 'const char *'
20303         (flag_print_mem): Move out of main.
20304         (version_flag): Move out of main.
20305         (filename): Move out of main.
20306         (debug_args): Remove g prefix from options.
20307         (documented_lang_options): Remove cpplib specific options.
20308         (display_help): Add g prefix to debug options.
20309         (check_lang_option): Delete this function.
20310         (decode_d_option): New function: Decode -d... option.
20311         (decode_f_option): New function: Decode -f... option.
20312         (decode_W_option): New function: Decode -W... option.
20313         (decode_g_option): New function: Decode -g... option.
20314         (independent_decode_option): New function: Decode a language
20315         independent command line option.
20316         (main): Invoke lang_decode_option and then
20317         independent_decode_option on each command line option in
20318         turn.
20319
20320 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
20321
20322         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
20323          * fold-const.c (fold_range_test): Do not try to fold the range
20324          test if the rhs or lhs has side effects.
20325
20326         * basic-block.h (compute_flow_dominators): Declare.
20327
20328         * gcse.c (alloc_code_hoist_mem): New function.
20329         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20330         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20331         (hoist_code, one_code_hoisting_pass): Likewise.
20332         (gcse_main): If optimizing for size, then hoist expressions
20333         computed in multiple dominated basic blocks.
20334
20335         * gcse.c (invalid_nonnull_info): New function.
20336         (delete_null_pointer_checks): Likewise.
20337         * rtl.h (delete_null_pointer_checks): Declare.
20338         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20339
20340         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20341         (merge-blocks_move_successor_nojumps): Likewise.
20342         (merge_blocks): Allow merging of some blocks, even if it requires
20343         physical movement of the blocks, but not if it requires new jumps.
20344
20345         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20346         Callers and prototype changed.
20347         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20348
20349 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20350
20351         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20352         -YP when both -p and -pg are present.  From i386/sol2.h.
20353
20354 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20355
20356         * Makefile.in (distclean): Delete tm_p.h.
20357         * configure.in: Create a new file, "tm_p.h", from a list in
20358         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20359         "i386/i386-protos.h".
20360
20361         * alias.c: Include "tm_p.h".
20362         * c-typeck.c: Likewise.
20363         * calls.c: Likewise.
20364         * cse.c: Likewise.
20365         * emit-rtl.c: Likewise.
20366         * explow.c: Likewise.
20367         * expmed.c: Likewise.
20368         * expr.c: Likewise.
20369         * final.c: Likewise.
20370         * flow.c: Likewise.
20371         * fold-const.c: Likewise.
20372         * function.c: Likewise.
20373         * gcse.c: Likewise.
20374         * global.c: Likewise.
20375         * haifa-sched.c: Likewise.
20376         * integrate.c: Likewise.
20377         * jump.c: Likewise.
20378         * local-alloc.c: Likewise.
20379         * loop.c: Likewise.
20380         * optabs.c: Likewise.
20381         * recog.c: Likewise.
20382         * reg-stack.c: Likewise.
20383         * regclass.c: Likewise.
20384         * regmove.c: Likewise.
20385         * reload.c: Likewise.
20386         * reload1.c: Likewise.
20387         * reorg.c: Likewise.
20388         * resource.c: Likewise.
20389         * stmt.c: Likewise.
20390         * stor-layout.c: Likewise.
20391         * toplev.c: Likewise.
20392         * tree.c: Likewise.
20393         * unroll.c: Likewise.
20394         * genattrtab.c (main): Make generated file include "tm_p.h".
20395         * genemit.c (main): Likewise.
20396         * genoutput.c (main): Likewise.
20397         * genrecog.c (main): Likewise.
20398
20399         * i386.h: Delete all prototypes.
20400         * i386.c: Include "tm_p.h".
20401         (ix86_attr_length_default): Call constant_call_address_operand
20402         with correct number of arguments.
20403         * i386-protos.h: New file.
20404         * i386.md (unnamed patterns): Call constant_call_address_operand
20405         with correct number of arguments.
20406         (exception_receiver): Call load_pic_register with correct number
20407         of arguments.
20408
20409 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
20410
20411         * c-pragma.c (mark_align_stack): Dereference the void* properly.
20412
20413 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
20414
20415         * rtl.h (insns_safe_to_move_p): New function.
20416         * loop.c (find_and_verify_loops): Use it.
20417         * rtlanal.c (insns_safe_to_move_p): Define it.
20418
20419 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
20420
20421         * c-pragma.c: Include ggc.h.
20422         * Makefile.in (c-pragma.o): Update.
20423
20424 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20425
20426         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20427         (LIB_SPEC): Likewise.
20428         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20429         Reindent -YP/-p/-pg.
20430         Copied from config/sparc/sol2.h.
20431
20432 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
20433
20434         * c-pragma.c (mark_align_stack): New.
20435         (init_pragma): New.
20436         * c-pragma.h (init_pragma): Declare it.
20437         * c-lex.c (init_parse): Call it.
20438
20439 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20440
20441         * configure.in: Pick up thread library on Solaris/x86 just
20442         like on Solaris/sparc.
20443         * configure: Rebuilt.
20444
20445 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
20446
20447         * rtl.h (global_rtx_index): New enum.
20448         (global_rtl): Change to array of rtx.
20449         (pc_rtx, cc0_rtx): Redefine accordingly.
20450         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20451         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20452         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20453         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20454         (const_int_rtx): Change to array of rtx.
20455         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20456         accordingly.
20457         * emit-rtl.c (global_rtl): Change to array of rtx.
20458         (const_int_rtx): Change to aray of rtx.
20459         (gen_rtx_CONST_INT): Redefine accordingly.
20460         (init_emit_once): Allocate and initialize global_rtl.  Likewise
20461         for const_int_rtx.  Add both as GC roots.
20462         * genattrtab.c (global_rtl): Update declaration.
20463
20464 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
20465
20466         * Makefile (USER_H): Add iso646.h back.
20467
20468 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
20469
20470         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20471         zapping the LOG_LINKS of sched_before_next_call.
20472
20473         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20474         * pa.c (insn_refs_are_delayed): Renamed from
20475         insn_sets_and_refs_are_delayed.
20476
20477 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
20478
20479         * functiion.h (struct function): Add x_whole_function_mode_p.
20480         (retrofit_block): Declare.
20481         * function.c (retrofit_block): New function.
20482         (identify_blocks): Add assertions.  Allow an incomplete set of
20483         block notes if we're still generating code for the function.
20484         * integrate.c: Include loop.h.
20485         (expand_inline_function): Call find_loop_tree_blocks to map block
20486         notes to blocks when in whole-function mode.  Use retrofit_block
20487         to insert new BLOCKs for the inlined function, rather than
20488         insert_block.
20489         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
20490         * Makefile.in (integrate.o): Depend on loop.h.
20491
20492 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20493
20494         * tree.h (warn_about_unused_variables): Declare.
20495         * stmt.c (warn_about_unused_variables): New function, split out
20496         from ...
20497         (expand_end_bindings): Here.
20498
20499 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
20500
20501         * stmt.c (preserve_subexpressions_p): Don't crash when
20502         current_function->stmt is unset.
20503
20504 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
20505
20506         * stmt.c (expand_start_bindings): Allow callers to pass a flag
20507         indicating that no NOTE_INSN_BLOCK_BEG note is required.
20508         (expand_start_target_temps): Use it.
20509         * except.c (expand_eh_region_start_for_decl): Likewise.
20510         * expr.c (expand_expr): Likewise.
20511
20512 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20513
20514         * fold-const.c (operand_equal_p): Pay attention to side effects.
20515
20516 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
20517
20518         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20519         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20520
20521         * tlink.c (scan_linker_output): Look for keywords before accepting
20522         a mangled name in quotes.
20523
20524 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
20525
20526         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20527         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20528
20529 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
20530
20531         * alpha.md: Revert Thu Nov 26 change that came in through the
20532         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20533         Avoid earlyclobber when possible.
20534
20535 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20536
20537         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20538
20539         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20540         Define HAVE_ON_EXIT.
20541
20542 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20543
20544         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
20545         CTYPE_CONV in all ctype macros.
20546
20547         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20548         from system.h.
20549
20550         * cexp.y (initialize_random_junk): Likewise.
20551
20552         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20553
20554         * i370.c (handle_pragma): Likewise.
20555
20556         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20557
20558         * v850.c (override_options): Likewise.
20559
20560         * doprint.c (_doprnt): Likewise.
20561
20562         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20563         Likewise.
20564
20565         * fixinc/server.c (load_data): Likewise.
20566
20567         * fold-const.c (real_hex_to_f): Likewise.
20568
20569         * genattr.c (write_upcase, gen_attr): Likewise.
20570
20571         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20572         write_upcase): Likewise.
20573
20574         * genemit.c (print_code): Likewise.
20575
20576         * genopinit.c (gen_insn): Likewise.
20577
20578         * genpeep.c (print_code): Likewise.
20579
20580         * genrecog.c (print_code): Likewise.
20581
20582         * optabs.c (init_libfuncs): Likewise.
20583
20584 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
20585
20586         * haifa-sched.c (sched_analyze): Keep the list of notes organized
20587         in pairs.
20588         (reemit_notes): Likewise.
20589
20590 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
20591
20592         * ggc.h (ggc_root): Move to ggc-common.c.
20593         (roots): Remove.
20594         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
20595         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
20596         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
20597         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
20598         * ggc-common.c (ggc_root): Move from ggc.h.
20599         (roots): Declare, static.
20600         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
20601         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
20602         null or check/set mark bit.
20603         (ggc_mark_roots): New.
20604         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
20605
20606 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
20607
20608         * m32r.c: Include toplev.h.
20609         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
20610         (gen_compare): Rename swap_p to must_swap to match uses.
20611         Add default abort case.
20612         (m32r_output_function_epilogue): Remove unused variables.
20613         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
20614         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
20615         define to empty parameter list.  Update all uses.
20616         (predicate decls): Use enum machine_mode not int.
20617         * m32r.md (movsi): Call abort, not fatal_insn.
20618         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
20619
20620 1999-09-14  Andrew Haley  <aph@cygnus.com>
20621
20622         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
20623         use $0 instead of 0.
20624
20625 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20626
20627         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
20628         computation out of loop over hard regs.
20629
20630 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
20631
20632         * function.c (identify_blocks): Don't shadow a variable in an
20633         outer scope.
20634         * integrate.c (integrate_decl_tree): Don't use pushlevel,
20635         pushdecl, or poplevel to build up the new BLOCK tree.
20636         (expand_inline_function): Likewise.
20637         (integrate_parm_decls): Likewise.
20638
20639 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
20640
20641         * c-typeck.c (qualify_type): Merge qualifiers from both types.
20642
20643 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
20644
20645         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
20646         * invoke.texi: Document this change.
20647
20648 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
20649
20650         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
20651         Free the struct.
20652         (mark_emit_status): Renamed from mark_emit_state.
20653         * except.c (mark_eh_status): Renamed from mark_eh_state.
20654         Check not null before marking.
20655         (free_eh_status): New.
20656         * expr.c (mark_expr_status, free_expr_status): New.
20657         * function.c (free_machine_status): New.
20658         (free_after_parsing): New.
20659         (free_after_compilation): Move bits to free_after_parsing; call
20660         free_eh_status, free_expr_status; zero the marked members of the
20661         function state.
20662         (prepare_function_start): No can_garbage_collect.
20663         Call init_eh_for_function.
20664         (expand_dummy_function_end): Free up current_function state.
20665         (mark_function_status): Renamed from mark_function_state.
20666         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
20667         * function.h (struct function): No can_garbage_collect.
20668         (free_machine_status, free_after_parsing): Declare.
20669         (free_eh_status, free_expr_status): Declare.
20670         * ggc.h (mark_expr_status): Declare.
20671         * stmt.c (free_stmt_status): Free the struct.
20672         (mark_stmt_status): Renamed from mark_stmt_state.
20673         (init_stmt): Don't call init_eh.
20674         (init_stmt_for_function): Don't call init_eh_for_function.
20675         * toplev.c (compile_file): Call init_eh.
20676         (rest_of_compilation): Free basic block info before ggc_collect.
20677         Call free_after_parsing; conditionally call free_after_compilation.
20678         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
20679         Check not null before marking.
20680         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
20681
20682 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
20683
20684         * c-lex.c (yylex): Initialize warn.
20685
20686 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
20687
20688         * pa.c (emit_move_sequence): Properly set the mode of the scratch
20689         register when performing secondary reloads for the SAR register.
20690
20691 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
20692
20693         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
20694         (NOTE_BLOCK): New macro.
20695         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
20696         * function.h (identify_blocks): Change prototype.
20697         * function.c (identify_blocks): Simplify.
20698         (reorder_blocks): Likewise.
20699         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
20700         NOTE_INSN_BLOCK_{BEG,END}.
20701         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
20702         the list of saved notes if the note isn't a
20703         NOTE_INSN_BLOCK_{BEG,END}.
20704         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
20705         NOTE_BLOCK_NUMBER.
20706         (reemit_notes): Adjust recreation of notes to reflect new saved
20707         note structure.
20708         * print-rtl.c (print_rtx): Print the address of the BLOCK when
20709         printing a block note.
20710         * stmt.c (block_vector): Remove.
20711         (find_loop_tree_blocks): Simplify.
20712         (unroll_block_trees): Likewise.
20713         * tree.h (reorder_block): Change prototype.
20714
20715 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
20716
20717         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
20718         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
20719         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
20720         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
20721         (atexit, exit): Simplify.
20722         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
20723         * config/lots: Remove defns of HAVE_ATEXIT.
20724
20725 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
20726
20727         * calls.c (precompute_arguments): Fix typo in comment.
20728         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
20729         TARGET_EXPR.
20730
20731 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
20732
20733         * dsp16xx.c (override_options): Fix typos in GC root registration.
20734
20735 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
20736
20737         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
20738         from config/svr4.h.
20739         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
20740         (FUNCTION_PROFILER): Redefine appropriately for Linux.
20741         (CC1_SPEC): Likewise.
20742
20743 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20744
20745         * genattr.c (main): Add extern prototype.  Call return, not exit.
20746         * genattrtab.c (main): Likewise.
20747         * gencheck.c (main): Likewise.
20748         * gencodes.c (main): Likewise.
20749         * genconfig.c (main): Likewise.
20750         * genemit.c (main): Likewise.
20751         * genextract.c (main): Likewise.
20752         * genflags.c (main): Likewise.
20753         * gengenrtl.c (main): Likewise.
20754         * genopinit.c (main): Likewise.
20755         * genoutput.c (main): Likewise.
20756         * genpeep.c (main): Likewise.
20757         * genrecog.c (main): Likewise.
20758
20759         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
20760         * genattrtab.c (get_insn_name): Likewise.
20761         * gencodes.c (get_insn_name): Likewise.
20762         * genconfig.c (get_insn_name): Likewise.
20763         * genemit.c (get_insn_name): Likewise.
20764         * genextract.c (get_insn_name): Likewise.
20765         * genflags.c (get_insn_name): Likewise.
20766         * genopinit.c (get_insn_name): Likewise.
20767         * genpeep.c (get_insn_name): Likewise.
20768
20769         * gencheck.c (usage): Add static prototype.
20770         * genextract.c (print_path): Constify a char*.
20771         * genopinit.c (optabs): Likewise.
20772         * genoutput.c (operand_data, data, output_predicate_decls,
20773         compare_operands): Likewise.
20774         * genrecog.c (write_tree): Add default case in switch.
20775
20776 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20777
20778         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
20779
20780         * print-rtl.c (get_insn_name): Remove prototype.
20781
20782         * toplev.h (progname): Declare const.
20783
20784         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
20785         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
20786         dump_sched_info, dump_local_alloc, regset_release_memory,
20787         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
20788         error_with_file_and_line, error_with_decl, error_for_asm, error,
20789         fatal, warning_with_file_and_line, warning_with_decl, warning,
20790         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
20791         Remove redundant prototypes.
20792
20793         (notice, check_lang_option, report_file_and_line, vnotice,
20794         mark_file_stack): Add static prototype.
20795         (set_fatal_function): Add prototype.
20796         (vnotice, report_file_and_line, set_fatal_function,
20797         check_lang_option): Constify a char*.
20798         (main): Prototype.  Call return, not exit.
20799
20800 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20801
20802         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
20803
20804         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
20805
20806         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
20807
20808         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
20809
20810 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20811
20812         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
20813         behave as if it's zero in all cases.
20814         (expand_function_start): Adjust call to assign_parms.
20815         * tree.h (assign_parms): Adjust prototype.
20816         * objc/objc-act.c (hack_method_prototype): Adjust call to
20817         assign_parms.
20818
20819 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
20820
20821         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
20822         arg_pointer_rtx fixed if the argument pointer register is
20823         not fixed.
20824         (NONZERO_BASE_PLUS_P): Likewise.
20825
20826 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
20827
20828         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
20829         match_insn2 to match_insn.
20830         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
20831
20832 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
20833
20834         * Makefile.in (USER_H): Remove va-foo.h.
20835
20836         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
20837         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
20838         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
20839         va-spur.h,va-v850.h}: Remove.
20840
20841 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
20842
20843         * sparc/sparc.md (eligible_for_return_delay): New attribute.
20844         (in_return_delay): Use it instead of match_insn.
20845
20846 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20847
20848         * config/alpha/va_list.h (va-alpha.h): Do not include.
20849         (__gnuc_va_list): Typedef as in varargs.h.
20850
20851 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
20852
20853         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
20854         DECL_LIVE_RANGE_RTL.
20855
20856 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
20857
20858         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
20859         not NOTE_BLOCK_NUMBER.
20860         (expand_eh_region_end): Likewise.
20861         (find_exception_handler_labels): Likewise.
20862         (scan_region): Likewise.
20863         (exception_optimize): Likewise.
20864         (update_rethrow_references): Likewise.
20865         (set_insn_eh_region): Likewise.
20866         * final.c (final_scan_insn): Likewise.
20867         * flow.c (make_edges): Likewise.
20868         * integrate.c (expand_inline_function): Likewise.
20869         * print-rtl.c (print_rtx): Likewise.
20870
20871 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
20872
20873         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
20874         terms of builtin functions and types.
20875
20876         * mips.c (mips_build_va_list): New.
20877         (mips_va_start, mips_va_arg): New.
20878         * mips.h (BUILD_VA_LIST_TYPE): New.
20879         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20880
20881         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
20882         (sh_build_va_list, sh_va_start, sh_va_arg): New.
20883         * sh.h (BUILD_VA_LIST_TYPE): New.
20884         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20885
20886 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
20887
20888         * recog.h (struct recog_data): Make dup_num, operand_address_p,
20889         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
20890         (struct insn_data): Likewise with n_operands, n_dups,
20891         n_alternatives, output_format.
20892         * regclass.c (scan_one_insn): Cast n_operands to int before
20893         arithmetic inside comparison.
20894
20895 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
20896
20897         * toplev.c (compile_function): Unconditionally emit nop.
20898
20899 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20900
20901         * haifa-sched.c (actual_hazard): Move declaration of variable
20902         `this_cost' into the scope where it is used.
20903
20904 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20905
20906         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
20907         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
20908         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
20909
20910         * genrecog.c (make_insn_sequence): Call memset, not bzero.
20911
20912         * jump.c (find_insert_position): Don't declare or define unless
20913         !HAVE_conditional_arithmetic.
20914         (returnjump_p_1, delete_prior_computation): Add static prototypes.
20915
20916         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
20917
20918         * recog.c (offsettable_address_p): Prototype function pointer.
20919         (preprocess_constraints): Call memset, not bzero.
20920
20921         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
20922         (gcc_obstack_init): Don't declare.
20923         (fix_sizetype): Add static prototype.
20924         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
20925         (tree_cons): Call memset, not bzero.
20926
20927         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
20928         definition in macro ASM_WEAKEN_LABEL.
20929         (mark_const_hash_entry): Add static prototype.
20930
20931 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20932
20933         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
20934
20935         * unroll.c (find_common_reg_term, subtract_reg_term,
20936         loop_find_equiv_value): Add static prototypes.
20937         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
20938         (copy_loop_body): Remove unreachable break statement.
20939
20940         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
20941
20942         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
20943
20944 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20945
20946         Undo some changes from the gcc2 merge:
20947         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
20948         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
20949         pointers.
20950
20951         Undo this change:
20952         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
20953         * emit-rtl.c (gen_lowpart_common): Disable optimization of
20954         initialized float-int union if the value is a NaN.
20955
20956 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20957
20958         * gthr-win32.h: New file.
20959
20960         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
20961         shared as a valid attribute.
20962         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
20963         * extend.texi: Document `shared' variable attribute.
20964
20965 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
20966
20967         * configure.in: Handle --enable-threads on FreeBSD.
20968         * configure: Rebuit.
20969
20970 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20971
20972         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
20973         thread support.
20974         * configure: Rebuilt.
20975
20976 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
20977                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
20978                           Rosimildo DaSilva <rdasilva@connecttel.com>
20979
20980         * configure.in (m68k-*-rtemscoff*): Added.
20981         * configure.in (mips64orion-*-rtems*): Converted to ELF.
20982         * configure.in (sparc-*-rtemsaout*): Added as alias for old
20983         sparc-rtems configuration.
20984         * configure.in (sparc-*-rtemself*): Added.
20985         * configure.in (sparc-*-rtems*): Now ELF not a.out.
20986         * config/i386/rtems.h: Added comment.
20987         * config/sparc/rtemself.h: New file.
20988
20989         * configure.in (m68k-rtemself): Added.
20990         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
20991         and DWARF_DEBUGGING_INFO.
20992         * config/m68k/crti.s: New file.
20993         * config/m68k/crtn.s: New file.
20994         * config/m68k/t-crtstuff: New file.
20995         * config/m68k/rtemself.h: New file.
20996
20997         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
20998         global ctor/dtor and C++ exception handling.
20999         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
21000         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
21001         ENDFILE_SPEC.
21002         * config/i386/t-rtems-i386: New File.
21003
21004 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
21005
21006         * stmt.c (expand_end_case): Return right away if the case stack is
21007         empty.
21008
21009 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
21010
21011         * Makefile.in (version.c): Remove rule incorrectly brought in from
21012         the gcc2 merge.
21013
21014 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
21015
21016         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
21017         * msdos/top.sed:  Take into account a prepended $(SHELL) to
21018         move-if-change.
21019         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
21020
21021         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
21022
21023 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21024
21025         * regmove.c (fixup_match_1): Don't change an unchanging register.
21026         (stable_but_for_p): Renamed to:
21027         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
21028         Changed all callers.
21029
21030 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
21031
21032         * loop.c (strength_reduce): Don't call reg_used_between_p if the
21033         insn from BL2 is after the insn from BL.
21034
21035 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
21036
21037         * recog.h (INSN_OUTPUT_FORMAT_*): New.
21038         (struct insn_data): Merge `template' and `outfun' into `output'.
21039         Add `output_format'.
21040         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21041         (struct data): Remove `outfun'; add `output_format'.
21042         (name_for_index): Remove declaration.
21043         (output_insn_data): Handle output formats.
21044         (process_template): Emit the bare array for @.
21045         (gen_expand, gen_split): Set output_format to NONE.
21046         * output.h (get_insn_template): Declare.
21047         * final.c (get_insn_template): New.
21048         (final_scan_insn): Use it.
21049         * toplev.c (compile_file): Likewise.
21050
21051         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21052         * i860/i860.c (output_delayed_branch): Likewise.
21053         (output_delay_insn): Likewise.
21054
21055 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21056
21057         * rtl.c (obstack_alloc_rtx): Removed.
21058
21059 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
21060
21061         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21062
21063 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
21064
21065         * i386.c (call_insn_operand): Reject const_int.
21066         (expander_call_insn_operand): Use call_insn_operand.
21067
21068 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21069
21070         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21071
21072 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
21073
21074         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21075         Use DImode operation.
21076
21077 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
21078
21079         * gcc.c: Include sys/resource.h.
21080         (report_times): New flag.
21081         (execute):  If report_times is set, calculate and report the
21082         CPU time consumed by each subprocess.
21083
21084         (rus, prus): New globals.
21085         (option_map): Add --time.
21086         (display_help): Document -time.
21087         (process_command): Set report_times if -time is given.
21088         Turn off -pipe if -time is given.
21089
21090         * invoke.texi: Document new option -time.
21091
21092         * configure.in: Check for getrusage.  Check if we have to
21093         prototype getrusage.
21094         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21095         * configure: Regenerate.
21096         * config.in: Regenerate.
21097
21098 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
21099
21100         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21101         fields.
21102
21103 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
21104
21105         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21106         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21107         (nan): Return _thenan_sf or _thenan_df as appropriate.
21108         (L_thenan_sf): Define _thenan_sf.
21109         (L_thenan_df): Define _thenan_df.
21110
21111         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21112         (DPBIT_FUNCS): Add _thenan_df.
21113
21114 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
21115
21116         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
21117         TYPE_SIZE_UNIT.
21118
21119 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21120
21121         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21122
21123         * gcc.h: New file.
21124         (lang_specific_driver): Don't take a function pointer parameter.
21125         All callers changed.
21126
21127         * gcc.c: Include gcc.h.
21128         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21129         lang_specific_extra_outfiles, fatal): Don't declare.
21130         (multilib_defaults_raw): Constify.
21131         (read_specs): Call memset, rather than bzero.
21132         (main): Call return, not exit.
21133         (lookup_compiler): Call memcpy, not bcopy.
21134         (fatal): Make extern.
21135
21136         * cppspec.c: Include gcc.h.
21137         (lang_specific_driver): Initialize variable `quote'.  Constify a
21138         char*.  All calls to the function pointer parameter now
21139         explicitly call `fatal'.
21140
21141         * gccspec.c (lang_specific_driver): Include gcc.h.
21142
21143 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
21144
21145         * arm.c (note_invalid_constants): Use recog_data.operand_type
21146         for recog_op_type.
21147
21148 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21149
21150         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21151         Declare.
21152
21153         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21154         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21155         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21156         reload_secondary_in_reload, reload_secondary_out_reload,
21157         reload_secondary_in_icode, reload_secondary_out_icode,
21158         reload_reg_rtx, reload_when_needed): Delete declarations.
21159         (struct reload): New structure.
21160         (rld): Declare new array.
21161         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21162         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21163         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21164         reload_secondary_in_reload, reload_secondary_out_reload,
21165         reload_secondary_in_icode, reload_secondary_out_icode,
21166         reload_reg_rtx, reload_when_needed): Delete definitions.
21167         (rld): New array.
21168         (whole file): Replace uses of the deleted arrays with uses of rld.
21169         * reload1.c (whole file): Replace uses of the deleted arrays with
21170         uses of rld.
21171         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
21172         explicit loops, not with bcopy.
21173
21174 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
21175
21176         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
21177         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
21178         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
21179         insn_name): Delete and consolidate into new structures.
21180         (insn_operand_predicate_fn): New.
21181         (insn_output_fn): New.
21182         (insn_gen_fn): New.
21183         (struct insn_operand_data): New.
21184         (struct insn_data): New.
21185         (insn_data): New.
21186         (OUT_FCN): Update for insn_data change.
21187         * builtins.c (expand_builtin_strlen): Likewise.
21188         (expand_builtin_memcmp): Likewise.
21189         * combine.c (make_extraction, simplify_comparison): Likewise.
21190         * cse.c (canon_reg, cse_insn): Likewise.
21191         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
21192         * expmed.c (store_bit_field, extract_bit_field): Likewise.
21193         (emit_store_flag): Likewise.
21194         * expr.c (convert_move, emit_block_move): Likewise.
21195         (clear_storage, emit_push_insn, expand_increment): Likewise.
21196         (do_store_flag): Likewise.
21197         * expr.h (GEN_FCN): Likewise.
21198         (insn_gen_function): Die.
21199         * final.c (final_scan_insn): Update for insn_data change.
21200         (output_asm_name): Likewise.
21201         * function.c (fixup_var_refs_1): Likewise.
21202         * loop.c (check_dbra_loop): Likewise.
21203         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
21204         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
21205         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
21206         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
21207         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
21208         * regmove.c (gen_add3_insn): Likewise.
21209         * reload.c (push_secondary_reload, combine_reloads): Likewise.
21210         (find_reloads, find_reloads_address_1): Likewise.
21211         (debug_reload_to_stream): Likewise.
21212         * reload1.c (emit_reload_insns, gen_reload): Likewise.
21213         * stmt.c (expand_end_case): Likewise.
21214         * toplev.c (compile_file): Likewise.
21215
21216         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21217         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21218
21219         * print-rtl.c (insn_name_ptr): Remove declaration.
21220         (get_insn_name): Declare.
21221         (print_rtx): Use it.
21222         * genoutput.c (insn_name_ptr): Remove.
21223         (next_operand_number): New.
21224         (struct operand_data): New.
21225         (null_operand, odata, odata_end): New.
21226         (struct data): Use struct operand_data.
21227         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
21228         (get_insn_name): Renamed from name_for_index.
21229         (output_prologue): Define NO_MD_PROTOTYPES.
21230         (output_predicate_decls): Break out from output_epilogue.
21231         Iterate over the operands list.
21232         (output_operand_data): Break out from output_epilogue.  Emit
21233         just the operands list.
21234         (output_insn_data): Break out from output_epilogue.  Emit just
21235         the insn data.
21236         (output_epilogue): Remove.
21237         (output_get_insn_name): New.
21238         (constraints, op_n_alternatives, predicates, address_p): Die.
21239         (modes, strict_low, seen): Die.
21240         (scan_operands): Take new param `d' instead of writing to
21241         seven global variables.
21242         (compare_operands): New.
21243         (place_operands): New.
21244         (validate_insn_alternatives): Update for struct data change.
21245         (gen_insn): Don't zero or copy 7 global arrays.  Update for
21246         scan_operands; call place_operands.
21247         (gen_peephole, gen_expand, gen_split): Likewise.
21248         (main): Update for new output routines.
21249
21250         * genattr.c (insn_name_ptr): Remove.
21251         (get_insn_name): New function.
21252         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21253         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21254         * genrecog.c: Likewise.
21255
21256         * alpha.md (adddi3): Make `pattern' array static.
21257
21258 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21259
21260         * config/c4x/c4x.h (c4x_rpts_cycles_string,
21261         c4x_cpu_version_string): Constify char *.
21262         * config/c4x/c4x.c (c4x_rpts_cycles_string,
21263         c4x_cpu_version_string): Likewise.
21264
21265 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
21266
21267         * tree.c (save_tree_status): Revert 10 Sep change.
21268         (restore_tree_status): Likewise.  Call obstack_free with NULL
21269         before freeing the obstack proper.
21270
21271 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
21272
21273         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21274
21275         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21276         surrounding context.
21277
21278 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
21279
21280         * tree.c (type_hash_canon): Put all types in the hash-table, when
21281         GC'ing.
21282
21283 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
21284
21285         * recog.h (struct recog_data, recog_data): New.
21286         (recog_foo variables): Kill.
21287         * recog.c (recog_operand, recog_operand_loc): Kill.
21288         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21289         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21290         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21291         (recog_data): Define.
21292         (extract_insn): Update all recog_foo references to use recog_data.
21293         (preprocess_constraints, constrain_operands): Likewise.
21294         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21295         * genattrtab.c (main): Likewise.
21296         * genextract.c (main): Likewise.
21297         * genoutput.c: Likewise.
21298         * genrecog.c (write_subroutine, main): Likewise.
21299         * local-alloc.c (block_alloc): Likewise.
21300         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21301         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21302         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21303         * reload.c (find_reloads, find_reloads_toplev): Likewise.
21304         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21305         (reload_cse_simplify_operands): Likewise.
21306
21307         * arc/arc.c (arc_final_prescan_insn): Likewise.
21308         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21309         * h8300/h8300.c (notice_update_cc): Likewise.
21310         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21311         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21312         * mn10200/mn10200.c (notice_update_cc): Likewise.
21313         * mn10300/mn10300.c (notice_update_cc): Likewise.
21314         * romp/romp.c (update_cc): Likewise.
21315         * sparc/sparc.c (check_pic): Likewise.
21316         * v850/v850.c (notice_update_cc): Likewise.
21317
21318         * genemit.c (main): Don't declare recog_operand.
21319
21320 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
21321
21322         * ggc.h (rtvec_def): Forward declare.
21323         (tree_node): Likewise.
21324         (ggc_root): Define.
21325         (roots): Declare.
21326         (ggc_set_mark_rtx): Add prototype.
21327         (ggc_set_mark_rtvec): Likewise.
21328         (ggc_set_mark_tree): Likewise.
21329         * ggc-simple.c (ggc_root): Don't define.
21330         (roots): Don't declare.
21331         (ggc_mark_rtx): Remove.
21332         (ggc_mark_rtvec): Likewise.
21333         (ggc_mark_tree): Likewise.
21334         (ggc_mark_varray): Likewise.
21335         (ggc_mark_tree_hash_table_entry): Likewise.
21336         (ggc_mark_tree_hash_table): Likewise.
21337         (ggc_set_mart_rtx): New function.
21338         (ggc_set_mark_rtvec): Likewise.
21339         (ggc_set_mark_tree): Likewise.
21340         (ggc_add_root): Remove.
21341         (ggc_add_rtx_root): Likewise.
21342         (ggc_remove_tree_root): Likewise.
21343         (ggc_add_string_root): Likewise.
21344         (ggc_add_tree_varray_root): Likewise.
21345         (ggc_add_tree_hash_table_root): Likewise.
21346         (ggc_del_root): Likewise.
21347         (ggc_mark_rtx_ptr): Likewise.
21348         (ggc_mark_tree_ptr): Likewise.
21349         (ggc_mark_string_ptr): Likewise.
21350         (ggc_mark_tree_varray_ptr): Likewise.
21351         (ggc_mark_tree_hash_table_ptr): Likewise.
21352         * ggc-common.c: New file.
21353         * Makefile.in (OBJS): Add ggc-common.o.
21354         (ggc-common.o): List dependencies.
21355
21356 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
21357
21358         * cppalloc.c (xstrdup): Use memcpy.
21359         * cpperror.c (cpp_print_containing_files): Don't use
21360         cpp_notice.
21361         * cpplib.c (conditional_skip): Set temp->lineno.
21362         (do_endif): Make error message less obscure.
21363         (if_directive_name): New function.
21364         (cpp_get_token [case EOF]): Unwind the if stack and generate
21365         error messages for each unterminated conditional in this file.
21366         (parse_string):  Do not behave differently if -traditional.
21367
21368 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
21369
21370         * builtins.c (expand_builtin_va_arg): Cope with an array-type
21371         va_list decomposing to pointer-type.
21372         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21373         (rs6000_va_arg): Likewise.
21374
21375 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
21376
21377         * except.c (start_dynamic_handler): Compute size using
21378         STACK_SAVEAREA_MODE.
21379
21380 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21381
21382         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
21383         include directory headers.  Don't define strrchr.  Don't provide
21384         my_* replacement functions.  Prefer PTR over `pointer_type'.
21385         Don't prototype system functions.  Don't redefine getopt.
21386
21387         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21388         safe_read, safe_write, save_pointers, restore_pointers,
21389         is_id_char, in_system_include_dir, directory_specified_p,
21390         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21391         find_corresponding_lparen, referenced_file_is_newer,
21392         save_def_or_dec, munge_compile_params, gen_aux_info_file,
21393         process_aux_info_file, identify_lineno, check_source,
21394         seek_to_line, forward_to_next_token_char, output_bytes,
21395         output_string, output_up_to, other_variable_style_function,
21396         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21397         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21398         find_static_definition, connect_defs_and_decs, add_local_decl,
21399         add_global_decls, needs_to_be_converted, visit_each_hash_node,
21400         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21401         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21402         scan_for_missed_items, edit_file, string_list_cons): Add static
21403         prototypes.
21404         (standard_exec_prefix, target_machine, target_version,
21405         default_syscalls_dir, string_list, string_list_cons, find_file,
21406         do_cleaning): Constify a char*.
21407         (safe_read, safe_write): Use PTR, not a char*.
21408         (is_id_char): Take an int, not a char.
21409         (main): Add prototype.  Call return, not exit.
21410
21411 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
21412
21413         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21414         when comparing types.
21415
21416 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
21417
21418         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21419         (strength_reduce): Release the varrays from the no-bivs early exit.
21420
21421         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21422         the loop over the registers.
21423
21424         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21425         for a new obstack.
21426         (restore_tree_status): Check that instead when freeing the obstack.
21427
21428 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
21429
21430         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21431         as pointers.
21432
21433 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21434
21435         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
21436         operand size modifiers.
21437
21438 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21439
21440         * c-common.c (c_common_nodes_and_builtins): Don't build
21441         va_list_type_node.
21442         * c-common.h (enum c_tree_index and related accesor macros): Remove
21443         everything now declared in tree.h.
21444         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21445         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21446         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21447         (error_mark_node, void_type_node, char_type_node, integer_type_node,
21448         unsigned_type_node, ptr_type_node, va_list_type_node,
21449         integer_zero_node, null_pointer_node, integer_one_node): Delete.
21450         (init_decl_processing): Call build_common_tree_nodes and
21451         build_common_tree_nodes_2 instead of building their nodes here.
21452         Don't add roots for these nodes.
21453         * stor-layout.c (size_zero_node, size_one_node): Delete.
21454         (set_sizetype): Make a new node for bitsizetype each time.
21455         * tree.c (global_trees): New variable.
21456         (init_obstacks): Add a gc root for it.
21457         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21458         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21459         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21460         (build_common_tree_nodes): New function.
21461         (fix_sizetype): New function.
21462         (build_common_tree_nodes_2): New function.
21463         * tree.h (enum tree_index): New.
21464         (global_trees): Declare.
21465         Add accessor macros for all nodes now moved to global_trees.
21466         Delete their declarations.
21467
21468 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
21469
21470         * c-decl.c (finish_function): When processing a nested function,
21471         push and pop GC context around rest_of_compilation.
21472
21473 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
21474
21475         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21476         Default ix86_arch to PROCESSOR_I386.
21477         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
21478         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21479         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21480         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21481         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
21482         (EXTRA_SPECS): Remove deleted specs.
21483
21484 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
21485
21486         * function.c (assign_stack_local_1): Allocate from
21487         function->x_frame_offset, not frame_offset.
21488
21489 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
21490
21491         * ggc.h (lang_cleanup_tree): Remove.
21492         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21493         * ggc-callbacks.c (lang_cleanup_tree): Remove.
21494
21495         * c-decl.c (finish_struct): Use ggc_alloc to allocate
21496         TYPE_LANG_SPECIFIC when garbage collecting.
21497         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21498         (lang_cleanup_tree): Remove.
21499
21500 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
21501
21502         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21503         * crtstuff.c: Not here.
21504         * dwarf2out.c: Or here.
21505         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21506         info.
21507
21508 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
21509
21510         * function.h (free_after_compilation): Remove decl parameter.
21511         (free_varasm_status0: Likewise.
21512         (free_emit_status): Likewise.
21513         (free_stmt_status): Likewise.
21514         (free_after_compilation): Likewise.
21515         (init_lang_status): New variable.
21516         (free_lang_status): Likewise.
21517         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21518         * function.c (init_lang_status): New variable.
21519         (free_lang_status): Likewise.
21520         (push_function_context_to): Don't set function::decl here.
21521         (free_after_copmilation): Make decl parameter implicit.  Call
21522         free_lang_status if defined.
21523         (prepare_function_start): Call init_lang_status if defined.
21524         (init_function_start): Set function::decl here.
21525         * profile.c (output_func_start_profiler): Don't call pushdecl
21526         until we've actually started the function.
21527         * stmt.c (free_stmt_status): Make decl parameter implicit.
21528         * toplev.c (rest_of_compilation): Don't pass decl to
21529         free_after_compilation.
21530         * varasm.c (free_varasm_status): Likewise.
21531
21532 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21533
21534         * except.c (call_get_eh_context): Add root when allocating static
21535         tree variable.
21536
21537 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
21538
21539         * arm.c: Include "ggc.h".
21540         (arm_add_gc_roots): New function.
21541         (arm_override_options): Call it.
21542         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21543
21544         * arm.md (define_asm_attributes): Add a pool_range attribute.
21545
21546 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
21547
21548         * extend.texi (Volatiles): New node.
21549
21550 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
21551
21552         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21553         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21554         (struct ggc_any): Replace `mark' with `magic_mark'.
21555         (ggc_alloc_string): Use memcpy, not bcopy.
21556         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
21557         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21558         (ggc_free_any): New.
21559         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
21560         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
21561         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
21562         Use IS_MARKED. Use ggc_free_any.
21563
21564 1999-09-09  Scott Bambrough <scottb@netwinder.org>
21565
21566         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21567
21568 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
21569
21570         * toplev.c (main): Always init_ggc.
21571
21572 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
21573
21574         * except.c (find_all_handler_type_matches): Free the list if
21575         we found no matches.
21576
21577         * combine.c (SUBST): Break out to a real function do_SUBST.
21578         (SUBST_INT): Likewise.
21579         * gcse.c (free_pre_mem): Free `temp_bitmap'.
21580         (pre_insert): Free `inserted'.
21581         * loop.c (basic_induction_var): Always set `location'.
21582
21583         * function.c (expand_function_end): Add initial_trampoline as a root.
21584         * rtl.h (init_varasm_once): Declare.
21585         * toplev.c (compile_file): Call it.
21586         * ggc-simple.c (ggc_mark_string_ptr): New.
21587         (ggc_add_string_root): New.
21588         (ggc_collect): Disable collection avoidance temporarily.
21589         * ggc.h (ggc_add_string_root): Declare.
21590         * except.c (create_rethrow_ref): Use ggc_alloc_string.
21591         * optabs.c (init_libfuncs): Likewise.
21592         * varasm.c (named_section): Use ggc_alloc_string.
21593         (make_function_rtl): Likewise.
21594         (make_decl_rtl): Likewise.
21595         (assemble_static_space): Likewise.
21596         (assemble_trampoline_template): Likewise.
21597         (output_constant_def): Likewise.
21598         (force_const_mem): Likewise.
21599         (mark_const_hash_entry): New.
21600         (mark_pool_sym_hash_table): New.
21601         (mark_varasm_state): Use it.
21602         (init_varasm_once): New.
21603
21604         * expr.h (init_one_libfunc): Declare.
21605         * optabs.c (init_one_libfunc): New.
21606         (init_optabs): Use it.
21607         * config/gofast.h: Likewise.
21608         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
21609         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
21610
21611 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
21612
21613         * Makefile.in (cppexp.o): Depend on cpphash.h.
21614         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
21615         Include cpphash.h.
21616         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
21617         * cpplib.c (do_define): Generalise to handle poisoned definitions,
21618         redefining poisoned identifiers, etc.
21619         (do_undef): Don't allow poisoned identifiers to be undefined.
21620         (do_pragma): Add #pragma poison.
21621         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21622
21623         * cccp.c: Add T_POISON node type.
21624         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
21625         poisoned xxx.
21626         (do_define): Generalise to handle poisoned definitions,
21627         redefining poisoned identifiers, etc.
21628         (do_undef): Don't allow poisoned identifiers to be undefined.
21629         (do_pragma): Add #pragma poison.
21630         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21631
21632         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
21633         * c-pragma.h: Add ps_poison state.  We now always have generic
21634         pragmas.
21635
21636 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
21637
21638         * ggc.h (ggc_alloc): New function.
21639         (ggc_mark): Likewise.
21640         * ggc-simple.c (ggc_any): New structure.
21641         (ggc_status): Add anys.
21642         (n_anys_collected): New variable.
21643         (ggc_alloc): Define.
21644         (ggc_mark): Likewise.
21645         (ggc_collect): Collect the anys.
21646
21647 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21648
21649         * c-decl.c (mark_binding_level): Make static to match prototype.
21650
21651 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
21652
21653         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
21654
21655 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
21656
21657         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
21658         will use into account.  Expand the max width to 5.
21659         * rtl.c: Likewise.
21660
21661 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
21662
21663         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
21664         for the rtx length.
21665
21666 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
21667
21668         * alpha.md (call value patterns): Remove the result predicates.
21669
21670 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
21671
21672         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
21673         last change.
21674
21675 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21676
21677         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
21678         changed from extern char *, to extern PTR.  Also fix typo in
21679         NEED_DECLARATION_REALLOC test.
21680
21681         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
21682
21683 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21684
21685         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
21686         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
21687         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
21688         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
21689
21690         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
21691
21692         * cccp.c (pcfinclude): Likewise.
21693
21694         * global.c (allocno_compare): Likewise.
21695
21696         * haifa-sched.c (rank_for_schedule): Likewise.
21697
21698         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
21699
21700         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
21701
21702         * stupid.c (stupid_reg_compare): Likewise.
21703
21704         * tree.c (_obstack_allocated_p): Likewise.
21705
21706         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
21707
21708 1999-09-08  Bruce Korb  autogen@linuxbox.com
21709
21710         * Makefile.in: Give the hapless gperf user a hint about
21711         why "gperf -F" fails.
21712
21713 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
21714
21715         * lists.c: Include ggc.h.
21716         (zap_lists): New.
21717         (init_EXPR_INSN_LIST_cache): Install it.
21718
21719         * ggc-simple.c (init_ggc): Absorb the old init.
21720         (ggc_push_context): Use xcalloc.
21721         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
21722         (ggc_collect): Add [rvts] tags to the collection stats.
21723
21724 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
21725
21726         * cccp.c (main): Fix handling of -include and -imacros options.
21727
21728 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
21729
21730         * cpplib.c (cpp_push_buffer): Fix order of arguments.
21731
21732 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21733
21734         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
21735         genrtl.c.
21736
21737 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21738
21739         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
21740         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
21741         and SET_DEST. Update comment.
21742
21743 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21744
21745         * config/c4x/c4x.c: Include ggc.h.
21746         (c4x_add_gc_roots): New function.
21747         (c4x_override_options): Call c4x_add_gc_roots.
21748
21749 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
21750
21751         * defaults.h (TARGET_ESC): Move ...
21752         * system.h: ... here, where Linas had it in the first place.  Silly me.
21753
21754 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
21755
21756         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
21757         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
21758         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
21759         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
21760         * defaults.h (TARGET_ESC): Add default.
21761
21762 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
21763
21764         * configure.in: add i370-*-openedition, i370-*-mvs and
21765         i370-*-linux targets
21766
21767 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
21768
21769         * dsp16xxx.c: Include ggc.h
21770         (override_options): Mark GC roots.
21771         * mn10200.c: Include ggc.h.
21772         (asm_file_start): Mark GC roots.
21773         * tahoe.c: Include ggc.h.
21774         (extensible_operand): Mark GC roots.
21775
21776 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
21777
21778         * README: Add section discussing status of ELF ABI.
21779         * i370.c: Fix misc spelling mistakes.
21780         (i370_label_scan): Updated notes, exception handling.
21781         (i370_function_prolog): Simplify ELF stack handling.
21782         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
21783         (STACK_GROWS_DOWNWARD): ELF stack grows down.
21784         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
21785         * i370.md: (movdi): Add notes.
21786         (floatsidf2): Use stack not rtca for scratch float area.
21787         (iorsi3): Correct operand constraints.
21788         * x-oe: Restore TAROUTOPTS which are used by pax.
21789
21790 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
21791
21792         * rs6000.c: Include ggc.h.
21793         (rs6000_add_gc_roots): New function.
21794         (override_options): Call it.
21795
21796 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
21797
21798         * alpha.h (alpha_compare): New.
21799         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
21800         * alpha.c: Likewise for the definitions.
21801         (alpha_emit_conditional_branch): Update for alpha_compare.
21802         (alpha_emit_conditional_move): Likewise.
21803         * alpha.md (cmpdf, cmpdi): Likewise.
21804         (setcc patterns): Likewise.  Zero alpha_compare after use.
21805         (sne): Optimize (x != 0) into (0U < x).
21806
21807 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
21808
21809         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
21810         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
21811         (INIT_EXPANDERS): Remove.
21812         * alpha.c: Include ggc.h.
21813         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
21814         (alpha_init_machine_status, alpha_mark_machine_status): New.
21815         (override_options): Install them.
21816         (struct machine_function): Moved to alpha.h.
21817         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
21818         (alpha_init_expanders): Remove.
21819         (alpha_return_addr): Adjust to use current_function->machine.
21820         (alpha_ra_ever_killed): Likewise.
21821         (alpha_expand_epilogue): Likewise.
21822         * alpha.md (eh_epilogue): Likewise.
21823
21824 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
21825                           Melissa O'Neill  <oneill@cs.sfu.ca>
21826                           Geoffrey Keating  <geoffk@cygnus.com>
21827
21828         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
21829         call-used registers (call-saved registers must still be contiguous
21830         and end with r31, of course).
21831
21832 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
21833
21834         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
21835         (self_promoting_type_p): Delete.
21836         (self_promoting_args_p): Move ...
21837         * c-common.c: ... here.
21838         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
21839         (simple_type_promotes_to): New.
21840         * builtins.c (lang_type_promotes_to): New.
21841         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
21842         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
21843         * c-common.h: ... here.
21844         (self_promoting_args_p, simple_type_promotes_to): Declare.
21845         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
21846         (grokdeclarator): Likewise.
21847         * tree.h (lang_type_promotes_to): Declare.
21848
21849 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
21850
21851         Add some machine-dependent GC roots.
21852         * sparc.c: Include ggc.h.
21853         (sparc_add_gc_roots): New function.
21854         (mark_ultrasparc_pipeline_state): Likewise.
21855         (override_options): Call sparc_add_gc_roots.
21856         * pa.c: Include ggc.h.
21857         (pa_add_gc_roots): New function.
21858         (mark_deferred_plabels): Likewise.
21859         (override_options): Call pa_add_gc_roots.
21860         * mips.c: Include ggc.h.
21861         (mips_add_gc_roots): New function.
21862         (override_options): Use it.
21863
21864 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21865
21866         * cpperror.c (cpp_file_line_for_message): Constify a char*.
21867
21868         * cppexp.c (parse_number, parse_charconst, cpp_lex,
21869         cpp_parse_expr): Add static prototypes.
21870         (parse_charconst): Don't cast away const-ness.
21871         (token): Constify a char*.
21872
21873         * cppfiles.c (file_name_list, include_hash, find_include_file,
21874         finclude, initialize_input_buffer): Constify a char*.
21875         (file_cleanup, find_position): Add static prototypes.
21876
21877         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
21878         collect_expansion): Add static prototypes.
21879         (cpp_install, create_definition, monthnames): Constify a char*.
21880
21881         * cpphash.h (cpp_install): Likewise.
21882
21883         * cppinit.c (known_suffixes, default_include,
21884         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
21885         (base_name, dump_special_to_buffer, initialize_dependency_output):
21886         Add static prototypes.
21887
21888         * cpplib.c (my_strerror): Constify a char*.
21889         (null_underflow, null_cleanup, skip_comment, copy_comment,
21890         copy_rest_of_line, handle_directive, pass_thru_directive,
21891         get_directive_token, read_line_number, cpp_print_file_and_line,
21892         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
21893         v_cpp_warning_with_line, detect_if_not_defined,
21894         consider_directive_while_skipping): Add static prototypes.
21895         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
21896         cpp_pedwarn_with_file_and_line): Constify a char*.
21897
21898         * cpplib.h (cpp_options, include_hash, progname, definition,
21899         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
21900         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
21901         find_include_file, deps_output, include_hash): Constify a char*.
21902
21903         * cppmain.c (progname): Constify.
21904         (main): Add prototype.  Use return, not exit.
21905
21906         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
21907         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
21908         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
21909         check_protection): Add static prototype.
21910         (xfree): Remove.
21911         (progname, recognized_macrom, recognized_extern): Constify a char*.
21912         (main): Add prototype.
21913
21914         * gen-protos.c (progname): Constify a char*.
21915
21916 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
21917
21918         * emit-rtl.c (free_emit_status): Take decl as a parameter.
21919         (init_emit_once): Add more GC roots.
21920         * except.c (mark_func_eh_entry): New function.
21921         (mark_eh_node): Mark false_label and rethrow_label.
21922         (init_eh): Add more GC roots.
21923         * function.c (free_after_compilation): Take decl as a paramter.
21924         Call free_stmt_status.
21925         (mark_function_state): Don't assume x_parm_reg_stack_loc is
21926         non-NULL.
21927         * function.h (free_after_compilation): Change prototype.
21928         (free_varasm_status): Likewise.
21929         (free_emit_status): Likewise.
21930         (free_stmt_status): New function.
21931         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
21932         Remove, replacing with ...
21933         (ggc_status): New structure.
21934         (ggc_chain): New variable.
21935         (init_gcc): Define.
21936         (ggc_push_context): New function.
21937         (ggc_pop_context): Likewise.
21938         (ggc_alloc_rtx): Adjust for use of ggc_chain.
21939         (ggc_alloc_rtvec): Likewise.
21940         (ggc_alloc_tree): Likewise.
21941         (ggc_alloc_string): Likewise.
21942         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
21943         (ggc_mark_tree): Give language-dependent code a chance to mark
21944         `x' nodes.
21945         (ggc_mark_tree_varray): Handle empty arrays.
21946         (ggc_collect): Adjust for use of ggc_chain.  Clear
21947         bytes_alloced_since_last_gc.
21948         * ggc.h (ggc_pop_context): New function.
21949         (ggc_push_context): Likewise.
21950         * print-tree.c (print_node): Don't print obstacks when GC'ing.
21951         * stmt.c (free_stmt_status): New function.
21952         (init_stmt_for_function): Clear last_expr_value.
21953         * toplev.c (rest_of_compilation): Always call free_after_compilation.
21954         Conditionalize call to ggc_collect.
21955         (main): Call init_ggc.
21956         * tree.c (push_obstacks): Do the push, even when GC'ing.
21957         (push_obstacks_nochange): Likewise.
21958         (pop_obstacks): Liekwise.
21959         * varasm.c (free_varasm_status): Take decl as a parameter.
21960
21961 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21962
21963         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
21964         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
21965         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
21966         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
21967
21968 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
21969
21970         * pa/x-pa-mpeix: New file for the MPE port.
21971
21972         * pa/quadlib.asm: New file for long double support.
21973
21974         * configure.in: Add hppa1.0-*-mpeix for MPE port.
21975         * configure: Rebuilt.
21976
21977 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
21978
21979         * final.c (shorten_branches): Fix last change.
21980
21981 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
21982
21983         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
21984
21985 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
21986
21987         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
21988         details.
21989
21990 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21991
21992         * c-aux-info.c (concat): Don't define.
21993
21994         * cccp.c (my_strerror): Likewise.  All callers changed to use
21995         xstrerror instead.
21996         (do_include): Call xstrdup, not xmalloc/strcpy.
21997         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
21998         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
21999
22000         * collect2.c (my_strsignal): Likewise.  All callers changed to use
22001         strsignal instead.
22002         (locatelib): Call xstrdup, not xmalloc/strcpy.
22003
22004         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
22005
22006         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
22007
22008         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
22009
22010         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
22011
22012         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
22013
22014         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
22015
22016         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
22017         malloc/realloc.
22018         (find_all_handler_type_matches): Likewise.  Don't check return
22019         value.
22020         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
22021         xmalloc, not malloc.
22022         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
22023
22024         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
22025         (init_spec): Call xcalloc, not xmalloc/bzero.
22026         (set_spec): Call xstrdup, not save_string.
22027         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
22028         (find_a_file): Call xstrdup, not xmalloc/strcpy.
22029         (process_command): Call xstrdup, not save_string.
22030         (main): Call xcalloc, not xmalloc/bzero.
22031
22032         * gcov.c (xmalloc): Don't define.
22033         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22034         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22035         (output_data): Call xcalloc, not xmalloc/bzero.
22036
22037         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22038
22039         * mips-tdump.c (xmalloc): Don't define.
22040         (print_symbol): Call xmalloc, not malloc.
22041         (read_tfile): Call xcalloc, not calloc.
22042
22043         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22044         Don't define.  All callers of xfree/my_strsignal changed to use
22045         free/strsignal instead.
22046         (allocate_cluster): Call xcalloc, not calloc.
22047
22048         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22049         Fix memory leak, free allocated memory.
22050
22051         * prefix.c (translate_name): Call xstrdup, not save_string.
22052         (update_path): Likewise.
22053
22054         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22055
22056         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22057         Don't define.  Callers of xfree/savestring2 changed to use
22058         free/concat instead.
22059
22060         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22061         (init_elim_table): Likewise.
22062
22063         * resource.c (init_resource_info): Likewise.
22064
22065         * stupid.c (stupid_life_analysis): Likewise.
22066
22067         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22068         (open_dump_file): Call concat, not xmalloc/strcpy/...
22069         (clean_dump_file): Likewise.
22070         (compile_file): Call xstrdup, not xmalloc/strcpy.
22071
22072 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
22073
22074         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22075         * v850.c (v850_va_arg): New.
22076
22077 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22078
22079         * haifa-sched.c: Tidy comments.
22080
22081 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22082
22083         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22084         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22085         $(out_object_file)): Depend on ggc.h.
22086         * c-common.c: Include "ggc.h".
22087         (combine_strings): If doing GC, use ggc_alloc_string.
22088         * c-decl.c: Include "ggc.h".
22089         (ggc_p): Define with value 0.
22090         (mark_binding_level): New function.
22091         (init_decl_processing): Add GC roots.
22092         (mark_c_function_context): New function.
22093         (lang_mark_false_label_stack): New function.
22094         (lang_mark_tree): New function.
22095         (lang_cleanup_tree): New function.
22096         * c-lang.c: Include "ggc.h".
22097         (lang_init): Call c_parse_init.
22098         * c-lex.c: Include "ggc.h".
22099         (check_linenum): If doing GC, don't copy filenames to permanent
22100         obstack.
22101         * c-parse.in: Include "ggc.h".
22102         (c_parse_init): New function.
22103         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22104         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22105
22106         * except.c (mark_eh_state): Mark more state.
22107         * function.c (mark_function_state): Likewise.
22108         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22109         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22110         * toplev.c (mark_file_stack): New function.
22111         (compile_file): If doing GC, use ggc_alloc_string on input filename.
22112         (main): Add root for input_file_stack.
22113
22114         * i386.c: Include "ggc.h".
22115         (ix86_mark_machine_status): New function.
22116         (override_options): Set mark_machine_status.
22117
22118 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22119
22120         * tree.c (copy_node): Copy node contents also if doing GC.
22121
22122 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22123
22124         * collect2.c (scan_libraries): Fix double-thinko :-).
22125
22126 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
22127
22128         * collect2.c (scan_libraries): Fix thinko.
22129
22130         * cse.c (delete_trivially_dead_insns): Do not skip the last
22131         insn if it is a real insn.
22132
22133 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
22134
22135         * Makefile.in (ggc-simple.o): Depend on hash.h.
22136         * ggc.h (ggc_add_tree_hash_table_root): Declare.
22137         (ggc_mark_tree_varray): Likewise.
22138         (ggc_mark_tree_hash_table): Likewise.
22139         * ggc-simple.c: Include hash.h.
22140         (ggc_mark_tree_hash_table_ptr): New function.
22141         (ggc_mark_tree_hash_table_entry): Likewise.
22142         (ggc_mark_tree_hash_table): Likewise.
22143         (ggc_add_tree_hash_table_root): Likewise.
22144         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22145         rtx, when defining fields.
22146
22147 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22148
22149         * profile.c (output_func_start_profiler): Remove apparently
22150         nonsensical call to start_sequence.
22151
22152 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
22153
22154         * clipper/clipper.c (clipper_va_start): Fix typos.
22155
22156         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22157         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22158         (spur_va_arg): New stub.
22159
22160         * configure.in: Comment out pyramid.
22161
22162 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
22163
22164         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
22165         don't conflict with the bits that win32, cygwin, and dgux
22166         defines.
22167
22168 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
22169                           Bernd Schmidt <bernds@cygnus.co.uk>
22170
22171         * integrate.c (function_cannot_inline_p): Do not inline
22172         functions with forced labels.
22173
22174 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
22175                           Bernd Schmidt <bernds@cygnus.co.uk>
22176                           Mark Mitchell  <mark@codesourcery.com>
22177
22178         * Makefile.in (ggc-simple.o): Depend on varray.h.
22179         (rtl.o): Depend on ggc.h.
22180         (genattrtab.o): Depend on ggc.h.
22181         (print-tree.o): Likewise.
22182         (fold-const.o): Likewise.
22183         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
22184         (make_insn_raw): Don't cache insns when GC'ing.
22185         (emit_insn_before): Likewise.
22186         (emit_insn_after): Likewise.
22187         (emit_insn): Likewise.
22188         (start_sequence): Use xmalloc to allocate the sequence_stack.
22189         (end_sequence): Add free to free it.
22190         (gen_sequence): Don't cache insns when GC'ing.
22191         (clear_emit_caches): Don't use sequence_element_free_list.
22192         (init_emit): Use xcalloc, not xmalloc+bzero.
22193         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
22194         * function.c (pop_function_context_from): Use free to free the
22195         fixup_var_refs_queue.
22196         (put_reg_into_stack): Allocate it with xmalloc.
22197         * genattrtab.c: Include ggc.h.
22198         (operate_exp): Don't use obstack_free when GC'ing.
22199         (simplify_cond): Likewise.
22200         (simplify_text_exp): Likewise.
22201         (optimize_attrs): Likewise.
22202         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
22203         GC'ing.
22204         (gencode): Generate a #include for ggc.h.
22205         * ggc-callbacks.c (ggc_p): Define it to zero.
22206         * ggc-none.c (ggc_p): Likewise.
22207         * ggc-simple.c: Include varray.h.
22208         (ggc_mark_tree_varray): New function.
22209         (ggc_add_tree_varray_root): Likewise.
22210         (ggc_mark_tree_varray_ptr): Likewise.
22211         * ggc.h (ggc_p): Declare.
22212         (varray_head_tag): Likewise.
22213         (ggc_add_tree_varray_root): Declare.
22214         * print-tree.c (print_node): Don't check for TREE_PERMANENT
22215         inconsistencies when GC'ing.
22216         * rtl.c: Include ggc.h.
22217         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
22218         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
22219         (rtx_free): Don't call obstack_free when GC'ing.
22220         * toplev.c (rest_of_compilation): Call ggc_collect after every
22221         pass, if GC'ing.
22222         * tree.c (push_obstacks): Do nothing, if GC'ing.
22223         (pop_obstacks_nochange): Likewise.
22224         (pop_obstacks): Likewise.
22225         (make_node): Use ggc_alloc_tree when GC'ing.
22226         (copy_node): Likewise.
22227         (get_identifier): Use ggc_alloc_string when GC'ing.
22228         (build_string): Likewise.
22229         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
22230         (tree_cons): Likewise.
22231         (build1): Likewise.
22232         (type_hash_canon): Don't call obstack_free when GC'ing.
22233
22234 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
22235
22236         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
22237         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
22238
22239 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
22240                           Bernd Schmidt <bernds@cygnus.co.uk>
22241                           Mark Mitchell  <mark@codesourcery.com>
22242
22243         * Makefile.in (stor-layout.o): Depend on ggc.h.
22244         (expr.o): Depend on ggc.h.
22245         (profile.o): Depend on ggc.h.
22246         (stor-layout.o): Depend on ggc.h.
22247         * emit-rtl.c (init_emit_once): Add gc roots.
22248         * expr.c: Include ggc.h.
22249         (emit_block_move): Add gc roots.
22250         (clear_storage): Likewise.
22251         * expr.h (init_stor_layout_once): New function.
22252         * profile.c: Include ggc.h.
22253         (init_arc_profiler): profiler_label is a root.
22254         * scan.c (make_sstring_space): Trust xrealloc to function
22255         correctly with first parameter NULL.
22256         * stor-layout.c: Include ggc.h.
22257         (set_sizetype): Add gc root.
22258         (init_stor_layout_once): New function.
22259         * toplev.c (compile_file): Call it.
22260
22261 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
22262                           Bernd Schmidt <bernds@cygnus.co.uk>
22263                           Mark Mitchell  <mark@codesourcery.com>
22264
22265         * Makefile.in (tree.o): Depend on ggc.h.
22266         (varasm.o): Likewise.
22267         (function.o): Likewise.
22268         (stmt.o): Likewise.
22269         (except.o): Likewise.
22270         (optabs.o): Likewise.
22271         (emit-rtl.o): Likewise.
22272         * emit-rtl.c: Include ggc.h.
22273         (sequence_element_free_list): Remove, and all references.
22274         (mark_sequence): New functions.
22275         (mark_emit_state): New function.
22276         * except.c: Include ggc.h.
22277         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22278         (mark_tree_label_node): New functions.
22279         (mark_eh_state): New function.
22280         * function.c: Include ggc.h.
22281         (mark_temp_slot, mark_function_chain): New functions.
22282         (mark_function_state): New function.
22283         (init_function_once): New function.
22284         * function.h (init_function_once): New function.
22285         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22286         * ggc.h (label_node): Declare.
22287         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22288         (lang_mark_false_label_stack): New function.
22289         (mark_temp_slot): Remove declaration.
22290         (mark_function_chain): Likewise.
22291         (mark_eh_state): Adjust prototype.
22292         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22293         Likewise.
22294         * optabs.c: Include ggc.h.
22295         (mark_optab): New function.
22296         (init_optabs): Add gc roots.
22297         * stmt.c: Include ggc.h.
22298         (mark_cond_nesting, mark_loop_nesting): New functions.
22299         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22300         (mark_stmt_state): New function.
22301         * toplev.c (compile_file): Call init_function_once.
22302         * tree.c: Include ggc.h.
22303         (type_hash): Move declaration earlier in file.
22304         (TYPE_HASH_SIZE, type_hash_table): Likewise.
22305         (init_obstacks): Add gc roots.
22306         (mark_type_hash): New function.
22307         * varasm.c: Include ggc.h.
22308         (mark_pool_constant): New function.
22309         (mark_varasm_state): New function.
22310
22311 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22312
22313         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22314
22315 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22316
22317         * c-decl.c (struct language_function): Renamed from struct c_function.
22318         Delete elt NEXT.
22319         (c_function_chain): Delete.
22320         (push_c_function_context): New arg F.  Don't warn about nested
22321         functions here.  Fill LANGUAGE elt of F.  Delete code to update
22322         c_function_chain.  Don't call push_function_context.
22323         (pop_c_function_context): New arg F.  Restore from there instead of
22324         from c_function_chain.  Don't call pop_function_context.  Clear out
22325         LANGUAGE field of F when done.
22326         * c-lang.c: Include "function.h"
22327         (lang_init): Initialize save_lang_status and restore_lang_status.
22328         * c-parse.in (nested_function, nested_function_notype): Warn about
22329         nested functions.  Call push_function_context/pop_function_context
22330         instead of the _c_ variants.
22331         * c-tree.h (push_c_function_context, pop_c_function_context): Update
22332         prototype.
22333         * Makefile.in (c-lang.o): Update dependencies.
22334
22335         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22336         regno_pointer_flag, regno_pointer_align.
22337         (gen_reg_rtx): Use xrealloc to enlarge them.
22338         (free_emit_status): New function.
22339         * function.c (mark_machine_status, mark_lang_status): New variables.
22340         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
22341         in some bits from assign_stack_local.  All callers changed to use new
22342         name.
22343         (assign_stack_local): Just call assign_stack_local_1.
22344         (free_after_compilation): New function.
22345         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22346         (trampoline_address): Likewise.
22347         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22348         (prepare_function_start): Explicitly clear some more variables.
22349         * function.h (struct function): New elt can_garbage_collect.
22350         (mark_machine_status, mark_lang_status): Declare variables.
22351         (free_after_compilation, free_emit_status, free_varasm_status,
22352         init_varasm_status): Declare functions.
22353         * toplev.c (rest_of_compilation): Call free_after_compilation when
22354         done with the current function.
22355         * varasm.c (free_varasm_status): New function.
22356
22357 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
22358
22359         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22360         (EXPAND_BUILTIN_VA_ARG): Define.
22361         * sparc.c (sparc_va_start): New.
22362         (sparc_va_arg): New.
22363
22364 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22365
22366         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22367
22368 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22369
22370         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22371
22372 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
22373
22374         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22375         (OBJS): Add $(GGC).
22376         (ggc-callbacks.o): New target.
22377         * ggc-callbacks.c: New file.
22378
22379 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22380
22381         * expr.h: Collapse individual optab and libfunc vars to arrays.
22382         (optab_index, libfunc_index): New enumerations.
22383         (optab_table, libfunc_table): New arrays.
22384         Add accessor macros for both.
22385
22386         * optabs.c (optab_table, libfunc_table): New.
22387         Delete declarations for individual optab and libfunc vars.
22388
22389 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
22390
22391         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22392
22393 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
22394
22395         * Makefile.in (GGC, GGC_LIB): New.
22396         (HOST_RTL): Include ggc-none.o.
22397         (ggc-simple.o): New target.
22398         (ggc-none.o): Likewise.
22399         * tree.h (tree_common): Add gc_mark.
22400         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22401         (struct rtvec_def): Add gc_mark.
22402         * emit-rtl.c (global_rtl): Update static initializers to contain
22403         enough initializers.
22404         * ggc.h, ggc-none.c, ggc-simple.c: New files.
22405         * toplev.c (gc_time): New variable.
22406         (all_time): New variable.
22407         (compile_file): Print gc time.
22408         (print_time): Calculate percentage of the whole.
22409
22410 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22411
22412         Change obstack memory management and varasm constant pool handling so
22413         that nested functions are treated like any other functions.
22414         * function.c (init_machine_status): New variable.
22415         (push_function_context_to): Set contains_functions for the outer
22416         function.  Don't call save_varasm_status.
22417         (pop_function_context_from): Don't call restore_varasm_status.  Don't
22418         set current_function_contains_functions.
22419         (prepare_function_start): Call init_varasm_status rather than
22420         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
22421         is non-null.
22422         * function.h (struct function) Add field varasm.  Delete fields
22423         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22424         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22425         (init_machine_status): Declare.
22426         (save_varasm_status, restore_varasm_status): Delete declarations.
22427         (save_tree_status, restore_tree_status): Delete last argument.
22428         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
22429         code.  All callers changed.
22430         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22431         save_constants_in_decl_trees, restore_constants, save_constants,
22432         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22433         functions.
22434         (inlining): New variable.
22435         (reg_map, label_map, insn_map, orig_asm_operands_vector,
22436         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22437         variables.
22438         (save_for_inline_nocopy): Don't save constants.
22439         Don't set inl_emit field in current_function.
22440         (expand_inline_function): Use emit field, not inl_emit, of the inlined
22441         function.  Set new variable inlining before
22442         calling copy_rtx_and_substitute.
22443         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22444         constant pool references if inlining is nonzero.
22445         Delete ADDRESS and (most of the) CONST cases.
22446         (output_inline_function): Save and restore current_function/
22447         current_function_decl.  Delete restore_constants code.  Don't call
22448         init_const_rtx_hash_table.
22449         * output.h (init_const_rtx_hash_table): Don't declare.
22450         * rtl.h (struct function): Declare.
22451         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22452         * toplev.c (rest_of_compilation): Don't treat nested functions or
22453         functions containing them specially.  Delete all code to deal with
22454         save_for_inline_copying.
22455         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22456         inline_obstacks): Delete variables.
22457         (save_tree_status): Lose arg CONTEXT.  All callers changed.
22458         Simply allocate a new function_maybepermanent_obstack for the new
22459         function, delete all the special cases.
22460         Don't save inline_obstacks.
22461         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
22462         Delete special handling for function_maybepermanent_obstack; simply
22463         free it if empty.
22464         Don't restore inline_obstacks.
22465         (permanent_allocation):  Delete code that frees inline_obstacks.
22466         (print_inline_obstack_statistics): Delete function.
22467         (dump_tree_statistics): Don't call it.
22468         * varasm.c (struct varasm_status): New.
22469         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22470         last_pool, pool_offset, const_double_chain): Delete global
22471         variables, replace with accessor macros.
22472         (immed_double_const): Don't walk const_double_chain outside a
22473         function, but don't treat nested functions specially anymore.
22474         (immed_real_const_1): Likewise.
22475         (clear_const_double_mem): Don't treat nested functions specially.
22476         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22477         (save_varasm_status, restore_varasm_status): Delete functions.
22478         (init_varasm_status): New function.
22479         (force_const_mem): Don't treat nested functions specially.
22480         (find_pool_constant): Accept new arg F, search for constants in
22481         that function's pool rather than the current one.  All callers
22482         changed.
22483         (get_pool_constant_for_function, get_pool_mode_for_function): New
22484         functions.
22485
22486         * i386.c (init_386_machine_status): New function, mostly from
22487         clear_386_stack_locals.
22488         (struct machine_functions): Rename element names to avoid name
22489         clashes.
22490         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22491         macros, replacing global variables.
22492         (clear_386_stack_locals, save_386_machine_status,
22493         restore_386_machine_status): Delete functions.
22494         (override_options): Initialize init_machine_status.
22495         * i386.h (INIT_EXPANDERS): Delete macro.
22496         (save_386_machine_status, restore_386_machine_status,
22497         clear_386_stack_locals): Delete declarations.
22498
22499 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22500
22501         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22502         (doloop_begin):  Simplify pattern and use emit_jump_insn.
22503         (doloop_end): Simplify pattern, switch operand order,
22504         and use emit_jump_insn.
22505
22506 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22507
22508         * function.h (struct function): Add new element LANGUAGE.
22509         (save_lang_status): Declare new variable.
22510         (restore_lang_status): Likewise.
22511         * function.c (save_lang_status): Define.
22512         (restore_lang_status): Likewise.
22513         (push_function_context_to): Call language-specific save function.
22514         (pop_function_context_from): Call language-specific restore function.
22515
22516 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22517
22518         * i386.md (movsf_1): Check REG_P before use of REGNO.
22519         (movdf_1): Likewise.
22520         (movxf_1): Likewise.
22521         (extendsfdf2): Likewise.
22522         (extendsfxf2): Likewise.
22523         (extenddfxf2): Likewise.
22524
22525 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22526
22527         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22528         constants into memory.
22529         (c4x_shiftable_constant): New function.
22530         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22531         (c4x_shiftable_constant): Declare.
22532         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22533         ashlqi3_noclobber): Add new patterns and associated splitters.
22534
22535 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
22536
22537         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22538         * dwarf2out.c (dwarf2out_frame_init): Likewise.
22539         * final.c (shorten_branches): Likewise.
22540         * global.c (global_alloc): Likewise.
22541         * haifa-sched.c (build_control_flow): Likewise.
22542         * stmt.c (check_for_full_enumeration_handling): Likewise.
22543         (estimate_case_costs): Likewise.
22544
22545 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
22546
22547         * rtl.h (RTL_CHECKC2): Fix typo in last change.
22548
22549 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
22550
22551         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22552         (recompute_reg_usage): Likewise.
22553         * rtlanal.c (find_regno_fusage): Likewise.
22554
22555         * rtl.c (rtl_check_failed_code1): New function.
22556         (rtl_check_failed_code2): New.
22557         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22558         (RTL_CHECKC1, RTL_CHECKC2): New.
22559         (XC*): New accessor macros.
22560         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22561         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22562         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22563         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22564         (TRAP_*, RANGE_INFO_*): Likewise.
22565
22566 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22567
22568         * Makefile.in (tlink.o): Don't depend on toplev.h.
22569
22570         * collect2.c (c_file, o_file, export_file, import_file, ldout,
22571         output_file, nm_file_name, ldd_file_name, strip_file_name,
22572         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22573         add_prefix, prefix_from_env, prefix_from_string, do_wait,
22574         fork_execute, maybe_unlink, add_to_list,
22575         extract_init_priority, write_list, dump_list,
22576         dump_prefix_list, write_list_with_asm, write_c_file,
22577         write_c_file_stat, write_c_file_glob, scan_prog_file,
22578         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22579         ignore_library, extract_string, notice, dump_file, target_machine,
22580         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22581         read_file, print_load_command): Constify a char*.
22582         (fdopen, error, fatal, fatal_perror): Don't prototype.
22583         (my_strerror): Remove.  All callers use xstrerror instead.
22584         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22585         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
22586         to xcalloc/strcpy/strcat/...  to one call to concat.
22587         (main, scan_prog_file, scan_libraries): Use an intermediate
22588         `const char **' to build an argv array.
22589         (mapfile, libselect, libcompare, locatelib): Add prototypes.
22590
22591         * collect2.h (collect_execute, collect_wait, dump_file,
22592         file_exists): Constify a char*.
22593         (ldout, c_file_name, temporary_obstack, permanent_obstack,
22594         temporary_firstobj, vflag, debug): Add extern declarations.
22595         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
22596
22597         * tlink.c: Don't include toplev.h.
22598         (vflag, debug, ldout, c_file_name, temporary_obstack,
22599         permanent_obstack, temporary_firstobj): Don't declare.
22600         (tlink_execute, frob_extension, symbol_hash_lookup,
22601         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
22602         recompile_files, read_repo_files, demangle_new_symbols,
22603         scan_linker_output): Constify a char*.
22604         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
22605         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
22606
22607 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
22608
22609         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
22610         (relative) rather than jsr (absolute) subroutine call insns.
22611         * config/m68k/m68k-coff.h: Ditto.
22612
22613 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
22614
22615         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
22616         now rework these too.
22617         (arm_reorg): If an insn can't reach the end of the current pool,
22618         ensure that we emit that pool before the insn.
22619
22620 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
22621
22622         * tlink.c (scan_linker_output): Skip the initial underscore in
22623         a mangled name if appropriate.
22624
22625 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22626
22627         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
22628         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
22629         error_with_ivar, gen_declarator, create_builtin_decl,
22630         my_build_string, generate_descriptor_table, generate_ivars_list,
22631         generate_dispatch_table, check_protocols, TAG_GETCLASS,
22632         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
22633         dump_base_name, lang_decode_option, build_encode_expr,
22634         start_class, finish_class, encode_pointer, really_start_method,
22635         gen_declaration, dump_interface, handle_class_ref, handle_impent):
22636         Constify.
22637         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
22638         Add static prototypes.
22639         (build_objc_string_decl, build_selector_reference_decl,
22640         encode_bitfield, build_class_reference_decl): Remove unused
22641         parameter, all callers changed.
22642         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
22643         (objc_printable_name): Likewise.  Change second parameter to type int.
22644         (init_objc): Use memcpy, not bcopy, to avoid casts.
22645
22646 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
22647
22648         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
22649         reg notes on a deleted insn.
22650         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
22651
22652 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
22653
22654         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
22655
22656 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22657
22658         * stmt.c (expand_asm_operands): Fix index into inout_mode when
22659         reading it.
22660
22661 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
22662
22663         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
22664         * tm.texi (MD_ASM_CLOBBERS): Document it.
22665
22666 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
22667
22668         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
22669         * except.c (expand_rethrow): Remove unused variable.
22670         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
22671         * flow.c (replace_insns): Likewise.
22672         (create_edge_list, verify_edge_list): Likewise.
22673         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
22674
22675         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
22676         is special code to run.
22677         (main): Don't define operands to emit_operand.
22678         * genrecog.c (main): Don't emit an empty peephole2_insn function.
22679
22680         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
22681
22682         * alpha/alpha.h (normal_memory_operand): Declare.
22683         (reg_no_subreg_operand): Declare.
22684         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
22685
22686 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
22687
22688         * c-parse.in (compstmt_primary_start): New, broken out of first
22689         part of compstmt handling in primary.
22690         (primary): Use it.  Add an error clause.
22691         (compstmt_nostart): Renamed from compstmt; remove all
22692         initial invocations of compstmt_start.
22693         (compstmt): New.
22694
22695 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
22696
22697         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
22698         needed.
22699
22700 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
22701
22702         * combine.c (simplify_shift_const): Remove extra semicolon.
22703         * dwarf2out.c (remove_AT): Likewise.
22704         * expmed.c (expand_mult): Likewise.
22705         * gcov.c (create_program_flow_graph): Likewise.
22706         * reorg.c (mostly_true_jump): Likewise.
22707
22708 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
22709
22710         * fold-const.c (fold_range_test): Do not try to fold the range
22711         test if the rhs or lhs has side effects.
22712
22713         * combine.c (simplify_rtx): Recognize another case of a synthesized
22714         sign extension.
22715
22716         * varasm.c (mark_constant_pool): When marking indirect references,
22717         only look at SYMBOL_REFs.
22718
22719         * except.c (expand_fixup_region_end): Do not peek at
22720         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
22721
22722 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
22723
22724         * flags.h: New variables align_loops, align_loops_log,
22725         align_jumps, align_jumps_log, align_labels, align_labels_log,
22726         align_functions, align_functions_log.
22727         * toplev.c: Define them.
22728         (f_options): Handle -falign-* when they have no argument.
22729         (main): Add logic to set variables for -falign-functions,
22730         -falign-jumps, -falign-labels, -falign-loops.
22731         Make it -fsched-verbose=<n> and -finline-limit=<n>.
22732         (display_help): Change help to match options.
22733         * final.c (LABEL_ALIGN): Default to align_labels_log.
22734         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
22735         (LOOP_ALIGN): Default to align_loops_log.
22736         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
22737         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
22738         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
22739         * varasm.c (assemble_start_function): Handle align_functions.
22740
22741         * config/sparc/sparc.h: Don't declare sparc_align_*.
22742         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22743         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
22744         sparc.c.
22745         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
22746         it's a promise.
22747         * config/sparc/sparc.c: Delete sparc_align_loops,
22748         sparc_align_jumps, sparc_align_funcs and the corresponding string
22749         variables.
22750         (sparc_override_options): Default align_functions on ultrasparc.
22751         Delete -malign-* handling.
22752
22753         * config/mips/mips.c (override_options):  On 64-bit targets,
22754         try to align code to 64-bit boundaries.
22755         (print_operand): New substitution, %~,
22756         which aligns labels to align_labels_log.
22757         * config/mips/mips.md (div_trap_normal): Use %~.
22758         (div_trap_mips16): Likewise.
22759         (abssi): Likewise.
22760         (absdi2): Likewise.
22761         (ffssi2): Likewise.
22762         (ffsdi2): Likewise.
22763         (ashldi3_internal): Likewise.
22764         (ashrdi3_internal): Likewise.
22765         (lshrdi3_internal): Likewise.
22766         (casesi_internal): Likewise.
22767
22768 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
22769
22770         Merge new ia32 backend from the branch!
22771
22772         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
22773         See ChangeLog.P2 on new_ia32_branch for details.
22774
22775         * rtl.h (stack_regs_mentioned_p): Delete prototype.
22776         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
22777         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22778         * i386/gas.h (ASM_FILE_START): Define.
22779         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
22780         for name change of ix86_valid_decl_attribute_p.
22781         (i386_pe_valid_type_attribute_p): Similarly.
22782
22783 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
22784
22785         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
22786         to step through CC modes.
22787
22788 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22789
22790         * regmove.c (fixup_match_1): Don't move INSN in front of P if
22791         it would end up in the shadow of a live flags regsiter.
22792
22793 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22794
22795         * reload1.c: Fix many indentation problems.
22796         * reload.c: Likewise.
22797
22798 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
22799
22800         * alias.c (non_local_reference_p): Constify fmt.
22801
22802 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
22803
22804         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
22805
22806 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
22807
22808         * cse.c (delete_trivially_dead_insns): Do not delete stores to
22809         the internal_arg_pointer.
22810
22811 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
22812
22813         Merge peephole2 from new_ia32_branch:
22814         * Makefile.in (STAGESTUFF): Add *.peephole2.
22815         (mostlyclean): Likewise.
22816         (recog.o): Depend on resource.h.
22817
22818         * final.c (peephole): Conditionalize decl on HAVE_peephole.
22819         (final_scan_insn): Likewise for the invocation of peephole.
22820         * genconfig.c (main): Look for peephole and peephole2 patterns.
22821         Emit HAVE_peephole* accordingly.
22822         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
22823         * flags.h (flag_peephole2): Declare.
22824         * toplev.c: New pass peephole2.  New flag -fpeephole2.
22825
22826         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
22827         * gencodes.c (main): Likewise.
22828         * genextract.c (main): Likewise.
22829         * genoutput.c (main): Likewise.
22830         * genemit.c (max_operand_1): Look for the max scratch operand.
22831         (gen_rtx_scratch): New.
22832         (gen_exp): Use it, and pass on new arg subroutine_type.
22833         (gen_expand): Take max scratch into account.
22834         (gen_split): Emit peephole2 functions.
22835         (output_peephole2_scratch): New.
22836         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
22837         * genrecog.c (routine_type): Add PEEPHOLE2.
22838         (IS_SPLIT): New.
22839         (make_insn_sequence): Match outer parallel for peep2.  Discard
22840         top level scratches and dups.
22841         (add_to_sequence): New args insn_type and top.  Update all callers.
22842         Handle toplevel peep2 matching insns.
22843         (write_subroutine): Handle peep2.
22844         (write_tree_1): Likewise.
22845         (write_tree): Likewise.
22846         (main): Likewise.
22847         (change_state): New arg afterward.  Update all callers.
22848         Handle matching separate insns.
22849         * recog.c (recog_next_insn): New.
22850         (peephole2_optimize): New.
22851         * rtl.def (DEFINE_PEEPHOLE2): New.
22852         * resource.c (find_free_register): New argument last_insn.  Use it
22853         to find a register available through the entire span.
22854         * resource.h (find_free_register): Update prototype.
22855
22856 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
22857
22858         * i386.c (output_strlen_unroll): Don't write xops[7]
22859         label if it wasn't set.
22860
22861 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
22862
22863         * cpplib.c (struct directive): Const-ify name pointer and
22864         function pointer prototype.
22865         (validate_else, do_define, do_line, do_include, do_undef,
22866         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
22867         do_elif, do_endif, do_sccs, do_assert, do_unassert,
22868         do_warning): Const-ify second arg.
22869         (directive_table): Mark const.  Reorder entries by frequency
22870         of usage, record statistics.
22871
22872 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
22873
22874         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
22875         bounds- check RTL accesses if --enable-checking.
22876         (RTVEC_ELT): Bounds check if --enable-checking.
22877         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
22878         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
22879         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
22880         GET_NUM_ELEM.
22881         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
22882         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
22883
22884         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
22885         (NOTE_SOURCE_FILE): Use X0STR.
22886         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
22887         MEM_ALIAS_SET): Use X0INT.
22888         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
22889         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
22890         Use X0EXP.
22891         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
22892         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
22893         (rtl_check_failed_bounds, rtl_check_failed_type1,
22894         rtl_check_failed_type2, rtvec_check_failed_bounds): New
22895         functions.
22896         (fancy_abort): Fix comment.
22897
22898         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
22899         (cse_insn): Decrement LABEL_NUSES for jump target before
22900         deleting jump insn.
22901         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
22902         * final.c (alter_subreg): Compute regno before changing x to
22903         REG; set REGNO(x) after changing it.
22904         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
22905         notes containing CONST_INTs.
22906         (delete_eh_regions): Use NOTE_EH_HANDLER.
22907         * function.c (put_reg_into_stack): Make reg a MEM before
22908         initializing it.
22909         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
22910         delete insn.
22911         (gen_mem_addressof): Make reg a MEM before initializing it.
22912         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
22913         X0WINT.
22914         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
22915         deleting an insn, not after.
22916         (block_alloc): Only look at PATTERN(insn) if we have to, and
22917         only if it's format class 'i'.
22918         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
22919         CONST_INT before using its INTVAL.
22920         * print-rtl.c (print_rtx): Use X0STR.
22921         * regmove.c (fixup_match_1): Don't look at PATTERN of
22922         non-class-'i' insn chain elements.
22923         * reload.c (loc_mentioned_in_p): Take address of
22924         in->fld[1].rtx directly.
22925         * reload1.c (reload): Change reg to a MEM before initializing
22926         it.
22927         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
22928         have no names.
22929         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
22930
22931 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
22932
22933         * config/mips/mips.c (machine_dependent_reorg): Force a
22934         barrier to output the local constant pool if a barrier hasn't
22935         been found at a natural point in the instruction stream.
22936
22937 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22938
22939         * c-parse.in (language_string): Constify.
22940
22941         * dwarf2out.c (language_string): Remove declaration.
22942
22943         * dwarfout.c (language_string): Likewise.
22944
22945         * toplev.c (language_string, init_parse, finish_parse): Likewise.
22946
22947         * tree.h (language_string, init_parse, finish_parse): Declare.
22948
22949         * i386/sun386.h (language_string): Remove declaration.
22950
22951         * mips.h (language_string): Likewise.
22952
22953         * nextstep.h (language_string): Likewise.
22954
22955         * nextstep21.h (language_string): Likewise.
22956
22957         * rs6000.c (language_string): Likewise.
22958
22959 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22960
22961         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
22962         (getpwd.o): Remove target.
22963
22964         * getpwd.c: Delete file.  Its in libiberty now.
22965
22966         * dbxout.c (getpwd): Don't prototype.
22967         * dwarf2out.c (getpwd): Likewise
22968         * dwarfout.c (getpwd): Likewise
22969         * final.c (getpwd): Likewise.
22970         * protoize.c (getpwd): Likewise.
22971
22972 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22973
22974         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
22975
22976 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
22977
22978         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
22979         mark_set_resources.
22980
22981 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
22982
22983         * fixinc/Makefile.in (subdir): New.
22984         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
22985         (Makefile): New.
22986
22987 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
22988
22989         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
22990         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
22991         be shared.
22992
22993         * invoke.texi: Fix typo.
22994
22995         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
22996         changed.  Handle autoincrement addressing modes.
22997
22998         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
22999         just like we would the virtual incoming args register when
23000         integrating.
23001
23002 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
23003
23004         * rs6000.h (ASM_FILE_START): Specify complete filename, including
23005         path, in .file directive.
23006
23007 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
23008
23009         * gcc.texi (External Bugs): Remove obsolete note about Perl on
23010         SunOS.
23011
23012 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
23013
23014         * stdbool.h: Make the typedef name _Bool, with bool a #defined
23015         alias.
23016
23017 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23018
23019         * tree.c (tree_code_name): Constify a char*.
23020
23021         * tree.h (tree_code_name, decl_printable_name): Likewise.
23022
23023         * function.h (struct function): Likewise.
23024
23025         * toplev.c (decl_name, decl_printable_name): Likewise.
23026
23027         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
23028
23029         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23030         (init_objc): Remove function pointer cast.
23031
23032 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
23033
23034         * pa.md (interspace_jump): New pattern.
23035         (builtin_longjmp): New expander.
23036
23037 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
23038
23039         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23040         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23041         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23042
23043 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
23044
23045         * jump.c (delete_prior_computation): Also check calls
23046         to constant functions.  Don't bother checking for a
23047         REG_UNUSED note before adding it.
23048         (delete_computation): Handle multi-word hard registers
23049         when synthesizing missing REG_DEAD notes for a register
23050         which is both set and used by an insn.
23051
23052 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23053
23054         * loop.c (this_loop_info): New variable.
23055         (loop_has_call, loop_has_volatile, loop_has_tablejump,
23056         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23057         All uses updated.
23058         (prescan_loop, strength_reduce): New argument loop_info.  All callers
23059         updated.
23060         (scan_loop): New variable loop_info, initialise to address of
23061         this_loop_info.
23062         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23063         Delete variable loop_has_multiple_exit targets and replace with
23064         field in this_loop_info.
23065         (find_and_verify_loops): Rename this_loop to this_loop_num.
23066         (strength_reduce): Delete loop_iteration_info.  Replace variable
23067         loop_info with function argument of same name.
23068         (insert_bct): Rework test for loop being completely unrolled.
23069
23070         * loop.h (struct loop_info): New fields num, loops_enclosed,
23071         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23072         has_indirect_jump, and cont.  Redefine use of unroll_number.
23073         (loop_unroll_number): Delete.
23074
23075         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23076         field of loop_info.
23077         (loop_iterations): Delete variable vtop and instead use
23078         loop_info->vtop computed in prescan_loop.
23079
23080 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
23081
23082         * fix-header.c (main): Do not pass a null pointer to strcmp.
23083
23084 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
23085
23086         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23087         filenames.
23088         * configure: Rebuilt.
23089
23090 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
23091
23092         * jump.c (jump_optimize_1): Do not delete assignments to
23093         internal_arg_pointer.
23094         * cse.c (delete_trivially_dead_insns): Always consider a set of
23095         the internal_arg_pointer live.
23096
23097 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
23098
23099         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23100         (update_life_info) [REG_WAS_0]: Search the original insns rather
23101         than the new insns for the note.  Fix typos finding note_dest.
23102         If no dest found, discard the note rather than abort.
23103         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23104         (replace_insns): Remove the old insn list after update_life_info
23105         not before.
23106
23107 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
23108
23109         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23110         sched_analyze_insn.
23111         (sched_analyze_1): Let add_dependence care for not adding dups.
23112         (sched_analyze_2): Likewise.
23113         (add_branch_dependences): Likewise.
23114
23115 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23116
23117         * i386/winnt.c (export_list): New type.
23118         (exports_head): Rename to
23119         (export_head):  this.
23120         (i386_pe_record_exported_symbol): Add is_data flag.
23121         (i386_pe_asm_file_end): Emit directive for exported variables.
23122         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23123         prototype.
23124         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23125         (ASM_DECLARE_OBJECT_NAME): Likewise.
23126         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23127         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23128
23129 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23130
23131         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23132
23133         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23134         operand.
23135
23136 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
23137
23138         * config/openbsd.h: Define SET_ASM_OP.
23139         * tm.texi: cross-reference SET_ASM_OP in the index.
23140
23141 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
23142
23143         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23144         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
23145         and class_narrowest_mode at compile time.  Kill init_rtl.
23146         Mark rtx_length, mode_class, mode_size, mode_unit_size,
23147         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23148         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
23149         EXTRA_CC_NAMES.
23150         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23151         format.
23152         * rtl.h: Declare rtx_length and rtx_format as const.
23153         * machmode.def: Define CC().  Use CC() to define CCmode.  If
23154         EXTRA_CC_MODES is defined, expand it here.
23155         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23156         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23157         const.  Kill all references to EXTRA_CC_MODES.
23158
23159         * toplev.c: Don't prototype or call init_rtl.
23160         * optabs.c: Don't call init_mov_optab.
23161         * genemit.c: Don't generate init_mov_optab.  Don't call
23162         init_rtl.
23163         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
23164         here.
23165         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
23166         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
23167         genrecog.c: Don't call init_rtl.
23168
23169         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
23170         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
23171         definition of EXTRA_CC_MODES.
23172
23173         * md.texi: Kill ref to EXTRA_CC_NAMES.
23174         * tm.texi: Document new way to define EXTRA_CC_MODES.
23175
23176         * genrecog.c: Do not look up the name of a define_split.
23177         (Unrelated bugfix.)
23178
23179 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
23180
23181         * config/v850/v850.md: Fix typo introduced by previous delta.
23182
23183 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23184
23185         * gcc.c (fatal): Make definition static to match prototype.
23186
23187 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23188
23189         * combine.c (get_last_value): Don't look for earlier sets if the last
23190         known set is somewhere in between the insns being combined.
23191
23192 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
23193
23194         * configure.in: Don't use shell ! to negate exit codes
23195         * configure: Regenerate
23196
23197 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
23198
23199         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
23200         the fact that ALIGN is measured in bits, not bytes.
23201
23202 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
23203
23204         * errors.c: New file; defines functions error, warning, and
23205         fatal, variables have_error and progname.
23206         * errors.h: New file; prototypes and decls for stuff in errors.c.
23207
23208         * Makefile: Add rules to build errors.o and
23209         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
23210         genopinit, genrecog, genextract, genpeep, genattr, and
23211         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
23212         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
23213         genpeep.o, genattr.o, and genoutput.o.
23214
23215         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
23216         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
23217         define or prototype fatal.  Set progname at beginning of main.
23218         * genoutput.c:  Likewise, and don't define or prototype error
23219         either.
23220
23221         * c-typeck.c (c_expand_start_case): Return immediately if exp
23222         is an ERROR_MARK.
23223         * fold-const.c (operand_equal_p): Return immediately if arg1
23224         or arg0 are ERROR_MARKs.
23225         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
23226         fields of type ERROR_MARK when calculating if the record can
23227         go in a register.
23228
23229 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
23230         with much help from Jeffrey A Law and Richard Henderson
23231
23232         * i386.md: In the 6 insns which call output_fix_trunc,
23233         earlyclobber operands[0].
23234
23235 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
23236
23237         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
23238         creating new registers.
23239
23240 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
23241
23242         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23243         i386_reg_alloc_order, i386_regparm_string,
23244         i386_align_loops_string, i386_align_jumps_string,
23245         i386_align_funcs_string, i386_preferred_stack_boundary_string,
23246         and i386_branch_cost_string as type "const char *".
23247         * i386.c: Define all above strings as type "const char *".
23248
23249 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
23250
23251         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23252         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
23253
23254 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
23255
23256         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23257         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23258
23259 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
23260
23261         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23262         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23263         (dwarf2out_line, dwarf2out_finish): Likewise.
23264         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23265
23266 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23267
23268         * tree.c (lang_unsave_expr_now) : Correct return type.
23269         * tree.h (lang_unsave_expr_now) : Same.
23270
23271 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
23272
23273         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23274         instead of duplicating code.
23275
23276 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23277
23278         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23279
23280 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
23281
23282         * tree.h: fancy_abort always takes three args.
23283         * resource.c: Move include of system.h before toplev.h.
23284
23285 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
23286
23287         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23288         as SYMBOL_REFs.
23289
23290 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
23291
23292         * system.h: Don't redefine abort or trim_filename.
23293         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23294         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23295         whether or not __FUNCTION__ is available.
23296         * tree.h: Duplicate rtl.h's definition of abort, for files
23297         that don't include rtl.h.  Delete all code to perform type
23298         checking with a compiler other than GCC.
23299         * varray.h: Delete all code to perform type checking with a
23300         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
23301         its arguments exactly once, using a statement expression.
23302         Adjust the VARRAY_<type> accessor macros to match.
23303         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23304         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23305         caller's location.  Define fatal_insn and fatal_insn_not_found
23306         as macros that use _fatal_insn and _fatal_insn_not_found.
23307         (fancy_abort, trim_filename): Kill prototypes.
23308
23309         * rtl.c (trim_filename): Move here from toplev.c.
23310         (fancy_abort): New function.
23311         (DIR_SEPARATOR): Provide default definition.
23312         * tree.c (tree_check_failed, tree_class_check_failed): Go
23313         through fancy_abort.
23314         (tree_check, tree_class_check, cst_or_constructor_check,
23315         expr_check): Delete.
23316         * varray.c (varray_check_failed): New function.
23317         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23318         _fatal_insn and _fatal_insn_not_found.  Go through
23319         fancy_abort.
23320         (trim_filename, fancy_abort): Delete.
23321
23322         * builtins.c (expand_builtin_args_info): Report ICE with abort.
23323         * except.c (start_catch_handler): Report ICE with error/abort
23324         combo.
23325         * final.c (output_operand_lossage): Likewise.
23326         * flow.c (verify_flow_info): Likewise.
23327
23328         * gcc.c: Prototype fatal.
23329         * gengenrtl.c: Undef abort after including rtl.h not system.h.
23330         * genattr.c, genattrtab.c, genemit.c, genextract.c,
23331         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23332         Don't define fancy_abort.
23333
23334 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
23335
23336         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23337         canonization.
23338
23339 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
23340
23341         * m88k.h (VERSION_INFO2): Kill.
23342         (VERSION_STRING): Kill.
23343         (TM_RCS_ID): Kill.
23344         (VERSION_INFO1): Tidy.
23345         (TARGET_VERSION): Update.
23346         * m88k/dgux.h (VERSION_INFO2): Kill.
23347         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23348         * m88k/luna.h (VERSION_INFO1): Tidy.
23349         * m88k/sysv4.h (VERSION_INFO1): Likewise.
23350         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23351         (output_file_start): Adjust for death of VERSION_STRING.
23352
23353 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
23354
23355         * cpplib.c (detect_if_not_defined): New function.
23356         (do_if): Use it to detect potential once-only headers.
23357
23358 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
23359
23360         * c-common.c (combine_strings): Always set TREE_CONSTANT.
23361
23362 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23363
23364         * combine.c (nonzero_bits) : Allow single-ly set registers to be
23365         anywere in the function only if they are pseudos and set before
23366         being used (not live at the start of the function).
23367         (num_sign_bit_copies) : Same.
23368         (get_last_value_validate) : Same.
23369         (get_last_value) : Same.
23370
23371 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
23372
23373         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23374         where N and M are constant and N is an integer multiple of M.
23375
23376 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23377
23378         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23379         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23380         sbitmap_union_of_preds): Add prototypes.
23381         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23382         the intersection of successors with the new flow graph structures.
23383         (sbitmap_intersection_of_preds): New function to compute the
23384         intersection of predecessors with the new flow graph structures.
23385         (sbitmap_union_of_succs): New function to compute the union of
23386         successors with the new flow graph structures.
23387         (sbitmap_union_of_preds): New function to compute the union of
23388         predecessors with the new flow graph structures.
23389         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23390         (expr_reaches_here_p): Use edge and basic_block structures instead
23391         of s_preds and s_succs.
23392         (compute_cprop_avinout): Use new sbitmap routines.
23393         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23394         of s_preds and s_succs.
23395         * flow.c (compute_flow_dominators): Compute dominators using
23396         edges and basic blocks instead of s_preds and s_succs.
23397
23398 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23399
23400         * lists.c (unused_insn_list, unused_expr_list): New file for
23401         maintaining various types of lists. New statics for maintaining a
23402         cache of available INSN_LIST and EXPR_LIST nodes.
23403         (free_list): Static function for freeing a list of INSN/EXPR nodes.
23404         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23405         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23406         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23407         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23408         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23409         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23410         (free_INSN_LIST_node): Free an individual INSN_LIST node.
23411         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23412         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23413         (remove_dependence, free_pending_lists): Use new global routines.
23414         (flush_pending_lists, sched_analyze_insn): Use new global routines.
23415         (sched_analyze, compute_block_backward_dependences): Use new routines.
23416         (sched_analyze_1, sched_analyze_2): Use new routines.
23417         (schedule_insns): Use new global routines.
23418         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23419         prototypes.
23420         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23421         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23422         prototypes.
23423         * toplev.c (rest_of_compilation): Initialize node cache.
23424         * Makefile.in (OBJS): Add lists.o to list of object files.
23425         (lists.o): Add dependancies.
23426
23427 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
23428
23429         * config/v850/v850.md: Fix compile time warning messages.
23430         * config/v850/v850.c: Fix compile time warning messages.
23431         * config/v850/v850.h: Fix compile time warning messages.
23432
23433 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23434
23435         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23436         Remove unused prototype for `init_lengths'.
23437
23438 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23439
23440         * calls.c (emit_call_1): Mark parameter `stack_size' with
23441         ATTRIBUTE_UNUSED.
23442         (expand_call): Initialize variable `insn'.
23443         (emit_library_call): Likewise for variable `high_to_save'.
23444         (emit_library_call_value): Likewise.
23445         (store_one_arg): Likewise for variables `lower_bound' and
23446         `upper_bound'.
23447
23448         * combine.c (try_combine): Likewise for variables `i2_code_number'
23449         and `other_code_number'.
23450         (find_split_point): Likewise for variables `pos', `unsignedp' and
23451         `inner'.
23452         (simplify_if_then_else): Likewise for variables `op' and `c1'.
23453         (simplify_and_const_int): Remove unused variable `width'.
23454         (merge_outer_ops): Likewise.
23455
23456         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23457         HOST_WIDE_INT' when comparing against one.
23458         (simplify_relational_operation): Likewise.
23459         (cse_insn): Initialize variables `src_eqv_volatile',
23460         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23461
23462         * final.c (init_final): Constify parameter `filename'.
23463         (final_start_function): Mark parameter `optimize' with
23464         ATTRIBUTE_UNUSED.
23465         (profile_function): Likewise for parameters `first' and `optimize'.
23466         (output_source_line): Likewise for parameter `file'.
23467
23468         * integrate.c (subst_constants): Cast a value to `size_t' when
23469         comparing against one.
23470         (mark_stores): Initialize variable `mode'.  Cast a value to
23471         `size_t' when comparing against one.
23472
23473         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23474
23475         * loop.c (move_movables): Initialize variable `first'.
23476         (strength_reduce): Likewise for variable `increment'.
23477         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
23478         value to `size_t' when comparing against one.
23479         (load_mems): Initialize variable `end_label'.
23480
23481         * output.h (init_final): Constify parameter.
23482
23483         * reload.c (decompose): Initialize variable `base'.
23484
23485         * reload1.c (reload): Likewise for variable `is_scalar'.
23486         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23487         (choose_reload_regs): Initialize variable `mode'.
23488         (emit_reload_insns): Likewise for variable `store_insn'.
23489         (reload_cse_noop_set_p): Mark parameter `insn' with
23490         ATTRIBUTE_UNUSED.
23491         (reload_combine): Initialize variable `set'.
23492
23493         * unroll.c (unroll_loop): Likewise for variable `local_label'.
23494         (copy_loop_body): Cast a value to `size_t' when comparing against
23495         one.
23496
23497         * varasm.c (assemble_variable): Initialize variable `size_tree'.
23498         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23499         (remove_from_pending_weak_list): Mark parameter `name' with
23500         ATTRIBUTE_UNUSED.
23501
23502 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23503
23504         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23505         gcse dump file.
23506
23507 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
23508
23509         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23510         (ASM_DECLARE_FUNCTION_NAME): Define.
23511         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23512         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23513         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23514         not already defined.
23515
23516 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
23517
23518         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23519         of n_popped when call/call_value are not defined.
23520
23521 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
23522
23523         * tm.texi: GNU CC -> GCC conversion.
23524         (CC1_SPEC): Indicate it is used for all language front ends.
23525
23526 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
23527
23528         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23529         NOTE_INSN_EH_REGION_END correctly.
23530
23531 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23532                           Jeff Law <law@cygnus.com>
23533
23534         * loop.c (strength_reduce): Automatically unroll loops if the
23535         unrolled loop size is smaller than the rolled loop size.
23536
23537         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23538         and delete comment that code should be rewritten.
23539
23540 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
23541
23542         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23543         as reachable.
23544
23545         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23546
23547 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23548
23549         * fixinc/mkfixinc.sh: Don't fix uwin headers.
23550         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23551         (LINK_SPEC): Add -u _main when building executables.
23552         (ASM_DECLARE_FUNCTION): Update from Cygwin.
23553         (ASM_FILE_END): Use the default for ix86-pe.
23554         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23555
23556 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
23557
23558         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23559         and ASM_CLOSE_PAREN are empty strings.
23560
23561 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
23562                           Geoffrey Keating <geoffk@cygnus.com>
23563
23564         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23565         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23566         (unprotoize.o): Ditto.
23567         (test-protoize-simple): Don't define STD_PROTO_DIR.
23568         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
23569         changes to make 'test-protoize-simple' pass.
23570         (STD_PROTO_DIR): Remove define.
23571         (STANDARD_EXEC_PREFIX): Supply default define.
23572         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23573         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23574         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23575         (GET_ENV_PATH_LIST): New macro.
23576         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23577         (do_processing): Initialize default_syscalls_dir using new
23578         macros.  Use it to initialize syscalls_absolute_filename.
23579
23580 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
23581
23582         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23583         B into a register before emit_conditional_move.
23584
23585 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
23586
23587         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
23588         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
23589         multiplicand out of (+ (* a b) (* c d)).
23590
23591 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
23592                           Richard Henderson  <rth@cygnus.com>
23593
23594         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
23595         (new_insn_dead_notes): Likewise.
23596         (update_n_sets): Likewise.
23597         (update_flow_info): Move to flow.c, renamed to update_life_info;
23598         extend to handle multiple source insns.
23599         * flow.c: Include resource.h
23600         (unlink_insn_chain): New.
23601         (split_hard_reg_notes): New.
23602         (maybe_add_dead_note): New.
23603         (maybe_add_dead_note_use): New.
23604         (find_insn_with_note): New.
23605         (new_insn_dead_notes): New.
23606         (update_n_sets): New.
23607         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
23608         (maybe_remove_dead_notes): New.
23609         (update_life_info): New.
23610         (prepend_reg_notes): New.
23611         (replace_insns): New.
23612         * output.h (update_life_info): Declare.
23613         * recog.c (split_block_insns): Use update_life_info.
23614         * resource.c (find_free_register): Use reg_alloc_order, don't use
23615         fixed regs, make sure the mode is supported, don't use new regs.
23616         (reg_dead_p): New.
23617         * rtl.h (replace_insns): Declare.
23618
23619 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
23620
23621         * expr.c (expand_expr): Cope with COND_EXPRs with one
23622         non-returning branch.
23623
23624 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
23625
23626         * expr.c (store_expr): Always pass down the target, even when not
23627         doing CSE.
23628
23629 1999-08-24  Nick Clifton  <nickc@cygnus.com>
23630
23631         * configure.in: Define target_cpu_default for v850 targets.
23632         * configure: Regenerate
23633
23634         * config/v850/v850.h (TARGET_CPU_generic): Define.
23635         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
23636         addresses are 4 byte aligned.
23637
23638         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
23639         addresses.
23640
23641 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23642
23643         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
23644         (main): Add prototypes.
23645
23646         * genattrtab.c (substitute_address, write_const_num_delay_slots,
23647         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
23648         (write_attr_get): Emit prototypes along with function definition.
23649         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
23650         (write_complex_function): Emit static prototype along with
23651         function definition.
23652
23653         * genemit.c (gen_split): Emit prototypes along with function
23654         definition.
23655
23656         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
23657         Likewise for predicates and `insn_operand_predicate'.
23658         (process_template): Emit static prototype along with function
23659         definition.
23660
23661         * genrecog.c (make_insn_sequence): Constify a char*.  Add
23662         prototypes for get_split_*().
23663         (write_subroutine): Emit prototypes along with function
23664         definition.
23665
23666 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23667
23668         * gcse.c (find_avail_set): Follow chains of register-register copies.
23669         Use oprs_not_set_p to guarantee that the returned value can be
23670         substituted.
23671         (cprop_insn): Don't verify the return value of find_avail_set with
23672         oprs_not_set_p.
23673
23674         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
23675         (cprop_cc0_jump): New function.
23676         (cprop_insn): Break out new function cprop_jump and use it.
23677         Also use cprop_cc0_jump for machines with CC0.
23678         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
23679
23680         * tree.h (current_function_calls_setjmp,
23681         current_function_calls_longjmp): Delete declarations.
23682         * dsp16xx.c: Include "function.h".
23683         * elxsi.c: Likewise.
23684         * gmicro.c: Likewise.
23685         * h8300.c: Likewise.
23686         * i370.c: Likewise.
23687         * m32r.c: Likewise.
23688         * mn10200.c: Likewise.
23689         * mn10300.c: Likewise.
23690         * ns32k.c: Likewise.
23691         * spur.c: Likewise.
23692         * v850.c: Likewise.
23693
23694         * rtl.h (rtx_equal_function_value_matters): Declare.
23695         * toplev.c (rtx_equal_function_value_matters): Don't declare.
23696         * cse.c: Likewise.
23697         * function.c: Likewise.
23698         * emit-rtl.c: Likewise.
23699
23700 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
23701
23702         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
23703         call.
23704
23705 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23706
23707         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
23708         exactly.
23709
23710 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
23711
23712         * cpp.texi: Add a node documenting macro varargs (copied
23713         from extend.texi).
23714
23715 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
23716
23717         * cppspec.c: Put a null pointer at the end of the new argv.
23718
23719 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
23720
23721         * configure.in: Remove code to select/de-select the haifa
23722         scheduler.  Every scheduled port gets haifa now.
23723         * configure: Rebuilt.
23724         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
23725         * sched.c Deleted.
23726         * Makefile.in: Corresponding changes.
23727
23728 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23729
23730         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
23731         All callers changed.
23732         (prepare_float_lib_cmp): Likewise.
23733         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
23734         * expr.h (emit_float_lib_cmp): Delete declaration.
23735         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
23736         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
23737         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
23738         specially.
23739         (cmptf): Now conditional on TARGET_HARD_QUAD.
23740
23741 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
23742
23743         * resource.c (mark_target_live_regs): Use
23744         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
23745
23746 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23747
23748         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
23749
23750         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
23751
23752         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
23753
23754 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23755
23756         * rtl.h (rtx_format): Constify a char*.
23757
23758         * rtl.c (rtx_format): Likewise.
23759         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
23760         (init_rtl): Use accessor macro, not `rtx_format'.
23761
23762         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
23763         char*.
23764
23765         * caller-save.c (mark_referenced_regs): Likewise.
23766
23767         * combine.c (subst, make_compound_operation, known_cond,
23768         gen_rtx_combine, update_table_tick, get_last_value_validate,
23769         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
23770
23771         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
23772         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
23773         count_reg_usage): Likewise.
23774
23775         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
23776         Likewise.
23777
23778         * final.c (leaf_renumber_regs_insn): Likewise.
23779
23780         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
23781         dump_edge_info, count_reg_references): Likewise.
23782
23783         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
23784         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
23785         Likewise.
23786
23787         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
23788         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
23789         add_label_notes): Likewise.
23790
23791         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
23792         clear_struct_flag, count_sub_rtxs, count_alternatives,
23793         compares_alternatives_p, contained_in_p, walk_attr_value,
23794         write_expr_attr_cache): Likewise.
23795
23796         * genconfig.c (walk_insn_part): Likewise.
23797
23798         * genemit.c (max_operand_1, gen_exp): Likewise.
23799
23800         * genextract.c (walk_rtx): Likewise.
23801
23802         * genflags.c (num_operands): Likewise.
23803
23804         * genoutput.c (scan_operands): Likewise.
23805
23806         * genpeep.c (match_rtx): Likewise.
23807
23808         * genrecog.c (add_to_sequence): Likewise.
23809
23810         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
23811         Likewise.
23812
23813         * integrate.c (save_constants, copy_for_inline,
23814         copy_rtx_and_substitute, subst_constants, restore_constants):
23815         Likewise.
23816
23817         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
23818         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
23819
23820         * local-alloc.c (contains_replace_regs, memref_referenced_p):
23821         Likewise.
23822
23823         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
23824         add_label_notes, replace_call_address, count_nonfixed_reads,
23825         invariant_p, find_single_use_in_loop, find_mem_givs,
23826         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
23827         Likewise.
23828
23829         * print-rtl.c (reg_names, print_rtx): Likewise.
23830
23831         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
23832
23833         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
23834         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
23835         print_blocks): Likewise.
23836
23837         * regclass.c (fix_register, record_address_regs,
23838         reg_scan_mark_refs): Likewise.
23839
23840         * regmove.c (stable_but_for_p): Likewise.
23841
23842         * reload.c (loc_mentioned_in_p, operands_match_p,
23843         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
23844         copy_replacements, refers_to_regno_for_reload_p,
23845         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
23846         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
23847         Likewise.
23848
23849         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
23850         delete_address_reloads_1, count_occurrences,
23851         reload_cse_mem_conflict_p, reload_combine_note_use,
23852         add_auto_inc_notes): Likewise.
23853
23854         * resource.c (mark_referenced_resources, mark_set_resources):
23855         Likewise.
23856
23857         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
23858         reg_mentioned_p, regs_set_between_p, modified_between_p,
23859         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
23860         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
23861         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
23862         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
23863
23864         * sched.c (sched_analyze_2, attach_deaths): Likewise.
23865
23866         * stupid.c (stupid_mark_refs): Likewise.
23867
23868         * unroll.c (remap_split_bivs): Likewise.
23869
23870         * varasm.c (mark_constants): Likewise.
23871
23872         * a29k/a29k.c (uses_local_reg_p): Likewise.
23873
23874         * alpha/alpha.c (summarize_insn): Likewise.
23875
23876         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
23877         eliminate_lr2ip): Likewise.
23878
23879         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
23880
23881         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
23882         reg_mentioned_in_mem): Likewise.
23883
23884         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
23885         symbolic_reference_mentioned_p): Likewise.
23886
23887         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
23888
23889         * sh/sh.c (regs_used, mark_use): Likewise.
23890
23891         * vax/vax.c (vax_rtx_cost): Likewise.
23892
23893 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23894
23895         * machmode.h (mode_name): Constify a char*.
23896
23897         * rtl.c (mode_name): Likewise.
23898
23899         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
23900
23901         * optabs.c (init_libfuncs): Constify a char*.
23902
23903         * print-tree.c (mode_name): Remove redundant declaration.
23904         (print_node): Use accessor macro, not `mode_name'.
23905
23906         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
23907         not `mode_name'.
23908         (new_spill_reg): Constify a char*.
23909
23910         * tree.c (mode_name): Remove redundant declaration.
23911
23912 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23913
23914         * rtl.c (rtx_name): Constify a char*.
23915
23916         * rtl.h (rtx_name, fix_sched_param): Likewise.
23917
23918         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
23919         (mypr): Use accessor macro, not `rtx_name'.
23920
23921         * genemit.c (print_code): Constify a char*.
23922
23923         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
23924
23925         * genpeep.c (print_code): Constify a char*.
23926
23927         * genrecog.c (print_code): Likewise.
23928
23929         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
23930         end_bb): Add static prototype.
23931         (draw_edge): Constify a char*.
23932         (end_bb): Remove unused parameter.
23933
23934         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
23935         print_block_visualization): Constify a char*.
23936
23937 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
23938
23939         * c-common.c (c_get_alias_set): Update comment.
23940
23941 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23942
23943         * linux.h (LIB_SPEC): Added.
23944
23945 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23946
23947         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
23948
23949 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
23950
23951         * tree.c (expr_check): Fix typo in last change.
23952
23953 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
23954
23955         * rtl.def (NOTE): Change format to "iuu0n".
23956         (ADDR_DIFF_VEC): Change format to "eEee0".
23957         (ADDRESSOF): Change format to "eit".
23958
23959         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
23960         (RTVEC_ELT): Change to match.
23961         (XVECEXP): Use XVEC and RTVEC_ELT.
23962         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
23963         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
23964         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
23965         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
23966         TRAP_CONDITION, TRAP_CODE): Use XEXP.
23967         (INTVAL): Use XWINT.
23968         (ADDRESSOF_DECL): Use XTREE.
23969         (SET_ADDRESSOF_DECL): Delete.
23970         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
23971         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
23972         ifdefed out since 2.6 at least.
23973         (gen_rtvec_vv): Delete prototype.
23974
23975         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
23976         not rtunion.
23977         (copy_most_rtx): Handle 't' format letter.
23978         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
23979         (gen_rtvec_vv): Delete function.  All callers changed to use
23980         gen_rtvec_v instead.
23981         * print-rtl.c (print_rtx): Move special casing of NOTEs to
23982         the '0' format letter.
23983
23984         * function.c (gen_mem_addressof): Don't use
23985         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
23986         instead.
23987         * integrate.c (copy_rtx_and_substitute): Likewise.
23988         Copy 't' slots with XTREE.
23989         (subst_constants): Treat 't' slots like '[swi]' slots.
23990         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
23991         * jump.c (rtx_equal_for_thread_p): Likewise.
23992         * rtlanal.c (rtx_equal_p): Likewise.
23993         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
23994         only four arguments.
23995         * gengenrtl.c (type_from_format): Provide correct types for
23996         'b' and 't' slots.
23997
23998
23999         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
24000         If a recent gcc is in use (always in stage2 and beyond), use
24001         statement expressions, so we don't make a function call unless
24002         the check fails.  Evaluate arguments exactly once.
24003         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
24004         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
24005         Delete.
24006         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
24007         they evaluate their arguments exactly once, irrespective of
24008         the compiler in use.
24009
24010         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
24011         is used by the currently-enabled check macros.  This is:
24012         (tree_check_failed, tree_class_check_failed): For gcc.
24013         (tree_check, tree_class_check, cst_or_constructor_check,
24014         expr_check): For other compilers.
24015
24016         * gencheck.c: Do not define any *_CHECK1 macros.
24017
24018 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
24019                           Mark Mitchell <mark@codesourcery.com>
24020
24021         * c-common.c (c_get_alias_set): Fix support for poitners and
24022         references.
24023
24024 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
24025
24026         * alias.c: Include tree.h.
24027         (nonlocal_reference_p, mark_constant_function): New functions.
24028         * flow.c (life_analysis): Call mark_constant_function.
24029         * rtl.h (mark_constant_function): Declare it.
24030
24031 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
24032
24033         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24034         unrecognisable switches.
24035
24036 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24037
24038         * loop.c (recombine_givs): Set ix field after sorting.
24039         (recombine_givs): Remove bogus index / giv lockstep looping.
24040
24041 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24042
24043         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24044         on CODE.
24045         (emit_store_flag_force): Use do_compare_rtx_and_jump.
24046         (do_cmp_and_jump): Formatting fixes.
24047         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24048         do_compare_rtx_and_jump instead of compare_from_rtx.
24049         (do_compare_rtx_and_jump): New function; mostly copied from
24050         compare_from_rtx.
24051         (do_jump_for_compare): Delete.
24052         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24053         MIN_EXPR.
24054         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24055         of compare/do_jump_for_compare pairs.
24056         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24057         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24058         compare_from_rtx/do_jump_for_compare pairs.
24059         (do_jump_by_parts_equality): Likewise.
24060         (do_jump_by_parts_equality_rtx): Likewise.
24061         * expr.h (do_compare_rtx_and_jump): Declare.
24062         * optabs.c (prepare_cmp_insn): New function, contains most of the code
24063         that used to be in emit_cmp_insn.
24064         (cmp_available_p): New function.
24065         (prepare_operand): New function.
24066         (emit_cmp_and_jump_insn_1): New function, contains some code that used
24067         to be in emit_cmp_insn.
24068         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24069         parameters to be pointers; don't emit final compare but modify some of
24070         the values pointed to by the args so the caller can perform the
24071         correct comparison.
24072         (expand_binop): Call emit_store_flag_force with signed forms of
24073         comparison code.
24074         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24075         emit_jump_insn pair.
24076         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24077         emit_cmp_and_jump_insn_1.  Call emit_queue.
24078         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24079         arg.
24080         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24081         jump sets cc0 before deleting it.
24082         * integrate.c (expand_inline_function): Likewise.
24083         * unroll.c (unroll_loop): Similar changes in several places.
24084         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24085         before deleting it.
24086
24087 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24088
24089         * Makefile.in (insn-recog.o): Update dependencies.
24090         * genrecog.c (main): Make generated file include "function.h".
24091
24092 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
24093
24094         * cse.c (cse_insn): Call never_reached_warning when a jump is
24095         changed to be unconditional.
24096         * flags.h: Declare warn_notreached.
24097         * flow.c (delete_block): Call never_reached_warning when
24098         a block is deleted.
24099         * jump.c (delete_barrier_successors): Call never_reached_warning
24100         when we delete everything after a BARRIER.
24101         (never_reached_warning): New function.
24102         * rtl.h: Declare never_reached_warning.
24103         * toplev.c (warn_notreached): New variable.
24104         (lang_independent_options): Set warn_notreached
24105         when -Wunreachable-code.
24106         (compile_file): We need line numbers for -Wunreachable-code.
24107
24108 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
24109
24110         * haifa-sched.c (insn_unit): Fix typo on out of range test.
24111         * sched.c (insn_unit): Likewise.
24112
24113 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
24114
24115         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24116
24117 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24118
24119         * flow.c (create_edge_list): Use xmalloc, not malloc.
24120
24121 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
24122
24123         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24124         C-style comments.  Do not lose the character before double slash.
24125
24126 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24127
24128         * basic-block.h (struct edge_list): Stucture to maintain a vector
24129         of edges.
24130         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24131          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24132         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24133         New function prototypes.
24134         * flow.c (create_edge_list): Function to create an edge list.
24135         (free_edge_list): Discards memory used by an edge list.
24136         (print_edge_list): Debug output showing an edge list.
24137         (verify_edge_list): Internal consistency check for an edge list.
24138         (find_edge_index): Function to find an edge index for a pred and succ.
24139
24140 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
24141
24142         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24143         hashtable.
24144
24145 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
24146
24147         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24148
24149 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24150
24151         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24152
24153 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
24154
24155         * toplev.c (rest_of_compilation): Allow machine dependent
24156         reorganisation pass to place information into the RTL dump
24157         file if it so wishes.
24158
24159 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
24160
24161         * explow.c (hard_function_value): Use VOIDmode instead of
24162         MAX_MACHINE_MODE.
24163         * stmt.c (expand_return): Likewise.
24164         * stor-layout.c (get_best_mode): Likewise.
24165
24166         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
24167         emit call instead of emit_insn call.
24168
24169 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24170
24171         * configure.in: Handle --disable/enable-win32-registry.
24172         * install.texi: Document --disable/enable-win32-registry.
24173         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
24174         (WIN32_REGISTRY_KEY): New macro.
24175         * prefix.c: Use to enable/disable win32-specific code.
24176         (lookup_key): Use versioned key.
24177         * configure: Regenerate.
24178         * config.in: Likewise.
24179
24180 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
24181
24182         * cpplib.c (read_line_number): New fn, split out of...
24183         (do_line): Here.
24184
24185 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24186
24187         tree.c (lang_unsave_expr_now) : New.
24188         (unsave_expr_now): Call lang_unsave_expr_now.
24189         tree.h (lang_unsave_expr_now) : New.
24190
24191 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
24192
24193         * toplev.c (flag_new_exceptions): On by default.
24194
24195 1999-08-13  Michael Meissner  <meissner@cygnus.com>
24196
24197         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
24198
24199 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24200
24201         * dwarfout.c (fundamental_type_code): Return FT_boolean for
24202         INTEGER_TYPE with precision==1, it's __java_boolean.
24203
24204 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24205
24206         * global.c (prune_preferences): Move some invariants out of the
24207         inner loop.
24208
24209 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
24210
24211         * configure.in (alpha*-dec-osf*): Add osf5.
24212
24213 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
24214
24215         * configure.in: Rework handling of ARM GNU/Linux slightly.
24216         (arm*-*-linux-gnuoldld): New target.
24217         * configure: Regenerate.
24218         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
24219         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
24220         * config/arm/linux-oldld.h: New file.
24221         * config/arm/linux-elf26.h: Don't include linux-elf.h.
24222         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
24223         Don't define.
24224         * config/arm/linux-elf.h (ASM_SPEC): Define.
24225         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
24226         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
24227         for 26-bit APCS and old linker.
24228         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
24229         `arm_elf'.
24230         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
24231         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
24232         don't define `arm' or `arm_elf'.
24233         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
24234         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
24235
24236 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
24237
24238         * rtl.texi: Fix typo.
24239
24240 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
24241
24242         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24243
24244 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
24245
24246         * extend.texi (C++ Signatures): Remove node.
24247         * invoke.texi: Remove discussion of -fhandle-signatures,
24248         signature, sigof, __signature__, and __sigof__.
24249
24250 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
24251
24252         * Makefile.in (JAVAGC): Removed.
24253
24254 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24255
24256         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24257
24258 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24259
24260         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24261
24262 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
24263
24264         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24265         a register that is already known to be a pointer.
24266
24267 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
24268
24269         * fixinc/inclhack.tpl: Only install assert.h conditionally.
24270         * fixinc/inclhack.sh: Regenerated.
24271         * fixinc/fixincl.sh: Regenerated.
24272
24273 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
24274
24275         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24276         Fix documentation of -ansi flag to describe its C++ behavior.
24277         Remove bogus reference to GCC 2.9.
24278
24279 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
24280
24281         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24282         note if it is non-NULL.
24283
24284 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24285
24286         * except.h (eh_nesting_info): Add new structure defintion.
24287         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24288         (reachable_handlers, update_rethrow_references): Add function
24289         prototypes.
24290         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
24291         a rethrow symbol instead of an integer exception region number.
24292         * flow.c (Make_edges): Use new exception nesting routines to determine
24293         which handlers are reachable from a CALL or asynchronous insn.
24294         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24295         goto receivers.
24296         (delete_eh_regions): Update rethrow labels, and don't delete
24297         regions which are the target of a rethrow.
24298         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24299         avoid overloading the SYMBOL_REF_USED flag.
24300         (rethrow_symbol_map): Use new rethrow_ref field.
24301         (rethrow_used): Use new rethrow_ref field.
24302         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24303         of an integer.  Fix formatting.
24304         (output_exception_table_entry): Use new rethrow_ref field.
24305         (can_throw): Check for EH_REGION_NOTE before deciding
24306         whether a CALL can throw or not.
24307         (scan_region): Call rethrow_used() instead of accessing data structure.
24308         (update_rethrow_references): New function to make sure only regions
24309         which are still targets of a rethrow are flagged as such.
24310         (process_nestinfo): New static function to initialize a handler
24311         list for a specific region.
24312         (init_eh_nesting_info): New function to allocate and initialize
24313         the list of all EH handlers reachable from all regions.
24314         (reachable_handlers): New function to retrieve the list of handlers
24315         reachable from a specific region and insn.
24316         (free_eh_nesting_info): New function to dispose of a list of
24317         reachable handlers.
24318
24319 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24320
24321         * flow.c (split_edge): Set JUMP_LABEL field.
24322         (commit_one_edge_insertion): Set head correctly for insert_before.
24323         When inserting insns, update insn block numbers if allocated.
24324
24325 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24326
24327         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24328         retry_incomplete_types): Add static prototype.
24329         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24330         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24331         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24332         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24333         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24334         Constify a char*.
24335
24336         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24337         dwarf2out_start_source_file, dwarf2out_line): Likewise.
24338
24339 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24340
24341         * output.h (assemble_name): Constify a char*.
24342
24343         * varasm.c (UNIQUE_SECTION, assemble_start_function,
24344         assemble_variable, assemble_name): Likewise.
24345
24346         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24347
24348         * arm/pe.c (arm_pe_unique_section): Likewise.
24349
24350         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24351
24352         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24353
24354         * i386/interix.c (i386_pe_unique_section): Likewise.
24355
24356         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24357
24358         * i386/winnt.c (i386_pe_unique_section): Likewise.
24359
24360         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24361
24362         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24363
24364         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24365
24366         * pa/pa.c (output_call): Likewise.
24367
24368         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24369
24370         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24371
24372         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24373         Likewise.
24374
24375         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24376         Likewise.
24377
24378         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24379
24380         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24381         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24382
24383         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24384
24385 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24386
24387         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24388
24389 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24390
24391         * tree.h (lang_identify): Constify a char*.
24392         (print_error_function): Add extern prototype.  Constify a char*.
24393
24394         * c-lang.c (lang_identify): Constify a char*.
24395
24396         * objc/objc-act.c (lang_identify): Constify a char*.
24397
24398 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24399
24400         * genpeep.c (main): Make generated file include "function.h".
24401         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24402
24403 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24404
24405         * Makefile.in: Update dependencies.
24406         * alias.c: Include "function.h"
24407         * c-decl.c: Likewise.
24408         * caller-save.c: Likewise.
24409         * calls.c: Likewise.
24410         * combine.c: Likewise.
24411         * cse.c: Likewise.
24412         * explow.c: Likewise.
24413         * final.c: Likewise.
24414         * global.c: Likewise.
24415         * graph.c: Likewise.
24416         * local-alloc.c: Likewise.
24417         * loop.c: Likewise.
24418         * optabs.c: Likewise.
24419         * profile.c: Likewise.
24420         * recog.c: Likewise.
24421         * regclass.c: Likewise.
24422         * regmove.c: Likewise.
24423         * reload.c: Likewise.
24424         * reorg.c: Likewise.
24425         * resource.c: Likewise.
24426         * sched.c: Likewise.
24427         * stupid.c: Likewise.
24428         * config/1750a/1750a.c: Likewise.
24429         * config/a29k/a29k.c: Likewise.
24430         * config/arc/arc.c: Likewise.
24431         * config/arm/arm.c: Likewise.
24432         * config/arm/thumb.c: Likewise.
24433         * config/c4x/c4x.c: Likewise.
24434         * config/clipper/clipper.c: Likewise.
24435         * config/convex/convex.c: Likewise.
24436         * config/fx80/fx80.c: Likewise.
24437         * config/i860/i860.c: Likewise.
24438         * config/m68k/m68k.c: Likewise.
24439         * config/m88k/m88k.c: Likewise.
24440         * config/mips/mips.c: Likewise.
24441         * config/pdp11/pdp11.c: Likewise.
24442         * config/pyr/pyr.c: Likewise.
24443         * config/romp/romp.c: Likewise.
24444         * config/sh/sh.c: Likewise.
24445         * config/tahoe/tahoe.c: Likewise.
24446         * config/vax/vax.c: Likewise.
24447         * config/we32k/we32k.c: Likewise.
24448         * config/sparc/sparc.c: Include "function.h".
24449         (mem_min_alignment): Test current_function rather than
24450         regno_pointer_align.
24451         * config/pa/pa.c: Likewise.
24452         (compute_frame_size): Delete declaration of
24453         current_function_outgoing_args_size.
24454         * config/arc/arc.h (current_function_varargs): Delete declaration.
24455         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24456         declaration.
24457         * config/i370/i370.h (current_function_outgoing_args_size): Delete
24458         declaration.
24459         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24460         current_function_uses_pic_offset_table.
24461         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24462         of current_function_returns_pointer.
24463         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24464         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24465         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24466         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24467         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24468         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24469         * config/m88k/m88k.c: Include "function.h"
24470         (call_used_regs, current_function_pretend_args_size,
24471         current_function_outgoing_args_size, frame_pointer_needed): Delete
24472         declarations.
24473         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24474         declaration.
24475         * config/mips/mips.h (current_function_calls_alloca): Delete
24476         declaration.
24477         * config/mn10200/mn10200.h (current_function_needs_context,
24478         rtx_equal_function_value_matters): Delete declarations.
24479         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24480         flag_pic): Delete declarations.
24481         * config/pa/pa.h (current_function_pretend_args_size,
24482         current_function_decl): Delete declarations.
24483         * config/pa/som.h (current_function_varargs): Delete declaration.
24484         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24485         declaration.
24486         * config/pyr/pyr.h (current_function_pretend_args_size,
24487         current_function_args_size, current_function_calls_alloca): Delete
24488         declarations.
24489         * config/sh/sh.h (current_function_varargs): Delete declaration.
24490         * config/sparc/sparc.h (current_function_outgoing_args_size,
24491         current_function_calls_alloca, current_function_decl): Delete
24492         declarations.
24493         * config/spur/spur.h (current_function_pretend_args_size,
24494         current_function_calls_alloca): Delete declarations.
24495         * config/v850/v850.c (current_function_outgoing_args_size): Delete
24496         declaration.
24497         * config/vax/vms.h (current_function_name): Delete declaration.
24498         * gcse.c: Include "function.h".
24499         (current_function_name, current_function_calls_setjmp): Delete
24500         declarations.
24501         * haifa-sched.c: Include "function.h".
24502         (forced_labels): Delete declaration.
24503         * jump.c: Likewise.
24504         * reg-stack.c: Likewise.
24505         * reload1.c: Likewise.
24506         * genemit.c (main): Make generated file include function.h.
24507         * genoutput.c (output_prologue): Likewise.
24508
24509         * builtins.c (saveregs_value, apply_args_value): Delete variables.
24510         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24511         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24512         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24513         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
24514         macros for some of them.
24515         (emit_filename, emit_lineno): Delete declarations.
24516         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
24517         regno_pointer_* variables through current_function.
24518         (gen_inline_header_rtx): Delete function.
24519         (save_emit_status): Delete function.
24520         (set_new_last_label_num): New function.
24521         (clear_emit_caches): New function.
24522         (restore_emit_status): Just clear last_labelnum and call
24523         clear_emit_caches.
24524         (get_last_insn_anywhere): Variable sequence_stack is now accessed
24525         through macro seq_stack.
24526         (add_insn_after): Likewise.
24527         (add_insn_before): Likewise.
24528         (remove_insn): Likewise.
24529         (pop_topmost_sequence): Likewise.
24530         (in_sequence_p): Likewise.
24531         (start_sequence_for_rtl_expr): Likewise.
24532         (start_sequence): Likewise, and likewise for
24533         sequence_rtl_expr/seq_rtl_expr.
24534         (push_topmost_sequence): Likewise.
24535         (end_sequence): Likewise.
24536         (init_virtual_regs): Now takes a "struct emit_status *" argument.
24537         All callers changed.  Store into that pointer instead of globals.
24538         (init_emit): Allocate emit elt of current_function.
24539         Changes for sequence_rtl_expr/sequence_stack renaming.
24540         Call clear_emit_caches instead of doing it in-line.
24541         Access regno_pointer_* variables through current_function.
24542         (init_emit_once) Don't clear sequence_stack.
24543
24544         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24545         Delete variables.
24546         (arg_pointer_save_area): Delete declaration.
24547         (finish_expr_for_function): Renamed from init_queue; no longer static.
24548         (init_expr): Don't call init_queue.
24549         (save_expr_status, restore_expr_status): Delete functions.
24550         (expand_expr): Changes to reflect new layout of struct function.
24551         Don't access current_function_check_memory_usage when current_function
24552         is 0.
24553         * expr.h (forced_labels, save_expr_regs, saveregs_value,
24554         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24555         current_function_outgoing_args_size, current_function_arg_offset_rtx,
24556         current_function_uses_const_pool, function_call_count,
24557         current_function_uses_pic_offset_table, nonlocal_labels,
24558         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24559         current_function_check_memory_usage, nonlocal_goto_handler_slots,
24560         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24561         declarations.
24562         (finish_expr_for_function): Declare.
24563         * flags.h (current_function_has_nonlocal_label,
24564         current_function_has_nonlocal_goto, current_function_is_thunk,
24565         current_function_has_computed_jump): Delete declarations.
24566         * flow.c (forced_labels): Delete declaration.
24567         * function.c (current_function_pops_args,
24568         current_function_returns_struct, current_function_returns_pcc_struct,
24569         current_function_needs_context, current_function_calls_setjmp,
24570         current_function_calls_longjmp, current_function_has_nonlocal_label,
24571         current_function_has_nonlocal_goto, current_function_is_thunk,
24572         current_function_has_computed_jump, current_function_calls_alloca,
24573         current_function_contains_functions, current_function_returns_pointer,
24574         current_function_epilogue_delay_list, current_function_args_size,
24575         current_function_pretend_args_size, current_function_arg_offset_rtx,
24576         current_function_outgoing_args_size, current_function_varargs,
24577         current_function_stdarg, current_function_args_info, cleanup_label,
24578         current_function_name, current_function_uses_const_pool,
24579         current_function_instrument_entry_exit, current_function_return_rtx,
24580         current_function_uses_pic_offset_table, nonlocal_labels,
24581         current_function_internal_arg_pointer, current_function_cannot_inline,
24582         current_function_check_memory_usage, function_call_count,
24583         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24584         nonlocal_goto_stack_level, return_label, save_expr_regs,
24585         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24586         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
24587         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
24588         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
24589         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
24590         Delete variables.
24591         (push_function_context_to): Don't save them.  Don't call
24592         save_storage_status, save_emit_status or save_expr_status.
24593         (pop_function_context_from): Don't restore them.  Don't call
24594         restore_storage_status or restore_expr_status.
24595         (get_func_frame_size): New function.
24596         (get_frame_size): Use it.
24597         (assign_outer_stack_local): Reflect some member name changes in struct
24598         function.
24599         (put_reg_into_stack): Likewise.
24600         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
24601         seq_rtl_expr.
24602         (fixup_var_refs): Likewise.
24603         (fix_lexical_addr): Likewise.
24604         (trampoline_address): Likewise.
24605         (prepare_function_start): Clear field inlinable of current_function.
24606         (init_function_for_compilation): New function.
24607         (expand_dummy_function_end): New function.
24608         (expand_function_end): Call finish_expr_for_function.
24609         * function.h (struct emit_status): New; fields moved here from struct
24610         function and from global variables.  Add accessor macros for some of
24611         the fields.
24612         (struct expr_status): Likewise.
24613         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
24614         (struct function): Add fields expr and emit, inlinable, inl_emit,
24615         original_arg_vector, original_decl_initial, inl_last_parm_insn,
24616         inl_max_label_num.  Add many comments.
24617         Add accessor macros for all elts of struct function that no longer
24618         have a global variable.
24619         (cleanup_label, return_label, frame_offset, tail_recursion_label,
24620         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
24621         stack_slot_list): Delete declarations.
24622         (get_func_frame_size): Declare.
24623         (save_expr_status, restore_expr_status, save_emit_status,
24624         save_storage_status, restore_storage_status): Delete declarations.
24625         (init_virtual_regs): Declare.
24626         * output.h (current_function_pops_args,
24627         current_function_returns_struct, current_function_returns_pcc_struct,
24628         current_function_needs_context, current_function_calls_setjmp,
24629         current_function_calls_longjmp, current_function_calls_alloca,
24630         current_function_has_nonlocal_label, current_function_varargs,
24631         current_function_has_computed_jump, current_function_returns_pointer,
24632         current_function_contains_functions, current_function_args_size,
24633         current_function_pretend_args_size, current_function_stdarg,
24634         current_function_outgoing_args_size, current_function_args_info,
24635         current_function_name, current_function_return_rtx,
24636         current_function_epilogue_delay_list,
24637         current_function_uses_const_pool, current_function_cannot_inline):
24638         Delete declarations.
24639         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
24640         regno_reg_rtx): Delete declaration.
24641         (REGNO_POINTER_FLAG): Delete macro.
24642         * stmt.c (expand_goto): Changes to reflect that some fields in struct
24643         function were renamed.
24644         * stor-layout.c (save_storage_status, restore_storage_status): Delete
24645         functions.
24646         * toplev.c: Include "function.h".
24647         (current_function_decl): Delete declaration.
24648         (compile_file): Call init_dummy_function_start and
24649         expand_dummy_function_end around some initializations that need to
24650         emit rtl.
24651         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
24652         Call init_function_for_compilation.
24653         * unroll.c: Include "function.h"
24654         (unroll_loop): Access regno_pointer_* variables through
24655         current_function.
24656
24657         * tree.h (struct tree_decl): Add elt f to saved_insns member.
24658         (DECL_SAVED_INSNS): use it.
24659         (expand_dummy_function_end): Declare.
24660         (init_function_for_compilation): Declare.
24661         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
24662         that it's no longer an INLINE_HEADER.
24663         (expand_call): Likewise.
24664         * integrate.c (finish_inline): Delete function.
24665         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
24666         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
24667         args.  Don't generate an INLINE_HEADER rtx, just return the arg
24668         vector.  All callers changed.
24669         (save_for_inline_copying):  Create a duplicate struct emit_status to
24670         hold the emit state for compiling the current function.  Use this and
24671         the other new fields in struct function that are for integration
24672         instead of an INLINE_HEADER.
24673         Use memcpy instead of bcopy.
24674         Store the current struct function in DECL_SAVED_INSNS of fndecl.
24675         (save_for_inline_nocopy): Similar changes, except no new emit_status
24676         is needed here.
24677         (expand_inline_function): Get information from function structure,
24678         not from an inline header rtx.
24679         (output_inline_function): Lose code to extract the necessary
24680         information from an inline header; simply put back the function
24681         structure into current_function.  Clear its inlinable elt.
24682         * rtl.def (INLINE_HEADER): Delete.
24683         * rtl.h: Delete all accessors for an INLINE_HEADER.
24684         (gen_inline_header_rtx): Delete declaration.
24685         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
24686         Delete declarations.
24687         (REGNO_POINTER_ALIGN): Delete.
24688         (clear_emit_caches): Declare.
24689         (set_new_last_label_num): Declare.
24690
24691 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
24692
24693         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
24694
24695         * except.c (expand_eh_region_start_for_decl): Always start a new block.
24696         * stmt.c (is_eh_region): Make sure current_function is present, too.
24697
24698 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
24699
24700         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
24701         for 64bit PA targets.
24702
24703         * pa.h (SELECT_SECTION): Define.
24704         * som.h (SELECT_SECTION): Delete.
24705
24706 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24707
24708         * alias.c (init_alias_analysis): Wrap call to
24709         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
24710
24711 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
24712
24713         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
24714         <sys/asm.h> contains an asm comment with an apostrophe
24715         * fixinc/inclhack.sh:  regen
24716         * fixinc/fixincl.x:  regen
24717
24718 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
24719
24720         * function.c (init_function_start): Clear prologue & epilogue.
24721         (prologue_epilogue_contains): New function.
24722         * alias.c (init_alias_analysis): Use it.
24723         * rtl.h (prologue_epilogue_contains): Declare it.
24724
24725 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
24726
24727         * jump.c (onlyjump_p): New function.
24728         * rtl.h: Declare it.
24729         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
24730         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
24731
24732 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
24733
24734         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
24735         to invert loops.  Simplify block scanning.
24736
24737 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
24738
24739         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
24740         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
24741
24742 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
24743
24744         * config/sparc/liteelf.h: New file to support sparclite-elf target
24745         * config/sparc/t-sp86x: New file to support sparc86x targets
24746         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
24747         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
24748         * configure.in: Support above target triplets
24749         * configure: Regenerated
24750
24751 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
24752
24753         * fixinc/server.c (server_setup): Do not prefix function used as
24754         parameter with `&'.
24755
24756 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
24757
24758         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
24759         Remove fp reg alternatives.
24760
24761 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
24762
24763         * Makefiin (TAROUTOPTS): Kill.
24764         (install-headers-tar): Use "xpf" for tar headerfile extraction
24765         * i370/x-oe (TAROUTOPTS): Delete.
24766         * m68k/x-apollo68 (TAROUTOPTS): Delete.
24767         * m68k/x-hp320 (TAROUTOPTS): Delete.
24768         * m68k/x-hp320g (TAROUTOPTS): Delete.
24769         * gcc.texi: Update bug reporting text.
24770
24771 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24772
24773         * reg-stack.c (change_stack) Fixed problem with negative array index.
24774
24775 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
24776
24777         * extend.texi, install.texi: Fix spelling mistakes.
24778
24779         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
24780         (s-attrtab); No longer try to use pre-made insn-attrtab file.
24781         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
24782         PREMADE_ATTRTAB_MD.
24783         * mips/t-ecoff: Likewise.
24784         * mips/t-elf: Likewise.
24785         * mips/t-mips: Likewise.
24786         * mips/t-osfrose: Likewise.
24787         * mips/t-r3900: Likewise.
24788         * mips/t-svr3: Likewise.
24789         * mips/t-svr4: Likewise.
24790         * mips/t-ultrix: Likewise.
24791
24792         * gcc.texi: Document recommend means to provide software floating
24793         point libraries in libgcc.a
24794
24795 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
24796
24797         * c-lex.c (yylex): We can have a number with no digits.
24798
24799 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
24800
24801         * jump.c (delete_prior_computation): New function, broken
24802         out of delete_computation.  Check for side effects with
24803         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
24804         multi-word hard registers.
24805         (delete_computation): Use it.  Check for side effects with
24806         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
24807         missing REG_DEAD note for a register which is both set and
24808         used by an insn.
24809
24810 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
24811
24812         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
24813         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
24814         (ASM_FILE_START): Import _mcount with the right type.
24815         (ASM_DECLARE_FUNCTION_NAME): Define.
24816         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
24817         * pa.c (output_function_prologue): Always emit the function's label
24818         here.
24819         * pa.h (TEXT_SPACE_P): Define.
24820         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24821         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
24822         * som.h (TEXT_SPACE_P): Delete.
24823         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24824         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
24825
24826 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
24827
24828         * expr.c (emit_group_load): Allow src to be a CONCAT.
24829
24830 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24831
24832         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
24833         (___mulsi3): Use '!' comment character.
24834
24835 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24836
24837         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
24838
24839 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24840
24841         * gcc.c: Update URLs and mail addresses.
24842         * gcc.texi: Likewise.
24843
24844 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
24845
24846         * rs6000.c (current_file_function_operand): Return zero for
24847         weak functions.
24848         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
24849         weak symbols.
24850         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
24851         for weak symbols.
24852
24853 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
24854
24855         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
24856         allocate space in the stack frame for the PIC register.
24857
24858 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
24859
24860         * m68k.md (xordi3, anddi3): These patterns are not available on
24861         the coldfire.
24862
24863 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
24864
24865         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
24866         (PUT_REAL): Likewise.
24867
24868 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24869
24870         * final.c (shorten_branches): Don't add an alignment for loops
24871         that have no label inside.
24872
24873 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24874
24875         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
24876         prototypes in macro HAVE_cmpstrsi.
24877
24878         * cpplib.c (cpp_get_token): Remove unused label `op3'.
24879
24880         * emit-rtl.c (operand_subword): Remove unused variable
24881         `bits_per_word'.
24882
24883         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
24884
24885         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
24886
24887 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
24888
24889         * cpphash.c (macroexpand): Delete leading whitespace when arg
24890         is concatenated before.
24891         (unsafe_chars): Correct test for whether + and - can extend a
24892         token.
24893
24894         * cppinit.c (cpp_start_read): Do dependencies for
24895         -include/-imacros files also.
24896
24897         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
24898         tokenizing non-directive lines.
24899         (cpp_expand_to_buffer): Temporarily disable no-output mode.
24900         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
24901         the input file.
24902
24903 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24904
24905         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
24906
24907         * c-lex.c: Sync with C++ frontend.
24908         (linemode): New variable.
24909         (parse_float): imag, conversion_errno, and type are output only.
24910         (yylex): Adjust.  Move initial '.' case into main switch.
24911         Use linemode.
24912         (handle_generic_pragma): Just deal with tokens.
24913         (readescape): Use ISXDIGIT and ISGRAPH.
24914         * c-parse.in: Add END_OF_LINE token.
24915
24916         * c-lex.c (lang_init): Generalize.
24917         (nextchar): Remove.  Replace uses with UNGETC.
24918         (skip_white_space): Handle linemode here.  Optimize for cpplib.
24919         (skip_white_space_on_line): Remove.
24920         (extend_token_buffer_to): New fn.
24921         (extend_token_buffer): Use it.
24922         (read_line_number, check_newline): Just deal with tokens.
24923         (token_getch, token_put_back): New fns.
24924         (yylex): Use them.  More cpplib optimizations.  Simplify.
24925
24926 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24927                           Jason Merrill  <jason@yorick.cygnus.com>
24928
24929         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
24930         (consume_string): Make this smart about USE_CPPLIB.
24931         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
24932         (yylex): Rewrite to be intelligent about USE_CPPLIB.
24933         Also, clean up cases where we redundantly set token_buffer[0].
24934         (read_line_number): New fn.
24935         (ignore_escape_flag): New variable.
24936
24937 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
24938
24939         * a29k/t-a29kbare: Fix some comments.
24940         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
24941         (FPBIT, DPBIT): Define.
24942         * a29k/t-vx29k: Likewise.
24943         * arc/t-arc: Likewise.
24944         * arm/t-arm-elf: Likewise.
24945         * arm/t-bare: Likewise.
24946         * arm/t-pe: Likewise.
24947         * arm/t-pe-thumb: Likewise.
24948         * arm/t-semi: Likewise.
24949         * arm/t-thumb: Likewise.
24950         * arm/t-thumb-elf: Likewise.
24951         * arm/t-thumb-linux: Likewise.
24952         * h8300/t-h8300: Likewise.
24953         * i960/t-i960: Likewise.
24954         * i960/t-vxworks960: Likewise.
24955         * m32r/t-m32r: Likewise.
24956         * mips/t-ecoff: Likewise.
24957         * mips/t-elf: Likewise.
24958         * mips/t-r3900: Likewise.
24959         * pa/t-pro: Likewise.
24960         * rs6000/t-aix43: Likewise.
24961         * rs6000/t-beos: Likewise.
24962         * rs6000/t-newas: Likewise.
24963         * rs6000/t-ppccomm: Likewise.
24964         * rs6000/t-rs6000: Likewise.
24965         * rs6000/t-winnt: Likewise.
24966         * rs6000/t-xnewas: Likewise.
24967         * rs6000/t-xrs6000: Likewise.
24968         * sh/t-sh: Likewise.
24969         * sparc/t-elf: Likewise.
24970         * sparc/t-sparcbare: Likewise.
24971         * sparc/t-sparclite: Likewise.
24972         * sparc/t-splet: Likewise.
24973         * v850/t-v850: Likewise.
24974         * mn10200/t-mn10200: Fix comments.
24975         * mn10300/t-mn10300: Likewise.
24976
24977         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
24978         dummy operand.  Allocate a new pseudo for the dummy operand.
24979         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
24980
24981         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
24982
24983 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
24984
24985         * configure: Rebuilt.
24986         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
24987
24988 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
24989
24990         * recog.c (preproces_constraints): Zero recog_op_alt before
24991         processing the constraints.
24992
24993         * arm.c (typedef minipool_node): Renamed from pool_node.
24994         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
24995         (add_minipool_constant): New function.
24996         (dump_minipool): New function.
24997         (find_barrier): Remove special case for getting the insn size of
24998         an insn that references the constant pool.
24999         (minipool_fixup): New structure.
25000         (push_minipool_barrier): New function.
25001         (push_minipool_fix): New function.
25002         (note_invalid_constants): New function.
25003         (add_pool_constant, dump_table, fixit, broken_move): Delete.
25004         (arm_reorg): Rewrite code to fix up the constant pool into a
25005         series of mini-pools embedded in the insn stream.
25006         (arm_output_epilogue): New function, made mainly from the body
25007         of output_func_epilogue.
25008         (output_func_epilogue): Move insn generation part of epilogue code
25009         to arm_output_epilogue.
25010         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
25011         * arm.md (pool_range): New attribute.
25012         (zero_extendqidi2): Add attribute pool_range.
25013         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
25014         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
25015         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
25016         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
25017         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
25018         (epilogue): New expand.
25019         (epilogue_insn): New insn.  Call arm_output_epilogue.
25020
25021         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
25022         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
25023
25024 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25025
25026         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25027
25028 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
25029
25030         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
25031
25032 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
25033
25034         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25035
25036 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
25037
25038         * global.c: Fix comment.
25039
25040 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
25041
25042         * gcc.c (access_check): New static function.
25043         (find_a_file): Use it when searching a directory list.
25044         * collect2.c (find_a_file): Don't accept directories found when
25045         searching a directory list.
25046
25047 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
25048
25049         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25050         function parameters with `&'.
25051         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25052
25053 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25054
25055         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25056         or tidy_fallthru_edge if the last insn in the block is not
25057         an unconditional jump or a simple conditional jump.
25058
25059 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25060
25061         * Makefile.in (c-decl.o): Depends on defaults.h.
25062
25063 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
25064
25065         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25066         PA1.1 and above.
25067         (CLASS_MAX_NREGS): Likewise.
25068
25069 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
25070
25071         * cse.c (cse_insn): Fix dumb thinko in last change.
25072
25073 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25074
25075         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25076         "const char *".
25077
25078 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25079
25080         * dwarf2out.c (add_location_or_const_value_attribute): Correct
25081         test for sizes of passed and declared parameter types.
25082
25083 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25084
25085         * fixincludes: Fix the return type of bsearch, char* -> void*.
25086
25087         * fixinc/inclhack.def: Likewise.
25088
25089 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
25090
25091         * invoke.texi (-fdump-translation-unit): New option.
25092
25093 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
25094
25095         * expr.h (PROMOTE_PROTOTYPES): Move ...
25096         * defaults.h: ... to here.
25097         * c-decl.c: Include defaults.h instead of expr.h.
25098         * c-typeck.c: Include defaults.h.
25099
25100 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
25101
25102         * toplev.h (errorcount): Declare.
25103         (warningcount): Likewise.
25104         (sorrycount): Likewise.
25105         * c-lex.c (errorcount): Don't declare.
25106         * dwarf2out.c (errorcount): Don't declare.
25107
25108 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
25109
25110         * config/libgloss.h: Add a note discouraging use with ELF.
25111         * configure.in: Don't use libgloss.h for ELF targets.
25112         Always use_collect2 on a.out targets.
25113
25114 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
25115
25116         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25117         (force_to_mode, case ASHIFTRT): Add shiftrt label.
25118
25119 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25120
25121         * loop.c (strength_reduce): When doing biv->giv conversion, update
25122         reg note of NEXT->insn.
25123
25124 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25125
25126         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25127
25128 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25129
25130         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25131         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25132         Ensure expr.h is included.
25133         * c-typecheck.c (convert_arguments): Ditto.
25134
25135         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25136
25137         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25138         * config/convex/convex.h: Ditto.
25139         * config/dsp16xx/dsp16xx.h: Ditto.
25140         * config/fx80/fx80.h: Ditto.
25141         * config/gmicro/gmicro.h: Ditto.
25142         * config/i370/i370.h: Ditto.
25143         * config/i386/i386.h: Ditto.
25144         * config/m32r/m32r.h: Ditto.
25145         * config/m68k/m68k.h: Ditto.
25146         * config/m88k/m88k.h: Ditto.
25147         * config/mips/mips.h: Ditto.
25148         * config/pa/pa.h: Ditto.
25149         * config/pyr/pyr.h: Ditto.
25150         * config/tahoe/tahoe.h: Ditto.
25151         * config/we32k/we32k.h: Ditto.
25152
25153         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25154         based on arch size.
25155
25156         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25157
25158         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25159         from comment.
25160
25161         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25162
25163 1999-08-02  Richard Henderson  <rth@cygnus.com>
25164
25165         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
25166         for the register spill block.
25167         (m32r_va_arg): New.
25168         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
25169         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
25170
25171         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
25172         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
25173         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
25174
25175 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25176
25177         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
25178         MAX_WCHAR_TYPE defined in sparc.h.
25179         * config/sparc/linuxaout.h: Likewise.
25180         * config/sparc/linux64.h: Likewise.
25181         Also default to -mvis if CPU is UltraSPARC.
25182
25183 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25184
25185         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
25186         (RTX_OK_FOR_OLO10): Likewise.
25187         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
25188         %lo(), allow it in addresses...
25189         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
25190         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
25191         does not make sense.
25192         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
25193         (sparc_output_scratch_registers): New function.
25194         (output_function_prologue, sparc_flat_output_function_prologue): Use
25195         it.
25196         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
25197         defined.
25198         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
25199         * configure.in: Add check for .register pseudo-op support in as and
25200         check for offsetable %lo().
25201         * acconfig.h: Add templates for the above checks.
25202         * configure: Regenerate.
25203
25204 1999-08-02  Richard Henderson  <rth@cygnus.com>
25205
25206         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
25207         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
25208         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
25209
25210 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25211
25212         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25213         reg_biv_class.
25214
25215 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25216
25217         * config/float-sparc.h: New file.
25218         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
25219         sparc-*-linux-gnu and sparc64-*-linux*.
25220
25221 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25222
25223         * rs6000.c (rs6000_va_list): Type is an array.
25224         (rs6000_va_start): Don't doubly adjust for varargs.
25225         (rs6000_va_arg): Evaluate long long GPR adjustment.
25226
25227 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
25228
25229         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
25230         -maix64 and -maix32.
25231         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
25232         LINK_SPEC): Change appropriately.
25233         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
25234         (u_short_cint_operand): Likewise.
25235         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
25236         for 64-bit hosts.
25237         * rs6000/t-aix43 (MULTILIB): Change to -m64.
25238
25239         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
25240
25241 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
25242
25243         * rs6000/rs6000.c (num_insns_constant_wide): Correct
25244         for type promotion.
25245         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25246         (non_add_cint_operand): Likewise.
25247         (logical_operand): Likewise.
25248         (non_logical_cint_operand): Likewise.
25249         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25250         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25251         (rs6000_select_rtx_section): Suppress warning.
25252         (small_data_operand): Suppress warning.
25253         (rs6000_got_register): Suppress warning.
25254         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25255         type, so `J' is generally the wrong constraint for a SImode value;
25256         use `L' instead.
25257         (andsi3_internal2): Likewise.
25258         (andsi3_internal3): Likewise.
25259         (iorsi3_internal1): Likewise.
25260         (xorsi3_internal1): Likewise.
25261         (movsi): Likewise.
25262         (movsf_softfloat): Likewise.
25263         (scc insns): Likewise.
25264         (movsi+2): Preserve sign bits of SImode constant.
25265         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25266         (movdf+1): Sign-extend properly.
25267         (movdi_32+1): Sign-extend properly.
25268         (scc insns): Sign-extend properly.
25269
25270         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25271         K, L, and T.
25272
25273 1999-08-02  Richard Henderson  <rth@cygnus.com>
25274
25275         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25276         -mcpu parsing code.
25277         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25278         * alpha.md (all fp insns): Likewise.
25279
25280 1999-08-02  Nick Clifton  <nickc@cygnus.com>
25281
25282         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25283         already defined.
25284
25285 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
25286
25287         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
25288         pic_load_label generator directly.
25289         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
25290         No longer a named pattern.
25291
25292 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
25293
25294         * explow.c (force_reg): Call force_operand if X does not
25295         satisfy general_operand.
25296
25297 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
25298
25299         * fix-header.c (main): When testing for CONTINUED, use string
25300         equality, not pointer equality.
25301
25302 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
25303
25304         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25305
25306 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
25307
25308         * cse.c (cse_insn): Fix loop which deletes insns after a jump
25309         that has become an unconditional jump.
25310
25311         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25312         (output_function_epilogue): Similarly.
25313
25314 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25315
25316         * tree.h (init_dummy_function_start): Declare.
25317
25318 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25319
25320         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25321         last_expr_type, last_expr_value, block_start_count, block_stack,
25322         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25323         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25324         dynamically in stmt elt of struct function for each function.
25325         (struct nesting): Rename function_call_count elt to n_function_calls,
25326         target_temp_slot_level to block_target_temp_slot_level.  All users
25327         changed.
25328         (struct stmt_status): New structure definition.
25329         Add many accessor macros for stmt_status elements which previously
25330         were global variables.
25331         (init_stmt_for_function): Allocate stmt elt for current_function.
25332         Reflect that block_start_count was renamed to
25333         current_block_start_count.
25334         (save_stmt_status, restore_stmt_status): Delete functions.
25335         (preserve_subexpressions_p): Don't access loop_stack when outside
25336         a function.
25337         (expand_start_bindings): Reflect that block_start_count was renamed to
25338         current_block_start_count.
25339         (expand_fixup): Likewise.
25340         (expand_decl): Don't access block_stack when outside a function.
25341         (expand_decl_cleanup): Likewise.
25342         (expand_dcc_cleanup): Likewise.
25343         (expand_dhc_cleanup): Likewise.
25344         (expand_anon_union_decl): Likewise.
25345         (set_file_and_line_for_stmt): New function.
25346         (in_control_zone_p): New function.
25347
25348         * function.h (struct function): Add new elt stmt.
25349         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25350         case_stack, nesting_stack, nesting_depth, block_start_count,
25351         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25352         emit_lineno, goto_fixup_chain.
25353         (save_eh_status, restore_eh_status, save_stmt_status,
25354         restore_stmt_status): Delete declarations.
25355         * function.c (push_function_context_to): Don't call save_stmt_status.
25356         (pop_function_context_to): Don't call restore_stmt_status.
25357         * tree.h (in_control_zone_p): Declare.
25358         * rtl.h (set_file_and_line_for_stmt): Declare.
25359
25360         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25361         call set_file_and_line_for_stmt.
25362
25363 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
25364
25365         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25366         Also update copyright.
25367
25368 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25369
25370         * c-pragma.c: Don't include "except.h".
25371         * emit-rtl.c: Likewise.
25372         * stor-layout.c: Likewise.
25373         * tree.c: Likewise.
25374         * varasm.c: Likewise.
25375
25376         * flow.c: Include "function.h".
25377         * tree.h (init_dummy_function_start): Declare new function.
25378
25379         * except.h (struct eh_status): New structure.
25380         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25381         been included.
25382         (eh_return_stub_label, ehstack, catchstack, ehqueue,
25383         catch_clauses, false_label_stack, caught_return_label_stack,
25384         protect_list, current_function_ehc): Add accessor macros for the
25385         corresponding fields in current_function->eh; delete declarations
25386         for all items that used to be declared here.
25387         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25388         catch_clauses, false_label_stack, caught_return_label_stack,
25389         protect_list, current_function_ehc): Delete variables.
25390         (init_eh_for_function): Allocate current_function->eh.
25391         (save_eh_status, restore_eh_status): Delete functions.
25392
25393         * function.h (struct function): Add fields next_global and eh.
25394         Delete all exception handling related fields.
25395         * function.c (current_function): New variable.
25396         (all_functions): New variable.
25397         (push_function_context_to): Don't allocate a struct function,
25398         use current_function instead.  Call init_dummy_function_start when
25399         outside a function.  Clear current_function before returning.
25400         (pop_function_context_from): Restore current_function.
25401         Don't free the restored struct function.
25402         (prepare_function_start): New function.
25403         (init_dummy_function_start): New function.
25404         (init_function_start): Break out some code into prepare_function_start
25405         and call it here.
25406
25407         * stmt.c (save_stmt_status): Don't call save_eh_status.
25408         (restore_stmt_status): Don't call restore_eh_status.
25409
25410         * Makefile.in: Update dependencies.
25411
25412 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
25413
25414         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25415         of depending on a magic constant value.  Update comments.
25416         (hppa_expand_prologue): Similarly.
25417
25418         * pa.md (reload_indi, reload_outdi): Allow any register for the
25419         original reload register.
25420
25421 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
25422
25423         * cccp.c (print_help): Change marcos to macros.
25424
25425 1999-07-30  Richard Henderson  <rth@cygnus.com>
25426
25427         * c-typeck.c (initializer_constant_valid_p): Move ...
25428         * c-common.c (initializer_constant_valid_p): ... here.  Use
25429         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
25430         of label addresses.
25431         * c-common.h (initializer_constant_valid_p): Declare.
25432         * c-tree.h (initializer_constant_valid_p): Remove.
25433
25434 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
25435
25436         * config/i386/sol2-c1.asm: Align the stack.
25437         * config/i386/sol2-gc1.asm: Likewise.
25438
25439 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
25440
25441         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25442         -Asparclite for sparc86x.
25443         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25444         sparc86x.
25445         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25446
25447 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25448
25449         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25450         the user if using the non-default arch size in BI_ARCH configuration.
25451         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25452
25453         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25454         Fix patterns so that they actually match.
25455         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25456         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25457         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25458         TARGET_HARD_MUL32.
25459         (mulsidi3): Reflect this in the expand.
25460         (smulsi3_highpart): Only on TARGET_ARCH32.
25461         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25462         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25463         (umulsidi3): Reflect this in the expand.
25464         (umulsi3_highpart): Only on TARGET_ARCH32.
25465         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25466         don't require g0 to be zero.
25467         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25468         ({,u}divsi3): New expands.
25469         ({,u}divsi3_sp64): New patterns.
25470         (after lshrdi3_v8plus): Four new patterns to help combiner
25471         optimizing nested mixed mode shifts.
25472
25473         * config/sparc/sparc.c (sparc_override_options): Use deprecated
25474         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25475         speed things up. Don't use them by default on plain v9 in 64bit
25476         mode, according to what SPAMv9 sais.
25477
25478         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25479         top 32 bits of %[og][0-7] in signal handlers.
25480         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25481
25482 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
25483
25484         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25485         (ashlsi3): Corresponding changes.
25486
25487         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25488
25489 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
25490
25491         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25492
25493 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25494
25495         * arm.h (Hint): Delete macro.
25496         Substitute HOST_WIDE_INT for Hint in some prototypes.
25497         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25498
25499 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
25500
25501         * builtins.c (expand_builtin_setjmp): Use force_operand to
25502         make sure that the buffer address is in a suitable form to be
25503         passed to force_reg.
25504
25505 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
25506
25507         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25508         them here.
25509
25510 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
25511
25512         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
25513         proper mode in the condition string.
25514         (icacheflush, dcacheflush): Remove modes from match_operands.
25515
25516         * pa.c (emit_move_sequence): Always convert scratch_reg to the
25517         proper mode before using it.
25518
25519         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25520         pair.
25521
25522         * pa.c (store_reg): Do not call add_high_const generator directly.
25523         (load_reg, set_reg_plus_d): Likewise.
25524         * pa.md (add_high_const): No longer a named pattern.
25525
25526         * pa.c (legitimize_address): Consistently use Pmode rather than
25527         SImode.  Do not call gen_pic2_highpart directly anymore.
25528         * pa.md (pic2_highpart): No longer a named pattern.
25529         (pic2_lo_sum): Similarly.  Reformat to make more readable.
25530
25531         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25532         needed.
25533
25534         * README: Update.
25535
25536 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25537
25538         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25539
25540 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
25541
25542         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
25543         and tag the spill mems.
25544         (hppa_va_start): New.
25545         (hppa_va_arg): New.
25546         * pa.h (EXPAND_BUILTIN_VA_START): New.
25547         (EXPAND_BUILTIN_VA_ARG): New.
25548
25549 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
25550
25551         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25552         and tag the spill mems.
25553         (mn10300_va_start): New.
25554         (mn10300_va_arg): New.
25555         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25556         (EXPAND_BUILTIN_VA_ARG): New.
25557
25558 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
25559
25560         * mn10200.c (mn10200_va_arg): New.
25561         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25562
25563 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
25564
25565         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25566         rather than play with TREE_INT_CST_LOW.
25567
25568 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
25569
25570         * config/arm/telf.h: Include dbxelf.h.
25571         (CPP_PREDEFINES): Only define if not already defined.
25572         (ASM_IDENTIFY_GCC): Likewise.
25573         (SUBTARGET_EXTRA_SECTIONS): Likewise.
25574         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25575         * config/arm/thumb.h (LINK_SPEC): Only define if not already
25576         defined.
25577         (DBX_DEBUGGING_INFO): Don't define.
25578         * config/arm/linux-telf.h: New file.
25579         * config/arm/linux-tgas.h: New file.
25580         * config/arm/t-thumb-linux: New file.
25581         * config/arm/uclinux-elf.h: New file.
25582         * config/arm/uclinux-telf.h: New file.
25583         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25584         thumb-*-uclinux): New targets.
25585         * configure: Regenerate.
25586
25587 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
25588
25589         * pa.md (post_store, pre_load): New expanders.
25590         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
25591         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
25592         need to directly generate RTL for them.
25593         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
25594         changes.
25595
25596 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
25597
25598         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
25599         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
25600         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
25601         (secndary_reload_class): Make TARGET_ELF conditional compile.
25602         (print_operand_address): Similar.
25603         (output_toc): Print all values as hex.
25604         (get_issue_rate): Rearrange and add RS64A and PPC630.
25605         * rs6000.h (processor_type): Add RS64A and PPC630.
25606         (PROCESSOR_POWERPC64): New.
25607         (PROMOTE_MODE): Use word_mode.
25608         (RTX_COSTS): Add RS64A and PPC630.
25609         * rs6000.md (scheduling information): Add lmul and ldiv
25610         representing 64-bit integer multiply and divide.  Add rs64a and
25611         PPC630 information.
25612         (ashldi3): Add support for "rldic" instruction.
25613         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
25614
25615 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
25616
25617         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
25618         instead of V8 for sparclite86x in cpu_table.
25619
25620 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25621
25622         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
25623         output_file_directive.
25624
25625 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
25626
25627         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
25628         tree for op1, not the rtl.
25629
25630 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
25631
25632         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
25633         to m88k_va_start, leaving only the register spill.
25634         (m88k_build_va_list): New.
25635         (m88k_va_start): New.
25636         (m88k_va_arg): New.
25637         * m88k.h (BUILD_VA_LIST_TYPE): New.
25638         (EXPAND_BUILTIN_VA_START): New.
25639         (EXPAND_BUILTIN_VA_ARG): New.
25640
25641 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
25642
25643         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
25644         Rename from expand_builtin_saveregs.
25645         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
25646
25647 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
25648
25649         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
25650         for the register spill block.
25651         (i960_build_va_list): New.
25652         (i960_va_start): New.
25653         (i960_va_arg): New.
25654         * i960.h (BUILD_VA_LIST_TYPE): New.
25655         (EXPAND_BUILTIN_VA_START): New.
25656         (EXPAND_BUILTIN_VA_ARG): New.
25657         * i960.md (store_multiple): Use change_address on individul mems.
25658
25659 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
25660
25661         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
25662         an ARRAY_TYPE.
25663         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
25664         (expand_builtin_va_end): Evaluate arg for side effects.
25665         * c-common.c (c_common_nodes_and_builtins): Construct a
25666         va_list_arg_type_node to handle array decomposition to pointer.
25667
25668 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
25669
25670         * except.c (st_dynamic_cleanup): Use force_operand on the
25671         buffer's address.
25672
25673 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
25674
25675         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
25676         * c4x.c (c4x_va_arg): New.
25677
25678 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
25679
25680         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
25681         has manual_pop set.
25682
25683 1999-07-26  Nathan Sidwell  <nathan@acm.org>
25684
25685         * eh-common.h (__eh_matcher): Prototype correctly.
25686
25687 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
25688
25689         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
25690         (TARGET_SINGLE_PIC_BASE): Likewise.
25691         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
25692         definitions.
25693         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
25694         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
25695         (TARGET_OPTIONS): Add -mpic-register=N.
25696         (OUTPUT_INT_ADDR_CONST): New macro.
25697         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
25698         LEGITIMATE_PIC_OPERAND_P): Likewise.
25699         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
25700         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
25701         output_addr_const directly.
25702         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
25703         ARM port.
25704         (thumb_pic_register, thumb_pic_register_string): Declare.
25705
25706         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
25707         from arm.c.
25708         (label_mentioned_p): New function: Imported from arm.c.
25709         (legitimize_pic_address): New function: Imported from arm.c.
25710         (is_pic):New function: Imported from arm.c.
25711         (thumb_finalize_pic):New function: Imported from arm.c.
25712         (add_constant): Cope with PIC constants.
25713         (fixit): Cope with PIC constants.
25714         (output_return): Do not treat the PIC register as live if
25715         TARGET_SINGLE_PIC_BASE is true.
25716         (thumb_function_prologue): Do not treat the PIC register as live if
25717         TARGET_SINGLE_PIC_BASE is true.
25718         (thumb_expand_prologue): Do not treat the PIC register as live if
25719         TARGET_SINGLE_PIC_BASE is true.
25720         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
25721         TARGET_SINGLE_PIC_BASE is true.
25722         (thumb_print_operand): Accept '|'.
25723         (thumb_override_options): Process PIC options.
25724
25725         * config/arm/thumb.md (movsi): Support PIC.
25726         (call_insn): Change "i" constraint to "X".
25727         (call_value_insn): Likewise.
25728         (consttable_4, consttable_8, consttable_end): Set and clear
25729         "making_const_table" as appropriate.
25730         (pic_load_addr, pic_add_dot_plus_four): New insns.
25731
25732         * invoke.texi (Thumb Options): Fix spelling.  Document new
25733         options -msingle-pic-base and -mpic-register=.
25734
25735 1999-07-26  Andrew Haley  <aph@cygnus.com>
25736
25737         * config/m32r/initfini.c (__init): Use a full word immediate for
25738         __fini: this allows it to be placed in any memory region.
25739
25740         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
25741         -mmodel=medium.  This is OK for all memory models.
25742
25743 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
25744
25745         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
25746         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
25747
25748 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
25749
25750         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
25751         defined.
25752
25753         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
25754
25755 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
25756
25757         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
25758         (BUILD_VA_LIST_TYPE): New.
25759         (EXPAND_BUILTIN_VA_START): New.
25760         (EXPAND_BUILTIN_VA_ARG): New.
25761         * i860.c (output_delayed_branch): Disable.
25762         (output_delay_insn): Likewise.
25763         (i860_saveregs): New.
25764         (i860_build_va_list): New.
25765         (i860_va_start): New.
25766         (i860_va_arg): New.
25767         * i860.md: Disable all peepholes using output_delayed_branch.
25768         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
25769
25770 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
25771
25772         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
25773         (BUILD_VA_LIST_TYPE): New.
25774         (EXPAND_BUILTIN_VA_START): New.
25775         (EXPAND_BUILTIN_VA_ARG): New.
25776         * clipper.c (clipper_builtin_saveregs): Only dump registers.
25777         Return the address of the save area.
25778         (clipper_build_va_list): New.
25779         (clipper_va_start): New.
25780         (clipper_va_arg): New.
25781
25782 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
25783
25784         * arc.h (EXPAND_BUILTIN_VA_START): New.
25785         (EXPAND_BUILTIN_VA_ARG): New.
25786         * arc.c (arc_setup_incoming_varargs): Set alias set of
25787         varargs save area.
25788         (arc_va_start): New.
25789         (arc_va_arg): New.
25790
25791 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
25792
25793         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
25794         (BUILD_VA_LIST_TYPE): New.
25795         (EXPAND_BUILTIN_VA_START): New.
25796         (EXPAND_BUILTIN_VA_ARG): New.
25797         * alpha.c (alpha_builtin_saveregs): Delete.
25798         (alpha_build_va_list): New.
25799         (alpha_va_start): New.
25800         (alpha_va_arg): New.
25801
25802 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
25803
25804         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
25805         column zero.
25806         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
25807         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
25808
25809         * gcc.texi: More changes related to list conversion.
25810         * invoke.texi: Likewise.
25811
25812 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
25813
25814         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
25815         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
25816         (expand_builtin_next_arg): Accept ARGLIST not EXP.
25817         (stabilize_va_list): New function.
25818         (std_expand_builtin_va_start): New function.
25819         (expand_builtin_va_start): New function.
25820         (get_varargs_alias_set): New function.
25821         (std_expand_builtin_va_arg): New function.
25822         (expand_builtin_va_arg): New function.
25823         (expand_builtin_va_end): New function.
25824         (expand_builtin_va_copy): New function.
25825         (expand_builtin): Call them.
25826         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
25827         __builtin_{varargs_start,stdarg_start,end,copy}.
25828         (build_va_arg): New function.
25829         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
25830         (build_va_arg): Declare.
25831         * c-decl.c (ptr_type_node, va_list_type_node): New.
25832         * c-parse.gperf (__builtin_va_arg): New.
25833         * c-parse.in (VA_ARG): New token.
25834         (unary_expr): Recognize it.
25835         * expr.c (expand_expr): Expand VA_ARG_EXPR.
25836         * expr.h (std_expand_builtin_va_start): Declare.
25837         (std_expand_builtin_va_arg): Declare.
25838         (expand_builtin_va_arg): Declare.
25839         (get_varargs_alias_set): Declare.
25840         * tree.def (VA_ARG_EXPR): New.
25841         * tree.h (BUILT_IN_VARARGS_START): New.
25842         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
25843         (ptr_type_node, va_list_type_node): Declare.
25844         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
25845         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
25846         * m88k.h, m88k.c: Likewise.
25847         * mn10300.h, mn10300.c: Likewise.
25848         * pa.h, pa.c: Likewise.
25849         * rs6000.h, rs6000.c: Likewise.
25850         * sh.h, sh.c: Likewise.
25851         * sparc.h, sparc.c: Likewise.
25852
25853         * emit-rtl.c (operand_subword): Copy alias set.
25854         (change_address): Likewise.
25855
25856 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
25857
25858         * pa.c (compute_frame_size): Scan all the used callee saved registers,
25859         not just the first one.
25860
25861 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
25862
25863         * config/arm/arm.h (TARGET_SWITCHES): Add
25864         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
25865         (TARGET_OPTIONS): Add -mpic-register=.
25866         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
25867         (arm_pic_register_string): Declare.
25868         (NEED_PLT_GOT): Delete, replace with ...
25869         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
25870         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
25871         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
25872         * config/arm/arm.c (arm_override_options): Add new option
25873         -mpic-register=N.
25874         (arm_pic_register_string): New variable.
25875         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
25876         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
25877         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
25878         (output_return_instruction): Likewise.
25879         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
25880         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
25881         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
25882
25883         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
25884         mention of -msched-prolog.  Document new options -msingle-pic-base
25885         and -mpic-register=.
25886
25887 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
25888
25889         * haifa-sched.c (reemit_notes): Tidy.
25890         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
25891         haifa's routine.
25892
25893 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
25894
25895         * explow.c (trunc_int_for_mode): New function.
25896         (plus_constant_wide): Use it.
25897         * combine.c (simplify_and_const_int): Likewise.
25898         (merge_outer_ops): Likewise.
25899         (simplify_shift_const): Likewise.
25900         * cse.c (simplify_unary_operation): Likewise.
25901         (simplify_binary_operation): Likewise.
25902         * emit-rtl.c (operand_subword): Likewise.
25903         * rtl.h: Declare it.
25904
25905 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25906
25907         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
25908         (use NUM_REGS instead of NUM_INTS).
25909
25910 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25911
25912         * builtins.c: New file.
25913         * expr.c (saveregs_value, apply_args_value):  Delete definition,
25914         moved into builtins.c.
25915         (string_constant): No longer static.
25916         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
25917         apply_args_size, apply_result_size, result_vector,
25918         expand_builtin_apply_args, expand_builtin_apply,
25919         expand_builtin_return): Delete functions, moved into builtins.c.
25920         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
25921         * expr.h (saveregs_value, apply_args_value): Declare variables.
25922         (expand_builtin, string_constant): Declare functions.
25923         * Makefile.in: Update to build builtin.o.
25924
25925 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
25926
25927         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
25928         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
25929         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
25930         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
25931         false.
25932         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
25933         Define to zero.
25934
25935 1999-07-21  Michael Meissner  <meissner@cygnus.com>
25936
25937         * print-rtl.c (print_rtx): Print the names of the virtual
25938         registers.
25939
25940 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
25941
25942         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
25943         introduced in previous delta.
25944
25945 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25946
25947         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
25948         to avoid name clash.
25949
25950 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25951
25952         * c-lex.c (yylex) : Correct the test for overflow when lexing
25953         integer literals.
25954
25955 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
25956
25957         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
25958         (adjust_priority): Always call ADJUST_PRIORITY.
25959         (schedule_insn): Only put insns into the ready at cost 0.
25960         (schedule_block): Remove redundant initial sort.  Give clock_var
25961         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
25962         is not 0.
25963         * tm.texi (MD_SCHED_REORDER): Update docs.
25964
25965         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
25966         * sparc.c (ultra_reorder_called_this_block): Delete.
25967         (ultrasparc_sched_init): Don't set it.
25968         (ultrasparc_sched_reorder): Don't check it.
25969
25970 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
25971
25972         * rs6000.h (struct rs6000_args): Add sysv_gregno.
25973         * rs6000.c (init_cumulative_args): Init sysv_gregno.
25974         (function_arg_boundary): Align DFmode.
25975         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
25976         to get fp reg and stack overflow correct.
25977         (function_arg): Likewise.
25978         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
25979         (setup_incoming_varargs): Restructure for ABI_V4; use
25980         function_arg_advance to skip final named argument.
25981         (expand_builtin_saveregs): Properly unskip the last integer arg
25982         when doing varargs.  Adjust overflow location calculation.
25983
25984         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
25985         explicitly unsigned.
25986         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
25987         (__VA_GP_REGSAVE): Similarly.
25988         (__va_longlong_p): Delete.
25989         (__va_arg_type_violation): New declaration.
25990         (va_arg): Restructure.  Flag promotion errors.  Align double.
25991         TFmode passed by reference.
25992
25993         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
25994         in the HOST_BITS_PER_WIDE_INT > 32 case.
25995
25996 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25997
25998         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
25999
26000 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
26001
26002         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
26003         * toplev.c (documented_lang_options): Add -fpreprocessed.
26004         * cpplib.h (struct cpp_buffer): Add preprocessed.
26005         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
26006         (cpp_start_read): Don't expand macros or emit an initial #line
26007         directive if -fpreprocessed.
26008
26009 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
26010
26011         * cpplib.h (struct cpp_buffer): Added manual_pop for
26012         better C++ tokenization.
26013         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
26014         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
26015         * c-common.c (cpp_token): Make non-static.
26016
26017 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26018
26019         * c-common.h: New file.
26020         * c-common.c (permanent_obstack): Delete unused declaration.
26021         (c_global_trees): New array.
26022         (c_common_nodes_and_builtins): New function; split off common code
26023         from init_decl_processing in both c-decl.c and cp/decl.c.
26024         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
26025         c_global_trees and accessor macros defined in c-common.h.
26026         Include c-common.h.
26027         * c-decl.c: Delete definitions for tree nodes that were replaced by
26028         c_global_trees.
26029         (init_decl_processing): Build void_list_node.
26030         Call c_common_nodes_and_builtins; delete code to generate the common
26031         builtins here.
26032         * objc/objc-act.c (build_module_descriptor): Rename variable
26033         void_list_node to avoid clash with c-common.h.
26034
26035         * Makefile.in: Update dependencies.
26036         * objc/Make-lang.in: Likewise.
26037
26038 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
26039
26040         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26041         (UNIQUE_SECTION_P): Likewise.
26042         (UNIQUE_SECTION): Likewise.
26043
26044 1999-07-19  Linas Vepstas  <linas@linas.org>
26045
26046         * config/i370/README: New file.
26047         * config/i370/linux.h: New file.
26048         * config/i370/mvs.h: New file.
26049         * config/i370/oe.h: New file.
26050         * config/i370/t-linux: New file.
26051         * config/i370/t-mvs: New file.
26052         * config/i370/t-oe: New file.
26053         * config/i370/x-oe: New file.
26054         * config/i370/xm-linux.h: New file.
26055         * config/i370/xm-mvs.h: New file.
26056         * config/i370/xm-oe.h: New file.
26057
26058         * i370.c (label_node_t): Add first_ref_page, label_addr,
26059         label_first_ref, label_last_ref members.
26060         (mvs_need_base_reload): Renamed from mvs_label_emitted.
26061         (MAX_MVS_LABEL_SIZE): Define.
26062         (MAX_LONG_LABEL_SIZE): Define.
26063         (alias_node_t, alias_anchor, alias_number): New.
26064         (mvs_function_table): Reorder for EBCDIC.
26065         (ascebc, ebcasc): Unconditionally define.
26066         (i370_branch_dest, i370_branch_length): New functions.
26067         (i370_short_branch, i370_label_scan): New functions.
26068         (mvs_get_label): Renamed from mvs_add_label.  Search for
26069         an existing label before creating a new one.
26070         (mvs_add_label): New function.
26071         (mvs_get_label_page): New function.
26072         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
26073         over the entire list.
26074         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26075         (mvs_check_page) [TARGET_ELF_ABI]: New function.
26076         (mvs_add_alias, mvs_need_alias): New functions.
26077         (mvs_get_alias, mvs_check_alias): New functions.
26078         (handle_pragma): New function.
26079         (mvs_function_check): New function.
26080         (unsigned_jump_follows_p): Search harder.
26081         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
26082         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26083         * i370.h (TARGET_VERSION): Delete.
26084         (CPP_SPEC, CPP_PREDEFINES): Delete.
26085         (mvs_label_emitted): Delete.
26086         (TARGET_EBCDIC): Delete.
26087         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26088         (HANDLE_PRAGMA): Define.
26089         (HARD_REGNO_NREGS): Handle complex modes.
26090         (HARD_REGNO_MODE_OK): Likewise.
26091         (CLASS_MAX_NREGS): Likewise.
26092         (RET_REG): Likewise.
26093         (EXTRA_CONSTRAINT): Define.
26094         (RETURN_IN_MEMORY): True for DImode.
26095         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26096         (FUNCTION_PROFILER): Delete.
26097         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26098         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26099         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26100         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26101         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26102         (ASM_FILE_START): Add "RMODE ANY".
26103         (ASM_OUTPUT_EXTERNAL): Check for aliases.
26104         (ASM_GLOBALIZE_LABEL): Likewise.
26105         (ASM_OUTPUT_LABELREF): Likewise.
26106         (ASM_OUTPUT_COMMON): Likewise.
26107         (PRINT_OPERAND): Handle 'K', 'W', default.
26108         (PRINT_OPERAND_ADDRESS): New.
26109         (Lots of defines): Add support for TARGET_ELF_ABI.
26110         * i370.md (attr length): New.  Define for all patterns.
26111         (*): Lots of tweeks to assembly output and constraints.
26112
26113 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
26114
26115         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26116         Disable patterns performing SImode comparisons with SImode values
26117         if TARGET_POWERPC64 and instruction does not sign-extend or does
26118         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26119         differ for signed quantities.
26120         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26121         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26122         (decrement_and_branch_on_count): Add 64-bit variant.
26123
26124 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26125
26126         * final.c (output_asm_insn): When searching for the matching string
26127         for a given dialect, don't run past the end of the list of
26128         alternatives if there are fewer alternatives in the template than
26129         dialects.
26130
26131 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
26132
26133         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26134         Removed paragraph about compression of files and size limitation,
26135         duplicated in the FAQ.  Use gcc-patches for posting patches.
26136         * gcc.c (main): Updated URL with bug reporting instructions to
26137         gcc.gnu.org.  Removed e-mail address.
26138         * system.h (abort): Likewise.
26139
26140 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26141
26142         * Makefile.in (stmp-multilib-sub): Make the files extracted
26143         from $(LIBGCC1) writable.
26144
26145 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
26146
26147         * config/arm/aout.h: Reformat for improved readability.
26148
26149         * config/arm/arm.h: Reformat for improved readability.
26150         Replace uses of fprintf with asm_fprintf where appropriate.
26151         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
26152         function declaration assembler actions.
26153         (NUM_INTS): New macro: Convert from bytes to words.
26154         (NUM_REGS): New macro: Compute number of registers required to
26155         hold a quanitity of tyep MODE.
26156         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26157         types.
26158         (NUM_ARG_REGS): New macro: The number of argument registers
26159         available.
26160         (ARG_REGISTER): New macro: Compute the register number of the Nth
26161         argument register.
26162         (LAST_ARG_REGNUM): New macro: The number of the last argument
26163         register.
26164         (SP_REGNUM): New macro: Register number of the stack pointer.
26165         (FP_REGNUM): New macro: Register number of the frame pointer.
26166         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
26167         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
26168         CUMULATIVE_ARGS so that it counts registers not bytes.
26169
26170         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
26171         TARGET_INTERWORK.
26172         Replace uses of fprintf with asm_fprintf where appropriate.
26173         (output_ascii_pseudo_op): Replace with version from thumb.c
26174
26175         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
26176
26177         * config/arm/elf.h (CPP_PREDEFINES): Replace with
26178         SUBTARGET_CPP_SPEC.
26179         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
26180         (ASM_FILE_START): Emit ASM_APP_OFF.
26181
26182 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
26183
26184         * pa.c (compute_frame_size): Round frame according to
26185         STACK_BOUNDARY rather than a hardwired value.
26186
26187         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
26188
26189         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
26190         of "1".
26191         * configure: Rebuilt.
26192
26193         * configure.in (hppa*-*-linux*): New configuration.
26194         * configure: Rebuilt.
26195         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
26196         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
26197         * pa/pa-linux.h: New file.
26198         * pa/t-linux: New file.
26199         * pa/xm-linux.h: New file.
26200
26201         * pa.c (hppa_legitimize_address): Change references from SImode to
26202         either Pmode or word_mode as appropriate.
26203         (emit_move_sequence, store_reg, load_reg): Likewise.
26204         (set_reg_plus_d, hppa_expand_prologue): Likewise.
26205         (output_mul_insn): Likewise.
26206         * pa.h (PROMOTE_MODE): Likewise.
26207         (INITIALZE_TRAMPOLINE): Likewise.
26208         (Pmode): Define to word_mode.
26209
26210         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
26211         value of 4.  Allocate 8 bytes for each FP register save.
26212         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
26213         value of 4.
26214         (hppa_expand_prologue): Likewise.
26215         * pa.h (PROMOTE_MODE): Likewise.
26216         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
26217         (FUNCTION_ARG_BOUNDARY): Likewise.
26218
26219         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
26220
26221         * pa.c (out_of_line_prologue_epilogue): Delete.
26222         (override_options): Remove -mspace related code.
26223         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
26224         (compute_frame_size): Only allocate space for register that
26225         actually need to be saved.
26226         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
26227         (TARGET_SWITCHES): Remove -mspace, -mno-space
26228         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
26229         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
26230         * pa/ee.asm, pa/ee_fp.asm: Delete.
26231
26232         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
26233
26234         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
26235         directive in column zero.
26236
26237 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
26238
26239         * m68k.c (output_function_prologue): Fix computation of save mask
26240         when generating PIC code.
26241
26242 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
26243
26244         * tree.c (build_type_attribute_variant): Move current_obstack restore
26245         after build_qualified_type call.
26246
26247 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
26248
26249         * configure.in: Use t-iris6, even with GNU LD.
26250         * config/mips/iris6gld.h: Fix typo in linker spec.
26251         * config/mips/t-iris6gld: Remove.
26252
26253 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
26254
26255         * rs6000.md (insv, extzv): Remove SImode dependence in named
26256         patterns.  Explicitly generate DImode RTL if PowerPC64 and
26257         operand is DImode.
26258         (insvdi): Reverse start and size in instruction template.
26259
26260 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
26261
26262         * invoke.texi: Typo fixes.
26263
26264 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
26265
26266         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26267         handle at this time instead of silently generating incorrect code.
26268         (gen_imagpart): Likewise.
26269
26270         * reload.c (find_reloads): Emit a USE for a pseudo register without
26271         a hard register if we could not create an optional reload for the
26272         pseudo.
26273
26274 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26275
26276         * c-typeck.c (output_init_element, process_init_element):
26277         When advancing constructor_unfilled_fields for a RECORD_TYPE,
26278         check for nameless bit fields.
26279
26280 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
26281
26282         * regclass.c (scan_one_insn): Notice subregs that change the
26283         size of their operand.
26284         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26285
26286 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
26287
26288         * configure.in (alpha*-*-*): Include alpha/t-ieee.
26289         * configure: Rebuilt.
26290         * alpha/t-ieee: New file.
26291
26292 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
26293
26294         * rs6000.c (find_addr_reg): Do not select r0 as an address
26295         register.
26296
26297 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
26298
26299         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26300
26301 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
26302
26303         * rs6000.md (movsf): Do not force easy FP constants into memory.
26304
26305         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26306         immed_double_const to ensure they are properly truncated then
26307         sign extended.
26308
26309 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26310
26311         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26312         always unless NO_DEBUG is used.  Compile this code
26313         unconditionally.
26314         (replace_symbols_in_block): Compile it unconditionally.
26315
26316 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
26317
26318         * configure.in (i?86-*-elf*): New target.
26319         * configure: Rebuilt.
26320         * i386/i386elf.h, i386/t-i386elf: New files.
26321
26322 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
26323
26324         * toplev.c (main): Don't complain about saying -gdwarf.
26325         (rest_of_compilation): Remove redundant code.
26326
26327 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
26328
26329         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26330
26331 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
26332
26333         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26334         "Li960R:", to avoid name clash.
26335
26336 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26337
26338         * loop.c (check_dbra_loop): When reversing a loop, delete all
26339         REG_EQUAL notes referencing the reversed biv except those which are
26340         for a giv based on it.
26341
26342 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
26343
26344         * version.c: Drop "gcc-" prefix from version #.
26345
26346 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
26347
26348         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26349         the label if we're being verbose.
26350
26351 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
26352
26353         * m68k.c (output_function_prologue): Add pic register to mask
26354         if live and flag_pic.
26355         (output_function_epilogue): Likewise.
26356
26357 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
26358
26359         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26360         directives in column zero.
26361
26362         * pa/elf.h (ASM_FILE_START): Define.
26363         * pa/som.h (ASM_FILE_START): Include .level directives.
26364         * pa/hpux10.h (ASM_FILE_START): Delete.
26365         * pa/hpux11.h (ASM_FILE_START): Delete.
26366
26367         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26368
26369 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26370
26371         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26372         when reload_out equals reload_in.
26373
26374 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
26375
26376         * invoke.texi (Spec Files): New node: Describe the contents of
26377         spec files.
26378
26379 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
26380
26381         * invoke.texi (DEC Alpha Options): Put @end table at
26382         beginning of line, to avoid confusing texi2html.
26383
26384 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
26385
26386         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26387         introduced in previous delta.
26388
26389 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26390
26391         * reload1.c (gen_reload): When synthesizing a 3 operand add
26392         sequence, improve test for when to reload OP1 into the reload
26393         register instead of OP0.
26394
26395 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
26396
26397         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26398
26399 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
26400
26401         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26402         string literal.
26403
26404 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
26405
26406         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26407         (va_dcl): Use __builtin_va_alist_t.
26408
26409 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
26410
26411         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26412         on the permanent_obstack.
26413         * dwarfout.c (output_type): Likewise.
26414
26415 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26416
26417         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26418         Merged from c-typeck.c and cp/typeck.c.
26419         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26420         Merged into c-common.
26421
26422 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
26423
26424         * c-lex.c (errorcount): Declare it.
26425         (finish_parse): Update errorcount when using CPPLIB.
26426
26427 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
26428
26429         * fixinc/inclhack.def(end_else_label): Double the backslash so
26430         sed gets a chance to see it.
26431         * fixinc/inclhack.sh: regen
26432         * fixinc/fixincl.x: regen
26433
26434 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
26435
26436         Add framework to support armv5 architecture when it becomes
26437         available:
26438
26439         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26440         (arm_arch5): New variable.
26441         (all_architectures): Add armv5 line.
26442         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26443         -march=armv5 is specified on the command line.
26444         (arm_arch5): Export this variable.
26445         * invoke.texi: Document new string accepted by -march= switch for
26446         ARM ports.
26447
26448         * config/arm/arm.h: Replace use of constant 12 as a register
26449         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26450         * config/arm/arm.c: Replace use of constant 12 as a register
26451         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26452
26453         * config/arm/elf.h: Tidy up.
26454         * config/arm/coff.h: Tidy up.
26455
26456 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
26457
26458         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26459         * gcc/config/mips/t-iris6gld: New file.
26460         * gcc/config/mips/iris6gld.h: Likewise.
26461
26462 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26463
26464         * c-decl.c (widest_integer_literal_type_node,
26465         widest_unsigned_literal_type) : New.
26466         (init_decl_processing): Handle/use the two new types.
26467         * c-common.c (type_for_size,type_for_mode) : Same.
26468         * c-lex.c (yylex) : Same.
26469         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26470         Same.
26471         * c-tree.h (widest_integer_literal_type_node,
26472         widest_unsigned_literal_type) : New.
26473
26474 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
26475
26476         * dwarfout.c (field_byte_offset): Correctly compute the object's
26477         byte offset for the first bit of a field which crosses an alignment
26478         boundary on a !BYTES_BIG_ENDIAN target.
26479
26480 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
26481
26482         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26483         ntohs.
26484
26485 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
26486                           Jeff Law <law@cygnus.com>
26487
26488         * ginclude/varargs.h (va_dcl): Use word_mode for type of
26489         __builtin_va_list.
26490
26491         * except.c: Include intl.h.
26492         (expand_eh_return): Set current_function_cannot_inline.
26493         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26494         * function.h (struct function): Add eh_return_stub_label.
26495         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26496         * Makefile.in (except.o): Depend on intl.h.
26497
26498 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
26499
26500         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26501         same as offsettable in cases 1 and 2.
26502
26503 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
26504
26505         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26506         (extlh, extwh): Likewise.
26507
26508 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26509
26510         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26511
26512 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
26513
26514         * configure.in: Add arm-pe and thumb-pe targets.
26515         * configure: Regenerate.
26516
26517         * thumb.c (arm_naked_function_p): New function: Determines if
26518         a function is naked (has no gcc generated prologue/epilogue).
26519         (is_called_in_ARM_mode): Return true if the func has the
26520         interfacearm attribute.
26521         (output_return): Do not generate a return for naked functions.
26522         (thumb_function_prologue): Do not generate a prologue for
26523         naked functions.
26524         (thumb_expand_prologue): Do not generate a prologue for naked
26525         functions.
26526         (thumb_expand_epilogue): Do not generate an epilogue for naked
26527         functions.
26528         (arm_valid_machine_decl_attribute): New function, copied from
26529         arm.c:  Permit naked and interfacearm attributes.
26530
26531         * config/arm/pe.c: New file: Support code for arm-pe target.
26532         * config/arm/pe.h: New file: Header file for arm-pe target.
26533         * config/arm/tpe.h: New file: Header file for thumb-pe target.
26534         * config/arm/t-thumb-pe: New file: Makefile fragment for
26535         thumb-pe target.
26536
26537 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
26538
26539         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26540         -fPIC or -fpic is specified.
26541
26542 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
26543
26544         * expr.c (emit_block_move): Use copy_to_mode_reg for
26545         !TARGET_MEM_FUNCTIONS case too.
26546
26547         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26548         appropriate.
26549         * configure: Rebuilt.
26550         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26551         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
26552         definitions made redundant by dbxelf.h inclusion.  Delete
26553         lots of definitions related to assembly output that are
26554         specific to the SOM object format.
26555         * pa.c (output_function_prologue): Do not emit the function's
26556         name for OBJ_ELF.
26557         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26558         * pa-pro.h: Deleted.
26559         * som.h: New file with SOM specific definitions.
26560         * elf.h: New file with ELF specific definitions.
26561
26562         * elfos.h (const_section): Output a tab before assembler directives.
26563         (ctors_section, dtors_section): Likewise.
26564         (ASM_OUTPUT_SECTION_NAME): Likewise.
26565
26566         * pa/pa1.h: Delete unused file.
26567
26568 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
26569
26570         * configure.in (hppa*-hp-hpux11*): New configuration.
26571         * configure: Rebuilt.
26572         * pa/pa-hpux11.h: New file.
26573         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26574         command line.
26575
26576         * mips.md (leasi, leadi): New patterns.
26577
26578         * expr.c (emit_block_move): Properly handle case where one of the
26579         block move arguments has a queued increment or decrement.
26580         (clear_storage): Similarly.  Fix formatting goof.
26581
26582 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
26583
26584         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26585         semicolon from the BSD VA_LIST replacement expression.
26586
26587         * fixinc/inclhack.sh: regen
26588         * fixinc/fixincl.x: regen
26589
26590         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
26591         now use the fixincl program.
26592
26593 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
26594
26595         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
26596         case.  Also make the PIC register call_used.
26597
26598         * m68k.h (FINALIZE_PIC): Delete.
26599         * m68k.c (finalize_pic): Delete.
26600
26601 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
26602
26603         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
26604         to memory.
26605
26606 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
26607
26608         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
26609
26610 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
26611
26612         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
26613
26614 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
26615
26616         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
26617
26618 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
26619
26620         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
26621
26622 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
26623
26624         * rs6000.c (output_toc): Always use hex values for floating-point
26625         constants.  Store single-precision values in upper-half of TOC
26626         entry in 64-bit mode.
26627         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
26628         to final constraints.
26629         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
26630         (fctiwz): Improve accuracy of RTL for pattern.
26631
26632 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26633
26634         * expr.c (expand_expr): Allow RTL_EXPR's through the
26635         MAX_INTEGER_COMPUTATION_MODE checks.
26636
26637 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
26638
26639         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
26640         such that MASK_SUPPORT_ARCH is not negative.
26641
26642 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
26643
26644         * loop.c (verify_dominator): Properly handle ADDR_VEC and
26645         ADDR_DIFF_VEC insns that appear inside loops.
26646
26647 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
26648                           Jeff Law <law@cygnus.com>
26649
26650         * rs6000.md (movdf_hardfloat32): Revert previous patch.
26651         Handle LO_SUM the same as offsettable in cases 1 and 2.
26652         * rs6000.c (find_addr_reg): Revert previous patch.
26653
26654 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
26655
26656         * system.h (strstr): New external function declaration.
26657         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
26658         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
26659         * config.in, configure: Rebuilt.
26660
26661 1999-06-24  Tom Tromey  <tromey@cygnus.com>
26662
26663         * gcc.c (main): Read user-specified specs files after computing
26664         additional startfile_prefixes.
26665
26666 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
26667
26668         Revert these two patches:
26669
26670         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26671         * loop.c (strength_reduce): When doing biv->giv conversion, update
26672         reg note of NEXT->insn.
26673
26674         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26675         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26676         reg_biv_class.
26677         (recombine_givs): Set ix field after sorting.
26678
26679 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26680
26681         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
26682         for the parts of an UNSPEC / UNSPEC_VOLATILE.
26683
26684 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
26685
26686         *fixinc/inclhack.def:  Add fix development commentary
26687         (read_ret_type): reactivate and add selection clause
26688         (zzz_*): tweak output file name to match what is used in hackshell.tpl
26689         *fixinc/{fixincl.x|inclhack.sh}: regen
26690
26691 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
26692
26693         * expr.c (expand_expr): STRIP_NOPS before checking against
26694         MAX_INTEGER_COMPUTATION_MODE
26695         (check_max_integer_computation_mode): Likewise.
26696
26697 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
26698
26699         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
26700
26701 1999-06-22  Jim Wilson  <wilson@cygnus.com>
26702
26703         * expr.c (store_expr): When target is a promoted subreg, return a
26704         promoted subreg as a result.
26705
26706 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
26707
26708         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
26709         coding standards.
26710         (dwarf2out_define): Mark unused parameters appropriately.
26711         (gen_unspecified_parameters_die): Ditto.
26712         (gen_subprogram_die): Fix signed/unsigned warnings.
26713         (gen_variable_die): Ditto.
26714
26715 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
26716
26717         * fixinc/inclhack.def(end_else_label): combined else_label
26718         and endif_label and fixed the sed expression.
26719         *fixinc/{fixincl.x|inclhack.sh}: regen
26720
26721 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
26722
26723         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
26724         'x' when handling non-offsettable addresses
26725
26726 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
26727
26728         * final.c (shorten_branches): Don't try to split an insn that has
26729         been deleted.
26730
26731 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
26732
26733         * config/mips/mips.c (symbolic_expression_p): New function.
26734         (mips_select_rtx_section): Put symbolic expressions in the
26735         data section, not the read-only data section.
26736
26737 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
26738
26739         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
26740
26741 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
26742
26743         * collect2.c (main): Log frame table count.
26744         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
26745         (scan_prog_file) [COFF]: Handle frame tables.
26746
26747         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
26748         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
26749         * alpha/elf.h: Undef them again.
26750         * alpha/vms.h: Remove their definitions.
26751
26752 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26753
26754         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
26755         remove the clobber of r0 and change the REG_UNUSED note to
26756         REG_INC.
26757
26758 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
26759
26760         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
26761         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
26762         fits in HOST_WIDE_INT and one uses union to access a long constant
26763         as double.
26764
26765 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
26766
26767         * sparc.c (sparc_override_options): Don't allow profiling for
26768         code models other than medlow.
26769         (sparc_function_profiler): New function from old FUNCTION_PROFILER
26770         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
26771         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
26772         (sparc_block_profiler): Likewise.
26773         (sparc_function_block_profiler_exit): Likewise.
26774         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
26775         (FUNCTION_BLOCK_PROFILER): Likewise.
26776         (BLOCK_PROFILER): Likewise.
26777         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
26778         (MCOUNT_FUNCTION): New.
26779         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
26780         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
26781         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
26782         (MCOUNT_FUNCTION): New.
26783         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
26784         (BLOCK_PROFILER): Delete.
26785         (MCOUNT_FUNCTION): New.
26786
26787 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
26788
26789         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
26790
26791 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26792
26793         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26794         Add the macros.
26795
26796         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26797         Ditto.
26798
26799         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26800         Ditto.
26801
26802         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26803         Ditto.
26804
26805 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
26806
26807         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
26808         types.
26809
26810 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
26811
26812         * i386/djgpp.h (LIB_SPEC): New.
26813         (STARTFILE_SPEC): New.
26814
26815         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
26816
26817 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
26818
26819         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
26820         compiler flags.
26821
26822         * system.h (WSTOPSIG): New macro.
26823
26824 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26825
26826         * c-pragma.c (push_alignment): Don't ignore alignments greater than
26827         4 bytes.
26828         (insert_pack_attributes): Take into account member natural
26829         alignment.
26830
26831         * i386/winnt.c (exports_head): New static variable.
26832         (i386_pe_record_exported_symbol): New function.
26833         (i386_pe_asm_file_end): Use.
26834         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
26835         symbols to be emitted at end of assembly.
26836         (ASM_DECLARE_OBJECT_NAME): Likewise.
26837         (ASM_DECLARE_FUNCTION_NAME): Likewise.
26838
26839         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
26840         -iwithprefix.
26841
26842 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
26843
26844         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
26845         in last change.
26846
26847 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
26848
26849         * haifa-sched.c (sched_analyze_1): Use free_list instead of
26850         zapping reg_last_uses directly.
26851         (sched_analyze_2, sched_analyze_insn): Likewise.
26852         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
26853
26854 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
26855
26856         * rs6000.md (movdf_hardfloat32): Use worst case insn length
26857         attributes for cases 1 and 2.
26858
26859 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
26860
26861         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
26862         instead of set.
26863
26864 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
26865
26866         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
26867
26868 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
26869
26870         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
26871         PIC_OFFSET_TABLE_REGNUM for general alloaction.
26872         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
26873         must be stacked if it is used for PIC accesses.
26874         * arm.c (use_return_insn): Handle PIC register specially.
26875         (output_return_instruction): Likewise.
26876         (output_func_{prologue,epilogue}): Likewise.
26877         (output_expand_prologue): Likewise.
26878
26879         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
26880         (*strsi_predec): Renamed from *strqi_predec.
26881         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
26882         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
26883
26884         * arm.c (arm_override_options): Remove warning about PIC code
26885         not being supported.
26886
26887 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
26888
26889         * rs6000.c (find_addr_reg): New function.
26890         * rs6000.h (find_addr_reg): Declare.
26891         (offsettable_addr_operand): Delete.
26892         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
26893         from and stores to GPRs.
26894
26895 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
26896
26897         * alpha.c (alpha_expand_block_move): Use get_insns rather than
26898         gen_sequence as argument to emit_no_conflict_block.
26899
26900 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26901
26902         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
26903         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
26904         *fixinc/fixincl.x: regen
26905         *fixinc/inclhack.sh: regen
26906
26907 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
26908
26909         * added support for -mpcrel (PC relative addressing for m68k)
26910         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
26911         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
26912         * m68k.c (print_operand_address): Handle 32-bit PIC case.
26913         (comments for general_src_operand): Add some explanation
26914         about EXTRA_CONSTRAINTS.
26915         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
26916         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
26917         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
26918         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
26919         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
26920         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
26921         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
26922         if not already set.
26923         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
26924         * m68k.h (TARGET_PCREL): New target flag.
26925         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
26926         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
26927         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
26928         contains a SYMBOL_REF.  Relax this constraint during reload, since
26929         we want to use the predicates, not reload's built-in concept of a
26930         valid memory address, to control what insns need reloading.
26931         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
26932         operands (essentially 'g', 'm', and 's' under normal circumstances).
26933         * m68k.c (print_operand): Cause printing of pc-relative addresses
26934         to include pc register.
26935         (print_operand_address): Ditto.
26936         (general_src_operand): Accept operands that are not only
26937         general_operands, but are also valid when used as a pc-relative
26938         source.
26939         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
26940         (memory_src_operand): Similar, for memory_operands.
26941         (pcrel_address): New predicate to accept the special case of a
26942         pc-relative address.
26943         * m68k.md (many patterns): Rewrite common SImode, HImode, and
26944         QImode insns to accept *_src_operand instead of *_operand where
26945         pc-relative operands can fit.  For example, a pc-relative operand
26946         can be used as a memory source operand for addsi3, but not as a
26947         memory destination.
26948         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
26949
26950 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
26951
26952         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
26953         .thumb_set pseudo op to mark aliases of thumb functions.
26954
26955 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
26956
26957         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
26958         preference to ASM_OUTPUT_DEF, if it is defined.
26959
26960         * tm.texi: Document new, optional target macro
26961         ASM_OUTPUT_DEF_FROM_DECLS.
26962
26963 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26964
26965         * fixincludes: ISCNTL patch
26966         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
26967         (dgux_int_varargs): new for DG/UX
26968         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
26969
26970 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
26971
26972         * invoke.texi (ia32 options): Fix typo.
26973
26974 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26975
26976         * loop.c (strength_reduce): When doing biv->giv conversion, update
26977         reg note of NEXT->insn.
26978
26979 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
26980
26981         * loop.c (move_movables): Note issues with replacing REGs with
26982         SUBREGs.
26983         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
26984
26985 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
26986
26987         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
26988
26989         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
26990         the reference to `mcount' was not correct for the ELF on FreeBSD.
26991
26992 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26993
26994         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26995         reg_biv_class.
26996
26997         (recombine_givs): Set ix field after sorting.
26998
26999 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
27000
27001         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
27002         to safe to extract a subword out of a REG.
27003
27004 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27005
27006         * sh.md (mulsi3): Don't add a no-op move at the end.
27007
27008 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27009
27010         * cse.c (cse_insn): Don't put hard register source into tables for
27011         the last insn of a libcall.
27012
27013 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27014
27015         * loop.c (strength_reduce): Insert sets of derived givs at every
27016         biv increment, even if it's the only one.
27017
27018 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
27019
27020         * dwarfout.c (add_incomplete_type): New fn.
27021         (output_type): Call it.
27022         (retry_incomplete_types): New fn.
27023         (dwarfout_finish): Call it.
27024
27025         From Eric Raskin <ehr@listworks.com>:
27026         (output_type): Output types for bases.
27027
27028 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
27029
27030         * mips.c (mips_output_conditional_branch): Add `break'
27031         between `default' label and `close braces'.
27032
27033 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
27034
27035         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27036         specifications and make it realistic.
27037         (LIB_SPEC): Likewise.
27038
27039 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
27040
27041         * config/mips/mips.c (mips_secondary_reload_class): Check for
27042         (PLUS (SP) (REG)) and return appropriate register class.
27043         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27044         Handle (PLUS (SP) (REG)).
27045         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27046         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27047         of emit_insn for tablejump.
27048
27049 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
27050
27051         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27052         asm_fprintf format string by itself.
27053         (output_function_profiler): Likewise.
27054
27055 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
27056
27057         * combine.c (simplify_logical, case AND): Only call
27058         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27059         or the constant is positive.
27060
27061 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
27062
27063         * configure.in: Fix typo in rs6000-ibm-aix4 case.
27064         * configure: Regenerate.
27065
27066 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
27067
27068         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27069         require a sub-version #.
27070         * configure: Rebuilt.
27071
27072 1999-06-14  Robert Lipe  (robertlipe@usa.net)
27073
27074         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27075
27076 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
27077
27078         * c-typeck.c (process_init_element): Detect excess elements in
27079         char array initializer.
27080
27081 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27082
27083         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27084
27085 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27086
27087         * invoke.texi (Option Summary): Add -fpermissive flag.
27088
27089 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
27090
27091         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27092         that require PIC code sequences.
27093
27094 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
27095
27096         * configure.in: Add new target: thumb-elf.
27097         * configure: Regenerate.
27098         * config/arm/t-thumb-elf: New file: Makefile fragment for
27099         thumb-elf build.
27100         * config/arm/telf.h: New file: Header file for thumb-elf
27101         build.
27102
27103 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
27104
27105         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27106         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27107         initializers is some circumstances.
27108
27109         * fixinc/inclhack.def (endif_label): Add additional selector for
27110         more bogus stuff after #endif statements.
27111         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27112
27113 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27114
27115         * i386/cygwin.h (SET_ASM_OP): Define.
27116
27117 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27118
27119         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27120
27121 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27122
27123         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27124         latter.
27125
27126         * sh.md (ic_invalidate_line_i): Remove second alternative.
27127
27128 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27129
27130         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27131         test for the presence of valid prototypes.  Delete bypass expr.
27132         (ioctl_fix_ctrl): Correct the selection expression.
27133         (no_double_slash): Correct quoting rules
27134         *fixinc/fixincl.x: regen
27135         *fixinc/inclhack.sh: regen
27136
27137 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
27138
27139         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27140
27141 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27142
27143         * rs6000.md (movsi_got_internal_mem): Delete.
27144         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27145         (GOT_TOC_REGNUM): Delete.
27146         (PIC_OFFSET_TABLE_REGNUM): Define.
27147         (FINALIZE_PIC): Disable.
27148         * rs6000.c (rs6000_got_register): New code for fixed pic register.
27149         (rs6000_replace_regno): Delete.
27150         (rs6000_finalize_pic): Likewise.
27151         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27152
27153 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27154
27155         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27156         is a note; use <= for the compare; advance P while it is
27157         a NOTE.
27158
27159 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
27160
27161         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27162         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
27163
27164         * varasm.c (remove_from_pending_weak_list): Verify t->name
27165         is non-NULL before passing it to strcmp.
27166
27167 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27168
27169         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
27170         the typed arguments are not part of a comment
27171         (ioctl_fix_ctrl): Added a purpose comment
27172         *fixinc/fixincl.x: regenerate
27173         *fixinc/inclhack.sh: regenerate
27174
27175 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27176
27177         * invoke.texi: Add C4x invocation docs.
27178
27179 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27180
27181         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
27182         Define new macros.
27183         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
27184         TARGET_EXPOSE_LDP.
27185         (c4x_legitimize_reload_address): New function.
27186         * config/c4x/c4x.md: Update docs.
27187
27188 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
27189
27190         * fixincludes: Avoid removing '.'.
27191         * fixinc/fixinc.svr4: Likewise.
27192         * fixinc/fixinc.winnt: Likewise.
27193         * fixinc/inclhack.tpl: Likewise.
27194         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
27195
27196 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27197
27198         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
27199         pattern.
27200         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
27201
27202 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27203
27204         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
27205         correctly.
27206
27207 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
27208
27209         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
27210         * configure: Regenerate.
27211
27212 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
27213
27214         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
27215         values.
27216
27217 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
27218
27219         * fixinc/inclhack.def (avoid_bool): Also catch
27220         "typedef [unsigned] int bool".
27221         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27222
27223         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
27224         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
27225         * configure: Rebuilt.
27226
27227 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
27228
27229         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
27230         such that we can override its definitions if necessary.
27231         (CPP_SPEC): New define.  Support processor specific predefines via
27232         %(cpp_cpu).
27233         (CC1_SPEC): New define.  Support processor specific compiler
27234         options via %(cc1_cpu).
27235         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
27236         -static.
27237
27238 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27239
27240         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
27241         between sed's -e flag, and the open-quote following it.
27242         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27243
27244 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
27245                           Jeffrey A Law  (law@cygnus.com)
27246
27247         * varasm.c (assemble_start_function): Remove the function
27248         from the pending weak decls list when we define a function.
27249         (assemble_variable): Similarly for variables.
27250         (weak_finish): Ignore items on the list with a NULL name.
27251         (remove_from_ending_weak_list); New function to "remove" an item
27252         from the pending weak declarations list.
27253
27254 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27255
27256         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27257
27258 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
27259
27260         * c-lex.c (GETC): Redefine to call getch.
27261         (UNGETC): Redefine to call put_back.
27262         (putback_buffer): New structure type.
27263         (putback): New static structure.
27264         (getch): New function.
27265         (put_back): New function.
27266         (yylex): Replace unused bytes from bad multibyte character.
27267
27268 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
27269
27270         * cpplib.c (do_define): Cast `alloca' return value.
27271         (do_include, do_undef, do_pragma): Likewise.
27272         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27273         values.
27274         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27275         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27276
27277 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27278
27279         * sparc.md (abstf2): This should be an expand.
27280         (split after abstf2_notv9): Fix mode.
27281         (abstf2_hq_v9): New pattern.
27282         (abstf2_v9): Only use when no hard quad.
27283         (absdf2_v9): Fix if target is not the same as source.
27284         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27285         Add correct output constraints.
27286
27287 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
27288
27289         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27290         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27291
27292 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
27293
27294         * mips.h (mips_output_conditional_branch): New function.
27295         (mips_adjust_insn_length): Likewise.
27296         (ASSEMBLER_SCRATCH_REGNUM): New macro.
27297         (ADJUST_INSN_LENGTH): Likewise.
27298         * mips.c (print_operand): Add `F' and `W' for floating-point
27299         comparison opcodes.
27300         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27301         are now in bytes.
27302         (mips_adjust_insn_length): New function.
27303         (mips_output_conditional_branch): New function.
27304         * mips.md (length): Adjust attribute definition to handle
27305         conditional branches.  Change lengths to bytes, rather than
27306         instructions throughout.  Remove length attribute from
27307         instructions whose length is four bytes, and rely on the default
27308         instead.
27309         (dslot): Fix typo in comment.
27310         Reword conditional branch patterns to use
27311         mips_output_conditional_branch.
27312
27313 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
27314
27315         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27316         (LIB_SPEC): Likewise.
27317         Link with -lprof1_r for -g/-pg.
27318
27319 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27320
27321         * loop.c (check_dbra_loop): Fix change of Jan 19.
27322
27323 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
27324
27325         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
27326         (STARTFILE_SPEC):  Define, override the svr4.h version.
27327         (ENDFILE_SPEC):  Likewise.
27328
27329 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
27330
27331         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27332         * fixinc/fixincl.x: Regenerated.
27333         * fixinc/inclhack.sh: Regenerated.
27334
27335 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27336
27337         * sh.c (barrier_align): Don't return early for normal branch/barrier
27338         when optimizing for SH2.
27339
27340 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
27341
27342         * i386/udk.h (LINK_SPEC): Correct linker search path for
27343         system libraries.
27344
27345 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27346
27347         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27348         (braf_label_ref_operand): Delete.
27349         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27350         * sh.md (casesi_jump_2): Operand1 is now the inside of a
27351         label_ref, and has no predicate.
27352         The patten has a predicate to guard against invalid substitutions.
27353         (dummy_jump): Delete.
27354         (casesi): Update use of casesi_jump_2.
27355
27356 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27357
27358         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27359         *fixinc/fixincl.x: regenerate
27360         *fixinc/inclhack.sh: regenerate
27361
27362 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
27363
27364         * dwarf2out.c (add_incomplete_type): New fn.
27365         (gen_struct_or_union_type_die): Call it.
27366         (retry_incomplete_types): New fn.
27367         (dwarf2out_finish): Call it.
27368
27369 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
27370
27371         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27372         current block starts with a CODE_LABEL and ends with a CALL and
27373         we can not find all the argument setup instructions for the CALL.
27374
27375 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
27376
27377         Revert this change:
27378         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27379         something is a candidate for optimize_bit_field_compare.
27380
27381 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27382
27383         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27384
27385 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
27386
27387         * alpha.c (override_options): Thinko in last patch.
27388
27389         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27390         (LIB_SPEC): Recognize -pthread.
27391
27392 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
27393
27394         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27395         definition in config/arm/coff.h
27396         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27397
27398 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27399
27400         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27401         fixes that need "file=xxx\n" prepended before invocation
27402         (start_fixer - new): starting the fixer process is complex enough
27403         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
27404         (process): uses the new routine; omit usage of putenv()
27405         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27406         * fixinc/fixincl.x: regenerate
27407
27408 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
27409
27410         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27411         and version #s (1.1 -> 2.96) as needed.
27412         * README.g77: Kill way out of date file in the toplevel directory.
27413
27414 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
27415
27416         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27417         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
27418         * configure: Rebuilt.
27419         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27420         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27421         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27422         (SWITCH_TAKES_ARG): Likewise.
27423         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27424         * config/t-freebsd: Moved from config/i386/ so it can used for all
27425         FreeBSD targets.
27426
27427 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
27428
27429         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27430
27431 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
27432
27433         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27434         * configure: Rebuilt.
27435
27436 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
27437
27438         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27439         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27440         * rs6000/rs6000.c (rs6000_file_start): Use putc.
27441         (rs6000_output_load_toc_table): Same.
27442         (output_prolog, output_mi_thunk): Same.
27443         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27444         (ASM_GLOBALIZE_LABEL): Use putc.
27445
27446 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
27447
27448         * alpha.md (reload_*_help): New patterns and splitters.
27449         (reload_*): Use them.
27450         (mov[qh]i): Likewise.
27451
27452 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
27453
27454         * cccp.c (handle_directive): Handle backslash-newlines in quoted
27455         strings correctly.
27456
27457 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
27458
27459         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27460
27461 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
27462
27463         * flow.c (mark_regs_live_at_end, insn_dead_p,
27464         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27465         and HARD_FRAME_POINTER_REGNUM special treatment if reload
27466         hasn't run or the frame pointer is needed.
27467         * haifa-sched.c (attach_deaths): Likewise.
27468         * sched.c (attach_deaths): Likewise.
27469
27470 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
27471
27472         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27473         calculate_can_reach_end returns nonzero.
27474
27475         * configure.in (native gas tests): Search for an assembler in the
27476         same manner that the installed compiler will.
27477         * configure: Rebuilt.
27478         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27479
27480         * alias.c (find_base_term): Improve handling of addresses
27481         constructed from binary operations.
27482
27483 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
27484
27485         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27486
27487 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
27488
27489         * function.h (cleanup_label, frame_offset): Declare.
27490         (tail_recursion_label, tail_recursion_reentry): Likewise.
27491         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27492         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27493         (tail_recursion_label, tail_recursion_reentry): Likewise.
27494         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27495
27496 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
27497
27498         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27499         defined.
27500         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27501         (MAX_OFILE_ALIGNMENT): Define.
27502
27503 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
27504
27505         * fixincl.c: Replace local include scheme with #includes of
27506         gansidecl.h and system.h.
27507         * procopen.c:  Likewise.
27508         * server.c:  Likewise.
27509
27510 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
27511
27512         * i386/t-dgux (EXTRA_PARTS): Add crti.o
27513         (crti.o): Add build rule and dependencies.
27514         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
27515
27516 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27517
27518         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27519         (LIB_LINUX_SPEC): Likewise.
27520         (LIB_LINUX_SPEC): Add support for -pthread
27521         (CPP_OS_LINUX_SPEC): Likewise.
27522         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27523         specified.
27524
27525 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
27526
27527         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27528         conditional move.
27529         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27530         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27531         for IEEE math and CC_FCOMI.
27532         (put_jump_code): No IEEE if CC_FCOMI is set.
27533
27534 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27535
27536         * fold-const.c (fold_truthop): Make the field reference unsigned
27537         when converting a single bit compare.
27538
27539 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27540
27541         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27542
27543 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
27544
27545         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27546         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27547         version did.
27548
27549         * reload.c (push_reload): Do not call remove_address_replacements
27550         when presented with identical optional reloads.
27551
27552 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
27553
27554         * alpha.h (MASK_FIX, TARGET_FIX): New.
27555         (MASK_*): Reorganize constants.
27556         (CPP_AM_FIX_SPEC): New.
27557         (TARGET_SWITCHES): Add FIX.
27558         (EXTRA_SPECS): Likewise.
27559         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27560         (SECONDARY_MEMORY_NEEDED): Likewise.
27561         (REGISTER_MOVE_COST): Likewise.
27562         * alpha.c (override_options): Add FIX support.  Always use
27563         ALPHA_TP_PROG for ev6.
27564         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27565         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27566         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27567
27568 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
27569
27570         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27571         something is a candidate for optimize_bit_field_compare.
27572
27573 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
27574
27575         * gcc.texi (Passes): Document branch-shortening.
27576         * invoke.texi (Debugging Options): Document the fact that `-dp'
27577         outputs length information for instructions.
27578
27579 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
27580
27581         * flow.c: Revert previous delta.
27582
27583 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
27584
27585         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27586         FRAME_POINTER_REGNUM.
27587         (mark_set_1): Ditto.
27588         (mark_used_regs): Ditto.
27589
27590 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
27591
27592         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
27593         (GOT_PCREL): New macro.  Define to 1 if not already defined.
27594         * arm/elf.h (GOT_PCREL): Define to 0.
27595         * arm.c (arm_finalize_pic): Take into account the setting of
27596         GOT_PCREL.
27597
27598 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
27599
27600         * output.h (STRIP_NAME_ENCODING): Provide default definition.
27601         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
27602
27603         * flow.c (mark_set_1): Do not record BLKmode stores as dead
27604         store elimination candidates.
27605
27606 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27607
27608         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
27609         TARGET_GAS.
27610
27611 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
27612
27613         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
27614         Add use of x-aix41-gld.
27615
27616 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27617
27618         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
27619         (ASM_OUTPUT_DESTRUCTOR): Define.
27620
27621 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
27622
27623         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
27624         last CODE_LABEL in a loop if we have previously passed a jump
27625         to the top of the loop.
27626
27627 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
27628
27629         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
27630         applying Philip's patch.
27631
27632 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
27633
27634         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
27635         are not VAR_DECLs.
27636
27637 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
27638
27639         * loop.c (strength_reduce): Grow reg_single_usage as needed.
27640
27641 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
27642
27643         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
27644         Also remove a useless comment.
27645
27646 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27647
27648         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
27649
27650 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
27651
27652         * collect2.c (main): Only generate import or export file and add
27653         to link arguments if non-empty.  Use xmalloc not alloca.
27654         (write_{export,import}_file): Delete.
27655         (write_aix_file): New function.
27656         (locatelib): Use xmalloc not malloc.
27657         (GCC_OK_SYMBOL): Do not check type if aix64.
27658
27659 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
27660
27661         Based on patch by Scott Bambrough and Pat Beirne:
27662         * config/arm/arm.c (making_const_table): New variable.
27663         * config/arm/arm.h (making_const_table): Declare.
27664         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
27665         appropriate.
27666         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
27667         Keep track of when we are building the constant table.
27668
27669 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
27670
27671         * config/arm/arm.c (arm_override_options): Fix erroneous warning
27672         message.
27673
27674 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
27675
27676         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
27677         defined.
27678
27679 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
27680
27681         * tm.texi (FUNCTION_ARG): Correct description of a stack element
27682         in a PARALLEL.
27683
27684 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
27685
27686         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
27687
27688 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27689
27690         * rs6000.c (output_mi_thunk): Enable full support again.
27691
27692 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27693
27694         * sh.h (BRANCH_COST): Define.
27695
27696 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
27697
27698         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
27699
27700 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
27701
27702         * function.c (assign_stack_local): Align stack slot propertly.
27703         (assign_outer_stack_local): Likewise.
27704
27705 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
27706
27707         * expr.h (lang_expand_constant): Declare.
27708         * toplev.c (lang_expand_constant): Define it.
27709         * varasm.c (output_constant): Use it.
27710
27711 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27712
27713         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
27714         Change function definitions to K&R style.
27715
27716 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27717
27718         * fixinc/fixincl.c: We must not ignore SIGCLD now.
27719
27720 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
27721
27722         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
27723         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
27724         (several places): omit static initialization
27725         (process): use single fd, since only the read fd is used
27726         * fixinc/gnu-regex.c: define 'const' away, if not supported
27727         * fixinc/procopen.c(several places): omit static initialization
27728         * fixinc/server.c: define 'volitile' away, if not supported
27729
27730 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27731
27732         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
27733         asm_fprintf and %L to generate the label name.
27734         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
27735         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
27736
27737 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
27738
27739         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
27740         insn for a conditional jump can not be found.
27741
27742 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
27743
27744         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
27745         on variables in specific sections other than .sbss and .sdata.
27746
27747 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
27748
27749         * stmt.c (expand_return): Call start_cleanup_deferral and
27750         end_cleanup_deferral around conditional code.
27751
27752 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27753
27754         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
27755         filename lists.  Utilizes new "krstr" AutoGen function.
27756         * fixinc/fixincl.x: Rebuilt.
27757
27758 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
27759
27760         * i386.c (output_float_compare): Avoid GNU-C extensions.
27761
27762 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
27763
27764         * version.c: Bump to distinguish mainline tree from the
27765         gcc-2.95 branch.
27766
27767 See ChangeLog.1 for earlier changes.