OSDN Git Service

* tree.h (BLOCK_DEAD): New macro.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Sat Feb 24 06:45:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2
3         * tree.h (BLOCK_DEAD): New macro.
4         (struct tree_block): New flag, dead_flag.
5         * print-tree.c (print_node, case 'b'): Print missing fields.
6         * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
7         * function.c (identify_blocks): Enable test for misplaced notes.
8         (all_blocks): Skip BLOCK_DEAD blocks.
9         * integrate.c (integrate_decl_tree): Likewise.
10
11         * errors.c (internal_error, trim_filename): New functions.
12         (fancy_abort): Call internal_error.
13         * errors.h (internal_error, trim_filename): New declarations.
14
15 2001-02-24  Alexandre Oliva  <aoliva@redhat.com>
16
17         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
18         2000-08-26's patch.
19         (EXTRA_CONSTRAINT): Formatting changes.
20
21 2001-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22
23         * rtl.c (rtl_check_failed_code2): Fix typo in last change.
24
25 2001-02-23  Per Bothner  <per@bothner.com>
26
27         * gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
28         so they can be called from java/jvspec.c.
29         * gcc.h (record_temp_file, pfatal_with_name, error):  Declare.
30
31 Sat Feb 24 03:32:50 CET 2001  Jan Hubicka  <jh@suse.cz>
32
33         * i386.c (ix86_frame): New structure.
34         (ix86_compute_frame_size): Kill.
35         (ix86_compute_frame_layout): New.
36         (ix86_save_reg): New.
37         (ix86_can_use_return_insn_p): Use frame layout stuff.
38         (ix86_expand_prologue): Likewise.
39         (ix86_expand_epilogue): Likewise.
40         (ix86_initial_elimination_offset): Likewise.
41         (ix86_nsaved_regs): Use ix86_save_reg.
42         (ix86_emit_save_regs): Likewise.
43
44 Sat Feb 24 03:30:38 CET 2001  Jan Hubicka  <jh@suse.cz>
45
46         * flow.c (find_sub_basic_blocks): New function.
47         (split_block): Be ready for basic block introduced by CODE_LABEL.
48         (commit_one_edge_insertion): Call find_sub_basic_block.
49
50         * flow.c (make_edges): Add edge from entry for blocks starting with
51         label having ALTERNATE_NAME
52
53 Sat Feb 24 03:19:42 CET 2001  Jan Hubicka  <jh@suse.cz>
54
55         * function.c (epilogue_done): Be ready for first basic block not
56         containing PROLOGUE_END note.
57         (reposition_prologue_and_epilogue_notes): Avoid placing
58         PROLOGUE_END note between BASIC_BLOCK.
59
60 Sat Feb 24 03:17:09 CET 2001  Jan Hubicka  <jh@suse.cz>
61
62         * loop.c (canonicalize_condition): Move to reversed_comparison_code.
63
64 2001-02-21  DJ Delorie  <dj@redhat.com>
65
66         * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
67         check for current_function_has_nonlocal_goto from 1999-11-12.
68
69 Fri Feb 23 15:28:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
70
71         * diagnostic.c (trim_filename): No longer static.
72         * toplev.h (trim_filename): Declare.
73         * rtl.c (rtl_check_failed_bounds): Call internal_error.
74         (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
75         (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
76         (rtvec_check_failed_bounds): Likewise.
77         * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
78
79         * convert.c (convert_to_integer): Don't do unsigned unless result or
80         both inputs are unsigned.
81
82         * fold-const.c (fold_convert): Don't call size_int_type_wide if
83         input overflows.
84
85         * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
86
87         * varasm.c (output_constant): Recompute CODE after lang-specific fn.
88
89 2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>
90
91         * Makefile.in (resource.o): Add params.h dependence.
92         * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
93         * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
94         * resource.c: Add dependence on params.h.
95         (current_live_regs): Fix explanatory comment.
96         (find_basic_block): Add new parameter to permit limiting search
97         for a BARRIER.
98         (mark_target_live_regs): Add new argument to find_basic_block call.
99         (incr_ticks_for_insn): Likewise.
100
101 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
102
103         * diagnostic.c (output_to_stream): Rename to
104         output_buffer_to_stream. Loses the stream parameter.
105         (init_output_buffer): Set diagnosic_buffer's stream.
106         (flush_diagnostic_buffer): Adjust.
107         (default_print_error_function): Likewise.
108         (finish_diagnostic): Likewise.
109         (verbatim): Likewise.
110
111         * diagnostic.h (struct output_buffer): Add `stream' field.
112         (output_buffer_attached_stream): New macro.
113
114 2001-02-23  Jakub Jelinek  <jakub@redhat.com>
115
116         * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
117         check if either operand is divisible by C.
118         (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
119         If type is signed, consider negative numbers as well.
120
121 2001-02-22  Richard Henderson  <rth@redhat.com>
122
123         * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
124         reach .text instead of gp-relative relocs.
125         * config/ia64/crtend.asm (.init): Likewise.
126
127 2001-02-22  Andreas Jaeger  <aj@suse.de>
128
129         * extend.texi (C++ Attributes): Fix typo.
130
131 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
132
133         * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
134         functions, drop current_function_args_info.words test.
135         (ia64_compute_frame_size): Mark syscall_linkage functions as
136         using eight input registers.
137
138 2001-02-21  Loren J. Rittle  <ljrittle@acm.org>
139         Bruce Korb  <bkorb@gnu.org>
140
141         * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
142         * fixinc/README: Document how to convert sed substitutions
143         to format style c_fix-es.
144         * fixinc/fixincl.x: regen
145
146 2001-02-21  Jeffrey D. Oldham  <oldham@codesourcery.com>
147
148         * gcc.c: Add comment explaining how to add a command-line option.
149         Add title to specs language comment.
150
151 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
152
153         * gcc.c (cc1_options): Add "-param".
154         (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
155         (option_map): Likewise.
156         * toplev.c (display_help): Add entry for "--param".
157         (independent_decode_option): Fix typographical error.
158
159 Wed Feb 21 18:57:28 CET 2001  Catherine Moore  <clm@redhat.com>
160                               Bernd Schmidt  <bernds@redhat.com>
161                               Jan Hubicka  <jh@suse.cz>
162
163         * i386.c (function_arg_advance):  Pass SSE arguments in registers.
164         (function_arg): Likewise.
165
166 Wed Feb 21 18:12:41 CET 2001  Jan Hubicka  <jh@suse.cz>
167
168         * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
169
170 2001-02-21  Kazu Hirata  <kazu@hxi.com>
171
172         * config/h8300/h8300.md (iorsi3): Do not output an extra newline
173         character.
174         (xorsi3): Likewise.
175
176 Wed Feb 21 17:35:24 CET 2001  Jan Hubicka  <jh@suse.cz>
177
178         * flow.c (init_propagate_block_info): Canon address and use single_set
179         for killing dead memory stores.
180
181 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
182
183         * Makefile.in (reorg.o): Add params.h dependence.
184         * params.def: Fix typographical error in comment.
185         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
186         * params.h: Modify introductory comment.
187         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
188         * reorg.c: Add dependence on params.h.
189         (redundant_insn): Add parameterized throttle for search.
190         (fill_simple_delay_slots): Add a comment explaining a variable.
191         Move conditional out of loop, simplifying code.
192         (fill_eager_delay_slots): Fix typographical error in comment.
193
194 2001-02-20  Aldy Hernandez  <aldyh@redhat.com>
195
196         * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
197
198         * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
199         (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
200
201 2001-02-21  Jason Merrill  <jason@redhat.com>
202
203         * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
204         (struct tree_decl): Add uninlinable bitfield.
205         * c-decl.c (duplicate_decls): Set it.
206         * integrate.c (function_cannot_inline_p): Check it.
207
208         * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
209         DW_AT_MIPS_linkage_name to abstract methods.
210         (dwarf2out_abstract_function): Emit class context before calling
211         set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
212         (gen_subprogram_die): Remove obsolete code.
213         (gen_member_die): Don't include clones in the member list.
214         (gen_decl_die): Emit abstract info for clone origin.
215         * dwarfout.c (output_type): Don't include clones in the member list.
216         * dbxout.c (dbxout_type_methods): Ignore abstract methods.
217         * toplev.c (note_deferral_of_defined_inline_function): Don't clear
218         DECL_ABSTRACT on a function that already has it set.
219
220         * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
221         (get_subprogram_die): Pass it in.
222
223 2001-02-21  Richard Earnshaw  <rearnsha@arm.com>
224
225         * flow.c (mark_set_1): Make not_dead unsigned long.  For
226         non-pseudos, use it as a bitmask of the hard regs that
227         don't die.
228
229 2001-02-21  Neil Booth  <neil@daikokuya.demon.co.uk>
230
231         * cppfiles.c: Update comments.
232         (_cpp_read_file): Don't check for NULL filenames any more.
233         * cppinit.c (cpp_start_read): Don't do canonicalization of
234         in_fname and out_fname.  Use the passed file name exclusively.
235         (_cpp_handle_options): Don't treat "-" as a command line option,
236         but as a normal filename.
237         (_cpp_post_options): Canonicalize in_fname and out_fname.
238         * cppmain.c (printer_init): Don't check out_fname for NULL.
239         * c-lex.c (orig_filename): Rename cpp_filename for clarity.
240         (init_c_lex): Update, and use "" to represent stdin to CPP.
241         (yyparse): Update.
242
243 2001-02-20  Will Cohen  <wcohen@redhat.com>
244
245         * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
246         * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
247         (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
248         fixunstfsi_libfunc.
249
250 2001-02-20  Stan Shebs  <shebs@apple.com>
251
252         * config/rs6000/rs6000.c (output_cbranch): Output branches
253         on separate lines instead of using ';' to separate.
254
255 2001-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
256
257         * cppinit.c (set_lang):  Move builtin handling to...
258         (init_builtins): ...here.
259         (_cpp_create_reader): Move call to set_lang.
260
261 2001-02-20  Mark Mitchell  <mark@codesourcery.com>
262
263         * stmt.c (expand_return): If an attempt is made to return the
264         error_mar_node, treat the return like a return without a value.
265
266 2001-02-19  Zack Weinberg  <zackw@stanford.edu>
267
268         * sibcall.c (skip_copy_to_return_value): Call
269         identify_call_return_value here, and return orig_insn if it
270         returns zero.  Hardret and softret arguments now unnecessary.
271         (call_ends_block_p): Don't call identify_call_return_value here.
272
273         * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
274         's' slots in RTXen.
275         * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
276         * ggc.h (ggc_mark_if_gcable): Delete prototype.
277
278 Mon Feb 19 20:30:16 2001  Jeffrey A Law  (law@cygnus.com)
279
280         * pa.c (move_operand): Accept code to load the address of a
281         symbol out of the DLT as a valid move operand.
282         (print_operand, case 'A'): New to handle generating a DLT
283         reference for a LO_SUM expression.
284         * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
285         * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
286
287 2001-02-19  Joseph S. Myers  <jsm28@cam.ac.uk>
288
289         * README, cpp.texi, gcc.texi, version.c: Update version number to
290         3.1.
291         * cpp.1, gcov.1, gcc.1: Regenerate.
292
293 2001-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
294
295         * cppfiles.c (stack_include_file): Generate dependencies
296         here, and manage include_count here too.
297         (PRINT_THIS_DEP): Delete.
298         (_cpp_execute_include): Do not generate dependencies here,
299         apart from the case of a missing header.  Do not manage
300         include_count.
301         (_cpp_read_file): Leave dependency generation to
302         stack_include_file.
303
304 Mon Feb 19 10:17:47 2001  Jeffrey A Law  (law@cygnus.com)
305
306         * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
307         target_cpu_default.  Remove dead assignment to
308         target_cpu_default.
309
310 Mon Feb 19 16:47:39 CET 2001  Jan Hubicka  <jh@suse.cz>
311
312         * regclass.c (contains_reg_of_mode): Make global.
313         (init_reg_sets): Remove contains_reg_of_mode; take into account
314         CLASS_MAX_NREGS when looking for the proper mode.
315         (dump_regclass): Dump only classes considered for the pseudo.
316         (regclass): Use contains_reg_of_mode.
317
318 Mon Feb 19 16:45:42 CET 2001  Jan Hubicka  <jh@suse.cz>
319
320         * gcc.c (do_spec_1): 'n' for printing notices.
321         * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
322
323 Mon Feb 19 15:51:30 CET 2001  Jan Hubicka  <jh@suse.cz>
324
325         * reg-stack.c (next_flags_user): Use current_block->end
326         (swap_rtx_condition): Look for next user if flags don't die;
327         give up on CALL_INSNs; use current_block->end.
328
329 Mon Feb 19 08:27:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
330
331         * sibcall.c (call_ends_block_p): New function.
332         (optimize_sibling_and_tail_recursive_call): Use it.
333
334 2001-02-18  Kazu Hirata  <kazu@hxi.com>
335
336         * config/h8300/h8300.md: Update copyright.
337         (andsi3): Do not output an extra newline character.
338
339 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
340
341         * toplev.c (note_deferral_of_defined_inlined_function): Argument
342         FNDECL may be unused.
343
344         * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
345         follow jumps after first run.
346         If -fexpensive-optimizations rerun CSE after GCSE and iterate until
347         it doesn't change any jumps.
348
349 Sun Feb 18 17:05:50 2001  Jeffrey A Law  (law@cygnus.com)
350
351         * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
352         ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
353         (mostlyclean): Corresponding changes.
354         * rtlanal.c (hard-reg-set.h): Include.
355         (rtx_unstable_p): Do not treat the argument pointer specially
356         if it is not a fixed register.
357         (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
358
359 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
360
361         * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
362         against last real insn in basic block.
363         Rework to avoid gotos.
364
365         * Makefile.in (gcse.o): Now includes ggc.h.
366         * gcse.c: Include ggc.h.
367         (want_to_gcse_p): Verify expression can be in SET as valid insn.
368         (try_replace_reg): Remove warning of uninitialize variable.
369         (process_insert_insn): Call invalid_insn_p to validate insn.
370         * recog.c (insn_invalid_p): Now global.
371         See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
372         * recog.h (insn_invalid_p): New declaration.
373
374         * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
375
376         * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
377         assignments from FP constants since 'Y' output code can't handle it.
378         (eligible_for_sibcall_delay): Likewise.
379
380         * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
381         Call fancy_abort directly, passing args.
382         (print_rtl_and_abort): Now a macro, like fancy_abort.
383
384         * final.c (output_operand_lossage): Use internal_error, not error.
385
386 2001-02-18  Shane Nay  <shane@agendacomputing.com>
387
388         * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
389         structure shift insns.
390
391 2001-02-18  Mark Mitchell  <mark@codesourcery.com>
392
393         * invoke.texi (-fsquangle): Remove documentation.
394         (-fname-mangling-version): Likewise.
395
396 2001-02-18  Lars Brinkhoff  <lars@nocrew.org>
397
398         * optabs.c (expand_abs): Remove reference to
399         HAVE_contitional_arithmetic.
400         * combine.c (simplify_set): Likewise.
401
402 2001-02-18  Richard Henderson  <rth@redhat.com>
403
404         * ifcvt.c (dead_or_predicable): Don't move code if eh regions
405         would be disrupted.
406
407 2001-02-18  Richard Henderson  <rth@redhat.com>
408
409         * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
410
411         * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
412
413         * reload1.c (reload_cse_simplify_set): Fix typo.
414
415 Sun Feb 18 09:30:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
416
417         * diagnostic.c (_fatal_insn): Decrement errorcount.
418
419         * invoke.texi (-I): Add note avoiding use for system header files.
420
421         * rtl.h (add_clobbers): Remove duplicate declaration.
422         * recog.h (added_clobbers_hard_reg_p): New declaration.
423         * genemit.c (struct clobber_pat): New field has_hard_reg.
424         (gen_insn): Record if added clobbers clobber hard reg.
425         (gen_split): Avoid unused warning if number of operands is 0.
426         (output_added_clobbers_hard_reg_p): New function.
427         (main): Call it.
428
429 2001-02-18  Alan Modra <alan@linuxcare.com.au>
430
431         * pa.c (hppa_expand_prologue): Simplify code storing return
432         pointer.  For large (>=8k) frames with a post_store, adjust stack
433         pointer by 8k-64 first rather than by 64.  When testing with
434         VAL_14_BITS_P, always use the actual value rather than the value
435         negated.  Add blockage to prevent scheduling of spills before
436         stack frame has been created.
437         (hppa_expand_epilogue): Simplify code loading return pointer.
438         Allow a slightly larger range for merge_sp_adjust_with_load case.
439         When testing with VAL_14_BITS_P, always use the actual value.
440
441         * pa.c (pa_adjust_insn_length): Check that block move
442         pattern is a set before looking at operands.
443
444 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
445
446         * fold-const.c (fold_binary_op_with_conditional_arg): New
447         function, split out from ...
448         (fold): ... here.
449         * tree.def (COND_EXPR): Document the use of VOID_TYPE for
450         conditional arms that throw exceptions.
451
452         * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
453         looking at a BLOCK.
454
455 2001-02-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
456
457         * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
458         define HAVE_DECL_* to 1 to mask potential backup declarations.
459         * configure: Regenerated.
460
461 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
462
463         * invoke.texi (-Woverloaded-virtual): Clarify documentation.
464
465 2001-02-17  Richard Henderson  <rth@redhat.com>
466
467         * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
468         when replacing a memory load with a register.
469
470 Sat Feb 17 14:48:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
471                           Jan Hubicka  <jh@suse.cz>
472
473         * recog.c (validate_replace_src_1): New.
474         (validate_replace_src_data): Likewise.
475         (validate_replace_src): Use note_uses.
476         * rtl.h (note_uses): Declare.
477         * rtlanal.c (note_uses): New.
478
479 Sat Feb 17 10:52:34 CET 2001  Jan Hubicka  <jh@suse.cz>
480
481         * reg-stack.c (stack_def): Make field reg unsigned.
482         (remove_regno_note): Unsignetize parameter.
483
484 2001-02-16  Jes Sorensen  <jes@linuxcare.com>
485
486         * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
487         shladd_operand() call.
488
489 2001-02-16  Bruce Korb  <bkorb@gnu.org>
490             Rodney Brown  <RodneyBrown@mynd.com>
491
492         * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
493         * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
494         machine restrictions
495         * fixinc/fixincl.x: regen
496
497 Fri Feb 16 12:41:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
498
499         * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
500         Don't CSE a nop.
501         (hash_scan_insn): Clean up calls to hash_scan_set.
502         (compute_kill_rd): REGNO now unsigned.
503         (try_replace_reg): Rework to use simplify_replace_rtx.
504         (cprop_jump, cprop_cc0_jump): Likewise.
505         (cprop_insn): Call find_reg_equal_equiv_note.
506         Reflect changes to cprop_jump and cprop_cc0_jump.
507
508         * recog.c (validate_replace_src): Replace in operands of
509         ZERO_EXTRACT in SET_DEST.
510
511         * cse.c (new_label_ref): New variable.
512         (insert): Set it instead of recorded_label_ref.
513         (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
514         CODE_LABEL for this function, and not already in REG_LABEL note.
515
516 2001-02-16  Jeffrey Oldham  <oldham@codesourcery.com>
517
518         * resource.c (mark_referenced_resources): Fix typo in introductory
519         comment.
520         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
521         string constant.
522
523 2001-02-16  Jason Merrill  <jason@redhat.com>
524
525         * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
526         NULL.
527         (gen_subprogram_die): Don't abort on seeing a second definition if
528         the previous one was abstract.  Don't replace an abstract instance
529         in the lookup table.
530
531         * dwarf2out.c (dwarf2out_abstract_function): Rename from
532         gen_abstract_function.
533         * dwarf2out.h: Declare it.
534         * toplev.c (note_outlining_of_inline_function): New fn.
535         * toplev.h: Declare it.
536         * integrate.c (output_inline_function): Call it.
537         * c-decl.c (duplicate_decls): Call it when redefining an extern
538         inline.  Don't inline the new defn.
539
540         * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
541
542 2001-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
543
544         * .gdbinit: Rename to gdbinit.in.
545         * gdbinit.in: New file,
546         * configure.in: Generate .gdbinit from gdbinit.in.
547         * configure: Regenerated.
548         * Makefile.in (distclean): Always remove .gdbinit.
549
550 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
551
552         * objc/objc-act.c (start_class): Register implemented_classes with
553         GC.
554
555 2001-02-16  Neil Booth  <neil@daikokuya.demon.co.uk>
556
557         * cppfiles.c (_cpp_make_system_header): Generate a file
558         change callback.
559
560 2001-02-15  Jim Meyering  <meyering@lucent.com>
561
562         * Makefile.in (install-common): Don't depend on installdirs here.
563         Instead, make each of the lang.install-common targets (e.g.,
564         c++.install-common in cp/Make-lang.in) depend on it.
565         (install-driver): Depend on installdirs.
566
567 Thu Feb 15 21:30:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
568
569         * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
570
571         * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
572         do in memory.
573
574 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
575
576         * invoke.texi (--param): Document.
577
578 Thu Feb 15 15:16:38 2001  Alexandre Oliva  <aoliva@redhat.com>
579
580         * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
581
582 Thu Feb 15 10:52:31 CET 2001  Jan Hubicka  <jh@suse.cz>
583
584         * i386.md (extendsfdf2_2): Fix constraints.
585
586 Thu Feb 15 09:46:21 CET 2001  Jan Hubicka  <jh@suse.cz>
587
588         * i386.md (fop_df_3 splitter): Fix operand number.
589
590 Wed Feb 14 12:37:37 CET 2001  Jan Hubicka  <jh@suse.cz>
591
592         * invoke.texi (-mreg-alloc): Nuke.
593         * i386.c (ix86_reg_alloc_order, regs_allocated,
594         order_regs_for_local_alloc): Nuke.
595         (override_options): Kill reg_alloc code.
596         * i386.h (TARGET_OPTIONS): Kill reg-alloc.
597         (REG_ALLOC_ORDER): SSE goes before I387.
598         (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
599         (ix86_reg_alloc_order): Likewise.
600         * i386-protos.h (ix86_reg_alloc_order): Kill.
601
602 2001-02-14  Richard Henderson  <rth@redhat.com>
603
604         * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
605
606 Wed Feb 14 11:59:58 CET 2001  Jan Hubicka  <jh@suse.cz>
607
608         * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
609
610 Wed Feb 14 11:12:38 CET 2001  Jan Hubicka  <jh@suse.cz>
611
612         * i386-protos.h (ix86_memory_move_cost): Move offline.
613         * i386.c (ix86_register_move_cost): Compute properly cost of
614         SSE, MMX and i387 instructions.
615         (*_cost): Add costs of SSE/MMX moves.
616         (ix86_memory_move_cost): Move offline from ....; Likewise.
617         * i386.h (MEMORY_MOVE_COST): .... here;
618         (struct processor costs): Add new fields to represent costs
619         of SSE/MMX moves.
620
621 Wed Feb 14 10:08:26 CET 2001  Jan Hubicka  <jh@suse.cz>
622
623         * regclass.c (init_reg_sets_1): Reinstall the optimization of
624         move_cost together with Matt Kraai's fix.
625
626 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
627
628         * Makefile.in (OBJS): Add params.o.
629
630 2001-02-14  Richard Henderson  <rth@redhat.com>
631             DJ Delorie  <dj@redhat.com>
632
633         * jump.c (jump_optimize_1): When we delete a conditional jump
634         preceeding a non-conditional jump to effectively the same place,
635         make sure that the combined jump skips any clobber insns between
636         the two labels.
637
638 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
639
640         * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
641
642 2001-02-14  Mark Mitchell  <mark@codesourcery.com>
643
644         * Makefile.in (toplev.o): Depend on params.h.
645         (intergate.o): Likewise.
646         (params.o): New target.
647         * flags.h (inline_max_insns): Remove.
648         * integrate.c: Include params.h.
649         Use MAX_INLINE_INSNS instead of inline_max_insns.
650         * params.c: New file.
651         * params.h: Likewise.
652         * params.def: Likewise.
653         * toplev.c: Include params.h.
654         (lang_independent_params): New variable.
655         (decode_f_option): Use the param machinery instead of setting
656         max_inline_insns.
657         (independent_decode_option): Handle "--param name=value".
658         (main): Register language-independent parameters.
659
660 Wed Feb 14 11:13:45 CET 2001  Jan Hubicka  <jh@suse.cz>
661
662         * i386.md (pushsf, pushdf_nointeger): Fix constraint.
663
664 2001-02-14  Richard Henderson  <rth@redhat.com>
665
666         * regclass.c (init_reg_sets_1): Revert last two changes.
667
668 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
669
670         * stor-layout.c (is_pending_size, put_pending_size): New functions.
671         (variable_size): Call put_pending_size.
672         * tree.h (is_pending_size, put_pending_size): Add prototypes.
673         * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
674         sizes list, put newly created SAVE_EXPR there as well.
675
676 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
677
678         * config/ia64/ia64.c (last_group): Only 2 entries are needed.
679         (errata_find_address_regs): load_group has only 2 entries.
680         (errata_emit_nops): Likewise.  shladd is not problematic.
681         Clear last_group if nop was emitted.
682         (fixup_errata): load_group has only 2 entries.
683         Optimize.
684
685 2001-02-14  Neil Booth  <neil@daikokuya.demon.co.uk>
686
687         * c-lex.c (lex_number): Only warn traditionally for U suffix
688         outside system macros.
689         * cppexp.c (parse_number): Similarly.
690         * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
691         * cppmacro.c (struct cpp_macro): New member node.
692         (parse_args): Only warn about missing rest args if not
693         a system macro.
694         (funlike_invocation_p): Similarly for uninvoked funlike macros.
695         (cpp_sys_objmacro_p): New.
696         (_cpp_create_definition): Store the node with the macro defn.
697         Remember if the macro is defined in a system header.
698
699 2001-02-13  DJ Delorie  <dj@redhat.com>
700
701         * configure.in (check_languages): determine languages to check
702         * Makefile.in (check-c++): alias for check-g++
703         (check-f77): alias for check-g77
704         (CHECK_TARGETS): depend on configured languages
705
706 Wed Feb 14 01:13:59 CET 2001  Jan Hubicka  <jh@suse.cz>
707
708         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
709         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
710         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
711         (sqrtextendsfdf2): Disable for SSE2.
712
713 Wed Feb 14 00:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
714
715         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
716         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
717         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
718         (sqrtextendsfdf2): Disable for SSE2.
719
720 Wed Feb 14 00:11:20 CET 2001  Jan Hubicka  <jh@suse.cz>
721
722         * i386.md (movsfcc_1): Support integer cmove instruction.
723         (movdfcc_1): Likewise; new splitter.
724
725 Tue Feb 13 23:19:27 CET 2001  Jan Hubicka  <jh@suse.cz>
726
727         * i386.c (output_fp_compare): Support SSE.
728         (prepare_fp_compare_args): SSE comparisons always support memory.
729         * i386.h (TARGET_CMOVE): SSE imply cmove.
730         * i386.md (cmp?f2): Enable for SSE too.
731         (cmpfp_i*): Support SSE.
732         (cmpfp_i_sse): New.
733         (cmpfp_i_sse_only): New.
734         (s*, b* fp expanters): Enable for SSE too.
735         (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
736         New patterns.
737
738 Tue Feb 13 23:05:42 CET 2001  Jan Hubicka  <jh@suse.cz>
739
740         * regclass.c (init_reg_sets_1): Silence warning.
741
742 Tue Feb 13 22:03:07 CET 2001  Jan Hubicka  <jh@suse.cz>
743
744         * i386.md (sqrt?f2): Change to expander.
745         (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
746
747 Tue Feb 13 15:42:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
748
749         * rtlanal.c (find_reg_equal_equiv_note): New function.
750         * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
751         (simplify_gen_relational, simplify_replace_rtx): Likewise.
752         * rtl.h: Add declarations for above functions.
753
754 Tue Feb 13 21:09:11 CET 2001  Jan Hubicka  <jh@suse.cz>
755
756         * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
757         conditionals.
758         * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
759         * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
760         * flow.c (mark_regs_live_at_end): Likewise.
761         (calculate_global_regs_live): Likewise.
762         * gcse.c (compute_hash_table): Likewise.
763         (compute_kill_rd): Likewise.
764         * resource.c (mark_target_live_regs): Likewise.
765         * rtl.h (INVALID_REGNUM): New macro.
766
767 Tue Feb 13 20:59:22 CET 2001  Jan Hubicka  <jh@suse.cz>
768
769         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
770
771 Tue Feb 13 16:32:20 CET 2001  Jan Hubicka  <jh@suse.cz>
772
773         * i386.md (fixsfsi2, fixdfdi2): Force operand to register
774         for SSE.
775
776 Tue Feb 13 14:53:16 CET 2001  Jan Hubicka  <jh@suse.cz>
777
778         * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
779         too.
780         (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
781         (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
782         (fop_sf_1_sse, fop_df_1_sse): New patterns
783         (fop_*): Disable float_extend and float patterns for SSE compilation.
784         * i386.c (output_387_binary_op): Support SSE.
785
786 Tue Feb 13 14:16:34 CET 2001  Jan Hubicka  <jh@suse.cz>
787
788         * i386.md (dummy_extendsfdf2): Support SSE2
789         (extendsfdf2): Enable if 80387 or SSE2.
790         (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
791         and no MIX_I387_SSE2
792         (extendsfdf2_1_sse_only): New pattern.
793         (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
794         of SSE.
795         (truncdfsf2_1): Support SSE.
796         (truncdfsf2_2): Support SSE.
797         (truncdfsf2_2_1_sse): New pattern.
798         (fixtruncsfsi2): Always use SSE if available.
799         (fix_truncsfsi_sse): New pattern.
800         (fix_truncdfsi_sse): New pattern.
801         (floatsis?f2): Support SSE.
802         (floatsidf2_i387): New pattern.
803         (floatsidf2_sse): Likewise.
804
805 Tue Feb 13 07:52:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
806
807         * configure.in: Use "have_gnat" variable, not "gnat".
808         * configure: Regenerated.
809
810         * config/sparc/sparc.c (function_value): Treat all non-record
811         aggregate types like used to treat UNION_TYPE.
812
813 Tue Feb 13 13:31:33 CET 2001  Jan Hubicka  <jh@suse.cz>
814
815         * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
816         * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
817         (MASK_SSE2): New.
818         (MASK_MIX_SSE_I387): New.
819         (TARGET_SSE): SSE2 imply SSE.
820         (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
821         (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
822         (enum reg_class): Add new classes.
823         (REG_CLASS_NAMES): Likewise.
824         (REG_CLASS_CONTENTS): Likewise.
825         (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
826         (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
827         supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
828         (CLASS_MAX_NREGS): Use new macros.
829         (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
830         * i386.md (pushsf, movsf): Support SSE.
831         (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
832         splitters to use ANY_FP_REGNO_P.
833         (movdf_nointeger, movdf_integer): Likewise.
834
835 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
836
837         * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
838         (try_combine): Use it.
839
840 Tue Feb 13 11:37:06 CET 2001  Jan Hubicka  <jh@suse.cz>
841
842         * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
843         MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
844         (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
845         (REGISTER_MOVE_COST): Likewise.
846         * i386-protos.h (ix86_secondary_memory_needed,
847         ix86_preferred_reload_class, ix86_register_move_cost): Declare.
848         * i386.c (ix86_secondary_memory_needed,
849         ix86_preferred_reload_class, ix86_register_move_cost): New function.
850
851 Die Feb 13 11:04:25 CET 2001  Jan Hubicka  <jh@suse.cz>
852
853         * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
854         (HARD_REGNO_MODE_OK): Move offline to ....
855         * i386.c (ix86_hard_regno_mode_ok) ... here;
856         refuse all incorrect modes.
857         * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
858
859 2001-02-13  Richard Henderson  <rth@redhat.com>
860
861         * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
862         entire operator; replicate that and match_dup the operands.
863         (cmp_ccx_arith_op_set): Likewise.
864         (cmp_cc_arith_op_not_set): Likewise.
865         (cmp_ccx_arith_op_not_set): Likewise.
866
867 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
868
869         * explow.c (trunc_int_for_mode): Sign-extend value to mode.
870
871 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
872
873         * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
874         (TARGET_NO_BITFIELD_WORD): New macro.
875         (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
876         (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
877
878 Mon Feb 12 18:13:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
879
880         * cselib.c: New file, from simplify-rtx.c.
881         * simplify-rtx.c: Remove cselib parts.
882         * Makefile.in: Add cselib.o.
883
884 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
885
886         * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
887         (setup_incoming_varargs): Remove warning.
888
889         * config/rs6000/rs6000.c (validate_condition_mode): When
890         flag_fast_math, allow floating-point conditionals to be reversed.
891         (rs6000_generate_compare): When flag_fast_math, don't generate
892         cror operations for FP conditionals.
893
894         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
895         -mcall-i960.
896         (ASM_SPEC): Likewise.
897         (CC1_ENDIAN_LITTLE_SPEC): Likewise.
898         (CC1_SPEC): Likewise.
899         (LINK_TARGET_SPEC): Likewise.
900         (CPP_ENDIAN_SPEC): Likewise.
901         * Makefile.in (check-consistency): New target.
902
903 2001-02-12  Joseph S. Myers  <jsm28@cam.ac.uk>
904
905         * c-decl.c (grokdeclarator): In C99 mode, give the more specific
906         "return type defaults" warning for functions with return type
907         defaulting to int.
908         * c-lang.c (c_init): In C99 mode, enable warnings for implicit
909         function declarations by default rather than only when pedantic.
910
911 Mon Feb 12 17:28:48 CET 2001  Jan Hubicka  <jh@suse.cz>
912
913         * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
914         arrays.
915
916 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
917
918         * extend.texi (Deprecated): Deprecate new initializer lists.
919
920 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
921
922         * mkdeps.c (deps_add_default_target): Robustify. Add
923         basename component only.
924         * cpp.texi (-M): Describe how default target is generated.
925         * invoke.texi (-M): Likewise.
926
927 2001-02-12  Kazu Hirata  <kazu@hxi.com>
928
929         * toplev.c (push_float_handler): Remove.
930         (pop_float_handler): Remove.
931         * toplev.h: Remove prototypes for the above functions.
932
933 2001-02-12  Jakub Jelinek  <jakub@redhat.com>
934
935         * c-common.c (constant_fits_type_p): New function.
936         (convert_and_check): Use it.
937
938 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
939
940         * Makefile.in (GXX_ABI_FLAG): Don't define.
941         * configure.in (--enable-new-gxx-abi): Remove option.
942         * config.in: Regenerated.
943         * configure: Likewise.
944
945 2001-02-12  Alexandre Oliva  <aoliva@redhat.com>
946
947         * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
948         basic block.
949         (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
950         regular basic block, and arrange for all edges into it to switch
951         to normal mode.
952
953 2001-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
954
955         * Makefile.in (distclean): Do not remove .gdbinit.
956
957 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
958
959         * Makefile.in (gcc.o): Fix typos.
960         (protize.o): Likewise.
961         (unprotoize.o): Likewise.
962
963 2001-02-11  Richard Henderson  <rth@redhat.com>
964
965         * tree.c (build1): Check for null operand in last change.
966
967 2001-02-11  Richard Henderson  <rth@redhat.com>
968
969         * fold-const.c (split_tree): Don't assume a constant isn't splittable.
970         (fold): Don't assume a constant isn't foldable.
971         * tree.c (build): Set TREE_CONSTANT for an expression with no
972         side-effects and constant operands.
973         (build1): Likewise.
974
975 2001-02-10  Richard Henderson  <rth@redhat.com>
976
977         * jump.c (squeeze_notes): Revert 2000-05-12 change.
978
979 2001-02-10  Anthony Green  <green@redhat.com>
980
981         * cpp.texi (Standard Predefined): Add documentation for
982         __OPTIMIZE_SIZE__.
983
984         * c-common.c (combine_strings): Improve warning message.
985
986 2001-02-10  Geoffrey Keating  <geoffk@redhat.com>
987
988         * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
989         --oformat.
990         * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
991
992 Fri Feb  9 15:05:27 2001  Christopher Faylor <cgf@cygnus.com>
993
994         * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
995         CYGWIN_CROSS_DIR.
996
997 2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
998
999         * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
1000         fp_mode attribute.
1001
1002 2001-02-09  Nick Clifton  <nickc@redhat.com>
1003
1004         * config/arm/arm.md: Change output contraint on post inc
1005         load/store multiple patterns to be a read/write contraint.
1006
1007 2001-02-09  Neil Booth  <neil@daikokuya.demon.co.uk>
1008
1009         * gcc.c (cpp_options): Delete .d files on error.  Don't delete
1010         .o files when using the -M options.
1011
1012 2001-02-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1013             David Edelsohn  <edelsohn@gnu.org>
1014
1015         * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
1016         handle DImode constants.  Use one TOC entry for SImode and smaller
1017         constants, aligned properly.
1018
1019 2001-02-08  Jason Merrill  <jason@redhat.com>
1020
1021         * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
1022         about the SP adjustment for saving the static chain pointer.
1023         * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
1024         offset when setting a temporary CFA register.
1025
1026 2001-02-08  Chandrakala Chavva  <cchavva@redhat.com>
1027
1028         * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
1029         powerpc-*-chorusos* .
1030         * config/rs6000/chorus.h : New file.
1031         * config/i386/chorus.h : New file.
1032         * config/sparc/chorus.h : New file.
1033         * config/sparc/t-chorus-elf : New file.
1034
1035 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
1036
1037         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
1038         * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
1039         * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
1040         (__WCHAR_TYPE__): Correct macro name.
1041
1042 2001-02-08  Richard Henderson  <rth@redhat.com>
1043
1044         * config/i386/i386.c (ix86_frame_pointer_required): New.
1045         (ix86_setup_frame_addresses): New.
1046         (struct machine_funciton): Add accesses_prev_frame.
1047         * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
1048         ix86_frame_pointer_required.
1049         (SUBTARGET_FRAME_POINTER_REQUIRED): New.
1050         (SETUP_FRAME_ADDRESSES): New.
1051         * config/i386/i386-protos.h: Update.
1052         * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
1053         from FRAME_POINTER_REQUIRED.
1054         * config/i386/svr3gas.h: Likewise.
1055         * config/i386/sysv3.h: Likewise.
1056         * config/i386/v3gas.h: Likewise.
1057
1058 2001-02-08  Richard Henderson  <rth@redhat.com>
1059
1060         * config/sparc/sparc.c (function_arg_record_value_3): Fix
1061         calculation of the number of integer registers required.
1062         (function_arg_record_value): Likewise.
1063
1064 2001-02-08  Jason Merrill  <jason@redhat.com>
1065
1066         * diagnostic.c (internal_error): Say "confused" after 1 error, not
1067         two.  Print file and line with "confused" message.
1068
1069         * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
1070
1071 Thu Feb  8 11:21:28 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1072
1073         * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
1074
1075 2001-02-08  Bernd Schmidt  <bernds@redhat.com>
1076
1077         * final.c (cleanup_subreg_operands): The address of a MEM can
1078         contain SUBREGs.
1079
1080         * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
1081         for asms, too.
1082
1083 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1084
1085         * gcc.texi (Incompatibilities): Update documentation of
1086         preprocessing numbers.
1087
1088 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
1089
1090         * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
1091
1092 2001-02-07  Mark Mitchell  <mark@codesourcery.com>
1093
1094         * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
1095
1096         * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
1097         * gcc.c (struct compiler): Add cpp_spec field.
1098         (input_file_compiler): New variable.
1099         (do_spec_1): Allow a particular compiler to handle `%C'
1100         specially.
1101         (main): Store the current compiler in input_file_compiler.
1102         * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
1103
1104 2001-02-07  Zack Weinberg  <zack@wolery.stanford.edu>
1105
1106         * cpphash.h (struct spec_nodes): Add n_true and n_false.
1107         * cppinit.c (cpp_create_reader): Initialize them.
1108         (append_include_chain): cxx_aware arg might be unused.
1109         * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
1110         keywords and give them their phase 7 meaning.  Pedwarn about
1111         this unless '__bool_true_false_are_defined' is defined.
1112
1113 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
1114
1115         * lcm.c (optimize_mode_switching): Emit mode_set before the
1116         JUMP_INSN of an abnormal edge.
1117
1118 2001-02-07  Bernd Schmidt  <bernds@redhat.com>
1119
1120         * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
1121         a scheduling barrier at the end.
1122
1123         * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
1124
1125 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
1126
1127         * config/sh/sh.md (reload_outsf): Removed.
1128         (movsf_ie): Introduce constraints for FPUL loads and stores.
1129         (reload_insf): Broaden the output constraint.
1130
1131         * config/elfos.h (INT_ASM_OP): Don't define it if it's already
1132         defined.
1133         * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
1134         ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
1135
1136 2001-02-06  Chandrakala Chavva  <cchavva@redhat.com>
1137
1138         * final.c: Revert my previous changes.
1139         * output.h: Make profile_label_no extern.
1140         * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
1141         for generating label.
1142
1143 2001-02-06  Laurynas Biveinis  <lauras@softhome.net>
1144
1145         * config/i386/djgpp.h: Add comments about standard paths.
1146         (MD_EXEC_PREFIX): Undefine before defining.
1147         (MD_STARTFILE_PREFIX): New.
1148
1149 2001-01-30  Bruce Korb  <bkorb@gnu.org>
1150
1151         fixinc/fixincl.c(process):  Emit error message only if appropriate :)
1152         (load_file): do not rely on load_file_data() to close file pointer
1153         fixinc/fixlib.c(load_file_data): do not close passed in file pointer
1154         fixinc/inclhack.def(irix_limits_const): add test_text
1155
1156 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
1157
1158         * cppexp.c (parse_defined): Improve diagnostics for invalid
1159         syntax.
1160
1161 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
1162
1163         * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
1164
1165 2001-02-06  Mark Mitchell  <mark@codesourcery.com>
1166
1167         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
1168         * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
1169         * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
1170         (rs6000_output_symbol_ref): New function.
1171         (output_toc): Use VTABLE_NAME_P.
1172
1173 Tue Feb  6 07:54:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1174
1175         * print-tree.c (print_node, case PARM_DECL):
1176         Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
1177
1178         * stor-layout.c (reference_types_internal): New variable.
1179         (internal_reference_types): New function.
1180         (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
1181         * tree.h (internal_reference_types): New declaration.
1182
1183         * cse.c (find_best_addr): Fix typo in computing cost.
1184
1185 Mon Feb  5 21:56:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1186
1187         * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
1188         and this is the sum of a pointer and a constant, we know the result
1189         did not overflow.
1190         (num_sign_bit_copies, case PLUS): Likewise.
1191         * explow.c (convert_memory_address): Remove opposite SUBREG.
1192         * function.c (instantiate_new_reg): New function (from common code).
1193         (instantiate_virtual_regs_1): Call it.
1194         For PLUS, handle if (plus (subreg (virt-reg) (const_int))
1195         if pointers sign- or zero-extend.
1196         * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
1197         If pointers extend unsigned, use inside of SUBREG.
1198         (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
1199
1200 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1201
1202         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
1203         subdir of gcc_gxx_include_dir.
1204         (gcc_gxx_target_include_dir): Remove.
1205
1206 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
1207
1208         * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
1209         (dwarf2out_frame_debug_expr): Revise introductory comments to add
1210         a high-level description.
1211
1212 2001-02-05  Chandrakala Chavva  <cchavva@redhat.com>
1213
1214         * final.c: Move the declaration of profile_label_no to ...
1215         * output.h: ... here.
1216         * function.c (expand_function_start): Call PROFILE_HOOK.
1217         * config/rs6000/aix.h: Define PROFILE_HOOK.
1218         * config/rs6000/rs6000-protos.h: output_profile_hook new.
1219         * config/rs6000/rs6000.c (output_profile_hook): Define.
1220         (output_prolog): Do nothing for ABI_AIX as it is taken care by
1221         output_profile_hook.
1222         tm.texi : Explain new macro PROFILE_HOOK.
1223
1224 2001-02-06  Hans-Peter Nilsson  <hp@axis.com>
1225
1226         * extend.texi (Extended Asm): Do not say that semicolon is always
1227         a valid line-breaking character for GNU assemblers.  Use
1228         newline-tab as the most commonly supported syntax.  Use
1229         newline-tab rather than semicolon in multi-insn examples.
1230
1231 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1232
1233         * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
1234
1235 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1236             David Edelsohn  <edelsohn@gnu.org>
1237
1238         * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
1239         code for AIX, even without flag_pic.
1240
1241 2001-02-05  Jakub Jelinek  <jakub@redhat.com>
1242
1243         * c-typeck.c (common_type): push and pop binding level around
1244         calling common_type on function parameters.
1245
1246 Mon Feb  5 14:30:37 2001  Christopher Faylor <cgf@cygnus.com>
1247
1248         * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
1249
1250 Mon Feb  5 11:23:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1251
1252         * config/mips/mips.c (override_options): Fix typo in last change.
1253         (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
1254         (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
1255
1256 2001-02-05  Nathan Sidwell  <nathan@codesourcery.com>
1257
1258         * invoke.texi (-fdump-class-layout): Document.
1259         (-fdump-translation-unit): Use `=' as filename separator.
1260
1261 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
1262
1263         * Makefile.in (s-mlib): Don't build multilibs if
1264         --disable-multilib.
1265         (DRIVER_DEFINES): Adjust accordingly.
1266         (gcc.o): Likewise.
1267         (protoize.o): Likewise.
1268         (unprotoize.o): Likewise.
1269         * configure.in: Recognize --enable-multilib.
1270
1271 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
1272
1273         * Makefile.in (DRIVER_DEFINES): Fix quoting.
1274
1275         * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
1276         * configure.in: Remove --enable-libstdcxx_v3 support.
1277         * configure: Regenerated.
1278
1279 Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1280
1281         * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
1282         Call abort instead of fatal.
1283         (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
1284         * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
1285         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
1286         (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
1287         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
1288         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
1289
1290         * diagnostic.h (set_internal_error_function): Renamed.
1291         * toplev.h (internal_error): Renamed from fatal.
1292         (pfatal_with_name): Deleted.
1293         (fatal_io_error): Now has printf-style arguments.
1294         * diagnostic.c (pfatal_with_name): Deleted.
1295         (fatal_io_error): Rework to have args in printf-style.
1296         (set_internal_error_function): Renamed from set_fatal_function.
1297         (internal_error): Renamed from fatal.
1298         (error_recursion, fancy_abort): Call internal_error instead of fatal.
1299         * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
1300         * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
1301         * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
1302         * flow.c (verify_flow_info): Likewise.
1303         * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
1304         * config/mips/mips.c (save_restore_insns): Likewise.
1305
1306         * except.c (duplicate_eh_handlers): Call abort instead of fatal.
1307         * flow.c (verify_flow_info): Likewise.
1308         * config/arm/arm.c (thumb_load_double_from_address): Likewise.
1309         * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
1310         (avr_normalize_condition): Likewise.
1311         * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
1312         * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
1313         (limit_reload_class, double_reg_to_memory): Likewise.
1314         (print_operand_address, emit_1600_code_shift): Likewise.
1315         (gen_tst_reg, gen_compare_reg): Likewise.
1316         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
1317         * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
1318         Deleted.
1319         * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
1320
1321         * c-parse.in (methoddef): Call fatal_error instead of fatal.
1322         * objc/objc-act.c (build_ivar_chain): Likewise.
1323         * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
1324         pfatal_with_name.
1325         * graph.c (clean_graph_dump_file): Likewise.
1326         * profile.c (init_branch_prob): Likewise.
1327         * objc/objc-act.c (objc_init): Likewise.
1328
1329         * config/arm/arm.c (arm_override_options): Make errors non-fatal.
1330         * config/avr/avr.c (avr_override_options): Likewise.
1331         * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
1332         * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
1333         * config/h8300/h8300.c (h8300_init_once): Likewise.
1334         * config/mips/mips.c (override_options): Likewise.
1335         * config/i386/i386.c (override_options): Likewise, rework.
1336         * config/m68k/m68k.c (override_options): Likewise.
1337
1338         * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
1339         instead of fatal.
1340         * config/mips/mips.c (print_operand): Likewise.
1341         * hash.c (hash_allocate): Don't check for failure returns from
1342         obstack functions that can't fail.
1343         (hash_table_init_n, hash_table_init): Likewise; also now return void.
1344         * hash.h (hash_table_init_n, hash_table_init): Now return void.
1345         * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
1346         (get_object_reference): Likewise.
1347
1348 2001-02-04  Nick Clifton  <nickc@redhat.com>
1349
1350         * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
1351         StrongARM1110, 10TDMI, and 1020T.
1352
1353 2001-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1354
1355         * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
1356
1357 2001-02-04  Alexandre Oliva  <aoliva@redhat.com>
1358
1359         * config/sh/sh.md (movdf load split): Pass register number to
1360         FP_OR_XD_REGISTER_P.
1361
1362 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
1363
1364         * cppinit.c (BC): New macro.
1365         (builtin_array): Add __GXX_WEAK__.
1366         * cpplib.h (builtin_type): Add BT_WEAK.
1367         * cppmacro.c (builtin_macro): Handle BT_WEAK.
1368         * defaults.h (SUPPORTS_ONE_ONLY): Define.
1369         * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
1370
1371 2001-02-03  Jakub Jelinek  <jakub@redhat.com>
1372
1373         * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
1374
1375 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1376
1377         * cpphash.h: Rename _ALIGN POOL_ALIGN.
1378         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
1379
1380 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1381
1382         * cpphash.h: Rename ALIGN _ALIGN.
1383         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
1384
1385 Fri Feb  2 23:15:29 2001  Christopher Faylor <cgf@cygnus.com>
1386
1387         * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
1388         compilation environment.
1389         * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
1390         control over location of cygwin includes and libs.
1391
1392 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
1393
1394         * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
1395
1396 2001-02-02  lars brinkhoff  <lars@nocrew.org>
1397
1398         * md.texi (Standard Names): remove reference to spur.md.
1399
1400 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
1401
1402         * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
1403         (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
1404         (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
1405         * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
1406         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
1407
1408 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1409
1410         * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
1411         c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
1412         number before reload.
1413         (c4x_adjust_cost): Return zero before reload.
1414         * c4x.md (load_immed_address+1, load_immed_address+2): Do not
1415         split before reload.
1416
1417 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1418
1419         * c4x.c (c4x_hard_regno_rename_ok): New.
1420         * c4x-protos.h (c4x_hard_regno_rename_ok): New.
1421         * c4x.h (HARD_REGNO_RENAME_OK): Define.
1422
1423 Fri Feb  2 20:03:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1424
1425         * diagnostic.h: Add missing "extern" in all declarations.
1426
1427 2001-02-02  Alex Samuel  <samuel@codesourcery.com>
1428
1429         * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
1430         as for gcc_gxx_include_dir.
1431
1432 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
1433
1434         * cpp.texi, invoke.texi: Update -Wtraditional documentation.
1435
1436 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
1437
1438         * config/sh/sh.c (output_far_jump): Don't use braf on SH1.  Emit
1439         label before alignment to be used as the braf base address.
1440         * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
1441         branches.
1442         (casesi_jump_2): Require at least TARGET_SH2.
1443
1444         * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
1445         truncation to 32-bit doubles on -m3e and -m4-single-only.
1446
1447 2001-02-02  Mark Mitchell  <mark@codesourcery.com>
1448
1449         * gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
1450         the default when building a shared object.
1451         (init_spec): Use it.
1452         * testsuite/lib/g++.exp: Include the directory where libgcc
1453         is located to the LD_LIBRARY_PATH list.
1454         * invoke.texi (-shared-libgcc): Document the cases in which
1455         GCC defaults to using the shared libgcc.
1456
1457 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
1458
1459         * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
1460         unsigned is wide enough.
1461         (BITS_PER_SI): New.
1462         * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
1463         (si_to_float): Likewise.
1464         (float_to_si, float_to_usi): Use BITS_PER_SI.
1465
1466 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
1467
1468         * dwarf2out.c: Added explanation of abbreviations.
1469         (def_cfa_1): Added comments listing DWARF2 instructions.
1470         (cfa_temp_reg): Removed in favor of cfa_temp.
1471         (cfa_temp_value): Removed in favor of cfa_temp.
1472         (cfa_temp): New global variable.
1473         (dwarf2out_frame_debug_expr): Added extensive introductory
1474         comments explaining the function's transformations.  Revised to
1475         use cfa_temp.  Added some rtx checking.  Generalize IOR case.
1476         (dwarf2out_frame_debug): Revised to use cfa_temp.
1477         (output_aranges): Cast as "unsigned" to avoid warning.
1478         * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
1479         explain which instructions must be marked.
1480
1481 2001-02-01  Richard Henderson  <rth@redhat.com>
1482
1483         * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
1484         new instruction.
1485
1486 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
1487
1488         * config/sh/crt1.asm (main_k): Modified so that start calls
1489         ___setup_argv_and_call_main.
1490
1491 2001-02-01  Neil Booth  <neil@daikokuya.demon.co.uk>
1492
1493         * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
1494         * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
1495         and AVOID_LPASTE is cleared on meeting an unescaped newline.
1496         * cppmacro.c (builtin_macro): Set builtin flags here.
1497         (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
1498         (replace_args): Clarify intent.
1499         (cpp_get_token): Macro expansion tokens get the saved flags.
1500         Update.
1501         * cppmain.c (scan_buffer): Remove now-redundant print.printed
1502         check.
1503
1504 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
1505
1506         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
1507         2001-Jan-29.
1508
1509 Thu Feb  1 07:22:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1510
1511         * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
1512         returns Pmode pseudo, but we need ptr_mode.
1513         * explow.c (allocate_dynamic_stack_space): Use plus_constant.
1514         Remove bogus conversions; use HOST_WIDE_INT for size.
1515         Don't use TARGET if wrong mode.
1516
1517         * config/i386/i386.c (ix86_compute_frame_size): Allow
1518         stack_alignment_needed to be non-default even if size is zero.
1519
1520 2001-01-31  Alan Modra <alan@linuxcare.com.au>
1521
1522         * (hppa_init_pic_save): Emit the pic offset table
1523         reg save after last_parm_insn.
1524         * pa.c (hppa_init_pic_save): New function.
1525         * pa.h (hppa_init_pic_save): Declare.
1526         * pa.md (call, call_value, sibcall, sibcall_value): Use
1527         the above instead of duplicated code.
1528
1529         * pa.c (hppa_encode_label): Correct size of alloca buffer
1530         so we don't overrun it.  Correct leading `*' case.
1531         * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
1532         need to handle `*@'.
1533         (FUNCTION_NAME_P): Likewise.
1534
1535 2001-01-31  Richard Henderson  <rth@redhat.com>
1536
1537         * config.gcc (alpha-osf5): Use float-i128.h.
1538
1539         * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
1540         * config/float-i32.h: Likewise.
1541         * config/float-i64.h: Likewise.
1542         * config/float-sh.h: Likewise.
1543         * config/float-sparc.h: Likewise.
1544
1545 2001-01-31  DJ Delorie  <dj@redhat.com>
1546
1547         * expmed.c (extract_bit_field): allow non-integral modes if we
1548         want to extract a whole register from itself.
1549
1550 2001-01-31  Jakub Jelinek  <jakub@redhat.com>
1551
1552         * c-typeck.c (set_init_index): If first is equal to last, assume as
1553         if it was not a range at all.
1554
1555 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
1556
1557         * config/fp-bit.c: Include tm.h.
1558         (float_to_si): Don't assume SImode is 32-bits wide.
1559         (float_to_usi): Likewise.
1560
1561 2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1562
1563         * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
1564         incomplete type.
1565         (typename): Call pending_xref_error after parsing typed_typespecs.
1566         * c-decl.c (lookup_tag): Give error immediately rather than
1567         leaving it pending if the tag of the wrong type is in the same
1568         binding level.
1569         (xref_tag): Don't pedwarn for forward declarations of enum types
1570         here.
1571         * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
1572         and enum tags.
1573
1574 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
1575
1576         * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
1577
1578 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
1579
1580         * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
1581         (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
1582
1583 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
1584
1585         * cpphash.h (struct cpp_reader): New saved_flags.
1586         * cppmacro.c (cpp_get_token): Use saved_flags to remember
1587         to avoid a paste after a pasted token.
1588
1589 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
1590
1591         * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
1592         * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
1593         Wtype_MIN instead of LONG_MIN.
1594
1595 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
1596
1597         * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
1598         README file.
1599         * fixinc/fixincl.x: Regenerated.
1600         * fixinc/inclhack.def (irix_limits_const): New definition to
1601         convert "const" to "__const" in limits.h.
1602
1603 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
1604
1605         * fixinc/genfixes (AG): Fix "autogen4" thinko.
1606
1607 2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
1608
1609         * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
1610         when register dies in the insn.
1611
1612 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
1613
1614         * diagnostic.c (fatal): Fix word wrap.
1615
1616 2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
1617
1618         * combine.c (try_combine): Fix SUBREG setting for
1619         HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
1620
1621 2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1622
1623         * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
1624         comparison codes.
1625
1626 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
1627
1628         * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
1629         is not NULL.
1630         * toplev.c (decode_W_option): Update warn_larger_than
1631         unconditionally for each processed switch.
1632
1633 2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1634
1635         * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
1636         to NULL_RTX.
1637         (hppa_expand_prologue): Delete code to save pic offset table register
1638         in the function prologue.
1639         * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
1640         * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
1641         table register at the beginning of the function after the prologue.
1642
1643 2001-01-29  lars brinkhoff  <lars@nocrew.org>
1644
1645         * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
1646
1647 2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1648             Jeff Law <law@redhat.com>
1649
1650         * pa.md (return): Revise comment for trivial return.
1651         (return_internal): Non-trivial return pattern for non-PIC code.
1652         (return_internal_pic): Non-trivial return pattern for PIC code.
1653         It uses the PIC register to ensure it is restored after
1654         function calls.
1655         (epilogue): Generate appropriate return for PIC and non-PIC code.
1656
1657 Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
1658
1659         * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
1660
1661 2001-01-29  DJ Delorie  <dj@redhat.com>
1662
1663         * combine.c (if_then_else_cond): Pass the correct mode to
1664         operand_subword() for constants.
1665
1666 Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
1667
1668         * config/i386/cygwin.h: Add w32api to include search.  Search different
1669         directories in a cross-build environment.
1670
1671 2001-11-29  Tim Josling  <tej@melbpc.org.au>
1672
1673         * tree.h (TYPE_STUB_DECL): Add documentation.
1674
1675 2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
1676
1677         * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
1678         (sdbout_field_types): Likwise.  Fix use of host_integerp.
1679
1680 2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
1681
1682         * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
1683         cygwin.h.
1684
1685 2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
1686
1687         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
1688         to use flag_gnu_linker.
1689
1690 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
1691
1692         * cpplib.c (T_BAD_DIRECTIVE): Remove.
1693         (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
1694
1695 2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
1696
1697         * tree.c, tree.h (build_parse_node): Remove; was identical to
1698         build_nt.
1699         * c-lang.c (start_cdtor), objc/objc-act.c
1700         (build_module_descriptor): Use build_nt instead of
1701         build_parse_node.
1702
1703 2001-01-29  Jakub Jelinek  <jakub@redhat.com>
1704
1705         * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
1706         (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
1707         not have any upper bits set.
1708
1709 2001-01-29  Phil Edwards  <pme@sources.redhat.com>
1710
1711         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
1712
1713 2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1714
1715         * stmt.c (estimate_case_costs): Use integer_minus_one_node.
1716
1717         * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
1718
1719         * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
1720         (integer_minus_one_node): Define.
1721
1722 2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
1723
1724         * Makefile.in (bootstrap2-lean): Fix typo.
1725
1726 2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
1727
1728         * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
1729         : Don't set fe_value.
1730         * cpplib.h (AVOID_LPASTE): New flag.
1731         (struct cpp_hashnode): Remove fe_value.
1732         * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
1733         * cppmacro.c (builtin_macro): Don't set flags here.
1734         (replace_args): Set AVOID_LPASTE flag on first token of an
1735         argument, and the token following it.
1736         (cpp_get_token): Set AVOID_LPASTE flag on first token of a
1737         macro expansion, and on the token following it.  Do it for
1738         builtins too.
1739         * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
1740
1741 2001-01-27  Richard Henderson  <rth@redhat.com>
1742
1743         * config/alpha/t-ieee: Remove multilibbing.
1744         (TARGET_LIBGCC2_CFLAGS): Add -mieee.
1745
1746 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1747
1748         * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
1749
1750         * Makefile.in: Remove all dependencies on defaults.h.
1751         * builtins.c: Don't include defaults.h.
1752         * c-common.c: Likewise.
1753         * c-decl.c: Likewise.
1754         * c-pragma.c: Likewise.
1755         * c-typeck.c: Likewise.
1756         * combine.c: Likewise.
1757         * i386.c: Likewise.
1758         * frame-ia64.c: Likewise.
1759         * cppexp.c: Likewise.
1760         * crtstuff.c: Likewise.
1761         * dbxout.c: Likewise.
1762         * dwarf2out.c: Likewise.
1763         * dwarfout.c: Likewise.
1764         * emit-rtl.c: Likewise.
1765         * except.c: Likewise.
1766         * expr.c: Likewise.
1767         * final.c: Likewise.
1768         * frame-dwarf2.c: Likewise.
1769         * libgcc2.c: Likewise.
1770         * optabs.c: Likewise.
1771         * profile.c: Likewise.
1772         * sdbout.c: Likewise.
1773         * toplev.c: Likewise.
1774         * tradcif.y: Likewise.
1775         * tree.c: Likewise.
1776         * varasm.c: Likewise.
1777
1778 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1779
1780         * builtins.c (expand_builtin_fputs): Use size_one_node when
1781         transforming into fwrite.
1782
1783 2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
1784
1785         * extend.texi (Attribute Syntax): New section.
1786
1787 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1788
1789         * fixproto: Correctly install synthesised unistd.h and stdlib.h when
1790         they didn't need fixing.
1791
1792 2001-01-27  Janis Johnson <janis@us.ibm.com>
1793
1794         * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
1795         if appropriate.
1796         * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
1797         to remove macro definitions that are duplicated from elfos.h.
1798
1799 2001-01-27  Richard Henderson  <rth@redhat.com>
1800
1801         * config/i386/sco5gas.h: Move ...
1802         * config/usegas.h: ... here.
1803         * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
1804
1805 2001-01-27  Jakub Jelinek  <jakub@redhat.com>
1806
1807         * c-typeck.c (struct constructor_stack): Add range_stack member.
1808         (really_start_incremental_init): Clear it.
1809         (push_init_level): Save constructor_range_stack and clear it if
1810         pushing explicit braces.
1811         (pop_init_level): abort if constructor_range_stack is non-zero at
1812         explicit closing brace.  Restore saved constructor_range_stack if
1813         not implicit.
1814
1815 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
1816
1817         * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
1818         into register was forced into memory.
1819
1820 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
1821
1822         * Makefile.in: Remove uses of + before $(MAKE).
1823
1824 2001-01-26  Richard Henderson  <rth@redhat.com>
1825
1826         * stmt.c (cost_table): Remove.
1827         (COST_TABLE, cost_table_initialized): New.
1828         (estimate_case_costs): Use the later instead of the former.
1829         (balance_case_nodes): Likewise.
1830
1831 2001-01-26  Richard Henderson  <rth@redhat.com>
1832
1833         * alias.c (objects_must_conflict_p): Read-only slots may not
1834         conflict despite having the same type.
1835
1836 2001-01-27  Michael Hayes  <mhayes@redhat.com>
1837
1838         * loop.c (loop_giv_reduce_benefit): Copy mode size into
1839         int variable.
1840         (check_ext_dependant_givs): Initialise u_start_val and
1841         u_end_val.
1842         (load_mems): Make last_max_reg unsigned.
1843         (try_swap_copy_prop): Use INSN_P and initialise set.
1844
1845 Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
1846
1847         * README.AVR : Removed.
1848
1849 Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
1850
1851         * pa-64.h (text_section): Remove declaration.
1852
1853         * pa.md (return_internal): Remove mode on PIC register use.
1854
1855 2001-01-25  lars brinkhoff  <lars@nocrew.org>
1856
1857         * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
1858         ASM_CLOSE_PAREN): fix typos.
1859
1860 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
1861
1862         * acconfig.h: Define `const' to the empty string if neither
1863         __STDC__ nor __cplusplus is defined.
1864         * config.in: Regenerated.
1865
1866 2001-01-25  David Edelsohn  <edelsohn@gnu.org>
1867
1868         * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
1869         * collect2.c (main): Delete importf.  Add ".obj" file extension.
1870         (GCC_CHECK_HDR): Handle AIX V5 new magic number.
1871         (aix_std_libs): Add additional AIX libraries to skip.
1872         * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
1873         * config/rs6000/aix51.h: New file.
1874
1875 2001-01-25  Michael Hayes  <mhayes@redhat.com>
1876
1877         * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
1878         (loop_insn_emit_before): No longer static.
1879         (move_movables): Replace emit_insn_after with loop_insn_emit_after.
1880         (loop_givs_rescan, load_mems): Likewise.
1881         (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
1882         (maybe_eliminate_biv_1):
1883         (move_movables): Replace emit_call_insn_before with
1884         loop_call_insn_hoist.
1885         * loop.h (loop_insn_emit_before): Add.
1886         * unroll.c (copy_loop_body): Replace emit_insn_before with
1887         loop_insn_emit_before.
1888
1889 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
1890
1891         * diagnostic.c (fatal): Request preprocessed source.
1892
1893 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
1894
1895         * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
1896         olddecl has argument types and newdecl has none, use the argument
1897         types from olddecl.
1898
1899 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
1900
1901         * dwarf2out.c (prefix_of): New function.  Determine longest common
1902         prefix of the two arguments.  The units are whole path components.
1903         (output_file_names): When adding a new directory find the one entry
1904         with the longest common prefix already in the list.  Artificially
1905         generate entry if there is none for this prefix.
1906         Fix test to check whether the zeroth directory entry is used.
1907
1908 Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
1909
1910         * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
1911         Changed all callers.  Take it into account when deciding if a
1912         previously loaded value matches.
1913
1914 2001-01-24  Richard Henderson  <rth@redhat.com>
1915
1916         * reload.c (find_reloads_subreg_address): Fail the substitution
1917         if the resulting address is insufficiently aligned.
1918
1919 2001-01-24  DJ Delorie  <dj@redhat.com>
1920
1921         * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
1922         check the original operand's mode also.
1923         * simplify-rtx.c (simplify_ternary_operation): Ditto.
1924
1925 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1926
1927         * c-parse.in (cast_expr): Move compound literals from here ...
1928         (primary): ... to here.  Use standard terminology "compound
1929         literal" instead of "constructor expression".
1930
1931 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1932
1933         * gcc.1, cpp.1: Regenerate.
1934
1935 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
1936
1937         * calls.c (emit_library_call_value_1): Memory slot for
1938         pass-by-reference argument should have the mode of the argument,
1939         not of the pointer to it.
1940
1941 2001-01-24  Tom Tromey  <tromey@redhat.com>
1942
1943         * gcc.texi (G++ and GCC): Mention gcj manual.
1944         (Standards): Link to section of manual mentioning gcj/Java
1945         compatibility.
1946
1947 2001-01-24  Jakub Jelinek  <jakub@redhat.com>
1948
1949         * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
1950         * cppinit.c (cpp_start_read): Remove deps_add_dep call.
1951         * tradcpp.c (main): Add -imacros or -include'd dependencies
1952         for -M*.
1953         * cpp.texi (-M, -MM): Document -M -include behaviour.
1954
1955 2001-01-24  Roger Collins <roger@ProProject.com>
1956
1957         * config/i386/xm-i386.h: Make __i386__ a boolean macro.
1958
1959 2001-01-24  Will Cohen  <wcohen@redhat.com>
1960
1961         * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
1962         whether registers are 32 bits or 64 bits in size.
1963
1964 2001-01-24  Ben Elliston  <bje@redhat.com>
1965
1966         * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
1967
1968 2001-01-24  Richard Henderson  <rth@redhat.com>
1969
1970         * config/alpha/alpha.md (builtin_longjmp_internal): New.
1971         (builtin_longjmp): Use it instead of emit_indirect_jump.
1972
1973 2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1974
1975         * bb-reorder.c (make_reorder_chain_1): Handle case where
1976         jump edge goes to the same block as the fallthru edge.
1977
1978 2001-01-23  Jim Wilson  <wilson@redhat.com>
1979
1980         * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
1981         * frame.h (__ia64_personality_v1): Add prototype.
1982         * libgcc2.c (ia64_throw_helper): Change personality declaration to
1983         prototype form.  Add void * cast to first argument to personality
1984         call.
1985         * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
1986         (asctoe113): Likewise.
1987         * config/ia64/frame-ia64.c: Include eh-common.h.
1988         * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
1989         prototypes.
1990         * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
1991         to dump parameter.
1992         (itanium_split_issue): Add prototype.
1993         (gen_nop_type): Ifdef out.
1994         (find_best_packet): Initialize best_packet.
1995         (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
1996         result.
1997         * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
1998         * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
1999         (flushrs): Add explicit stop bit at end.
2000         * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
2001         trailing \ to >.
2002
2003 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2004
2005         * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
2006         of EH symbols.
2007         * libgcc2.c (__terminate_func): Make variable static.
2008         (__terminate_set_func): New function to set __terminate_func.
2009         * libgcc2.h (__terminate_func_ptr): New typedef.
2010         (__terminate_set_func): New function.
2011
2012 2001-01-23  Richard Henderson  <rth@redhat.com>
2013
2014         * flow.c (init_propagate_block_info): Don't consider unchanging
2015         memories for dead frame store elimination.
2016
2017 2001-01-23  Richard Henderson  <rth@redhat.com>
2018
2019         * varasm.c (UNIQUE_SECTION): Move default implementation ...
2020         * defaults.h: ... here.
2021
2022 2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2023
2024         * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
2025
2026 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
2027
2028         * c-lex.c (lex_charconst): Fix typo: s/p/str.
2029
2030 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2031
2032         * rs6000.h (rs6000_return_addr): Move prototype from here...
2033         * rs6000-protos.h (rs6000_return_addr): ...to here.
2034         (rs6000_init_expanders): Delete prototype.
2035
2036 2001-01-23  Nick Clifton  <nickc@redhat.com>
2037
2038         * invoke.texi: Replace , with \, inside @gccoptlist macros.
2039         (Spec Files): Document %B and %j and %. and %v3 and %M and
2040         %{S*&T} spec switches.
2041
2042 2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2043
2044         * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
2045
2046 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
2047             Neil Booth  <neil@daikokuya.demon.co.uk>
2048
2049         * cpperror.c: Merge handlers of PEDWARN and WARNING.
2050         Have -Werror make pedantic warnings errors, like the
2051         rest of GCC.
2052
2053 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
2054
2055         * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
2056
2057 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
2058
2059         * integrate.h (struct inline_remap): Add compare_src, compare_mode.
2060         * integrate.c (expand_inline_function): Initialize them.
2061         (subst_constants): If changing COMPARE so that both its arguments
2062         will be VOIDmode and the comparison mode will be lost, note
2063         compare_mode.  Use the recorded compare_mode to optimize
2064         IF_THEN_ELSE.
2065
2066 2001-01-23  Jason Merrill  <jason@redhat.com>
2067
2068         * dwarf2out.c (new_die): Use xcalloc.
2069         (output_die): Abort rather than emit a local reference to offset 0.
2070
2071 2001-01-17  Andrew Haley  <aph@redhat.com>
2072
2073         * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
2074         of a saved register; return NULL instead.
2075         (copy_reg): Take a pointer to a source register rather than a
2076         frame_state.
2077         (next_stack_level): Remember the address in the stack frame of all
2078         saved registers.
2079         Use the saved register pointer array as the source of the CFA.
2080         (throw_helper): Rewrite.  Unwind once rather than twice and keep
2081         track of saved registers as we go.
2082
2083 2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2084
2085         * c4x-protos.h (c4x_legitimize_reload_address): Remove.
2086         * c4x.c (c4x_legitimize_reload_address): Remove.
2087         * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
2088         reload address for ldp(k) insn.
2089
2090 Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
2091
2092         * pa.md (return_internal): Add a USE of the PIC register to ensure
2093         it is restored after each call.
2094         (return expander): Corresponding changes.
2095
2096 2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2097
2098         * rs6000.h (INIT_EXPANDERS): Delete.
2099         (RETURN_ADDR_RTX): Call rs6000_return_addr().
2100         * rs6000.c (rs6000_override_options): Call *_machine_status from
2101         here...
2102         (rs6000_init_expanders): ...instead of here. Delete.
2103         (rs6000_mark_machine_status): New function.
2104         (rs6000_init_machine_status): Use xcalloc.
2105         (rs6000_return_addr): Generate RTX for the return address.
2106         (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
2107         (rs6000_stack_info): Use it.
2108
2109 2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
2110
2111         * gthr-win32.h: Include errno.h to get a declaration for
2112         EINVAL and _mingw.h if the target is mingw32.
2113
2114 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
2115
2116         * cpp.texi: Correct typos.
2117
2118 Mon Jan 22 13:59:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2119
2120         * explow.c (probe_stack_range): Ensure value passed to
2121         stack_check_libfunc is ptr_mode, not Pmode.
2122
2123 Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
2124
2125         * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
2126         case, don't use operand_subword to calculate a SUBREG that is
2127         wider than a word.
2128
2129         * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
2130
2131 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2132
2133         * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
2134         (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
2135         valid.  If not replace it by equivalent insns.
2136
2137 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2138
2139         * c4x.c (c4x_check_legit_addr): Only check CONST.  Not if CONST
2140         contains SYMBOL_REF, LABEL_REF and CONST_INT.
2141         (c4x_U_constraint, symbolic_address_operand): Likewise.
2142         (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
2143         memory.
2144         (c4x_r11_set_p, c4x_check_laj_p): New functions.
2145         * c4x-protos.h (c4x_check_laj_p): Add prototype.
2146         * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
2147         anulling slot because of silicon bug.
2148         (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
2149
2150 2001-01-22  Alan Modra <alan@linuxcare.com.au>
2151
2152         * cppexp.c (parse_charconst):  Change `mask' type to agree
2153         with parse_escape.
2154
2155 2001-01-21  Richard Henderson  <rth@redhat.com>
2156
2157         * config/i386/i386.c (ix86_asm_file_end): Disable putting
2158         pic_label_name in a linkonce section.
2159
2160 2001-01-17  Philipp Thomas  <pthomas@suse.de>
2161
2162         * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
2163         found in libintl.
2164         * configure: Regenerate.
2165
2166 Sun Jan 21 02:38:56 2001  J"orn Rennecke <amylaar@redhat.com>
2167
2168         * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
2169         uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
2170
2171 Sun Jan 21 09:44:17 2001  Denis Chertykov  <denisc@overta.ru>
2172
2173         * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
2174         If REVERSE nonzero then condition code in X must be reversed.
2175         (encode_section_info): Optimise if/else.
2176         (avr_function_value): Fix formatting.
2177
2178         * config/avr/avr.md (branch): Call to ret_cond_branch changed.
2179         (difficult_branch): Likewise.
2180         (rvbranch): Likewise.
2181         (difficult_rvbranch): Likewise.
2182
2183         * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
2184
2185         * config/avr/libgcc.S: Fix comment.
2186
2187 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2188
2189         * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
2190
2191 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2192
2193         * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
2194
2195 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2196
2197         * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
2198         * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
2199         * configure, config.in: Regenerate.
2200         * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
2201         (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
2202         (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
2203         (doprint.o): New rule.
2204
2205 2001-01-20  Joseph S. Myers  <jsm28@cam.ac.uk>
2206
2207         * c-typeck.c (digest_init): Handle boolean types as scalars.
2208
2209 Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2210
2211         * stmt.c (expand_return): Don't return anything if size is zero.
2212         Delete redundant assignment to BYTES.
2213         * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
2214
2215 2001-01-20  Marek Michalkiewicz  <marekm@linux.org.pl>
2216
2217         * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
2218         the same as the default library function names.
2219         * config/avr/avr.md: Document special characters after '%'.
2220         (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
2221         knowing which of the call-used registers are really clobbered.
2222         (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
2223         New.  Both quotient and remainder from one libgcc.S call.
2224         * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
2225         clobber as few registers as possible.
2226         * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
2227
2228 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
2229
2230         * cppmacro.c (funlike_invocation_p): Don't move back up to the
2231         context of the top of the stack.
2232
2233 2001-01-20  Jakub Jelinek  <jakub@redhat.com>
2234
2235         * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
2236         (fixup_var_refs_insns): ...here.
2237
2238 2001-01-20  Zack Weinberg  <zack@wolery.stanford.edu>
2239
2240         * function.c (fixup_var_refs_insns): Break up into
2241         fixup_var_refs_insn [body of loop], fixup_var_refs_insns
2242         [loop over entire insn list], and fixup_var_refs_insns_with_hash
2243         [loop over hash table entries].
2244         (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
2245         fixup_var_refs_insns_with_hash, to match above changes.
2246
2247 2001-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2248
2249         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
2250         (libgcc.a): Likewise.
2251         (stmp-multilib): Likewise.
2252         (STAGE2_FLAGS_TO_PASS): Likewise.
2253
2254 2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
2255
2256         * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
2257         temporary if no_new_pseudos.
2258
2259 2001-01-19  Neil Booth  <neil@daikokuya.demon.co.uk>
2260
2261         * cppinternals.texi: Update.
2262
2263 2001-01-19  Richard Earnshaw  <rearnsha@arm.com>
2264
2265         * arm.c (arm_init_builtins): Re-enable builtins.
2266
2267 Fri Jan 19 13:02:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2268
2269         * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
2270         * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
2271         element to be null, and always expect an EXPR_LIST.
2272         * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
2273         * sched-deps.c (sched_analyze_1): Likewise.
2274         * sched-rgn.c (check_live_1, update_live_1): Likewise.
2275
2276         * regclass.c (max_set_parallel): New variable.
2277         (reg_scan): Take it into account in computation of max_parallel.
2278         (reg_scan_mark_refs, case SET): Compute it.
2279
2280         * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
2281         args are REG.
2282         * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
2283         * function.c (assign_parms): Use INTVAL for a CONST_INT.
2284
2285 2001-01-19  Jason Merrill  <jason@redhat.com>
2286
2287         * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
2288         for the abstract instance of an inline function.
2289
2290 Fri Jan 19 14:31:35 2001  Alexandre Oliva  <aoliva@redhat.com>
2291                           J"orn Rennecke <amylaar@redhat.com>
2292
2293         * reload1.c (move2add_note_store): Treat all registers directly or
2294         indirectly derived from a base register as members of the same set
2295         of values.
2296         (reload_cse_move2add): Adjust accordingly.  Take mode and offset
2297         of base register into account.
2298
2299 Fri Jan 19 09:18:42 2001  J"orn Rennecke <amylaar@redhat.com>
2300
2301         * alias.c (find_base_value): Recognize TRUNCATE.
2302         (record_set): In PLUS case, invalidate if other summand is also a
2303         base value.
2304
2305 Thu Jan 18 06:43:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2306
2307         * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
2308         entry to be EXPR_LIST.
2309         * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
2310         be an EXPR_LIST (but not null, which other code doesn't allow).
2311         (note_stores): Properly handle PARALLEL in SET.
2312         Recursively call for top-level PARALLEL.
2313         * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
2314         * sched-rgn.c (check_live_1, update_live_1): Likewise.
2315
2316         * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
2317
2318 2001-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2319
2320         * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
2321         not pfile->skipping (== 0).
2322
2323 2001-01-17  Nick Clifton  <nickc@redhat.com>
2324
2325         * config/rs6000/rs6000.c: Add prototypes for {init|free}_
2326         machine_status.
2327
2328 2001-01-17  Jim Wilson  <wilson@redhat.com>
2329
2330         * invoke.texi (IA-64 options): Improve.
2331
2332 2001-01-17  Tom Tromey  <tromey@redhat.com>
2333
2334         * invoke.texi (Optimize Options): Use `{}' to around @samp
2335         argument.
2336
2337 2001-01-17  Aldy Hernandez  <aldyh@redhat.com>
2338
2339         * invoke.texi (-fno-guess-branch-probability): New option.
2340
2341 Wed Jan 17 13:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2342
2343         * combine.c (try_combine): Don't set i3_subst_into_i2 for
2344         case of making new double-word constant.
2345         Revert last change: instead just test i3_subst_into_i2.
2346
2347 2001-01-17  Jakub Jelinek  <jakub@redhat.com>
2348
2349         * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
2350         Use q constraints instead of r.
2351
2352 Tue Jan 16 22:23:04 2001  Alan Modra (alan@linuxcare.com.au)
2353
2354         * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
2355         (machine_function): Define.
2356         (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
2357         * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
2358         pa_free_machine_status): New functions.
2359         (override_options): Set {init,mark,free}_machine_status to above.
2360         (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
2361         PIC_OFFSET_TABLE_REGNUM_SAVED.
2362         * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
2363         PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
2364         * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
2365         references to PIC_OFFSET_TABLE_REGNUM_SAVED.
2366         * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
2367
2368 2001-01-15  DJ Delorie  <dj@redhat.com>
2369
2370         * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
2371         (cpp.1): Ditto.
2372         (gcc.1): Ditto.
2373
2374 Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2375
2376         * flow.c (propagate_on_insn): Make trying to delete a prologue
2377         or epilogue insn an ICE, not a warning.  Allow doing this if
2378         the current function returns with stack pointer depressed.
2379
2380         * combine.c (try_combine): If i3_subst_into_i2, properly check for
2381         I3 having more than one SET.
2382
2383 2001-01-16  Jim Wilson  <wilson@redhat.com>
2384
2385         * invoke.texi: Document IA-64 options.
2386
2387         * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
2388         (fixup_errata): Delete TARGET_A_STEP use.
2389         * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
2390         (TARGET_SWITCHES): Delete -ma-step option.
2391         * config/ia64/ia64.md (all FP patterns): Delete %B0.
2392         (movqicc_astep, movqi_internal_astep, movhicc_astep,
2393         movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
2394         movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
2395         movdfcc_astep, movdf_internal_astep, movtfcc_astep,
2396         movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
2397         Delete.
2398         (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
2399         movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
2400         cmovsi_internal): Delete ! TARGET_A_STEP check.
2401
2402 2001-01-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2403
2404         * gcc.texi (Bug Lists): Do not mention newsgroups nor the
2405         possibility to report bugs via postal mail. Change a URL and
2406         merge in a nearly duplicate statement...
2407         (Bug Reporting): ...from here.
2408         (Service): Refer to the Bug Reporting section instead of
2409         duplicating an URL.
2410         (Contributing): Remove trivial explanations concerning snapshots.
2411
2412 2001-01-16  Alan Modra <alan@linuxcare.com.au>
2413
2414         * cppmain.c (general_init): Don't use ANSI prototype.
2415
2416 2001-01-16  Tom Tromey  <tromey@redhat.com>
2417
2418         * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
2419
2420 2001-01-16  Richard Henderson  <rth@redhat.com>
2421
2422         * config/i386/i386.h: Fix comment typo.
2423         * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
2424         (ashr+compare patterns): Match CCGOCmode not CCNOmode.
2425
2426 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
2427
2428         * gcc.c:  Revert previous -fsyntax-only-related change; move
2429           to cp/g++spec.c.
2430
2431 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
2432
2433         * config/i386/i386.c (fcmov_comparison_operator): Only initialize
2434         inmode after checking GET_CODE (op).
2435
2436 2001-01-16  Richard Henderson  <rth@redhat.com>
2437
2438         * flow.c (struct propagate_block_info): Add mem_set_list_len.
2439         (MAX_MEM_SET_LIST_LEN): New.
2440         (propagate_one_insn): Update mem_set_list_len.
2441         (invalidate_mems_from_autoinc): Likewise.
2442         (invalidate_mems_from_set): Likewise.
2443         (mark_used_regs): Likewise.
2444         (init_propagate_block_info): Likewise.  Stop collecting memories
2445         when we reach MAX_MEM_SET_LIST_LEN.
2446         (mark_set_1): Likewise.
2447
2448 2001-01-16  Richard Henderson  <rth@redhat.com>
2449
2450         * unroll.c (precondition_loop_p): Fail if no iteration
2451         variable found.
2452
2453 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
2454
2455         * gcc.c:  When -fsyntax-only is given, do not complain about
2456           unused libraries.
2457
2458 2001-01-15  Richard Henderson  <rth@redhat.com>
2459
2460         * config/i386/i386.c (asm_output_function_prefix): Remove.
2461         (ix86_asm_file_end): New.
2462         (load_pic_register): Generate pic_label_name into a
2463         staticly allocated buffer.
2464         * config/i386/i386-protos.h: Update.
2465         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
2466         (ASM_FILE_END): New.
2467         * config/i386/i386afe.h: New file.
2468         * config.gcc (i?86-*-elf) [tm_file]: Use it.
2469         (i?86-*-{freebsd,linux*,moss*}): Likewise.
2470         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
2471         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
2472         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
2473         * config/i386/sco5.h (ASM_FILE_END): Likewise.
2474         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
2475
2476 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
2477
2478         * Makefile.in (install-man): Remove explicit dependency on
2479         $(srcdir)/gcc.1.
2480
2481         * configure.in, configure: Revert previous patch requiring perl
2482         5.6.0.
2483
2484 2001-01-12  Aldy Hernandez  <aldyh@redhat.com>
2485
2486         * toplev.c (flag_guess_branch_prob): New.
2487         (f_options): Add guess-branch-probability option.
2488         (rest_of_decl_compilation): Only estimate branch probability if
2489         flag set.
2490         (main): set flag_guess_branch_prob.
2491
2492         * flags.h (flag_guess_branch_prob): New.
2493
2494 2001-01-15  DJ Delorie  <dj@redhat.com>
2495
2496         * gcc.texi (Makefile): Add documentation for Makefile targets.
2497
2498 2001-01-15  Philip Blundell  <philb@gnu.org>
2499
2500         * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
2501         (is_pic): Delete.
2502         * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
2503         (is_pic): Delete declaration.
2504         * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
2505         (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
2506         * config/arm/arm.md (builtin_setjmp_receiver): New.
2507
2508 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
2509
2510         * arm.c (use_return_insn): Don't try to determine the function type
2511         until after reload has completed.
2512         (arm_output_epilogue): Don't adjust the sp value recovered from the
2513         stack.
2514         (emit_multi_reg_push): Don't record dwarf information for the pc.
2515         * arm.md (eh_epilogue): The function type may have changed, so it
2516         needs to be recalculated.
2517         * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete.  Can now use dwarf2
2518         unwind tables on arm/netbsd.
2519
2520 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
2521
2522         * arm.md (cbranchsi4): Correct calculation of branch ranges.
2523         (negated_cbranchsi4): Likewise.
2524
2525 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
2526
2527         * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
2528         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
2529         (ASM_SPEC): Call subtarget_extra_asm_spec.  Don't
2530         pass -mapcs-* options to assembler.
2531         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
2532         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
2533         (ASM_SPEC): Call subtarget_extra_asm_spec.
2534
2535 2001-01-15  Andreas Jaeger  <aj@suse.de>
2536
2537         * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
2538         warnings.
2539         (ix86_expand_builtin): Likewise.
2540
2541         * gencodes.c (output_predicate_decls): Make i size_t to avoid
2542         warning about comparison between signed and unsigned.
2543
2544 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
2545
2546         * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
2547
2548 2001-01-14  Ralf Baechle <ralf@gnu.org>
2549
2550         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
2551         SUBTARGET_CPP_SPEC apropriatly.
2552
2553 2001-01-12  Mark Mitchell  <mark@codesourcery.com>
2554
2555         * varasm.c (make_decl_rtl): Fix typo in last change.
2556
2557 2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>
2558
2559         * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
2560         linker supports the init_priority C++ attribute.
2561         * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
2562         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
2563         linker does not support init_priority C++ attribute.
2564
2565 Sun Jan 14 22:31:30 2001  J"orn Rennecke <amylaar@redhat.com>
2566
2567         * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
2568
2569 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2570
2571         * c-parse.in (finish_parse): Add comment about cpp_destroy.
2572         * cp/lex.c (finish_parse): Similarly.
2573         * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
2574         Return the number of errors encountered.
2575         * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
2576         * cppmain.c (main): Don't call cpp_destroy.
2577
2578 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
2579
2580         * configure.in: Require at least perl 5.6.0 to regenerate
2581         manpages.
2582         * configure: Regenerate.
2583
2584 2001-01-14  Richard Henderson  <rth@redhat.com>
2585
2586         * genrecog.c (DT_veclen_ge): New.
2587         (add_to_sequence) [MATCH_PARALLEL]: Generate one.
2588         (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
2589         (nodes_identical_1): Handle DT_veclen_ge.
2590         (write_cond, debug_decision_2): Likewise.
2591
2592 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
2593
2594         * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
2595         with ...
2596         (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
2597
2598 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2599
2600         * cppmain.c (do_preprocessing): New function; most of the old
2601         main.
2602         (main): Call it to do most of the work.
2603         (cb): Move from global scope to set_callbacks ().
2604         (setup_callbacks): Get the callback pointer.
2605         (general_init, printer_init): Clean up code and comments.
2606
2607 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
2608
2609         * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
2610         compiling PIC.
2611
2612 2001-01-14  Kazu Hirata  <kazu@hxi.com>
2613
2614         * config/h8300/h8300.c (get_shift_alg): Update comments.
2615
2616 Sun Jan 14 06:20:49 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2617
2618         * ggc-page.c (alloc_annon): Call perror and correctly call exit.
2619         (alloc_page, ggc_alloc): Add casts to remove warnings.
2620
2621 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
2622
2623         * combine.c (simplify_comparison): Don't change `code' when
2624         can't reverse comparison.
2625
2626 2001-01-14  Richard Henderson  <rth@redhat.com>
2627
2628         * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
2629         update all call sites.  Return true for all non-label constants.
2630
2631 Sun Jan 14 10:09:48 MET 2001  Jan hubicka  <jh@suse.cz>
2632
2633         * i386.c (ix86_expand_compare): Add bypass_test and second_test
2634         parameters.
2635         (ix86_expand_branch): Update.
2636         (ix86_expand_setcc): Update to handle multiple test conditions.
2637         (expand_int_movcc): Likewise.
2638         (expand_fp_movcc): Likewise.
2639         * i386-protos.h (ix86_expand_compare): New.
2640         * i386.md (andqi_?_slp, orqi_?_slp): New.
2641         (conditional trap expander): Update call to ix86_expand_compare.
2642
2643 2001-01-14  Richard Henderson  <rth@redhat.com>
2644
2645         * config/vax/vax.md: Use nonimmediate_operand instead of
2646         general_operand in destinations.
2647
2648         * config/vax/vax.md (indirect_jump): Use register_operand.
2649
2650         * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
2651         * config/vax/vax.md (call_pop): Turn into an expander.
2652         (call_value_pop): Likewise.
2653         (call, call_value): New.
2654
2655 2001-01-14  Andreas Jaeger  <aj@suse.de>
2656
2657         * config/i386/i386.c (ix86_split_fp_branch): Remove unused
2658         variables.
2659         (ix86_fp_compare_mode): Add unused attribute.
2660         (ix86_expand_fp_movcc): Remove unused variable.
2661         (ix86_expand_builtin): Make fcode unsigned.
2662
2663         * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
2664         (expand_expr): Add cast to avoid signed warning.
2665         (store_field): Likewise.
2666         (store_constructor_field): Likewise.
2667         (store_constructor): Likewise.
2668         (store_expr): Likewise.
2669         (clear_storage): Likewise.
2670         (emit_group_store): Likewise.
2671         (emit_group_load): Likewise.
2672
2673 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2674
2675         * c-common.c: Move format checking code to ...
2676         * c-format.c: ... here.  New file.  Reorder some functions and
2677         declarations.
2678         (decl_handle_format_attribute, decl_handle_format_arg_attribute):
2679         New functions.
2680         * c-common.h (decl_handle_format_attribute,
2681         decl_handle_format_arg_attribute): Declare.
2682         * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
2683         (c-common.o): Adjust dependencies.
2684         (c-format.o): New list of dependencies.
2685
2686 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
2687
2688         * unroll.c (loop_iterations): If we cannot prove iteration variable
2689         is set once in each iteration, punt.
2690
2691 Sun Jan 14 00:23:15 2001  Denis Chertykov  <denisc@overta.ru>
2692
2693         * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
2694         (*strlenhi): Remove clobber (which was buggy) of output address.
2695
2696 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2697
2698         * Makefile.in (generated-manpages): Add gcc.1
2699         ($(srcdir)/gcc.1): New target.
2700         (maintainer-clean): Delete $(srcdir)/gcc.1.
2701         * gcc.texi: Add macros @gccoptlist and @gol.
2702         * invoke.texi: Include option summary in manpage.  Mark up option
2703         summary with @gccoptlist and @gol.  Use @r in one place where
2704         appropriate.
2705         * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
2706         * gcc.1: Generate from invoke.texi.
2707
2708 2001-01-13  Richard Henderson  <rth@redhat.com>
2709
2710         * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
2711         (struct page_entry): Add group member.
2712         (struct page_group): New.
2713         (struct globals): Add page_groups member.
2714         (alloc_anon): Only define for using mmap; remove valloc call.
2715         (page_group_index): New.
2716         (set_page_group_in_use): New.
2717         (clear_page_group_in_use): New.
2718         (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
2719         (free_page, release_pages): Likewise.
2720         * configure.in (with-gc): Default to ggc-page always.
2721
2722 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
2723
2724         * reload1.c (replace_pseudos_in_call_usage): Use
2725         reg_equiv_constant and reg_equiv_address, and don't try
2726         regno_reg_rtx first.
2727
2728 2001-01-13  Richard Henderson  <rth@redhat.com>
2729
2730         * ggc-page.c (alloc_page): Round up allocation size to one page.
2731         Set e->order on extra pages.
2732
2733 2001-01-13  Richard Henderson  <rth@redhat.com>
2734
2735         * genrecog.c (nodes_identical): Expand commentary.
2736         (write_switch): Watch out for identical nodes.
2737
2738 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2739
2740         * cppfiles.c (_cpp_fake_include): New function.
2741         * cpphash.h (_cpp_fake_include): New.
2742         * cpplib.c (do_line): Call _cpp_fake_include when entering
2743         header files in preprocessed input.
2744         * cppmain.c (cb_pragma_implementation): Remove handling.
2745         (setup_callbacks): Don't register pragmas.
2746
2747 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2748
2749         * extend.texi: Udate for CPP.
2750
2751 2001-01-13  Andreas Jaeger  <aj@suse.de>
2752
2753         * reload1.c: Add prototype for replace_pseudos_in_call_usage.
2754
2755         * regmove.c: Add prototype for replace_in_call_usage.
2756
2757 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2758
2759         * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
2760         struct cpp_chunk, struct htab, struct toklist,
2761         struct cpp_context, CPP_STACK_MAX, struct lexer_state,
2762         struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
2763         CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
2764         ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
2765         (struct macro_args): Delete.
2766         * cpphash.h: See above.
2767
2768 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2769
2770         * cppmain.c (struct printer): Remove no_line_dirs.
2771         (options, cb): New.
2772         (main, setup_callbacks, scan_buffer, printer_init, cb_define)
2773         : Use options rather than CPP_OPTION.
2774         (setup_callbacks): Use cb rather than pfile->cb.
2775         (main): No need to check for a buffer.  Use cpp_errors.
2776         (printer_init): Don't set no_line_dirs.
2777         (maybe_print_line): Use options not no_line_dirs.
2778         (cb_file_change): Don't call print_line if -P.
2779
2780 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2781
2782         * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
2783         callbacks.
2784         * c-parse.in (finish_parse): Use cpp_errors.
2785         (__yylex): Use return value of cpp_pop_buffer.
2786         * cp/lex.c (finish_parse): Use cpp_errors.
2787         * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
2788
2789 Sat Jan 13 16:57:40 2001  Denis Chertykov  <denisc@overta.ru>
2790
2791         * README.AVR: URLs corrected.
2792
2793 Sat Jan 13 07:30:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2794
2795         * c-decl.c (start_function): Don't warn if old prototype is builtin
2796         that's not in C's namespace.
2797         * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
2798         (_bb): Add prototype for ctime.
2799         * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
2800
2801 Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
2802
2803         * i386.c (ix86_fp_comparison_arithmetics_cost,
2804         ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
2805         ix86_fp_comparison_cost): New functions.
2806         (ix86_expand_fp_compare): Use the costs to choose best bethod; add
2807         two new parameters SECOND_TEST and BYPASS_TEST; allow generating
2808         two-branch sequences; make static.
2809         (ix86_use_fcomi_compare): Do decision according to the costs.
2810         (split_fp_branch): New.
2811         * i386.md (compare-and-branch patterns): Use split_fp_branch.
2812         * i386-protos.h (ix86_expand_fp_compare): Remove
2813         (ix86_split_fp_branch): Declare.
2814
2815         * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
2816         and ix86_comparison_operator.
2817
2818         * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
2819         to make it cheaper.
2820
2821         * i386.c (put_condition_code): Output properly the unordered/ordered
2822         compares in fp case.
2823         (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
2824
2825         * tm.texi (REVERSE_CONDITION): Document.
2826         * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
2827         in -ffast-math mode.
2828         * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
2829
2830 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
2831
2832         * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
2833
2834         * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
2835         optimized away.
2836
2837         * config/sh/sh.c (mova_p): Fix test for mova_const.
2838
2839 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2840
2841         * fix-header.c (read_scan_file): Use cpp_get_callbacks and
2842         cpp_get_options rather than dereferencing pfile and using
2843         CPP_OPTION.
2844         * scan-decls.c (scan_decls): Use return value of
2845         cpp_pop_buffer rather than CPP_BUFFER.
2846
2847 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2848
2849         * cppinit.c (cpp_handle_option): help_only is now part of the
2850         cpp_options structure.
2851         * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
2852         cpp_set_callbacks): New functions.
2853         * cpplib.h (cpp_callbacks): Break out as a named structure.
2854         (cpp_options): Move help_only here from cpp_reader.
2855         (CPP_FATAL_ERRORS): Update to use cpp_errors.
2856         (cpp_errors, cpp_get_options, cpp_get_callbacks,
2857         cpp_set_callbacks): New prototypes.
2858         * cppmain.c (main): Update for help_only.
2859
2860 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2861
2862         * Makefile.in (info, maintainer-clean, install-info, uninstall):
2863         Also build and remove and install and uninstall c-tree.info and
2864         cppinternals.info.
2865         ($(srcdir)/gcc.info): Add dependency on contrib.texi.
2866         ($(srcdir)/cppinternals.info): New target.
2867         * c-tree.texi: Change file name used when makeinfo used without -o
2868         from ir.info to c-tree.info.  Add info directory entry.
2869         * cppinternals.texi: Add info directory entry.
2870         * .cvsignore: Update.
2871
2872 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
2873
2874         * c-typeck.c (store_init_value): Don't require constant initializer
2875         elements with -pedantic -std=c99.
2876         (digest_init): Change error about non-constant initializer elements
2877         into pedwarn.
2878         (constructor_range_end): Remove.
2879         (constructor_incremental, designator_depth,
2880         designator_errorneous): New variables.
2881         (struct constructor_stack): Remove range_end, add incremental.
2882         (struct constructor_range_stack, constructor_range_stack): New.
2883         (struct initializer_stack): Add constructor_range_stack.
2884         (finish_init): Set it.
2885         (start_init): Likewise.  require_constant_elements for non-static
2886         trees only if not flag_isoc99.
2887         (really_start_incremental_init): Remove constructor_range_end, add
2888         constructor_incremental.
2889         (pop_init_level): Likewise.
2890         (push_init_level): Likewise.  If implicit and the subobject had some
2891         value set already, preinitialize the level with it.
2892         Warn about missing braces only if not pushing due to designators.
2893         (set_designator, push_range_stack): New functions.
2894         (set_init_label): Use them.
2895         (set_init_index): Likewise.  Remove constructor_range_end.
2896         Error if designator index is outside of array bounds.
2897         (add_pending_init): Compare values of purpose index trees, not the
2898         trees themselves.  Allow overwriting of already initialized element.
2899         Issue a warning if it had side-effects.
2900         (set_nonincremental_init, set_nonincremental_init_from_string): New
2901         functions.
2902         (pending_init_member): Rename to...
2903         (find_init_member): ...this function.  Call set_nonincremental_init
2904         if necessary.  Compare values of purpose index trees, not the trees
2905         themselves.  Return the actual value, not just non-zero if something
2906         is found.
2907         (output_init_element): Remove checks for duplicates.
2908         If field has zero size, only check the initializer for correctness.
2909         Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
2910         if constructor_incremental is zero.  Change error about initializers
2911         not computable at load time into pedwarn.
2912         (output_pending_init_elements): Compare bit positions, not
2913         FIELD_DECLs to take into account zero-sized fields.
2914         (process_init_element): Use constructor_range_stack to fill all
2915         ranges in the designator lists from current level up.
2916         * extend.texi: Update documentation for labeled elements.
2917
2918 2001-01-12  Alexandre Oliva  <aoliva@redhat.com>
2919
2920         * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
2921         to function usage for arguments passed by reference.  Optimize
2922         callee-copied arguments.
2923         * regmove.c (replace_in_call_usage): New function.
2924         (fixup_match_1): Call it.
2925         * cse.c (cse_insn): Canonicalize registers in function usage.
2926         * reload1.c (replace_pseudos_in_call_usage): New function.
2927         (reload): Call it.
2928
2929         * Makefile.in: Reverted yesterday's wrong patch.  Installed the
2930         right version.
2931
2932 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
2933
2934         * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
2935         not XEXP (tmp, 0).
2936
2937 2001-01-12  DJ Delorie  <dj@redhat.com>
2938
2939         * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
2940         restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
2941         targets.
2942
2943 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
2944
2945         * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
2946         tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
2947         -std options alongside references to -ansi.  Update some
2948         documentation for C99.
2949         * cpp.1: Regenerate.
2950
2951 2001-01-12  Andreas Jaeger  <aj@suse.de>
2952
2953         * haifa-sched.c (restore_line_notes): Remove argument block B
2954         since it's unused.
2955         * sched-ebb.c (schedule_ebb): Change caller.
2956         * sched-rgn.c (schedule_region): Likewise.
2957         * sched-int.h (restore_line_notes): Adjust prototype.
2958
2959         * loop.h: Remove wrong declaration of doloop_condition_get.
2960
2961 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
2962
2963         * extend.texi:  Move C++-extension-related node from the C section
2964           into the C++ section.
2965
2966 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
2967
2968         * extend.texi: Refer to an array of pointers to functions instead
2969         of one of functions.
2970
2971 Fri Jan 12 12:08:12 MET 2001  Andreas Jaeger  <aj@suse.de>
2972                               Jan Hubicka  <jh@suse.cz>
2973
2974         * combine.c (reversed_comparison): Fix typo in last patch.
2975         Check X for NULL.
2976         (combine_reversed_comparison_code): Make static to follow
2977         prototype declaration.
2978
2979 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
2980
2981         * install.texi:  Remove misplaced duplicate entry.
2982
2983 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
2984
2985         * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
2986
2987 Thu Jan 11 17:06:30 EST 2001  John Wehle  (john@feith.com)
2988
2989         * final.c: (leaf_function_p): Fix typo.
2990
2991 2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>
2992
2993         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
2994         Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
2995         which you have.
2996         (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
2997         * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
2998         mmap_anon, and valloc is available.
2999         * ggc-page.c: Restructure ifdef logic to match new autoconf
3000         spec.  Don't throw away the test page in init_ggc.
3001
3002         * configure, config.in: Regenerate.
3003
3004 2001-01-12  Michael Hayes  <mhayes@redhat.com>
3005
3006         * loop.h (total_biv_increment): Constify iv_class pointer.
3007         (struct induction): Replace `mem_mode' with `mem' rtx.
3008         * unroll.c (total_biv_increment): Constify iv_class pointer.
3009         * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
3010         (find_mem_givs, combine_givs_p): Likewise.
3011         (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
3012
3013 2001-01-10  Thomas Pfaff <tpfaff@gmx.net>
3014
3015         * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
3016         LastError.
3017         (__gthread_getspecific): Ditto.
3018
3019 Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
3020
3021         * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
3022         put_condition_code): Convert fp comparison codes to integer
3023         before handling.
3024         (ix86_expand_fp_compare): Postnote the fp comparison code converison
3025         to final.
3026
3027         * i386.c (unsigned_comparison, no_comparison_operator): Kill.
3028         * i386-protos.h (no_comparison_operator): Kill.
3029
3030         * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
3031
3032         * combine.c (REVERSIBLE_CC_MODE): Remove.
3033         (reversible_comparison_p): Remove.
3034         (combine_reversed_comparison_code): New.
3035         (reversed_comparison): New.
3036         (combine_simplify_rtx): Use
3037         combine_reversed_comparison_code/reversed_comparison instead
3038         of reversible_comparison_p.
3039         (simplify_if_then_else): Likewise.
3040         (simplify_set): Likewise.
3041         (simplify_logical): Likewise.
3042         (if_then_else_cond): Likewise.
3043         (known_cond): Likewise.
3044         (simplify_comparison): Likewise.
3045
3046 2001-01-11  Alan Lehotsky  <lehotsky@tiac.net>
3047
3048         * builtins.c (std_expand_builtin_va_start): Handle varargs when
3049         sizeof (int) is larger than sizeof(__word__).
3050
3051 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3052
3053         * cppinit.c (do_includes): Fix typo.
3054
3055 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3056
3057         * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
3058         in S_REGS does not occur because not all sources are possible
3059         when a S_REGS is a destination (sometimes needs a clobber).
3060         (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
3061         (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
3062         (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
3063         (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
3064         (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
3065         (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
3066         (lshrdi_const1, lshrsi3_const16): Likewise.
3067         (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
3068         (*movhi_68hc12, *movqi_68hc12): Likewise.
3069         (movstrictqi): Make sure reloading in D_REGS as a destination
3070         does not happen.
3071
3072 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3073
3074         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
3075
3076 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3077
3078         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
3079         -D, -U and -A, and don't initialize the builtins.
3080         (do_includes): Error if -include or -imacros with -fpreprocessed.
3081         * cppmain.c (cb_define, cb_undef): Unconditionally process
3082         the callback.
3083         * tradcpp.c (main): Fix typo.
3084
3085 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
3086
3087          * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
3088            (read_name_map): Use IS_ABSOLUTE_PATH.
3089          * tradcpp.c (get_filename): Likewise.
3090
3091 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3092
3093         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
3094         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
3095         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
3096         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
3097         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
3098         (cmphi_z_used): Don't use '@' for the output.
3099         (tstqi_z_used): Likewise.
3100         (cmpqi_z_used): Likewise.
3101         (one_cmplsi2): Likewise.
3102
3103 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
3104
3105         * config/sh/sh.c (barrier_align): Recognize branch around far
3106         branch and redundant insn.
3107
3108 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3109
3110         * invoke.texi: Restore documentation of the drivers' switches -MD
3111         and -MMD.
3112
3113 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
3114
3115         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
3116
3117         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
3118         check-objc//%): Support parallel testing of multilibs.
3119         (TESTSUITEDIR): Set to testsuite by default, but override for
3120         parallel testing.
3121         (check-gcc, check-g++, check-g77, check-objc): Enter
3122         $(TESTSUITEDIR).
3123
3124 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
3125
3126         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
3127         * sched-deps.c (deps_may_trap_p): Likewise.
3128         * basic-block.h: Remove a comment.
3129         * flow.c (PROP_POSTRELOAD): Remove.
3130         (update_life_info): Don't add it to prop_flags.
3131         (mark_set_1): Lose the code that was enabled by it.
3132
3133 2001-01-11  Michael Hayes  <mhayes@redhat.com>
3134
3135         * flow.c (flow_call_edges_add): New.
3136         * basic_block.h (flow_call_edges_add): New.
3137
3138 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
3139
3140         * reload1.c (move2add_note_store): Update reg_set_luid even if
3141         base reg remains the same.
3142
3143 2001-01-10  Nick Clifton  <nickc@redhat.com>
3144
3145         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
3146         machine_function structure to zero.
3147         Add prototypes for machine_status functions.
3148
3149 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
3150
3151         * c-common.h (CTI_VOID_LIST): Remove.
3152         (void_list_node): Likewise.
3153         * tree.h (TI_VOID_LIST_NODE): New enumeral.
3154         (void_list_node): New macro.
3155         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
3156         * config/i386/i386.c (ix86_init_builtins): Likewise.
3157         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
3158
3159 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
3160
3161         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
3162         * cppinit.c (cpp_start_read): Update comment, remove unneeded
3163         if statement.
3164         * tradcpp.c: Include mkdeps.h.
3165         (deps, print_deps_phony_targets, deps_append, output_deps,
3166         init_dependency_output, output_deps): New.
3167         (deps_buffer, deps_allocated_size, deps_size, deps_column,
3168         deps_output): Delete.
3169         (print_deps_missing_files): Rename deps_missing_files.
3170         (inhibit_output): Make global.
3171         (main): Delete inhibit_output, deps_stream, deps_target.
3172         Use mkdeps functionality in the same way as cpplib.  Remove
3173         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
3174         -M and -MM.  Remove old handling of deps via deps_out, and
3175         old reading of environment variables.
3176         (get_filename): Update to use deps_add_dep.
3177
3178 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
3179
3180         * output.h (make_function_rtl): Remove prototype.
3181         (make_decl_rtl): Likewise.
3182         * varasm.c (make_function_rtl): Remove.
3183         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
3184         than from a third parameter.
3185         * tree.h (make_decl_rtl): Remove last parameter.
3186         * c-decl.c (builtin_function): Remove last argument in call to
3187         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
3188         (start_function): Likewise.
3189         * except.c (call_get_eh_context): Likewise.
3190         * expr.c (emit_block_move): Likewise.
3191         (clear_storage): Likewise.
3192         * profile.c (output_func_start_profiler): Likewise.
3193         * toplev.c (rest_of_decl_compilation): Likewise.
3194         * objc/objc-act.c (create_builtin_decl): Likewise.
3195         (synth_module_prologue): Likewise.
3196         (generate_static_reference): Likewise.
3197         (build_selector_reference_decl): Likewise.
3198         (build_class_reference_decl): Likewise.
3199         (build_objc_string_decl): Likewise.
3200         (build_protocol_reference): Likewise.
3201
3202 2001-01-10  Richard Henderson  <rth@redhat.com>
3203
3204         * hwint.h: Revert yesterday's change.
3205
3206 2001-01-10  Nick Clifton  <nickc@redhat.com>
3207
3208         * function.h (save_machine_status): Delete.
3209         (restore_machine_status): Delete.
3210         Amend comment describing {init|mark|free}_machine_status.
3211
3212         * function.c (save_machine_status): Delete.
3213         (restore_machine_status): Delete.
3214         Amend comment describing {init|mark|free}_machine_status.
3215         (push_function_context_to): Remove invocation of
3216         save_machine_status.
3217         (pop_function_context_from): Remove invocation of
3218         restore_machine_status.
3219
3220         * emit-rtl.c (init_emit_once): Amend comment describing
3221         {init|mark|free}_machine_status.
3222
3223         * tm.texi (Per-Function Data): New node.  Describe the
3224         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
3225         function pointers.
3226
3227 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
3228
3229         * cppinit.c (OPT_g): Remove.
3230         (cpp_handle_option): Update for removed -g3.
3231         (print_help): Update.
3232         * cpplib.h (struct cpp_options): Remove debug_output.
3233         * cppmain.c (setup_callbacks, cb_define): Update.
3234         * gcc.c (cpp_options): Translate -g3 to -dD.
3235
3236 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
3237
3238         * config/i960/i960.md: Change modifier to + on the zero_extract
3239         pattern after the (rotate -2 reg) canonicalization pattern.
3240
3241 2001-01-10  Richard Henderson  <rth@redhat.com>
3242
3243         * config/alpha/alpha.c (alpha_free_machine_status): New.
3244         (override_options): Install it.
3245         (alpha_mark_machine_status): Verify machine non-null.
3246         * config/i386/i386.c (ix86_free_machine_status): New.
3247         (override_options): Install it.
3248         (ix86_init_machine_status): Use xcalloc.
3249         (ix86_mark_machine_status): Verify machine non-null.
3250         * config/ia64/ia64.c (ia64_free_machine_status): New.
3251         (ia64_override_options): Install it.
3252         (ia64_mark_machine_status): Verify machine non-null.
3253
3254 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
3255
3256         * function.c (instantiate_virtual_regs): Instantiate virtual
3257         registers found in CALL_INSN_FUNCTION_USAGE.
3258
3259 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3260
3261         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
3262         equivalent to -ansi in disabling -Di386.
3263
3264 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
3265
3266         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
3267         new functions.
3268         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
3269
3270 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
3271
3272         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
3273
3274 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3275
3276         * invoke.texi: Document that -fcond-mismatch isn't supported for
3277         C++.
3278
3279 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3280
3281         * gcc.texi: Define macro gcctabopt.
3282         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
3283         @command, @env and @option in some places where appropriate.  Use
3284         @gcctabopt where appropriate.  Put URLs and email addresses inside
3285         @w.
3286
3287 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
3288
3289         * gcc.c (cpp_options): Set MD file name from output
3290         filename, if specified.
3291         (suffix_subst): New static variable.
3292         (do_spec): Clear it.
3293         (do_spec_1, case '.'): Handle new `%.suffix' spec.
3294         Clear it.
3295         (give_switch): Handle suffix_subst.
3296
3297 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
3298
3299         * invoke.texi:  Fix another typo.
3300
3301 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
3302
3303         * invoke.texi:  Fix typo.
3304
3305 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
3306
3307         * c-lang.c (lang_hooks): Update.
3308         (lang_decode_option): Remove.
3309         (lang_init_options): Rename c_init_options.
3310         * toplev.c (main): Use lang_hooks for lang_init_options
3311         and lang_decode_option.
3312         * toplev.h (lang_hooks): Add 2 new hooks.
3313         * tree.h: Remove lang_init_options and lang_decode_option.
3314         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
3315         * cp/decl2.c: Similarly.
3316         * cp/lex.c (lang_init_options): Rename cxx_init_options.
3317         (lang_hooks): Update.
3318         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
3319         for consistency.
3320         (lang_init_options): Rename ffe_init_options.
3321         (lang_hooks): Update.
3322         (lang_decode_option): Remove.
3323         * java/lang.c (lang_init_options): Rename java_init_options.
3324         (lang_decode_option): Rename java_decode_option.
3325         (lang_hooks): Update.
3326         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
3327         (lang_decode_option): Rename objc_decode_option.
3328         (lang_hooks): Update.
3329
3330 2001-01-09  Nick Clifton  <nickc@redhat.com>
3331
3332         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
3333         (d30v_return_addr_rtx): Delete.
3334         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
3335         cfun->machine structure.
3336         (struct machine_function): Move to d30v.h
3337         (d30v_save_machine_status): Delete.
3338         (d30v_restore_machine_status): Delete.
3339         (d30v_init_machine_status): New Function.
3340         (d30v_mark_machine_status): New Function.
3341         (d30v_free_machine_status): New Function.
3342         (d30v_init_expanders): Use new functions.
3343         (d30v_return_addr): Use ra_rtx field in cfun->machine.
3344         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
3345         d30v_return_addr_rtx.
3346
3347         * config/d30v/d30v.h (struct_machine): Move here.
3348         Add eh_epilogue_sp_ofs field.
3349
3350         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
3351         field in cfun->machine structure.
3352
3353 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3354
3355         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
3356         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
3357         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
3358
3359 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
3360
3361         * objc/lang-options.h: Remove bogus reference to
3362         Java trademark.
3363
3364 2001-01-09  Kazu Hirata  <kazu@hxi.com>
3365
3366         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
3367         return the result.
3368
3369 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
3370
3371         * reload.c (find_reloads_address): Check for eliminable registers
3372                   when substituting a constant expression for a pseudo.
3373
3374 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3375
3376         * c-common.c (enum format_type): Add format_type_error.
3377         (decode_format_type): New function.
3378         (decl_attributes): Use it.
3379         (format_kind_info): Adjust comment.
3380
3381 2001-01-09  David O'Brien  <obrien@BSDi.com>
3382
3383         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
3384         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
3385         files in tm_file.
3386         * config/i386/gnu.h: Don't include required platform specific .h files,
3387         tm.h will do it instead.
3388         * config/i386/i386elf.h: Likewise.
3389         * config/i386/linux.h: Likewise.
3390         * config/i386/moss.h: Likewise.
3391         * config/mips/gnu.h: Likewise.
3392
3393 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3394
3395         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
3396         (rs6000-ibm-aix3.[01]*): Likewise.
3397         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
3398         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
3399         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
3400         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3401         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
3402         (powerpc-*-eabiaix*): Likewise.
3403         (powerpc-*-eabisim*): Likewise.
3404         (powerpc-*-elf*): Likewise.
3405         (powerpc-*-eabi*): Likewise.
3406         (powerpc-*-rtems*): Likewise.
3407         (powerpc-*-linux*libc1): Likewise.
3408         (powerpc-*-linux*): Likewise.
3409         (powerpc-wrs-vxworks*): Likewise.
3410         (powerpcle-wrs-vxworks*): Likewise.
3411         (powerpcle-*-sysv*): Likewise.
3412         (powerpcle-*-elf*): Likewise.
3413         (powerpcle-*-eabisim*): Likewise.
3414         (powerpcle-*-eabi*): Likewise.
3415         (powerpcle-*-solaris2*): Likewise.
3416         * config/rs6000/aix31.h: Delete includes.
3417         * config/rs6000/aix3newas.h: Likewise.
3418         * config/rs6000/aix41.h: Likewise.
3419         * config/rs6000/aix43.h: Likewise.
3420         * config/rs6000/beos.h: Likewise.
3421         * config/rs6000/rtems.h: Likewise.
3422         * config/rs6000/sysv4.h: Likewise.
3423
3424 2001-01-09  Kazu Hirata  <kazu@hxi.com>
3425
3426         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
3427         Change an argument mode of machine_mode to shift_mode of
3428         shift_mode.  Remove an extra error check.
3429         (emit_a_shift): Adopt to the new calling prototype of
3430         get_shift_alg.
3431         (function_prologue): Fix code for a monitor
3432         function.  Support H8/S.
3433         (function_epilogue): Do not output pop for a monitor function.
3434
3435 2001-01-09  Nick Clifton  <nickc@redhat.com>
3436
3437         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
3438         (setup_incoming_varargs): Use sysv_varargs_p field of the
3439         cfun->machine structure.
3440         (struct machine_function): Move to rs6000.h
3441         (rs6000_save_machine_status): Delete.
3442         (rs6000_restore_machine_status): Delete.
3443         (rs6000_init_machine_status): New Function.
3444         (rs6000_free_machine_status): New Function.
3445         (rs6000_init_expanders): Use new functions.
3446
3447         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
3448         export.
3449         (struct machine_function): Move here.
3450
3451         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
3452         sysv_varargs_p field of the cfun->machine structure.
3453
3454         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
3455         Remove prototype.
3456         (rs6000_restore_machine_status): Remove prototype.
3457
3458 2001-01-09  Richard Henderson  <rth@redhat.com>
3459
3460         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
3461         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
3462         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
3463         (sched_analyze_2, sched_analyze_insn): Likewise.
3464         (sched_analyze, init_deps): Likewise.
3465         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
3466         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
3467         (compute_block_backward_dependences): Update propagate_deps call.
3468
3469 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
3470
3471         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
3472
3473 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3474
3475         * cppinit.c (OPT_MD, OPT_MMD): Restore.
3476         (cpp_handle_option): Handle them.
3477         (cpp_post_options): Ensure one of -M or -MM is specified with
3478         any other -M? option.
3479         (init_dependency_output): Suppress output with -MG.
3480
3481 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3482
3483         * cpp.texi: Update.
3484         * invoke.texi: Update.
3485
3486 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
3487
3488         * sh.md (reload_outsf): Generate recognizable patterns for
3489         TARGET_SH3E.
3490
3491 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3492
3493         * c-lang.c (lang_hooks): Update.
3494         (lang_init): Rename c_init.
3495         (lang_finish): Remove.
3496         * toplev.c (compile_file): Use lang_hooks for lang_init ()
3497         and lang_finish ().
3498         * toplev.h (lang_hooks): Add init () and finish ().
3499         * tree.h (lang_init, lang_finish): Remove.
3500         * cp/tree.h (lang_init, lang_finish): Remove.
3501         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
3502         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
3503         lang_hooks): New.
3504         (lang_init, lang_finish): Remove.
3505         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
3506         (lang_hooks): Update.
3507         * java/lang.c (lang_init): Rename java_init.
3508         (lang_finish): Remove.
3509         (lang_hooks): Update.
3510         * objc/objc-act.c (lang_init): Rename objc_init.
3511         (lang_finish): Remove.
3512         (lang_hoooks): Update.
3513
3514 20001-01-09  Graham Stott  <grahams@redhat.com>
3515
3516         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
3517         after `ptr` is initialised.
3518
3519 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
3520
3521         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
3522         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
3523         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
3524         stack adjusts, instead of r3.
3525
3526 2001-01-09  Michael Hayes  <mhayes@redhat.com>
3527
3528         * flow.c (flow_loop_scan): Break out of ...
3529         (flow_loops_find) ... here.
3530         * basic-block.h (flow_loop_scan): New.
3531         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
3532         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
3533
3534 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
3535
3536         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
3537         macro_buffer_len.
3538         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
3539         realloc()ing macro_buffer.
3540
3541         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
3542         if it's wider than long and the target's long is wider than the
3543         host's.
3544
3545 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
3546
3547         Remove support for using UWIN as a host machine.
3548         * configure.in: Issue an error message.
3549         * configure: Regenerated.
3550         * config.gcc: Remove xm_* UWIN configury.
3551         * config/i386/xm-uwin.h: Remove.
3552
3553 2001-01-08  Nick Clifton  <nickc@redhat.com>
3554
3555         * config/v850/v850.c (ra_rtx): Delete.
3556         (v850_save_machine_status): Delete.
3557         (v850_restore_machine_status): Delete.
3558         (v850_init_machine_status): New function.
3559         (v850_mark_machine_status): New function.
3560         (v850_free_machine_status): New function.
3561         (v850_return_addr): Use ra_rtx field in machine structure.
3562         (v850_init_expanders): Use new functions.
3563
3564         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
3565         * config/v850/v850.c: Change arguments to v850_output+* functions
3566         to take a const char *, to avoid compile time warning.
3567         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
3568         (USER_LABEL_PREFIX): Redefine.
3569
3570 2000-01-08  Jim Wilson  <wilson@redhat.com>
3571
3572         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
3573         1 to unsigned HOST_WIDE_INT before left shift.
3574
3575 2001-01-08  Nick Clifton  <nickc@redhat.com>
3576
3577         * config/arm/arm.c (arm_mark_machine_status): Check to see if
3578         the machine structure has been allocated.
3579         (arm_free_machine_status): New function: Free the machine
3580         specific function structure.
3581
3582 2001-01-08  Richard Henderson  <rth@redhat.com>
3583
3584         * jump.c (simplejump_p): Revert last change.
3585
3586 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3587
3588         * cppinit.c (init): Rename init_library.
3589         (cpp_create_reader): Update.
3590         * gcc.c (cpp_options): If -o given, use it as the target of
3591         any -M options.
3592
3593 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
3594
3595         * arm.c (arm_arch5e): New variable.
3596         (all_cores): XScale is a 5TE device.
3597         (arm_override_options): Set arm_arch5e.
3598         (arm_init_builtins): __builtin_prefetch is in arch5e.
3599         * arm.h (arm_arch5e): Declare it.
3600
3601         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
3602
3603         * arm.md (define_constants): Add defines for UNSPEC and
3604         UNSPEC_VOLATILE insns.  Update all users.
3605         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
3606         * arm.c (multi_register_push, note_invalid_constants)
3607         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
3608         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
3609         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
3610
3611 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
3612
3613         * jump.c (jump_optimize_1): Use reversed_comparison_code
3614         instead of can_reverse_comparison_p.
3615         (jump_back_p): Likewise.
3616         (invert_exp_1): Likewise.
3617         (thread_jumps): Likewise.
3618         * simplify-rtx.c (simplify_unary_operation): Likewise.
3619         (simplify_ternary_operation): Likewise.
3620         * cse.c (find_comparison_args): Convert to use
3621         can_reverse_comparison_p.
3622         (record_jump_equiv): Likewise.
3623
3624 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
3625
3626         * arm.h (HARD_REGNO_RENAME_OK): Delete.
3627         (EPILOGUE_USES): Define.
3628         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
3629         automatically stack the LR if it isn't live.
3630
3631 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
3632
3633         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
3634         properly.
3635
3636 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
3637
3638         * ggc-page.c (max_alignment): New structure.
3639         (MAX_ALIGNMENT): New macro.
3640         (init_ggc): Use it to round up the sizes in the
3641         extra_order_size_table.
3642
3643 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3644
3645         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
3646         after reload.
3647
3648 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3649
3650         * builtins.def (BUILT_IN_FPRINTF): New entry.
3651
3652         * c-common.c (c_expand_builtin_fprintf): New function.
3653         (init_function_format_info): Handle __builtin_fprintf.
3654         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
3655         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
3656
3657         * c-decl.c (duplicate_decls): Adjust comment.
3658
3659         * extend.texi (fprintf): Document new builtin.
3660
3661 2001-01-07  Richard Henderson  <rth@redhat.com>
3662
3663         * jump.c (simplejump_p): Recognize any single_set jump
3664         of the proper form.
3665
3666 2001-01-07  Richard Henderson  <rth@redhat.com>
3667
3668         * configure.in (slibdir): Accept an --with-slibdir option.
3669         Use "test" not "[" in configure.  Default to $(libdir).
3670
3671         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
3672         fix typo in rm -f.
3673         * config/t-aix43 (SHLIB_INSTALL): Likewise.
3674         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
3675         (SHLIB_LINK): Create links for the soname.
3676         * config/mips/t-iris6: Likewise.
3677         * config/sparc/t-slibgcc: Likewise.
3678         * config/sparc/t-slibgcc-sld: Likewise.
3679
3680 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
3681
3682         * config/i386/i386.c (constant_call_address_operand): Accept
3683         (const (plus (symbol_ref) (const_int))).
3684         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
3685         constant_call_address_operand.
3686
3687 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3688
3689         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
3690         and LONG_LONG_TYPE_SIZE > 32.
3691
3692 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3693
3694         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
3695         the previous change.
3696
3697 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
3698
3699         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
3700         New.
3701         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
3702         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
3703         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
3704         Declare.
3705
3706 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3707
3708         * fix-header.c (read_scan_file): s/pfile/scan_in/.
3709
3710 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3711
3712         * c-lang.c (c_post_options): Call cpp_post_options.
3713         * objc/objc-act.c (objc_post_options): Similarly.
3714         * cppmain.c (main): Similarly.
3715         * fix-header.c (read_scan_file): Similarly.
3716         * cppinit.c (cpp_start_read): Move option consistency checks
3717         to cpp_post_options.  Don't call init_dependency_output.
3718         If needed, add default target and main file dependency.
3719         (OPT_MD, OPT_MMD): Remove.
3720         (OPT_MF): New.
3721         (cpp_handle_option): Update for OPT_* changes.
3722         (cpp_post_options): New.
3723         (init_dependency_output): Command line -MF overrides environment
3724         variables.  Don't set default target etc.  Suppress output
3725         if dependencies are going to stdout.
3726         (print_help): Update.
3727         * cpplib.h (cpp_post_options): New.
3728         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
3729
3730 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
3731
3732         * jump.c (comparison_dominates_p): Support unordered compares.
3733
3734 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
3735
3736         * simplify-rtx.c (simplify_relational_operation): Always simplify
3737         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
3738         and UNGE.
3739
3740 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
3741
3742         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
3743         (nonzero_bits): Likewise.
3744         (simplify_comparison): Likewise.
3745         (num_sign_bit_copies): Likewise; return more sane value depending
3746         on STORE_FLAG_VALUE.
3747         (known_cond): Do not assume EQ to be always true for equivalent
3748         operands.
3749
3750 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
3751
3752         * cse.c (fold_rtx): Handle unordered comparisons.
3753
3754 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
3755
3756         * rtlanal.c (set_of_1): New static function.
3757         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
3758          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
3759          reg_set_last_last_regno): Remove.
3760         (set_of): New global function.
3761         (set_of_data): New structure.
3762         (reg_set_p, reg_set_last): Revamp for set_of.
3763         * rtl.h (set_of): New.
3764
3765 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3766
3767         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
3768         * extend.texi: Document _Exit builtin.
3769
3770 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3771
3772         * (initialize, initialize_builtins,
3773         initialize_dependency_output, initialize_standard_includes):
3774         Rename s/initialize/init. Update.
3775         (init_dependency_output): Move to after
3776         cpp_handle_options, the correct location temporally at least.
3777         (opt_comp): Move next to init (), its caller.  Fix prototype.
3778         (init): Make "initialized" local scope.
3779         (cpp_create_reader): Always call init ().
3780         (cpp_start_read): Update.
3781         (output_deps): New function, broken out of cpp_finish.
3782         (cpp_finish): Break out output_deps.
3783
3784 2001-01-07  Richard Henderson  <rth@redhat.com>
3785
3786         * collect2.c (COFF specific stuff): Revert 12-06 patch
3787         to prototype system functions.
3788
3789 2001-01-07  Michael Hayes  <mhayes@redhat.com>
3790
3791         * hard-reg-set.h: Add multiple include guard.
3792         * basic-block.h (struct loop): Add `sink' field.
3793         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
3794         (emit_iv_add_mult): Delete.
3795         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
3796         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
3797         (unroll_loop): Remove end_insert_before argument.
3798         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
3799         (maybe_eliminate_biv_1): Likewise.
3800         (emit_iv_add_mult): Delete.
3801         (gen_add_mult, loop_regs_update): New.
3802         (loop_insn_emit_after, loop_insn_emit_before): New.
3803         (loop_insn_sink, loop_insn_sink_or_swim): New.
3804         (emit_iv_add_mult): Delete.
3805         (scan_loop): Set loop->sink.
3806         (loop_givs_reduce): Use loop_insn_sink and its ilk.
3807         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
3808         (maybe_eliminate_biv_1): Likewise.
3809         (maybe_eliminate_biv_1): Add basic block argument.
3810         * unroll.c (unroll_loop): Remove end_insert_before argument.
3811         (find_splittable_regs): Likewise.
3812         (find_splittable_regs): Use loop_insn_sink and its ilk.
3813         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
3814
3815 2001-01-07  Michael Hayes  <mhayes@redhat.com>
3816
3817         * loop.h (loop_insn_hoist): New prototype.
3818         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
3819         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
3820         (check_dbra_loop, load_mems): Likewise.
3821         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
3822         (find_splittable_givs): Likewise.
3823
3824 2001-01-07  Michael Hayes  <mhayes@redhat.com>
3825
3826         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
3827
3828 2001-01-07  Richard Henderson  <rth@redhat.com>
3829
3830         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
3831
3832 2001-01-07  Richard Henderson  <rth@redhat.com>
3833
3834         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
3835         NO_SHARED_LIBGCC_MULTILIB as required for the target.
3836         * gcc.c (init_spec): Massage the existing libgcc_spec into a
3837         variant that handles a shared libgcc.
3838         (process_command): Always validate -{static,shared}-libgcc.
3839         (do_spec_1): New 'M' case.
3840         * invoke.text (Link Options): Document -{static,shared}-libgcc.
3841
3842 2001-01-07  Richard Henderson  <rth@redhat.com>
3843
3844         * Makefile.in (slibdir): New variable.
3845         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
3846         (installdirs): Create slibdir.
3847         (install-libgcc, install-multilib): Defer to libgcc.mk.
3848         * configure.in (slibdir): Substitute.
3849         * mklibgcc.in (install): New target.
3850
3851         * config/t-linux (SHLIB_LINK): Create links for the soname.
3852         (SHLIB_INSTALL): New.
3853         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
3854         * config/mips/t-iris6 (SHLIB_INSTALL): New.
3855         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
3856         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
3857         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
3858
3859 2001-01-07  Richard Henderson  <rth@redhat.com>
3860
3861         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
3862         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
3863         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
3864
3865 2001-01-07  Michael Hayes  <mhayes@redhat.com>
3866
3867         * loop.c (count_loop_regs_set): Delete.
3868         (load_mems_and_recount_loop_regs_set): Delete.
3869         (loop_regs_scan): Merge common code from count_loop_regs_set,
3870         scan_loop, and load_mems_and_recount_loop_regs_set.
3871         (scan_loop): Call load_mems directly and loop_regs_scan
3872         again if new registers created.
3873
3874 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3875
3876         * toplev.c (main): Call the front-end specific post_options
3877         hook if one is given.
3878         * toplev.h (struct_lang_hooks, lang_hooks): New.
3879         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
3880         for the C front end.
3881         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
3882         lang_hooks for the C++ front end.
3883         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
3884         lang_hooks for the ObjC front end.
3885         * f/com.c (lang_hooks): Hooks for the Fortran front end.
3886         * java/lang.c (lang_hooks): Hooks for the Java front end.
3887
3888 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3889
3890         * c-lex.c (init_c_lex): Request #define / #undef callbacks
3891         for verbose DWARF[2] debugging.
3892         (cb_define, cb_undef): The new callbacks.
3893         * toplev.h (debug_define, debug_undef): Make const correct.
3894         * toplev.c (debug_define, debug_undef): Similarly.  Do not
3895         perform the verbosity tests here anymore.
3896
3897 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
3898
3899         * reload.c (subst_reloads): Take INSN argument.  When
3900         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
3901         * reload.h (subst_reloads): Adjust prototype.
3902         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
3903         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
3904         present in JUMP_INSNs and copy them to JUMP_LABEL.
3905         * flow.c (find_label_refs, find_basic_blocks_1): Skip
3906         JUMP_INSNs and insns with REG_LABELs that are followed by
3907         JUMP_INSNs with the same REG_LABEL.
3908         * sched-rgn.c (is_cfg_nonregular): Likewise.
3909         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
3910         note is available.
3911         * unroll.c (unroll_loop): Look for REG_LABEL notes in
3912         JUMP_INSNs too.
3913         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
3914
3915 2001-01-06  Richard Henderson  <rth@redhat.com>
3916
3917         * loop.c (scan_loop): Use xcalloc for the regs array.
3918         (load_mems_and_recount_loop_regs_set): Zero the new memory
3919         received from xrealloc.
3920
3921 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3922
3923         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
3924
3925 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
3926
3927         * integrate.c (copy_rtx_and_substitute): When copying
3928         an ignored return value, strip REG_FUNCTION_VALUE_P.
3929
3930 2001-01-06  Michael Hayes  <mhayes@redhat.com>
3931
3932         * loop.c (debug_biv, debug_giv): New.
3933         (loop_biv_dump): Break out from ...
3934         (record_biv): ... here.
3935         (loop_giv_dump): Break out from ...
3936         (record_giv): ... here.
3937         (loop_bivs_check): Use print_simple_rtl.
3938         * unroll.c (loop_iterations): Use print_simple_rtl.
3939
3940 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3941
3942         * pa.md (return, return_internal): Modify patterns to prevent regrename
3943         mucking with the return pointer.
3944
3945 2001-01-05  Richard Henderson  <rth@redhat.com>
3946
3947         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
3948
3949 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
3950
3951         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
3952         version supplied by Matteo Frigo.
3953
3954 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
3955
3956         * cpp.texi: Update for -MQ.
3957         * cppinit.c (cpp_create_reader): Always create pfile->deps.
3958         (cpp_cleanup): Always free pfile->deps.
3959         (initialize_dependency_output): Don't create pfile->deps.
3960         (cpp_handle_option): Similarly.
3961         (OPT_MQ): New.
3962         * gcc.c (cpp_options): Handle -MQ.
3963         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
3964         * mkdeps.c (base_name): Remove.
3965         (deps_init): Don't allocate vector space until it's needed.
3966         (deps_free): Only free vectors if allocated.
3967         (deps_add_target, deps_add_dep): Update for initial allocation.
3968         (deps_add_default_target): Don't strip to the base_name.
3969
3970 2001-01-05  DJ Delorie <dj@redhat.com>
3971
3972         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
3973         (INIT_EXPANDERS): Define.
3974
3975         * config/v850/v850.c (struct machine_function): Define.
3976         (v850_save_machine_status): New function.
3977         (v850_restore_machine_status): New function.
3978         (v850_return_addr): New function.
3979         (v850_init_expanders): New function.
3980
3981         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
3982         and v850_init_expanders.
3983
3984 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
3985
3986         * cpplib.h (struct cpp_reader): Add help_only field.
3987         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
3988         (cpp_handle_option): Set pfile->help_only if we see -h,
3989         --help, -target-help, or --version.  Print version string but
3990         do not set help_only if we see -v or -version.  Make text
3991         printed by -v match that printed by (-)-version.
3992
3993         * cppmain.c (main): Exit after option parsing if
3994         pfile->help_only is true.
3995
3996         * toplev.c (independent_decode_option): Call print_version,
3997         then exit, if we see --version (but not -version).
3998         (print_version): Split lengthy message into two lines.
3999
4000 2001-01-05  Nick Clifton  <nickc@redhat.com>
4001
4002         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
4003         temporary string for initialisation before calling ggc_alloc_string.
4004
4005 2001-01-06  Michael Hayes  <mhayes@redhat.com>
4006
4007         * rtl.h (print_simple_rtl): New.
4008         * print-rtl.c (print_simple_rtl): New.
4009         (flag_simple): New.
4010         (print_rtx): Disable printing of flags and modes, etc.,
4011         if `flag_simple` nonzero.
4012
4013 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
4014
4015         * function.c (fixup_var_refs): Use push_to_full_sequence where
4016         possible.
4017
4018 2001-01-05  Michael Meissner  <meissner@redhat.com>
4019
4020         * flags.h (flag_reorder_blocks): Add declaration.
4021         (flag_rename_block): Ditto.
4022
4023 2001-01-05  DJ Delorie  <dj@redhat.com>
4024
4025         * function.c (reorder_blocks): Make sure the flags are all reset
4026         before using them to mark blocks, else a second invocation will
4027         corrupt the block chain.
4028         (reorder_blocks_0): New, resets the flags.
4029
4030 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
4031
4032         * cse.c (find_comparison_args): Stop if the argument is known to
4033         be constant.
4034
4035 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
4036
4037         * config/sh/sh.md (movdf): When splitting load into pair of
4038         registers, don't clobber the register used in the address too
4039         early.
4040
4041 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
4042
4043         * varasm.c (mark_constant_pool): Improve initial comments.
4044         (mark_constants): Move marking of constants to mark_constant.
4045         (mark_constant): New function to recursively mark all constants
4046         referred to by a constant.
4047
4048 2001-01-05  Catherine Moore  <clm@redhat.com>
4049
4050         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
4051
4052 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
4053
4054         * cp/lang-options.h:  Bring comment in line with reality.
4055         * f/lang-options.h:  Likewise.
4056         * java/lang-options.h:  Likewise.
4057         * objc/lang-options.h:  Likewise.
4058         * ch/lang-options.h:  Likewise.
4059         * f/g77.texi:  And update the manual.
4060
4061 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
4062             Denis Chertykov  <denisc@overta.ru>
4063
4064         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
4065         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
4066         * config/avr/avr.md (all peepholes that request a scratch register):
4067         Call it, FAIL the peephole if not safe (in interrupt functions).
4068
4069 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
4070
4071         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
4072
4073 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
4074
4075         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
4076         Define.
4077         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
4078         BUILT_IN_CREAL and BUILT_IN_CIMAG.
4079         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
4080         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
4081         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
4082         BUILT_IN_CIMAG.
4083         * extend.texi: Document these builtins.
4084
4085 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
4086
4087         * c-common.c (lang_get_alias_set): Say we know nothing of
4088         VECTOR_TYPE aliasing.
4089
4090         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
4091
4092 2001-01-05  Bruce Korb  <bkorb@gnu.org>
4093
4094         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
4095         their x* equivalent versions for atexit-less systems
4096         * fixinc/fixincl.c(main): do not return from main() on atexit-less
4097         systems (or any other system any more).
4098
4099 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
4100
4101         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
4102         output operands.  Use arm_hard_register_operand for operand 4.
4103         (stmsi_postinc): Similarly.
4104         (ldmsi): Use arm_hard_register_operand for opernand 2.
4105         (stmsi): Similarly.
4106         * arm.c (arm_hard_register_operand): New function.
4107         * arm-protos.h (arm_hard_register_operand): Prototype it.
4108
4109         * arm.h (HARD_REGNO_RENAME_OK): Define.
4110
4111 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
4112
4113         * simplify-rtx.c (cfc_args): add "unordered" field.
4114         (check_fold_consts): Set unordered field.
4115         (simplify_relational_operation): Simplify the unordered
4116         comparisons.
4117
4118         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
4119         is valid.
4120
4121         * emit-rtl.c (try_split): Fix code to mark labels.
4122         * jump.c (mark_jump_label): Make global.
4123         * rtl.h (mark_jump_label): Declare.
4124
4125         * predict.c (estimate_probability): Handle unordred comparisons.
4126
4127 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4128
4129         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
4130         * cppinit.c (initialize_dependency_output):  Update.
4131         (cpp_finish): Output dummy targets for -MP.
4132         (OPT_MP): New.
4133         (cpp_handle_option): Handle -MP.  Don't quote -MT options.
4134         * cpplib.h (struct cpp_options): Add deps_phony_targets.
4135         * gcc.c (cpp_options): Update to handle -MP.
4136         * mkdeps.c (deps_add_target, deps_add_default_target): Update
4137         to quote only the default target.
4138         (deps_phony_targets): Insert a preceding newline.  Rename from
4139         deps_dummy_targets for consistency.
4140         * mkdeps.h: Update
4141
4142 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
4143
4144         * calls.c (emit_library_call_value_1): Support
4145         INIT_CUMULATIVE_LIBCALL_ARGS.
4146         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
4147
4148 2001-01-04  Richard Henderson  <rth@redhat.com>
4149
4150         * c-decl.c (finish_struct): Detect flexible array members
4151         used in an inappropriate context.
4152         * c-typeck.c (really_start_incremental_init): Special case
4153         constructor_max_index for zero length arrays.
4154         (pop_init_level): Allow initialization of flexible array
4155         members.  Deprecate initialization of zero length arrays.
4156         Don't issue missing initializer warning for flexible array
4157         members or zero length arrays.
4158         (process_init_element): Don't dereference null DECL_SIZE.
4159         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
4160         Don't abort for empty constructors.  Use size_binop
4161         (output_constructor): Add commentary regarding zero length
4162         array futures.  Abort if we try to initialize an array of
4163         unspecified length with a non-empty constructor in the middle
4164         of a structure.
4165
4166         * extend.texi (Zero Length): Update and clarify documentation
4167         on static initialization.
4168
4169 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4170
4171         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
4172         with more than 32767 words of local storage.
4173
4174 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4175
4176         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
4177         for 'abs', 'labs', and 'fabs'.
4178         (c4x_expand_builtin): Likewise.
4179         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
4180
4181 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
4182
4183         * config/sh/sh.md (prget, prset): New insn types.
4184         (return delay slot): Dont' allow prset.
4185         (call, sfunc delay slot): Don't allow prget.
4186         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
4187         for prset and prget.
4188
4189 2001-01-05  Michael Hayes  <mhayes@redhat.com>
4190
4191         * loop.h (struct loop_reg): New.
4192         (struct loop_regs): Change to use array of `struct loop_reg'.
4193         * loop.c: Replace assortment of varrays with single regs array.
4194         (count_one_set): Delete may_not_move array argument
4195         and use regs array instead.  All caller's changed.
4196         (count_loop_regs_set): Delete may_not_move and single_usage
4197         arguments and use regs array instead.  All caller's changed.
4198         (find_single_use_in_loop): Replace usage array argument with pointer
4199         to regs structure.  All caller's changed.
4200         (loop_optimize): Delete `moved_once' array.
4201
4202 2001-01-05  Michael Hayes  <mhayes@redhat.com>
4203
4204         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
4205         Use it instead of loop_info->has_call for scanning loop mems.
4206         (check_dbra_loop): Replace loop_info->has_call test with
4207         loop_info->has_nonconst_call.
4208
4209 2000-01-04  Matthew Hiller  <hiller@redhat.com>
4210
4211         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
4212         for TARGET_SH3E.
4213
4214 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
4215
4216         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
4217         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
4218
4219 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
4220
4221         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
4222         (flag_short_double, flag_short_wchar): Define.
4223         (c_common_nodes_and_builtins): Create many tree nodes shared
4224         between C and C++ here instead of in cp/decl.c and ...
4225         * c-decl.c (init_decl_processing): ... here.
4226         (SIZE_TYPE, WCHAR_TYPE): Don't define.
4227         (flag_short_double, flag_short_wchar): Don't define.
4228         (record_builtin_type): New function.
4229         (build_void_list_node): New function.
4230         * c-common.h (flag_short_double, flag_short_wchar,
4231         record_builtin_type, build_void_list_node): Declare.
4232
4233 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
4234
4235         * integrate.c (expand_inline_function): Don't put a virtual
4236         register into the reg map.
4237
4238         * function.c (fixup_var_refs_1): If force_operand didn't put
4239         the address into the target, move it there.
4240
4241 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
4242
4243         Special-case tree_decl/tree_list allocations.
4244         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
4245         (OBJECT_SIZE): New macro.
4246         (NUM_EXTRA_ORDER): Likewise.
4247         (extra_order_size_table): New variable.
4248         (NUM_ORDERS): New macro.
4249         (objects_per_page_table): New variable.
4250         (object_size_table): New variable.
4251         (G.pages): Use NUM_ORDERS to bound the array.
4252         (G.page_tails): Likewise.
4253         (DIV_ROUND_UP): Remove.
4254         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
4255         (alloc_page): Use OBJECT_SIZE.
4256         (size_lookup): Don't make it const.
4257         (ggc_alloc): Use OBJECT_SIZE.
4258         (ggc_set_mark): Likewise.
4259         (ggc_get_size): Likewise.
4260         (init_ggc): Set up the object_size_table, objects_per_page_table,
4261         and adjust size_lookup.
4262         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
4263         (ggc_pop_context): Use NUM_ORDERS.
4264         (clear_marks): Likewise.
4265         (sweep_pages): Likewise.
4266         (poison_pages): Likewise.
4267         (ggc_print_statistics): Use OBJECT_SIZE.
4268
4269 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4270
4271         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
4272         Only call array_size_for_constructor if last field and array type
4273         with no upper bound.
4274
4275 2001-01-04  Philip Blundell  <philb@gnu.org>
4276
4277         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
4278         from bit 31 downwards, if this requires no more insns.
4279         (count_insns_for_constant): New helper function for above.
4280
4281 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
4282
4283         * gencodes.c (output_predicate_decls): Remove empty initializer.
4284
4285 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
4286
4287         * tree.c (copy_node): Remove documentation about obstacks.
4288         (buidl1): Check that nobody tries to build 2-argument nodes this
4289         way.
4290
4291 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4292
4293         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
4294         fp_high_losum_p.
4295
4296         * gencodes.c (output_predicate_decls): Fill empty initializer
4297         braces.
4298
4299 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
4300
4301         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
4302         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
4303         or -MM.
4304         (do_include): Handle missing headers like cpp0.
4305         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
4306         paths with first include pathname.  Don't strcat to uninitialized
4307         string.
4308
4309 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
4310
4311         * regrename.c (regrename_optimize): Don't rename from frame pointer
4312         if frame_pointer_needed.
4313         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
4314         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
4315         (ia64_reorg): Use it instead of scheduling if ! optimize.
4316         (errata_emit_nops): Properly call asm_noperands.
4317         (ia64_sched_reorder): Finish cycle if we see an asm.
4318         (ia64_variable_issue): Clear scheduling state after asms.
4319
4320 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4321
4322         * cpp.texi: Update for -MT.
4323         * cppinit.c (initialize_dependency_output): Add a default
4324         target if none has been given already.
4325         (no_tgt, OPT_MT): New.
4326         (cpp_handle_option): Handle -MT.  Update -M etc.
4327         * cpplib.h (struct cpp_options): Remove deps_target.
4328         * gcc.c (cpp_options): Handle -MT.
4329         * mkdeps.c (struct deps): Move from mkdeps.h.
4330         (deps_calc_target): Rename deps_add_default_target.  Add a
4331         default target if none has been specified already.
4332         * mkdeps.h (struct deps): Move to mkdeps.c.
4333         (deps_calc_target): Rename deps_add_default_target.
4334
4335 2000-01-03  Richard Henderson  <rth@redhat.com>
4336
4337         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
4338         Remove dead code.
4339         * c-typeck.c (push_init_level): Move checks for flexible array
4340         members and zero length arrays ...
4341         (pop_init_level): ... here.  Silently discard empty initializations.
4342         Remove dead code.
4343         * varasm.c (output_constructor): Update for sizeof change to
4344         zero-length arrays.
4345
4346         * extend.texi (Zero Length): Clarify semantics.
4347
4348 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
4349
4350         * configure.in (tm.h): Include isns-codes.h last.
4351         * configure: Rebuilt.
4352
4353 2001-01-03  Richard Henderson  <rth@redhat.com>
4354
4355         * config/alpha/alpha.md (addvsi3, addvdi3): New.
4356         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
4357
4358 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4359
4360         * tradcpp.c (main): Make sure finclude() is called with a valid
4361         indepth value while handling -include.
4362
4363 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
4364
4365         * gencodes.c (output_predicate_decls): New function.
4366         (main): Call it.
4367         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
4368         even if it is not the first time machmode.h is #included.
4369         * config/sh/sh.c (fpul_operand): Declare MODE argument.
4370         * tm.texi (PREDICATE_CODES): Document predicate declarations.
4371         * gcc.texi (Copyright): Added 2001.
4372
4373 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
4374
4375         * c-common.c (c_common_lang_init): New function.  Warn if format
4376         warning options which only have effects when used with -Wformat
4377         are used without -Wformat.
4378         * c-common.h (c_common_lang_init): Declare.
4379         * c-lang.c (lang_init): Call c_common_lang_init.
4380         * objc/objc-act.c (lang_init): Call c_common_lang_init.
4381
4382 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
4383
4384         * configure.in: Check for the mktemp command.
4385         * configure: Regenerate.
4386         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
4387         $TEMP.  Create temporary files with mktemp, if available at
4388         configure time; otherwise use set -C.  Remove temporary files
4389         before exit.
4390
4391 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
4392
4393         * configure.in: Require at least texinfo 4.0.  Check for whether
4394         Pod::Man is sufficiently recent to regenerate GCC manpages.
4395         * configure:  Regenerate.
4396         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
4397         on #!.
4398         (GENERATED_MANPAGES): Define.
4399         (generated-manpages): New target.  Depend on cpp.1 as well as
4400         gcov.1.
4401         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
4402         configure to generated-manpages or empty) rather than on the
4403         manpages directly.  Remove execute permission from installed
4404         gcov.1 as well as cpp.1.
4405         * cpp.1, gcov.1: Regenerate.
4406
4407 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4408
4409         * builtins.c (expand_builtin_strncmp): Use host_integerp and
4410         tree_low_cst.  Allow using cmpstrsi in more cases.
4411
4412 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4413
4414         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
4415         sized types.
4416
4417 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
4418
4419         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
4420         * Makefile.in (HOST_CFLAGS): Mention build-make.
4421
4422 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4423
4424         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
4425         as JUMP_INSN.
4426
4427 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
4428
4429         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
4430         a REG rtx.
4431
4432         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
4433         callers changed.
4434
4435         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
4436         reg_base_value and reg_known_value arrays.
4437         (init_alias_analysis): Add more cases to detect known values.
4438         * sched-deps.c (deps_may_trap_p): New function.
4439         (sched_analyze_2): Use it.
4440
4441 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
4442
4443         * combine.c (simplify_shift_const): Even if we're sign-extracting,
4444         don't discard an ASHIFTRT if we're shifting in a wider mode.
4445
4446 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4447
4448         * toplev.c (rest_of_compilation): Don't print basic block information
4449         when CFG isn't up to date.
4450
4451 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
4452
4453         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
4454         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
4455         (UNALIGNED_SHORT_ASM_OP): Define.
4456         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
4457
4458 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
4459
4460         * fold-const.c (fold_convert): Fix typo.
4461
4462 2001-01-02  Richard Henderson  <rth@redhat.com>
4463
4464         * c-common.h (ASM_INPUT_P): New.
4465         * c-parse.in (asm): Set it when needed.
4466         * c-semantics.c (genrtl_asm_stmt): Test it instead of the
4467         existance of an operand.
4468
4469 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
4470
4471         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
4472         (dwarf2out_frame_debug_expr): Likewise.
4473         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
4474
4475 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
4476
4477         * i386.c (ix86_split_to_parts): Return number of part required;
4478         handle TFmodes.
4479         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
4480         TFmodes.
4481         (ix86_split_long_move): Use number of part returned
4482         by ix86_split_to_parts
4483         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
4484         New macros.
4485         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
4486         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
4487         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
4488         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
4489         (ALIGN_MODE_128): Add TFmode.
4490         (IS_STACK_MODE): Likewise.
4491         (HARD_REGNO_NREGS): TFmode needs 3 registers.
4492         (HARD_REGNO_OK): Support TFmodes.
4493         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
4494         * i386.md (scheduler definitions): Use memory operand to determine
4495         fst/fld instructions; use mode attribute to determine real mode of
4496         the instruction.
4497         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
4498         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
4499
4500 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
4501
4502         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
4503
4504 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
4505
4506         * expr.c (store_constructor_field): Update ALIGN before calling
4507         store_constructor.
4508
4509 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
4510
4511         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
4512         host_integerp.
4513
4514 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
4515
4516         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
4517         incomplete type.
4518
4519 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
4520
4521         * c-decl.c (start_function): Don't warn on third parameter to main.
4522
4523 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4524
4525         * tsystem.h: Define HAVE_DECL_GETOPT.
4526
4527 2001-01-02  Philip Blundell  <pb@futuretv.com>
4528
4529         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
4530         of input operand.
4531
4532 2001-01-02  Richard Henderson  <rth@redhat.com>
4533
4534         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
4535
4536 2001-01-02  Andreas Jaeger  <aj@suse.de>
4537
4538         * c-decl.c (c_decode_option): Remove support of
4539         -Wmissing-noreturn.
4540
4541         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
4542         (W_options): Add -Wmissing-noreturn here.
4543
4544         * flow.c: Define lang_missing_noreturn_ok_p.
4545         (check_function_return_warnings): Use it.
4546
4547         * c-common.h: Declare lang_missing_noreturn_ok_p.
4548
4549         * c-lang.c (c_missing_noreturn_ok_p): New function.
4550         (lang_init): Set lang_missing_noreturn_ok_p.
4551
4552         * invoke.texi (Warning Options): Document this.
4553
4554 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
4555
4556         * extend.texi (C++ Extensions):  New node for C++ attributes;
4557           describe init_priority and com_interface.
4558         * invoke.texi:  Remove -finit-priority as it now has zero effect.
4559         * install.texi:  Fix xref syntax.
4560         * md.texi:  Likewise.
4561
4562 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4563
4564         * config.gcc (sparc64-wrs-vxworks*): New case.
4565         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
4566
4567         * config/sparc/sparc.c (sparc_override_options): Do support different
4568         pointer and architecture size.
4569         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
4570         (POINTERS_EXTEND_UNSIGNED): Define.
4571         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
4572         (FUNCTION_MODE): Define to be Pmode.
4573         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
4574
4575         * function.c (expand_function_end): Properly handle DECL_RESULT
4576         and copy when ptr_mode != Pmode.
4577         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
4578
4579 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4580
4581         * c-common.c (c_common_nodes_and_builtins): Set prototype
4582         parameters for __builtin_fputs, __builtin_fputc and
4583         __builtin_fwrite.  Don't declare plain fputc as a builtin.
4584
4585 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4586
4587         * loop.c (add_label_notes): Increment the label usage count when
4588         a note is added to an insn which refers to a CODE_LABEL.
4589         * gcse.c (add_label_notes): Likewise.
4590
4591 2001-01-01  Andreas Jaeger  <aj@suse.de>
4592
4593         * loop.c (scan_loop): Use xmalloc to allocate movables.
4594
4595 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
4596
4597         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
4598         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
4599         * reload1.c (REGISTER_MOVE_COST): Likewise.
4600         * regclass.c (REGISTER_MOVE_COST): Likewise.
4601         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
4602         dimension.  Adjust all users.
4603         (init_reg_sets_1): Iterate on all modes.
4604         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
4605         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
4606         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
4607         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
4608         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
4609         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
4610         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
4611         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
4612         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
4613         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
4614         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
4615         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
4616         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
4617         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
4618         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
4619         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
4620         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
4621         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
4622         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
4623         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
4624         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
4625         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
4626         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
4627         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
4628         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
4629         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
4630         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
4631
4632 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
4633
4634         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
4635         arg VARIES_P.  Call it with extra arg.
4636         (true_dependence): Likewise.
4637         * rtl.h (rtx_addr_can_trap_p): Declare.
4638         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
4639         prototypes.
4640         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
4641         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
4642         pic offset table register if it's zero.  All callers changed.
4643         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
4644
4645 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4646
4647         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
4648         STRING_POOL_ADDRESS_P.
4649
4650         * config/sparc/sparc.c (input_operand): Properly test for short op.
4651
4652         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
4653         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
4654         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
4655         * config/sparc/elf.h: No longer include sol2.h.
4656         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
4657         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
4658
4659         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
4660
4661 2001-01-01  Michael Hayes  <mhayes@redhat.com>
4662
4663         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
4664         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
4665         (record_initial): Likewise.
4666         * unroll.c (copy_loop_body, loop_iterations): Likewise.
4667         (remap_split_bivs): Likewise.
4668
4669 2001-01-01  Michael Hayes  <mhayes@redhat.com>
4670
4671         * loop.c (loop_ivs_free): New function.
4672         (strength_reduce): Break out from...
4673
4674 2001-01-01  Michael Hayes  <mhayes@redhat.com>
4675
4676         * loop.h (struct iv): New.
4677         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
4678         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
4679         'reg_biv_class' fields with 'regs' and 'n_regs'.
4680         (struct ivs): Rename 'loop_iv_list' field to 'list'.
4681         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
4682         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
4683
4684 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
4685
4686         * resource.c (mark_referenced_resources): Abort() before
4687         attempting to mark a pseudo register.
4688         (mark_set_resources): Likewise.
4689
4690 2001-01-01  Michael Hayes  <mhayes@redhat.com>
4691
4692         * loop.h (REG_IV_CLASS): New accessor macro.
4693         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
4694         * unroll.c (REG_IV_CLASS): Likewise.
4695
4696 See ChangeLog.4 for earlier changes.