* config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
[official-gcc.git] / gcc / ChangeLog
blobe3a9668d676063e5071424795a741be2a95c9d95
1 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
3         * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
5 2001-05-15  Loren J. Rittle  <ljrittle@acm.org>
7         * gthr-posix.h: Make additional pthread-* functions weak.
9 2001-05-14  Richard Henderson  <rth@redhat.com>
11         * configure.in (gcc_cv_as_eh_frame): New test.
12         * config.in, configure: Rebuild.
13         * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
15 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
17         * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
18         for RETURNS as well.
19         * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
20         extended precision divide.
22 2001-05-14  Andrew Haley  <aph@redhat.com>
24         * reload1.c (copy_eh_notes): New function.
25         (emit_input_reload_insns): Call it.
26         (emit_output_reload_insns): Call it.
28         * emit-rtl.c (try_split):  Copy EH notes to sequence.
30 2001-05-14  Richard Henderson  <rth@redhat.com>
32         2001-04-12  Richard Henderson  <rth@redhat.com>
33         * Makefile.in (regmove.o): Depend on except.h.
34         * regmove.c: Include it.
36 Mon May 14 08:57:23 2001  Jeffrey A Law  (law@cygnus.com)
38         * config/pa/som.h (NM_FLAGS): Remove.
39         (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
40         (ASM_OUTPUT_SECTION_NAME): Remove.
41         (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
43 2001-05-14  Mark Mitchell  <mark@codesourcery.com>
45         * regrename.c (regrename_optimize): Do not rename registers to
46         leaf registers.
48 2001-05-14  Alexandre Oliva  <aoliva@redhat.com>
50         * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
51         contain MEMs.  Remove useless distinction about clobbering
52         registers.
54 2001-05-13  Richard Henderson  <rth@redhat.com>
56         2001-03-28  Richard Henderson  <rth@redhat.com>
57         * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
58         not TARGET_TOC for special toc restore handling.
59         * config/rs6000/rs6000.md (eh_return): Likewise.
61 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
63         * tm.texi (THREAD_MODEL_SPEC): Document it.
64         * gcc.c (main): Use it.
65         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
66         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
68 2001-05-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
70         * rtl.h (SYMBOL_REF_WEAK): New macro.
71         * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
72         * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
73         * rtl.texi (SYMBOL_REF_WEAK): Document it.
74         * gcc.texi: Remove wrong description.
76 2001-05-13  Mark Mitchell  <mark@codesourcery.com>
78         * stringpool.c (xxx, yyy): Remove.
79         (get_identifier): Don't set them.
81         * Makefile.in (STAMP): New macro.
82         Replace all uses of `touch' with $(STAMP).
83         * fixinc/Makefile.in: Likewise.
85 2001-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
87         * i386.c (ix86_save_reg): Change `bool' parameter to `int'.
89 2001-05-12  Richard Henderson  <rth@redhat.com>
91         EH merge from mainline, continued.
93         2001-05-12  Richard Henderson  <rth@redhat.com>
94         * dwarf2asm.c (size_of_encoded_value): New function.
95         * dwarf2asm.h: Declare it.
96         * except.c (output_function_exception_table): Align the TType
97         array only as wide as the encoding.
99         2001-05-11  Richard Henderson  <rth@redhat.com>
100         * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
101         * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
102         dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
103         * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
104         (dw2_output_indirect_constants): Prototype.
105         * dwarf2out.c (dwarf2out_begin_prologue): Generate
106         current_function_func_begin_label if we'll need it for EH.  Exit
107         early for IA64_UNWIND_INFO.
108         * except.c: Get DW_EH_PE_* defines from dwarf2.h.
109         (eh_data_format_name): Update for indirect references.
110         (output_function_exception_table): Care for IA64_UNWIND_INFO.
111         Handle ASM_PREFERRED_EH_DATA_FORMAT.
112         * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
113         define HAVE_eh_return etc.
114         * final.c (final_start_function): Always call dwarf2out_begin_prologue.
115         (final_end_function): Don't call output_function_exception_table.
116         * toplev.c (compile_file): Call dw2_output_indirect_constants.
117         (rest_of_compilation): Invoke output_function_exception_table
118         for ia64 before assemble_end_function.
119         * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
120         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
122         * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
123         * unwind.h: Declare them.
124         * libgcc-std.ver: Export them.
125         * unwind-pe.h: New file.
127         * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
129         * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
130         instead of "fde".
131         (find_fde_for_dso): Extract DT_PLTGOT.
132         (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
133         the segment and gp as well.
134         * config/ia64/frame-ia64.c: Remove file.
135         * config/ia64/frame-ia64.h: Remove file.
136         * config/ia64/unwind-ia64.c: New file.
137         * config/ia64/unwind-ia64.h: New file.
138         * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
139         (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
140         (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
141         (ASM_PREFERRED_EH_DATA_FORMAT): New.
142         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
143         (IA64_UNWIND_INFO): Re-enable.
144         (HANDLER_SECTION): Remove.
145         (EH_RETURN_DATA_REGNO): New.
146         * config/ia64/ia64.md (exception_receiver): Remove.
147         * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
148         * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
150         Mon May  7 09:30:14 2001  Jeffrey A Law  (law@cygnus.com)
151         * except.c (sjlj_mark_call_sites): Do not search for assignments to
152         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
154         2001-05-05  Richard Henderson  <rth@redhat.com>
155         * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
156         to the parent of the fixup region.
158         2001-04-28  Jason Merrill  <jason_merrill@redhat.com>
159         * except.c (expand_eh_region_start): Don't start a new block.
160         (expand_eh_region_end): Don't end a block.
161         * stmt.c (expand_end_bindings): Don't end EH blocks.
162         (expand_decl_cleanup): Starting an EH region won't change the block.
163         (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
164         (is_eh_region): Lose.
165         * tree.h: Adjust.
167         2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
168         * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
170         2001-04-27  Jason Merrill  <jason_merrill@redhat.com>
171         * except.c (get_exception_filter): word_mode, not Pmode.
173         2001-04-26  Andrew Haley  <aph@cambridge.redhat.com>
174         * except.c (expand_eh_region_end_cleanup): Force pending stack
175         adjust before emitting label that branches around cleanup code.
177         2001-04-25  Richard Henderson  <rth@redhat.com>
178         * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
179         of registers to restore along non eh_return path.
181         2001-04-24  Jason Merrill  <jason_merrill@redhat.com>
182         * except.c (reachable_handlers): Step out one level from a RESX.
184         * except.c (struct eh_region): Rename 'last' to 'resume'.
185         (mark_eh_region, duplicate_eh_region_1): Adjust.
186         (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
187         (build_post_landing_pads): Likewise.
188         (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
189         (expand_eh_region_end_must_not_throw): Likewise.
190         (connect_post_landing_pads): Thread (only) regions with non-deleted
191         resume insns.
193         * except.c (expand_eh_region_end_cleanup): Save the EH return data
194         registers around the cleanup.
195         (get_exception_filter): New fn.
196         (finish_eh_generation): Use it.
198         2001-04-03  Richard Henderson  <rth@redhat.com>
199         * rtl.h (LCT_THROW): New.
200         * calls.c (emit_library_call_value_1): Handle it.
201         * except.c (connect_post_landing_pads): Use it.
203         2001-03-28  Richard Henderson  <rth@redhat.com>
204         * except.c: Rewrite entirely for IA-64 ABI exception handling.
205         * except.h: Likewise.
207         * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
208         (LIB2ADDEHDEP): New.
209         (LIB2FUNCS_EH): Remove.
210         (LIB2ADD): Remove LIB2ADDEH.
211         (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
212         (LIBGCC_DEPS): Use LIB2ADDEHDEP.
213         (crt{begin,end}[S].o): Likewise.
214         (except.o): Update includes.
215         * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
216         (libgcc2_c_dep): Use LIB2ADDEHDEP.
218         * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
219         * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
220         * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
221         * builtins.c (expand_builtin): Implement it.
222         [BUILT_IN_EH_RETURN]: Update for nr arguments change.
223         * c-common.c (c_common_nodes_and_builtins): Declare it.
224         * c-decl.c (init_decl_processing): Update __builtin_eh_return.
225         * calls.c (libfunc_nothrow): Remove.
226         (emit_library_call_value_1): Don't call it.
227         * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
228         * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
229         (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
230         * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
231         (current_funcdef_number): Globalize.
232         (output_call_frame_info): Emit frame data if an lsda is needed.
233         Generate augmentation for personality routine.  Don't play with
234         difference symbols.
235         (dwarf2out_begin_prologue): Record funcdef_number.
236         * dwarf2out.h (current_funcdef_number): Declare.
237         * expr.c (expand_expr): Update for except.h name changes.
238         Remove POPDCC_EXPR, POPDHC_EXPR.  Add EXC_PTR_EXPR.
239         * expr.h (LTI_throw, LTI_rethrow): Remove.
240         (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
241         (LTI_eh_rtime_match): Remove.
242         (LTI_unwind_resume, LTI_eh_personality): Add.
243         (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
244         * final.c (final): Don't call check_exception_handler_labels,
245         init_insn_eh_region, or free_insn_eh_region.
246         (final_scan_insn): Always emit debug labels for
247         NOTE_INSN_EH_REGION notes.
248         * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
249         (record_active_eh_regions): Remove.
250         (count_basic_blocks): Check all instructions for REG_EH_REGION.
251         Use can_throw_internal.
252         (find_basic_blocks_1): Likewise.
253         (move_stray_eh_region_notes): Remove.
254         (find_label_refs): No eh_return_stub_label.
255         (make_edges): Likewise.  No init/free_eh_nesting_info.  Handle RESX.
256         (make_eh_edge): No eh_nest_info.  Update for reachable_handlers
257         changes.
258         (delete_unreachable_blocks): Don't track deleted handlers.
259         (flow_delete_block): Use maybe_remove_eh_handler.
260         (delete_eh_regions): Remove.
261         (merge_blocks): Don't check for eh region match.
262         (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
263         EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
264         (init_propagate_block_info): Disable dead frame store optimization
265         when current_function_calls_eh_return.
266         (dump_bb): Don't print eh_beg, eh_end.
267         * function.c (fixup_var_refs): No catch_clauses.
268         (expand_function_end): Likewise.  Call expand_eh_return before
269         the return register use.  Call sjlj_emit_function_exit_after.
270         (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
271         * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
272         * ifcvt.c (dead_or_predicable): Remove eh region check.
273         * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
274         Don't check for EH vs parameters.
275         (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
276         (expand_inline_function): Call duplicate_eh_regions.
277         (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
278         (copy_insn_notes): Remap REG_EH_REGION notes.
279         (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
280         * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
281         check_exception_handler_labels, nor exception_optimize.
282         (find_cross_jump): No EH region check.
283         * optabs.c (init_optabs): Update for changed eh libfuncs.
284         * rtl.def (RESX): New.
285         * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
286         * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
287         checks.  Update for except.h name changes.
288         (expand_cleanups): Likewise.
289         (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
290         * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
291         (compile_file): Call init_eh before init_optabs.  Don't
292         output_exception_table here.
293         (rest_of_compilation): Call convert_from_eh_region_ranges,
294         convert_to_eh_region_ranges, output_function_exception_table.
295         Don't emit_eh_context.
296         * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
297         (EXC_PTR_EXPR): New.
299         * md.texi (eh_epilogue): Remove.
300         (eh_return): Document.
301         * tm.texi (EH_RETURN_DATA_REGNO): Document.
302         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
304         * eh-common.h: Remove file.
305         * frame-dwarf2.c, frame.c, frame.h: Remove files.
306         * libgcc2.c (L_eh): Remove.
308         * unwind-dw2-fde.c: New file, largely copied from frame.c.
309         * unwind-dw2-fde.h: New file.
310         * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
311         * unwind-sjlj.c, unwind.h, unwind.inc: New files.
312         * libgcc-std.ver: Update for eh symbols.
314         * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
315         (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
316         (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
317         * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
318         (EH_RETURN_DATA_REGNO): New.
319         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
320         * config/alpha/alpha.md (eh_epilogue): Remove.
321         (exception_receiver): Use $26 for ldgp input.
322         * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
324         * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
325         (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
326         True for pic register if current_function_calls_eh_return.
327         (ix86_expand_epilogue): Change "emit_return" argument into "style".
328         Handle eh_return requirements.
329         * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
330         (EH_RETURN_STACKADJ_RTX): New.
331         * config/i386/i386.md (exception_receiver): Remove.
332         (eh_return, eh_return_1): New.
333         * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
335         * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
336         for eh_return data registers.
337         (rs6000_emit_prologue): Save eh_return data registers.
338         (rs6000_emit_epilogue): Force inline restores if eh_return.
339         Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
340         * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
341         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
342         (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
343         the target uses one.
344         * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
345         (return_eh_si, return_eh_di): Remove.
346         (eh_return): New, from corpse of eh_epilogue.
347         (eh_set_lr_si, eh_set_lr_di): New.
349         * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
350         current_function_calls_eh_return.
351         (output_function_epilogue): Handle eh_return.
352         * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
353         (EH_RETURN_DATA_REGNO): New.
354         (EH_RETURN_STACKADJ_RTX): New.
355         (EH_RETURN_HANDLER_RTX): New.
356         * config/sparc/sparc.md (call/short branch peepholes): Check
357         can_throw_internal instead of in_same_eh_region.
359         2001-03-17  Richard Henderson  <rth@redhat.com>
360         * dwarf2out.c (queue_reg_save): New.
361         (flush_queued_reg_saves, clobbers_queued_reg_save): New.
362         (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
363         dwarf2out_reg_save.
364         (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
365         (cfa, cfa_store, cfa_temp): Make static.
366         * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
368         2001-03-16  Richard Henderson  <rth@redhat.com>
369         * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
370         (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
371         (dw2_asm_output_delta_uleb128): Likewise.
372         (dw2_asm_output_delta_sleb128): Similarly.
373         (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.
375         2001-03-15  Richard Henderson  <rth@redhat.com>
376         * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
377         if provided by the target.
378         (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
379         (dw2_asm_output_addr): New.
380         * dwarf2asm.h (dw2_asm_output_addr): Declare.
381         * dwarf2out.c (output_cfi): Use it for program addresses.
382         (output_call_frame_info, output_die): Likewise.
383         (output_aranges, output_line_info): Likewise.
385         2001-03-06  Krister Walfridsson  <cato@df.lth.se>
386         * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
388         2001-03-02  Richard Henderson  <rth@redhat.com>
389         * Makefile.in (OBJS): Add dwarf2asm.o.
390         * dwarf2asm.c, dwarf2asm.h: New files.
391         * dwarf2out.c (*): Use them.
392         (size_of_uleb128, size_of_sleb128): Remove.
393         (output_uleb128, output_sleb128): Remove.
394         (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
395         (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
396         (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
397         (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
398         (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
399         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
400         (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
401         (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
402         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
403         (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
404         (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
405         (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
406         (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
407         (dwarf2out_frame_debug): Remove unused variables.
408         (output_loc_operands): Don't abort on 8 byte constants if
409         host integers are wide enough.
410         (output_symbolic_ref): Remove.
411         (size_of_die): Don't assume 4 byte host integers.
412         (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
413         and end labels.
414         (add_const_value_attribute) [CONST_INT]: Verify we're not doing
415         something stupid with HOST_WIDE_INT to long truncation.
416         [CONST_DOUBLE]: Likewise.
418         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
419         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
420         * config/arm/unknown-elf.h: Likewise.
421         * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
422         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
423         (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
424         (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
425         (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
426         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
427         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
428         (ASM_OUTPUT_DWARF_OFFSET): Remove.
429         * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
430         * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
431         (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
432         (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
434         Sat Feb 24 03:32:50 CET 2001  Jan Hubicka  <jh@suse.cz>
435         * i386.c (ix86_frame): New structure.
436         (ix86_compute_frame_size): Kill.
437         (ix86_compute_frame_layout): New.
438         (ix86_save_reg): New.
439         (ix86_can_use_return_insn_p): Use frame layout stuff.
440         (ix86_expand_prologue): Likewise.
441         (ix86_expand_epilogue): Likewise.
442         (ix86_initial_elimination_offset): Likewise.
443         (ix86_nsaved_regs): Use ix86_save_reg.
444         (ix86_emit_save_regs): Likewise.
446 2001-05-12  Richard Henderson  <rth@redhat.com>
448         EH merge from mainline, parts 5 - 16.
449         * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
450         reduce false positives.
451         (regmove_optimize): Disable if flag_non_call_exceptions.
453         * stmt.c (expand_return): Remove always true predicate.
454         (expand_decl_cleanup_no_eh): Remove dead code.
456         * sched-deps.c (sched_analyze_insn): Consolidate scheduling
457         barrier code.  Add a scheduling barrier if a non-call insn
458         can throw internally.
460         * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
461         Auto-inc addresses trap only if their base register does.
463         * except.c (can_throw_internal): Rename from can_throw.
464         * except.h, resource.c: Update references.
466         * integrate.c (copy_insn_list): Use returnjump_p.
467         (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
469         * integrate.h (struct inline_remap): Add local_return_label.
470         * integrate.c (expand_inline_function): Initialize it and emit
471         it after copy_insn_notes.
472         (copy_insn_list): Don't store local_return_label here.
473         (copy_insn_notes): New function split out from copy_insn_list.
475         * function.h (struct function): Move all boolean valued fields
476         to single bit fields at the end of the struct.
478         * flow.c (cleanup_cfg): Take no argument.
479         * output.h, sibcall.c, toplev.c: Update all calls.
481         * flow.c (tidy_fallthru_edges): Don't combine complex edges.
482         (calculate_global_regs_live): Kill call-clobbered registers
483         across exception edges.
484         * reg-stack.c (convert_regs_1): Kill the entire target stack
485         across non-call exception edges.
487         * flags.h (flag_new_exceptions): Remove.
488         * toplev.c: Don't set it.
489         * final.c: Don't check it.
490         * except.c: Provide stub definition.
492         * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
493         exceptions, put the note on the trapping instruction.
495         * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
496         value to target configuration header.
497         * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
498         * config.in, configure: Rebuild.
499         * except.h (USING_SJLJ_EXCEPTIONS): New.  Define based on
500         configuration and target defines.
501         (exceptions_via_longjmp): Remove.
502         * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
503         Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
505 2001-05-12  Richard Henderson  <rth@redhat.com>
507         2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
508         * mkconfig.sh (DEFINES): Handle entries with '='.
510         2001-03-22  Zack Weinberg  <zackw@stanford.edu>
511         * mkconfig.sh: Use a subshell with redirected stdout,
512         instead of closing stdout and confusing commands that run
513         afterward.  Throw away output of cmp.
515         2001-03-22  Richard Henderson  <rth@redhat.com>
516         * mkconfig.sh: Include insn-flags.h.
517         * Makefile.in (CONFIG_H): Include insn-flags.h.
518         (lots of objects): Remove insn-codes.h and insn-flags.h.
520         * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
521         integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
522         regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
523         avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
524         dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
525         i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
526         m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
527         mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
528         pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
529         v850/v850.c, vax/vax.c:
530         Don't include insn-flags.h.
532         * diagnostic.c, expr.h, reload.c, toplev.c:
533         Don't include insn-codes.h.
535         * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
536         final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
537         c4x/c4x.c, i960/i960.c, mips/mips.c:
538         Don't include insn-codes.h or insn-flags.h.
540         * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
541         or insn-flags.h in the generated code.
542         * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
543         (main): Forward declare struct rtx_def.
545         2001-03-09  Zack Weinberg  <zackw@stanford.edu>:
546         * configure.in: Prune nonexistent files from build_xm_file,
547         xm_file, and host_xm_file lists.  Warn unless they're
548         $cpu/xm-$cpu.h.
549         Don't generate *config.h here.
550         AC_SUBST all variables needed to generate *config.h.
551         * mkconfig.sh: New helper script, from code removed from
552         configure.in.
553         * Makefile.in: Substitute in variables needed to generate *config.h.
554         Stop lying about the dependencies contained in CONFIG_H and
555         GCONFIG_H.
556         (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
557         (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
558         cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
559         (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
560         $(TM_P_H), etc. as appropriate.
562 2001-05-12  Richard Henderson  <rth@redhat.com>
564         EH merge from mainline, parts 1 - 4.
565         * gthr-single.h (UNUSED): New.  Distinguish between how C
566         and C++ mark unused function arguments.  Use throughout.
568         * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
569         jump.c, toplev.c:
570         Rename asynchronous_exceptions to flag_non_call_exceptions.
571         * except.h (flag_non_call_exceptions): Move ...
572         * flags.h: ... here.
574         * rtl.h (LCT_NORETURN): New.
575         * calls.c (emit_library_call_value_1): Handle it.
577         * function.c (expand_function_start): Set DECL_REGISTER on
578         a pseudo used for DECL_RESULT.
580 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
582         * cpplex.c (_cpp_lex_token): Ensure we warn at most once
583         about files not ending in newlines.
585 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
587         * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
588         * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
590 2001-05-11  Richard Henderson  <rth@redhat.com>
592         * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
593         calls and jumps to be bundled together.
594         (ia64_reorg): Emit a break after a noreturn call that ends
595         a function.
596         * config/ia64/ia64.md (break_f): New.
598 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
600         * regmove.c (regmove_optimize): Suppress the optimization for
601         unchanging destination register.  Add comment above function.
603 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
605         * loop.h (struct movables): Remove `num'.
606         * loop.c (scan_loop): Don't set it.  Use count_insns_in_loop.
607         Adjust call to strength_reduce.
608         (num_unmoved_movables): New function.
609         (move_movables): Don't set movables->num.
610         (strength_reduce): Compute the number of instructions in the loop
611         here, rather than in the caller.
612         (check_dbra_loop): Always clear reversible_mem_store if there
613         are any memory sets.
614         (loop_regs_scan): Don't count instructions here.
615         (count_insn_in_loop): New function.
617         * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
619 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
621         * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
622         bytes.  Reported by Kazu Hirata <kazu@hxi.com>.
624 Thu May 10 18:23:11 2001  Jeffrey A Law  (law@cygnus.com)
626         * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
627         a computed jump into an unconditional jump.
628         In second hunk of code for collapsing computed and conditional jumps
629         into unconditional jumps, reemit the jump in additional cases.
631 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
633         * expr.c (emit_group_load): extract_bit_field requires a REG or
634         MEM as an argument.
636 2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>
638         * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
639         contents for a SYMBOL_REF in case of floating point constants.
641 2001-05-09  Zack Weinberg  <zackw@stanford.edu>
643         * cppinit.c (cpp_post_options): Shut off macro expansion if
644         -fpreprocessed.
645         * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
646         IN_I directives only if the # is in column 1 and the directive
647         name begins in column 2.
648         * cppmain.c (scan_buffer): Insert a space between # and an
649         identifier, when that identifier is a directive name.
651         * tradcpp.c (struct file_buf): Add a pointer to the next entry
652         in the header search path.
653         (enum node_type): Add T_INCLUDE_NEXT.
654         (directive_table): Add entry for include_next.
655         (do_include_next): New function.
656         (process_include): New routine, broken out of do_include.
657         (finclude): Insert 'nhd' argument, to be copied into
658         next_header_dir of the new buffer.
659         (main): Adjust to match.
660         * gsyslimits.h, limity.h: Un-indent #include_next.
662 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
664         * objc.texi: Move from ../libobjc/objc-features.texi.  Adjust for
665         inclusion as a chapter of the GCC manual.
666         * gcc.texi: Include objc.texi.
667         * fdl.texi: Use @unnumberedsec for the addendum.
668         * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
670 2001-05-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
672         * pa.md (interspace_jump): Revise comment.
673         (builtin_longjmp): Block initial setup insns from delay slot of
674         interspace branch.
675         (builtin_setjmp_receiver): New expander to save and restore PIC
676         register.
678         * som.h (NM_FLAGS): Remove `-n' sort option.  Revise comment.
680 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
682         * gcc.texi: Remove references to CHILL.
683         * invoke.texi: Likewise.
684         * install.texi: Likewise.
686 2001-05-06  Zack Weinberg  <zackw@stanford.edu>
688         * Makefile.in (tradcpp0): Correct typo in dependency list.
690 2001-05-06  Andreas Jaeger  <aj@suse.de>
692         * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
693         (i386 Options): Document -momit-leaf-frame-pointer.
695 Sun May  6 10:54:20 2001  Jim Wilson  <wilson@redhat.com>
697         * dwarf2out.c (output_line_info): Fix typo.
699 2001-05-05  Richard Henderson  <rth@redhat.com>
701         * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
703 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
705         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
706         between X and Y by using sequences of xgdx and xgdy.
708 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
710         * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
711         of '!' for the 'D' alternative ('!' is too strong).
712         ("*logicalsi3_silshl16"): Likewise.
713         ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
714         ("movstrictsi"): Remove spurious '+'.
715         ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
716         ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
717         ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
718         a reload to them.
720 2001-05-04  David Edelsohn  <edelsohn@gnu.org>
722         * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
724 2001-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
726         * config/rs6000/rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64.
728 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
730         * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
731         soft register, use ror instead of rol.
733 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
735         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
736         into account pre/post increment decrement for 68HC12.
737         Fix other problems in replacement and fix call to reg_mentioned_p.
739 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
741         * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
742         Put the soft registers in bss for 68HC12.
743         (L_regs_d3_4): New for _.d3 and _.d4.
744         (L_regs_d5_6): Likewise.
745         (L_regs_d1_2): Likewise.
746         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
748 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
750         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
751         to the pre-processor when -fshort-double is specified.
752         * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
754 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
756         * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
757         (__mulsi3): Rewrite for 68HC12.
758         * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
759         Mark 'x' constraint with earlyclobber to prevent a
760         RELOAD_FOR_OTHER_ADDRESS to go in it.
761         (mulhi3_m68hc12): New pattern.
762         (mulhi3_m68hc11): Rename of mulhi3.
763         (mulhi3): New expand for 68HC12 optimisation.
764         (umulhisi3, mulhisi3): New patterns for 68HC12.
766 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
768         * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
769         (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
770         (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
772 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
774         * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
775         constants cheap after reload.
776         * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
777         are cheap.
778         (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
779         so that gcc prefers a shift by 16.
780         (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
782 2001-05-04  Mark Elbrecht  <snowball3@bigfoot.com>
784         * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
785         (CPP_SPEC): Conditionally define MSDOS and GO32.
786         (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
787         (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
788         ignored.
789         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
791 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
793         * hash.c (hash_lookup): Likewise.
795         * hash.h (hash_lookup): Likewise.
797         * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
799 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
801         * config/t-freebsd: Don't install "assert.h" in gcc.  Compile
802         crtbeginS.o and crtendS.o with PIC.
804 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
806         * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
807         instruction.
808         ("bitcmpqi2"): New pattern for bit-extract and test.
809         ("bitcmphi"): New pattern for bitb/bita instructions.
811 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
813         * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
814         instead of _.d1.
815         (INITIALIZE_TRAMPOLINE): Call it.
816         (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
817         (TRAMPOLINE_TEMPLATE): Remove.
818         * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
819         * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
820         Declare.
822 2001-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
824         * gccbug.in: Use a temporary directory when the mktemp command is
825         not available.
827 2001-05-03  David Edelsohn  <edelsohn@gnu.org>
829         * config/rs6000/aix51.h: Remove duplicate header file inclusion as
830         reported by David O'Brien <obrien@FreeBSD.org>.
832 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
834         * integrate.h (struct inline_remap): Add leaf_reg_map table.
835         * integrate.c (expand_inline_function): Use xcalloc to allocate
836         memory.
837         (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
838         registers.
840 2001-05-02  Geoff Keating  <geoffk@redhat.com>
842         * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
843         ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
844         ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
845         ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
846         ctrdi_internal6): In the short-branch case, this insn is only 4
847         bytes long.  Reported by Reza Yazdani <reza@apple.com>.
849         * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
850         (setup_incoming_varargs): Remove warning.
852         * config/rs6000/rs6000.c (validate_condition_mode): When
853         flag_fast_math, allow floating-point conditionals to be reversed.
854         (rs6000_generate_compare): When flag_fast_math, don't generate
855         cror operations for FP conditionals.
857 2001-05-02  Dale Johannesen  <dalej@apple.com>
859         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
860         parameter.
861         (STRICT_ARGUMENT_NAMING): Define.
862         * config/rs6000/rs6000.c (function_arg_advance, function_arg,
863         function_arg_partial_nregs, setup_incoming_varargs): Remove
864         args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
865         is defined.
867 Wed May  2 13:09:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
869         * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
870         for replacement.
872         * expr.c (store_field): Do nothing except elaborate side-effects if
873         zero-bit field.
875 2001-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
877         * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
878         constant pool, use the pool's SYMBOL_REF instead.
880 2001-05-01  Per Bothner  <per@bothner.com>
882         * expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
883         call do_pending_stack_adjust before emiting label.
885 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
887         * extend.texi: Fix typo.
889 2001-05-01  Stan Shebs  <shebs@apple.com>
891         * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
892         of UOBJC_MODULES_decl.
893         (generate_strings): Clear DECL_CONTEXT of new decl nodes.
894         (generate_descriptor_table): Ditto.
895         (generate_protocols): Ditto.
896         (generate_protocol_list): Ditto.
897         (generate_classref_translation_entry): Ditto.
899 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
901         * ChangeLog (2001-02-21): Remove erroneous entry.
902         * gcc.c (cc1_options): Add "-param".
903         (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
904         (option_map): Likewise.
905         (display_help): Add "--param" to 'other' options.
906         * invoke.texi (Optimize Options): Add documentation for `--param
907         max-delay-slot-insn-search' and `--param
908         max-delay-slot-live-search' and reorder --param section.
909         * params.def: Modify initial comment.
910         * params.h (param_info): Add `help' member.
911         * toplev.c (lang_independent_params): Include `help' description.
912         (display_help): Print --param parameters.
913         (independent_decode_option): Fix typographical error.
915 2001-05-01  Nathan Sidwell  <nathan@codesourcery.com>
917         * c-tree.texi (USING_STMT): Document.
919 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
920             Richard Henderson  <rth@redhat.com>
922         * extend.texi: Improve documentation of volatile asms.
924 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
926         * c-tree.texi: Fix thinko.
927         * gcc.texi: Likewise.
929 2001-04-30  Richard Henderson  <rth@redhat.com>
931         * c-common.c (c_promoting_integer_type_p): New function, from the
932         corpse of old macro.  Properly promote too-small enumerations and
933         booleans.  Adjust all callers.
934         * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
935         (c_promoting_integer_type_p): Declare.
936         * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
937         * c-typeck.c: Likewise.
938         (default_conversion): Remove now redundant boolean check.
940 2001-04-30  Jan Hubicka  <jh@suse.cz>
941             Richard Henderson  <rth@redhat.com>
943         * regmove.c (try_apply_stack_adjustment): Remove now redundant
944         sanity checks.
945         (combine_stack_adjustments_for_block): Don't combine stack
946         allocation followed by deallocations.  Handle grow-up stacks.
948 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
950         * fdl.texi: New file.
951         * c-tree.texi: Use the GFDL.
952         * gcc.texi: Likewise.
954 2001-04-30  Stan Shebs  <shebs@apple.com>
956         * invoke.texi: Add a section documenting Objective-C options.
958 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
960         * regmove.c (record_stack_memrefs): Catch all references to the
961         stack pointer.
963 2001-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
965         * pa.c (hppa_init_pic_save): Update last_parm_insn after emitting
966         pic save insn.
968 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
970         * extend.texi (extended asm): Fix typo.
972 Sat Apr 28 10:32:26 2001  Jeffrey A Law  (law@cygnus.com)
974         * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
975         and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
976         into the constant pool.
977         * jump.c (jump_optimize_1): Remove barrier successors after all
978         the LABEL_NUSES counds have been computed.
979         (delete_barrier_successors): When deleting a tablejump insn, also
980         delete the jump table it uses.
981         * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
982         label into memory.
984 2001-04-28  Andreas Jaeger  <aj@suse.de>
986         * invoke.texi: Use XX-bit instead of XXbit or XX bit where
987         appropriate.
988         * extend.texi: Likewise.
990 2001-04-28  Andreas Jaeger  <aj@suse.de>
992         * md.texi: Use XX-bit instead of XXbit or XX bit where
993         appropriate.
995 2001-04-28  Andreas Jaeger  <aj@suse.de>
996             Richard Henderson  <rth@redhat.com>
998         * md.texi (Machine Constraints): Fix description of "A" for
999         i386.
1001 2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
1003         * collect2.c (main): Add `-L' case to remove duplicate entries.
1004         (is_in_args): New function to check for a duplicate argument.
1005         * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
1006         * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
1007         * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
1008         Define to be nonzero.
1010 Fri Apr 27 10:41:06 2001  Jeffrey A Law  (law@cygnus.com)
1012         * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
1014 2001-04-26  Geoffrey Keating  <geoffk@redhat.com>
1016         * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
1017         common to other movsf patterns.  Move up so that in future
1018         people who change the other patterns will change it too.
1019         (movsf_lo_sum): Allow even for soft-float; add appropriate
1020         constraints.
1021         (movsf_high): Likewise.
1022         (movsf_high+1): Allow even for soft-float.
1024 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
1026         * invoke.texi: Document more C++ command-line options.
1028 2001-04-26  H.J. Lu  (hjl@gnu.org)
1030         * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
1032         * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
1033         define.
1034         * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
1035         (ASM_OUTPUT_SECTION_NAME): Likewise.
1036         (ASM_WEAKEN_LABEL): Likewise.
1037         (UNIQUE_SECTION): Likewise.
1038         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
1039         (ASM_OUTPUT_DESTRUCTOR): Likewise.
1040         * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
1041         (ASM_OUTPUT_SECTION_NAME): Likewise.
1042         (ASM_WEAKEN_LABEL): Likewise.
1043         (UNIQUE_SECTION): Likewise.
1044         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
1045         (ASM_OUTPUT_DESTRUCTOR): Likewise.
1046         * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
1047         * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
1048         (ASM_FILE_START): Likewise.
1049         (ASM_OUTPUT_SOURCE_LINE): Likewise.
1050         (ASM_DECLARE_OBJECT_NAME): Likewise.
1051         (ASM_FILE_END): Likewise.
1052         (ASM_DECLARE_FUNCTION_NAME): Likewise.
1053         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
1054         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1055         (ASM_OUTPUT_CASE_LABEL): Likewise.
1056         (ASM_OUTPUT_SKIP): Likewise.
1057         (ASM_OUTPUT_ASCII): Likewise.
1058         (ASM_OUTPUT_IDENT): Likewise.
1059         (READONLY_DATA_SECTION): Likewise.
1060         (EXTRA_SECTIONS): Likewise.
1061         (EXTRA_SECTION_FUNCTIONS): Likewise.
1062         (SELECT_RTX_SECTION): Likewise.
1063         (SELECT_SECTION): Likewise.
1065         * config/mips/linux.h (INVOKE__main): Undefine.
1066         (CTOR_LIST_BEGIN): Likewise.
1067         (CTOR_LIST_END): Likewise.
1068         (DTOR_LIST_BEGIN): Likewise.
1069         (DTOR_LIST_END): Likewise.
1070         (SET_ASM_OP): Defined it to ".dummy".
1071         (ASM_OUTPUT_DEF): Defined.
1072         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
1074 2001-04-26  Nathan Sidwell <nathan@codesourcery.com>
1076         * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
1078 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
1080         * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
1081         -m386 and -m486.
1083 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
1085         * configure.in (configargs.h): Define thread_model.
1086         * configure: Rebuilt.
1087         * gcc.c (main): Print it with -v.
1089 2001-04-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1091         * invoke.texi: Document -Wmissing-braces, -dumpspecs,
1092         -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
1093         * gcc.1: Regenerate.
1095 2001-04-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1097         * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
1098         is_redundant_typedef): Use static inline instead of inline static.
1100 Wed Apr 25 18:21:01 2001  Christopher Faylor <cgf@cygnus.com>
1102         * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
1103         this directory is always searched.
1105 2001-04-25  Jason Merrill  <jason_merrill@redhat.com>
1107         * loop.c (try_swap_copy_prop): Go back to checking insn.
1109 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1111         * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
1112         out and comparison sequence has been detected, put result into
1113         proper temporary pseudo.
1115 2001-04-24  Mark Mitchell  <mark@codesourcery.com>
1117         * dwarf2out.c (dwarf2out_finish): Forcibly return to the data
1118         section after emitting information.
1120 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
1122         * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
1123         * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
1124         * libgcc2.c: Remove __dummy and __empty functions, and all
1125         code for __builtin_saveregs.
1126         * libgcc2.h: Don't prototype __builtin_saveregs, __dummy, or __empty.
1127         * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
1128         for future reference.
1130 2001-04-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1132         * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
1133         passing nested NOP_EXPRs to fold.
1135 2001-04-23  Mark Mitchell  <mark@codesourcery.com>
1137         * dwarf2out.c (rtl_for_decl_location): Add comments.  Abort
1138         if the decl is abstract.
1139         (add_bound_info): Don't try to get the location of an abstract
1140         declaration.
1142 2001-04-22  Mark Mitchell  <mark@codesourcery.com>
1144         * loop.c (loop_delete_insns): Add prototype.
1146 2001-04-21  Mark Mitchell  <mark@codesourcery.com>
1148         * flow.c (proagate_one_insn): Remove useless assignment.
1149         * jump.c (delete_insn): Tidy.
1150         * loop.c (try_copy_prop): When deleting an instruction with a
1151         REG_RETVAL note, delete the entire libcall sequence.
1152         (loop_delete_insns): New function.
1153         * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
1154         we're not substituting into them yet.
1156 2001-04-21  Kazu Hirata  <kazu@hxi.com>
1158         * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
1160         * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
1161         Fix a comment typo.
1162         * config/i960/i960.c (signed_arith_operand): Likewise.
1164         * calls.c (expand_call): Fix a comment typo.
1166 Fri Apr 20 12:22:15 2001  Jeffrey A Law  (law@cygnus.com)
1168         * config/pa/som.h (NM_FLAGS): Define.
1170 2001-04-20  Bernd Schmidt  <bernds@redhat.com>
1172         * ia64.c (ia64_flag_schedule_insns2): New variable.
1173         (ia64_override_options): Initialize it.  Clear
1174         flag_schedule_insns_after_reload.
1175         (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
1177 Thu Apr 19 19:12:57 2001  Jeffrey A Law  (law@cygnus.com)
1179         * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
1180         * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
1182         * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
1183         name at 32 total characters.
1184         (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
1185         functions in named sections -- data items can still go into unique
1186         sections, but they have normal names (ie $LIT$ and $DATA$).
1188         * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
1189         INIT_PRIORITY.
1191 2001-04-19  Mark Mitchell  <mark@codesourcery.com>
1193         * toplev.h (struct lang_hooks): Allow decode_option to indicate
1194         that language-independent processing should not be done.
1195         * toplev.c (main): Adjust accordingly.
1197         * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
1198         * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
1200         * mips.md (reload_outputdi): Require that operand0 be a
1201         general_operand.
1203 2001-04-19  Jakub Jelinek  <jakub@redhat.com>
1205         * invoke.texi (-Wshadow): Clarify.
1207 2001-04-18  Mark Mitchell  <mark@codesourcery.com>
1209         * loop.c (load_mems): Examine all the instructions in the loop
1210         before concluding that all jumps branch to the first instruction
1211         after the loop.
1213 Wed Apr 18 20:32:03 2001  Christopher Faylor <cgf@cygnus.com>
1215         * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
1217 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
1219         * cpp.texi (-Wwhite-space): Remove.
1220         (-Wall): -Wall does not imply -Wwhite-space.
1222 2001-04-17  Zack Weinberg  <zackw@stanford.edu>
1224         * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
1225         use it instead of blindly generating a .stabs.
1226         * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
1227         in the right place.
1228         * xcoffout.c: Don't bother defining default for N_CATCH.
1229         (UNKNOWN_STAB): Use internal_error.
1230         (stab_to_sclass): Remove now-unnecessary aborts.
1231         Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.
1233 Tue Apr 17 21:39:12 2001  Jeffrey A Law  (law@cygnus.com)
1235         * jump.c (mark_all_labels): Canonicalize the tail recursion
1236         label attached to CALL_PLACEHOLDER insns.
1238 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
1240         * dbxout.c (N_OPT): Define if not available from <stab.h>
1242 2001-04-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1244         * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
1245         libraries and native K&R compilers.
1247 2001-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1249         * c-typeck.c (convert_arguments): Don't check for width changes
1250         with -Wtraditional.
1252         * invoke.texi (-Wtraditional): Update documentation.
1254 2001-04-16  Zack Weinberg  <zackw@stanford.edu>
1256         * toplev.c (output_lang_identify): Delete.
1257         (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
1258         Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
1259         If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
1260         after calling ASM_FILE_END.
1262         * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
1263         Instead, unconditionally emit an N_OPT stab with string equal
1264         to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
1266         * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
1268         * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
1269         config/psos.h, config/ptx4.h, config/1750a/1750a.h,
1270         config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
1271         config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
1272         config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
1273         config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
1274         config/i370/i370.h, config/i386/beos-elf.h,
1275         config/i386/osf1elf.h, config/i386/osfrose.h,
1276         config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
1277         config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
1278         config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
1279         config/m68k/tower-as.h, config/mcore/mcore-elf.h,
1280         config/mips/iris6.h, config/mips/osfrose.h,
1281         config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
1282         config/sparc/sp64-elf.h:
1283         Delete definitions of any or all of: ASM_IDENTIFY_GCC,
1284         ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
1286         * config/elfos.h, config/freebsd.h, config/linux.h,
1287         config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
1288         config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
1289         config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
1290         of ASM_FILE_START which merely emit a .version directive.  Delete
1291         definitions of ASM_FILE_END which merely emit an .ident directive.
1293         * config/avr/avr.h, config/vax/vax.h: Delete definition of
1294         ASM_IDENTIFY_GCC and move part of its logic into
1295         ASM_FILE_START.
1297         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
1298         config/sparc/linux-aout.h: Don't emit .version directive in
1299         ASM_FILE_START.
1301         * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
1302         (output_file_start): Correct comment.
1304         * config/i386/osfrose.h: Don't emit trailing .ident directive.
1305         * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
1306         to match gdb.
1307         * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
1308         * config/rs6000/aix.h: Correct comment.
1310         * config/i386/i386afe.h: Delete.
1311         * config.gcc: Remove references to i386afe.h.
1313         * tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
1314         other macros deleted by this patch were undocumented.
1316 Mon Apr 16 08:02:14 2001  Jeffrey A Law  (law@cygnus.com)
1318         * pa.md (reload_outdi): Operand 0 must be a non hard register.
1320         * pa.c (secondary_reload_class): SAR<->FP copies require a
1321         secondary register.
1323         * install.texi (mips-mips-bsd): Update list of functions
1324         required to include memmove.
1325         * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
1326         used functions to include memmove.
1328 2001-04-15  Mark Mitchell  <mark@codesourcery.com>
1330         * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
1331         if it is not set.
1333 2001-04-15  Jim Wilson  <wilson@redhat.com>
1335         * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
1337 2001-04-13  Jim Wilson  <wilson@redhat.com>
1339         * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
1340         (first_instruction): New static variable.
1341         (rtx_needs_barrier): Return 1 for alloc.
1342         (init_insn_group_barriers): Set first_instruction.
1343         (rws_sum): Delete duplicate definition.
1344         (group_barrier_needed_p): Return 0 when first_instruction true.
1345         (safe_group_barrier_needed_p): Save and restore first_instruction
1346         around group_barrier_needed_p call.
1348 Fri Apr 13 21:33:59 2001  Loren J. Rittle  <ljrittle@acm.org>
1350         * expr.h (enum libfunc_index): Add LTI_memmove.
1351         (memmove_libfunc): Define macro.
1352         * optabs.c (init_optabs): Initialize memmove_libfunc.
1353         * expr.c (expand_assignment): Use memmove_libfunc instead of
1354         memcpy_libfunc.
1356 2001-04-13  Alan Modra  <alan@linuxcare.com.au>
1358         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
1359         fp mode addresses.
1361 2001-04-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1363         * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
1364         (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
1365         MAKEINFO and MAKEINFOFLAGS too.
1366         (stage4_build): Correctly order -B flags.
1368 2001-04-12  Jim Wilson  <wilson@redhat.com>
1370         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
1371         to just emit an fnorm.
1373 2001-04-12  Mark Mitchell  <mark@codesourcery.com>
1375         * invoke.texi: Document --param max-gcse-memory.
1377 2001-04-12  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1379         * sh.md (builtin_setjmp_receiver): New expander.
1381 2001-04-12  Kelley Cook <kelley.cook@home.com>
1383         * config-lang.in (lang_dirs): Add in zlib.
1385 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
1387         * dwarf2out.c (modified_type_die): Don't create new types here.
1388         * tree.h (get_qualified_type): New function.
1389         (build_qualified_type): Adjust comment.
1390         * tree.c (get_qualified_type): New function.
1391         (build_qualified_type): Use it.
1393 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1395         * cpp.texi (-Wtraditional): Update description.
1397         * invoke.texi (-Wtraditional): Likewise.
1399 2001-04-11  Jim Wilson  <wilson@redhat.com>
1401         * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
1402         requires more than 64 bits of alignment.
1404 2001-04-11  Neil Booth  <neil@daikokuya.demon.co.uk>
1406         * cpplib.c (do_line): Sanity check iff enable checking.
1408 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
1410         * Makefile.in (gcse.o): Depend on params.h.
1411         * gcse.c: Include params.h.
1412         (gcse_main): Don't do GCSE if doing so will take inordinate
1413         amounts of memory.
1414         * params.def (PARAM_MAX_GCSE_MEMORY): New  parameter.
1415         * params.h (MAX_GCSE_MEMORY): New macro.
1417 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1419         * c-typeck.c (convert_arguments): -Wtraditional now activates
1420         -Wconversion warnings, except for changes in signed-ness.
1421         Detect complex<->int & int<->complex conversions as well.
1423         * invoke.texi (-Wtraditional): Document it.
1425 Wed Apr  4 00:28:23 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1427         * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
1429 2001-04-11  Jason Merrill  <jason_merrill@redhat.com>
1431         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
1432         not '.' or '$'.
1433         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
1434         * varasm.c (CHKR_PREFIX): Likewise.
1436 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
1438         * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
1440 2001-04-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1442         * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
1443         (LIB2ADD_ST): New macro, pass it to mklibgcc.
1444         * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
1445         (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
1446         * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
1448 2001-04-09  Neil Booth  <neil@daikokuya.demon.co.uk>
1450         * configure.in: Add check for lstat.
1451         * configure, config.in: Regenerate.
1452         * cppinit.c (append_include_chain): Make empty path ".".
1453         * cpplib.c (do_line): Don't simplify #line paths.
1454         * cppfiles.c (remove_component_p): New function.
1455         (find_or_create_entry): Acknowledge stat () errors during
1456         path simplification.
1457         (handle_missing_header): Don't simplify paths.
1458         (_cpp_simplify_pathname): Don't simplify VMS paths.  Return
1459         the empty path untouched.  Don't leave a trailing '/'.
1461 Sun Apr  8 22:50:49 2001  Christopher Faylor <cgf@cygnus.com>
1463         * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
1464         function.  Remove include of sys/cygwin.h.
1466 Sun Apr  8 22:20:27 2001  Christopher Faylor <cgf@cygnus.com>
1468         * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
1469         (CPP_SPEC): Always search */include/w32api for header files.
1470         (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
1471         (LINK_SPEC): Add "cyg" to the library search prefixes.
1473 2001-04-08  Philip Blundell  <philb@gnu.org>
1475         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
1477 2001-04-08  Neil Booth  <neil@daikokuya.demon.co.uk>
1479         * cpperror.c (print_location): Don't special case <stdin>.
1480         (_cpp_begin_message): Handle WARNING_SYSHDR the same as
1481         WARNING, but we don't check if we're in system headers.
1482         * cpphash.h (enum error_type): WARNING_SYSHDR: New.
1483         * cpplib.c (do_warning): Warn in system headers.
1484         (cpp_push_buffer): Give stdin buffers the name <stdin>.
1486 2001-04-07  Mumit Khan <khan@NanoTech.Wisc.EDU>
1488         * mbchar.c: Include config.h first.
1490 2001-04-07  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1492         * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
1494 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
1495         
1496         * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
1497         * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
1499 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
1501         * config/ia64/ia64.c (rtx_needs_barrier): PARALLELs can contain
1502         ASM_OPERANDS.
1504 2001-04-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1506         * emit-rtl.c (mark_label_nuses) Increment the label uses for
1507         all labels present in rtx.
1508         (try_split) Call new function for all split insns.
1510 2001-04-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1512         * cppfiles.c (open_file): Fail directories silently, but
1513         with an errno of NOENT set.
1514         (read_include_file): Move the common exit code to the sole
1515         caller.  Return an int indicating success or failure.  Let
1516         open_file handle directories.
1517         (stack_include_file): If read_include_file fails,
1518         push a "null" buffer.
1520 2001-04-04  Diego Novillo  <dnovillo@redhat.com>
1522         * simplify-rtx.c (simplify_binary_operation): Check for overflow
1523         when folding integer division and modulo operations.
1525 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
1527         * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
1528         push insns to delete to it instead of deleting them.
1529         (delete_null_pointer_checks): Delete insns from delete_list after
1530         all delete_null_pointer_checks_1 passes are done.
1532 2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
1534         * configure.in (target_subdir): Use target_alias, not target.
1535         * configure: Rebuilt.
1537         * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
1538         other way round.
1539         * config/sh/crti.asm: Fix typos in comments.
1541 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
1543         * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
1544         LO_SUM cases to where they belong.
1546 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
1548         * ifcvt.c (noce_emit_move_insn): New.
1549         (noce_try_store_flag, noce_try_store_flag_constants,
1550         noce_try_store_flag_inc, noce_try_store_flag_mask,
1551         noce_try_cmove, noce_try_cmove_arith): Use it.
1552         (noce_process_if_block): Likewise.
1553         For STRICT_LOW_PART, take mode from its SUBREG.
1555 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
1557         * fold-const.c (fold): Before optimizing unsigned comparison with
1558         0x7fffffffU, make sure arg0 is integral type.
1560 2001-04-02  Joseph S. Myers  <jsm28@cam.ac.uk>
1562         * c-tree.texi: Document representation of wide strings.
1564 2001-03-31  Marek Michalkiewicz  <marekm@linux.org.pl>
1566         * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
1567         when multiplier or multiplicand is zero.
1569 2001-03-30  Bernd Schmidt  <bernds@redhat.com>
1571         * loop.c (load_mems): When generating a load from a pseudo, update
1572         REGNO_LAST_UID.
1574         * config/ia64/ia64.c (update_set_flags): New function, broken out of
1575         rtx_needs_barrier.
1576         (set_src_needs_barrier): Likewise.
1577         (rtx_needs_barrier): For SET case, use these two functions.  Rework
1578         PARALLEL case to handle all inputs before all outputs.
1579         (emit_insn_group_barriers): Call init_insn_group_barriers only if we
1580         saw a label and no stop bit since then.
1581         (maybe_rotate, process_epilogue): Add prototypes.
1583 2001-03-28  Jim Wilson  <wilson@redhat.com>
1585         * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
1586         operand_subword.
1588 2001-03-28  DJ Delorie  <dj@redhat.com>
1590         * Makefile.in (stage1_build): Revert CFLAGS patch.
1592 2001-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1594         * reload1.c (eliminate_regs): Don't abort on MEM USEs.
1596 2001-03-27  Jim Wilson  <wilson@redhat.com>
1598         * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
1599         IA64_UNWIND_EMIT.
1600         * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
1601         (process_epilogue): New static function.
1602         (process_set): Call process_epilogue instead of emitting .restore
1603         directly.
1604         (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
1606         * flow.c (struct reg_cond_life_info): New fields orig_condition
1607         and stores.
1608         (init_propagate_block_info): Set new fields.
1609         (mark_regno_cond_dead): Set and use new fields.
1610         (flush_reg_cond_reg_1): Likewise.
1611         (and_reg_cond, case AND): Check for redundant AND conditions.
1612         (mark_used_reg): Delete unnecessary clears before freeing splay trees.
1613         Set new fields.
1615 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1617         * cppmacro.c (stringify_arg): Null terminate strings.
1619 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1621         * cppfiles.c: Update comments.
1622         (struct include_file): Remove "defined" memeber.
1623         (find_or_create_entry): Make a copy of the file name, and
1624         simplify it.
1625         (open_file): Update to ensure we use the simplified filename.
1626         (stack_include_file): Don't set search_from.
1627         (cpp_included): Don't simplify the path name here.
1628         (find_include_file): New prototype.  Call search_from to
1629         get the start of the "" include chain.  Don't simplify the
1630         filenames here.
1631         (_cpp_execute_include): New prototype.  Move diagnostics to
1632         do_include_common.  Update.
1633         (_cpp_pop_file_buffer): Don't set defined.
1634         (search_from): New prototype.  Use the preprocessor's cwd
1635         for files included from the command line.
1636         (read_name_map): Don't simplify the pathname here.
1638         (stack_include_file): Only increase the include
1639         count if we actually process the file properly, as opposed
1640         to treating it as length zero.  Only call read_include_file
1641         if not DO_NOT_REREAD.  Handle the -H include file output
1642         here.
1643         (read_include_file): Remove now redundant DO_NOT_REREAD check.
1644         (cpp_included, find_include_file): Simplify pathnames after
1645         remapping them.  If remapping, don't use the remapped file
1646         name's buffer as our scratch buffer.
1647         (cpp_pop_file_buffer): Replace the multiple include macro
1648         only if it isn't yet set.
1649         (read_name_map): Simplify remapped names when reading in.
1650         (remap_filename): Move code to code path that uses it.
1651         (_cpp_simplify_pathname): Return the input pointer.
1653         (NO_INCLUDE_PATH): New macro.
1654         (find_include_file): Decide here which part of the include
1655         chain to start the search.  Complain about an empty include
1656         chain in all cases apart from an abolsute file name.
1657         (_cpp_execute_include): Don't choose the search chain here.
1658         Don't call handle_missing_include in the case of an empty
1659         include chain.
1660         (_cpp_compare_file_date): Don't choose the search chain here.
1662         (destroy_include_file_node): Rename destroy_node.
1663         (find_or_create_entry): New function.
1664         (open_file, _cpp_fake_include): Use it.
1665         (handle_missing_header): New function, broken out of
1666         _cpp_execute include.  Don't segfault if there is no
1667         system or quoted path.
1668         (_cpp_execute_include): Use handle_missing_header.
1670         (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
1671         (cpp_included, find_include_file): Update.
1672         (search_from): Use lbasename.
1673         (_cpp_execute_include): Don't make a null-terminated
1674         copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
1675         strlen or strcpy; we already know the length.
1676         (_cpp_compare_file_date): Similarly.
1678         * cpphash.h: Update comments.
1679         (enum include_type): New.
1680         (struct buffer): Delete search from.  New search_cached.
1681         (_cpp_execute_include): Update prototype.
1682         (struct cpp_reader): Delete done_initialising.
1683         (_cpp_simplify_pathname): Update prototype.
1684         (struct cpp_buffer): Delete actual_dir.  New members
1685         search_from and dir.
1686         (struct cpp_reader): Remove actual_dirs.
1688         (struct include_file): Update.
1689         (stack_include_file): Use search_from.
1690         (cpp_included, find_include_file): Update.
1691         (cpp_execute_include): Update.  ptr->name may not be
1692         null terminated.  Use the new search_from member variable
1693         of cpp_buffer.
1694         (_cpp_compare_file_date): Similarly.
1695         (search_from): New function, similiar to actual_directory.
1696         (actual_directory): Delete.
1697         (remap_filename): Update.  loc->name may not be null terminated.
1698         (struct file_name_list): Rename search_path.  Update.
1700         * cppinit.c (do_includes): Use _cpp_execute_include.
1701         (cpp_start_read): Don't set done_initialising.
1702         (struct cpp_pending): Update for renamed objects.
1703         (append_include_chain, remove_dup_dir, remove_dup_dirs,
1704         merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
1706         * cpplib.c (do_include_common): New function.
1707         (do_include, do_include_next, do_import): Use it.
1708         (do_include_next): Move the in-main-file diagnostic
1709         here from _cpp_execute_include.  Behave like #include if
1710         we're in the main file.
1711         (_cpp_compare_file_date): Make else unconditional.
1712         (CPP_PREV_BUFFER): Delete.
1713         (glue_header_name): Null-terminate.
1714         (do_line): Don't leak memory.
1716         * cpplex.c (parse_string): Guarantee null-termination.
1717         (_cpp_equiv_toklists): Remove.
1719         * cpplib.h (BT_WEAK): Delete.
1720         (struct cpp_options): Update.
1722         * cppmain.c (cb_ident): Strings are now null-terminated.
1724         * mkdeps.c (deps_add_default_target): Use lbasename.
1726 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
1728         * c-typeck.c (digest_init): Fold init expression.
1730         * except.c (eh_regs): Save results of build_pointer_type to a temp
1731         as FUNCTION_VALUE macro may evaluate its args multiple times.
1733 2001-03-26  Mark Mitchell  <mark@codesourcery.com>
1735         * c-common.h (DECL_NUM_STMTS): New macro.
1736         * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
1737         DECL_FRAME_SIZE.
1738         (pushdecl): Likewise.
1739         * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
1740         * integrate.c (expand_inline_function): Don't check
1741         DECL_FRAME_SIZE.
1742         * print-tree.c (print_node): Don't print it.
1743         * toplev.c (rest_of_compilation): Don't try to inline when
1744         flag_no_inline is on.
1745         * tree.h (DECL_FRAME_SIZE): Remove.
1746         (tree_decl): Adjust accordingly.
1748 Mon Mar 26 15:59:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
1750         * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
1752 2001-03-26  Jakub Jelinek  <jakub@redhat.com>
1754         * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
1755         to variable names where DECL_NAME is different from
1756         DECL_ASSEMBLER_NAME.
1758 2001-03-26  Jakub Jelinek  <jakub@redhat.com>
1760         * reg-stack.c (stack_result): Re-add 2001-03-14 changes which were
1761         lost during the 2001-03-14 lazy DECL_RTL commit.
1763 2001-03-21  Jason Merrill  <jason@redhat.com>
1765         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
1766         not '.' or '$'.
1767         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
1768         * varasm.c (CHKR_PREFIX): Likewise.
1770 2001-03-25  Kazu Hirata  <kazu@hxi.com>
1772         * config/h8300/h8300.md (umodqi3): Output a tab instead of a
1773         space.
1774         (modqi3): Likewise.
1775         (umodhi3): Likewise.
1776         (modhi3): Likewise.
1778 2001-03-23  Richard Henderson  <rth@redhat.com>
1780         * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
1781         to avoid shadowing arguments.
1783 2001-03-23  Jim Wilson  <wilson@redhat.com>
1785         * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
1786         (assemble_alias): Call make_decl_rtl.
1788 2001-03-23  Bryce McKinlay  <bryce@albatross.co.nz>
1790         * extend.texi: Document the "java_interface" attribute.
1792 2001-03-22  Gordon Sadler  <gbsadler1@lcisp.com>
1794         * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
1796 2001-03-22  Zack Weinberg  <zackw@stanford.edu>
1798         * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec field to
1799         all array elements.
1801 2001-03-22  Brad Lucier  <lucier@math.purdue.edu>
1803         * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
1805 2001-03-22  Joseph S. Myers  <jsm28@cam.ac.uk>
1807         * gcc.texi: Remove more obsolete documentation of bugs and
1808         installation problems.
1810 2001-03-21  Kazu Hirata  <kazu@hxi.com>
1812         * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
1813         into two parts.
1815 Wed Mar 21 14:27:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1817         * cse.c (find_comparison_args): Remove previous change.
1818         * ifcvt.c (noce_process_if_block): When moving an insn, remove any
1819         REG_EQUAL notes.
1821         * sdbout.c: #include ggc.h.
1822         (sdbout_init): Move to end of file.
1823         Call ggc_add_tree_root for anonymous_types.
1824         (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
1825         (sdbout_one_type): Use DECL_NAME for field name.
1826         * Makefile.in (sdbout.o): Show includes ggc.h.
1828 2001-03-21  Jakub Jelinek  <jakub@redhat.com>
1830         * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
1831         Remove ia32 linux PIC kludge and move it...
1832         * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
1834 2001-03-20  DJ Delorie  <dj@redhat.com>
1836         * Makefile.in (install-libgcc): Pass complete list of variables.
1837         (install-multilib): Ditto.
1839 2001-03-20  Mark Mitchell  <mark@codesourcery.com>
1841         * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
1842         variables that are TREE_PUBLIC, even if not TREE_STATIC.
1844 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
1846         Compute DECL_ASSEMBLER_NAME lazily.
1847         * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
1848         (DECL_ASSEMBLER_NAME_SET_P): New macro.
1849         (SET_DECL_ASSEMBLER_NAME): Likewise.
1850         (COPY_DECL_ASSEMBLER_NAME): Likewise.
1851         (set_decl_assembler_name): Declare.
1852         (lang_set_decl_assembler_name): Likewise.
1853         * tree.c (lang_set_decl_assembler_name): New variab.e
1854         (set_decl_assembler_name): New function.
1855         (init_obstacks): Set lang_set_decl_assembler_name.
1856         (build_decl): Don't set DECL_ASSEMBLER_NAME.
1857         * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
1858         COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
1859         where it's not necessary.
1860         (builtin_function): Likewise.
1861         (finish_decl): Likewise.
1862         * dbxout.c (dbxout_type_methods): Likewise.
1863         * ggc-common.c (ggc_mark_trees): Likewise.
1864         * profile.c (output_func_start_profiler): Likewise.
1865         * varasm.c (make_decl_rtl): Likewise.
1867         * cse.c (find_comparison_args): Update documentation.  Fix
1868         mishandling of COMPARE operations.
1870         * tree.def (ABS_EXPR): Add documentation.
1871         * fold-const.c (fold): Improve folding of ABS_EXPRs.
1873 2001-03-20  Tom Tromey  <tromey@redhat.com>
1875         * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
1877 2001-03-20  David Billinghurst  <David.Billinghurst@riotinto.com>
1879         * config/i386/cygwin.h: Declare ctor_section, dtor_section
1880         drectve_section, switch_to_section.
1882         * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
1883         i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
1884         i386_pe_mark_dllimport.
1886 2001-03-20  David Billinghurst <David.Billinghurst@riotinto.com>
1888         * config/i386/cygwin.h: Include <stdio.h> Declare and constify
1889         functions i386_pe_*.
1891         * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
1892         i386_pe_* functions with char * arguments.
1894 2001-03-20  Alexandre Oliva  <aoliva@redhat.com>
1896         * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
1897         and store.
1898         (movsi_ie): Introduce fpul store.
1900 2001-03-20  Alan Modra  <alan@linuxcare.com.au>
1902         * Makefile.in (OBJS): Remove hashtab.o.
1904 2001-03-19  Tom Tromey  <tromey@redhat.com>
1906         * gcc.c (init_gcc_specs): Fix comment.
1908 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
1910         * cse.c (find_comparison_args): Update documentation.  Fix
1911         mishandling of COMPARE operations.
1913         * tree.def (ABS_EXPR): Add documentation.
1914         * fold-const.c (fold): Improve folding of ABS_EXPRs.
1916 2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>
1918         * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
1920 2001-03-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1922         * README.X11: Remove obsolete file.
1924 2001-03-18  Anthony Green  <green@redhat.com>
1926         * config/pj/pj.h: Remove some trailing commas.
1927         (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
1929 2001-03-17  Anthony Green  <green@redhat.com>
1931         * config/pj/lib1funcs.S: Fix broken comment.
1932         * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
1933         labels with '.'.
1935 2001-03-18  Joseph S. Myers  <jsm28@cam.ac.uk>
1937         * gcc.texi: Remove obsolete information relating to build and
1938         installation problems with enquire or the Pyramid C compiler.
1940 2001-03-16  Philip Blundell  <philb@gnu.org>
1942         * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
1943         "armv2-*-linux".
1944         * config/arm/linux-elf.h: Remove historical relics related to
1945         above configurations.
1946         * config/arm/linux-oldld.h: Delete.
1947         * config/arm/linux-elf26.h: Delete.
1949 2001-03-17  Richard Henderson  <rth@redhat.com>
1951         * dwarf2out.c (lookup_filename): Emit .file if the assembler
1952         is generating .debug_line.
1953         (dwarf2out_init): Add main_input_filename to the file table first.
1954         * configure.in (as_dwarf2_debug_line): Test with file number 1
1955         instead of file number 0.
1957         * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
1958         (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
1959         (size_of_line_prolog): Remove.
1960         (output_line_info): Compute prologue size via label difference.
1961         (lookup_filename): Return "unspecified" for <internal> and <built-in>.
1962         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
1963         assembler error when redefining file numbers.
1964         * config.in, configure: Rebuild.
1966 2001-03-17  David Billinghurst  <David.Billinghurst@riotinto.com>
1968         * config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused
1969         variable.
1971 2001-03-16  Jim Wilson  <wilson@redhat.com>
1973         * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
1974         then set it to LOC_REG (79) instead of aborting.
1976 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
1978         * fixinc/Makefile.in: Set SHELL.
1980 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
1982         * fixinc/fixincl.c (fix_with_system): Quote file names before
1983         passing them to shell.
1985 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
1987         * Makefile.in: Use fix-header$(build_exeext) instead
1988         of fix-header.
1990 Fri Mar 16 11:26:01 2001  Christopher Faylor <cgf@cygnus.com>
1992         * config/i386/cygwin.h: Revert previously misapplied patch which
1993         eliminated TARGET_SUBTARGET_DEFAULT.
1995 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
1997         * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
1998         register may be dead.
2000 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
2002         * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
2004 2001-03-16  Brad Lucier  <lucier@math.purdue.edu>
2006         * Makefile.in (hash.o): Depend on CONFIG_H.
2008 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
2010         * cppfiles.c (stack_include_file): Use MAX of sysp.
2012 2001-03-15  Steve Ellcey  <sje@cup.hp.com>
2014         * config.gcc (ia64*-*-hpux*): New case.
2015         * config/ia64/hpux.h: New file for HP-UX support.
2016         * config/ia64/t-hpux: New file for HP-UX support.
2018 2001-03-16  Bruce Korb  <bkorb@gnu.org>, Alexandre Oliva  <aoliva@redhat.com>
2020         * fixinc/inclhack.def (irix_stdio_va_list): New.
2021         * fixinc/fixincl.x: Rebuilt.
2023 2001-03-15  Bruce Korb  <bkorb@gnu.org>
2025         * gcc.c(main): make more rigorous
2026         * collect2.c(main): guard against ignoring SIGCHLD
2027         * protoize.c(main): ditto
2028         * gcc/fixinc/fixincl.c(initialize): ditto
2030 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
2032         * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
2033         (sdbout_parms): Likewise.
2035 Thu Mar 15 12:51:00 2001  Jeffrey A Law  (law@cygnus.com)
2037         * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
2038         "widen" a destination that is already wider than a word.  Also do
2039         not widen if LOAD_EXTEND_OP is NIL for the given mode.
2041 2001-03-15  Zack Weinberg  <zackw@stanford.edu>
2043         * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
2044         config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
2045         config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
2046         config/clipper/xm-clix.h, config/convex/xm-convex.h,
2047         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
2048         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
2049         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
2050         config/i370/xm-linux.h, config/i370/xm-mvs.h,
2051         config/i370/xm-oe.h, config/i386/xm-aix.h,
2052         config/i386/xm-i386.h, config/i386/xm-osf.h,
2053         config/i860/xm-i860.h, config/i960/xm-i960.h,
2054         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
2055         config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
2056         config/mcore/xm-mcore.h, config/mips/xm-mips.h,
2057         config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
2058         config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
2059         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
2060         config/pa/xm-pahpux.h, config/pa/xm-papro.h,
2061         config/pj/xm-pj.h, config/romp/xm-romp.h,
2062         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
2063         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
2064         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
2065         config/v850/xm-v850.h, config/vax/xm-vax.h,
2066         config/vax/xm-vms.h, config/we32k/xm-we32k.h:
2067         Do not define TRUE or FALSE.
2069         * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
2070         empty by above change.
2071         * config.gcc: Remove references to these files.
2073         * configure.in: Detect stdbool.h.
2074         * configure, config.in: Regenerate.
2075         * system.h: Include stddef.h here if available.  Set
2076         HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.  Then
2077         set up a sensible boolean type at the very end.
2079         * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
2080         config/mcore/mcore.c: Rename variables named 'true'
2081         and/or 'false'.
2083         * hash.h: Delete 'boolean' typedef and related #undefs.
2085         * function.c, ggc-common.c, hash.h, hash.c, tlink.c,
2086         Replace all uses of 'boolean' with 'bool'.
2088 2001-03-15  Neil Booth  <neil@daikokuya.demon.co.uk>
2089             David Billinghurst <David.Billinghurst@riotinto.com>
2091         * config/mips/iris5.h:  Change WCHAR_TYPE to int.
2093 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
2095         * simplify-rtx.c (hash_rtx): For REG and MEM, just use value of
2096         expression without adding in rtx code and mode.
2098         * alias.c (init_alias_analysis): Don't use any rtx whose value
2099         varies as a known value.
2100         Delete a superfluous test.
2102 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
2104         * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
2106 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
2108         * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
2109         contents of the RTL, to determine the name of the object.
2111 2001-03-14  Laurynas Biveinis  <lauras@softhome.net>
2113         * configure.in: Use $gcc_cv_as instead of $as.
2114         * configure: Regenerated.
2116 Wed Mar 14 13:17:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2118         * alias.c (handled_component_p, can_address_p): New functions.
2119         (get_alias_set): Use them.
2121 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
2123         * expr.c (expand_expr): Revove bogus conditional.
2125 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
2127         * tree.h (DECL_RTL): Allocate RTL lazily.
2128         (SET_DECL_RTL): New macro.
2129         (DECL_RTL_SET_P): Likewise.
2130         (COPY_DECL_RTL): Likewise.
2131         (DECL_RTL_IF_SET): Likewise.
2132         * varasm.c (make_decl_rtl): Add assertions about the kind of
2133         declaration we are processing.
2134         * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
2135         (start_decl): Likewise.
2136         (finish_decl): Likewise.
2137         * c-semantics.c (emit_local_var): Likewise.
2138         * calls.c (expand_call): Likewise.
2139         * dbxout.c (dbxout_symbol): Likewise.
2140         * emit-rtl.c (unshare_all_rtl): Likewise.
2141         (unshare_all_decls): Likewise.
2142         (reset_used_decls): Likewise.
2143         * expr.c (store_constructor): Likewise.
2144         (safe_from_p): Likewise.
2145         (expand_expr): Likewise.
2146         * function.c (put_var_into_stack): Likewise.
2147         (instantiate_decls_1): Likewise.
2148         (assign_parms): Likewise.
2149         (expand_function_start): Likewise.
2150         (expand_function_end): Likewise.
2151         * ggc-common.c (gcc_mark_trees): Likewise.
2152         * integrate.c (function_cannot_inline_p): Likewise.
2153         (copy_decl_for_inlining): Likewise.
2154         (expand_inline_function): Likewise.
2155         (integrate_parm_decls): Likewise.
2156         (integrate_decl_tree): Likewise.
2157         * print-tree.c (print_node): Likewise.
2158         * reg-stack.c (stack_result): Likewise.
2159         * stmt.c (label_rtx): Likewise.
2160         (expand_return): Likewise.
2161         (expand_decl): Likewise.
2162         (expand_decl_cleanup): Likewise.
2163         (expand_anon_union_decl): Likewise.
2164         * toplev.c (check_global_declarations): Likewise.
2165         (rest_of_decl_compilation): Likewise.
2166         * tree.c (simple_cst_equal): Likewise.
2167         * objc/objc-act.c (generate_static_references): Likewise.
2169 2001-03-14  Jakub Jelinek  <jakub@redhat.com>
2171         * reg-stack.c (stack_result): Unconditionally use
2172         FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
2174 2001-03-13  Jim Wilson  <wilson@redhat.com>
2176         * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
2177         from 80 in try_locals code.
2178         (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
2180 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2182         * cpp.texi (poison): Explain the macro expansion exception.
2184 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
2186         * cppinternals.texi: Update for file handling.
2188 Mon Mar 12 14:05:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2190         * flow.c (insn_dead_p): Don't consider two memrefs equivalent
2191         unless anti_dependence says they are.
2192         * alias.c (objects_must_conflict): If neither has a type specified,
2193         they must conflict.
2195 2001-03-12  Aldy Hernandez  <aldyh@redhat.com>
2197         * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
2198         before reload_cse_noop_set_p.
2200 Sat Mar 10 23:21:34 2001  kaz Kojima <kkojima@rr.iij4u.or.jp>
2202         * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
2204 Sat Mar 10 23:16:16 2001  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
2206         * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
2207         * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
2209 Sat Mar 10 23:03:25 2001  Alexandre Oliva  <aoliva@redhat.com>
2211         * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
2212         if it's a record type.
2214 Sat Mar 10 17:52:54 2001  Christopher Faylor <cgf@cygnus.com>
2216         * config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize
2217         mingw includes slightly.
2219 Fri Mar  9 18:33:50 2001  Jeffrey A Law  (law@cygnus.com)
2221         * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
2223 2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>
2225         * configure: Rebuilt.
2226         * configure.in: Only use `lang_requires' for languages athat are
2227         actually enabled.
2229 Thu Mar  8 23:34:42 2001  Jeffrey A Law  (law@cygnus.com)
2231         * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
2233 Thu Mar  8 23:22:26 2001  John Wehle  (john@feith.com)
2235         * rtlanal.c (rtx_varies_p): Check operand 0 of a
2236         LO_SUM unless for_alias is set.
2238 2001-03-08  Bruce Korb  <bkorb@gnu.org>
2240         gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
2241         wait4() can receive the signal.
2243 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2245         * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
2246         entities.
2247         * fixinc/fixincl.x: Regenerate.
2249 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2251         * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
2252         on Tru64 UNIX.
2253         * fixinc/fixincl.x: Regenerate.
2255 Thu Mar  8 19:42:08 CET 2001  Jan Hubicka  <jh@suse.cz>
2257         * reg-stack.c (move_for_stack_reg): Avoid non-popint fst for
2258         TFmode too.
2260 Thu Mar  8 06:32:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2262         * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
2264 2001-03-08  Alexandre Oliva  <aoliva@redhat.com>
2266         * configure.in (enable_shared): Support per-package shared-library
2267         enabling.
2268         * configure: Rebuilt.
2270 2001-03-07  David Edelsohn  <edelsohn@gnu.org>
2272         * rs6000.md (cr logic): Add original POWER mnemonic alternative
2273         for crnot.  Set operands[5] in splitter.
2275 2001-03-07  Tom Tromey  <tromey@redhat.com>
2277         * configure: Rebuilt.
2278         * configure.in: Allow config-lang.in to set `lang_requires' to list
2279         of other required languages.
2281 2001-03-07  Richard Henderson  <rth@redhat.com>
2283         * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
2285 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
2287         * fixinc/inclhack.def (djgpp_wchar_h): New test.
2288         * fixinc/fixincl.x: Regenerated.
2290 2001-03-06  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2292         * Restore change that patch misapplied.
2293         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
2294         (ix86_set_move_mem_attrs_1): Likewise.
2295         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
2296         * config/i386/i386.md (movstrsi): Call it.
2298 2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
2300         * config/m68k/m68k.c (const_uint32_operand): Accept any
2301         const_int on a 32-bit host.
2303 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
2305         * c-parse.in (yylexname): New function, split out of _yylex.
2306         (objc_rid_sans_at): New table.
2307         (init_reswords): Initialize it.
2308         (_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
2309         retrieving the next token and checking it for significance as
2310         an ObjC keyword or string constant.
2312         * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
2313         * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
2315         * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
2316         to CPP_OSTRING.
2318 2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
2320         * objc/objc-act.c (init_objc): Set save_lang_status,
2321         restore_lang_status, and mark_lang_status.
2323 2001-03-06  Neil Booth  <neil@daikokuya.demon.co.uk>
2325         * cppinternals.texi: Update.
2327 2001-03-05  Brad Lucier  <lucier@math.purdue.edu>
2329         * invoke.texi: Document __FAST_MATH__.
2331 2001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2333         * function.c (purge_addressof_1): Change type of function
2334         purge_addressof_1 from boolean to int.  Change local variable
2335         `result' to int, and false and true to 0 and 1, respectively.
2337 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2339         * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
2340         negative numbers.
2341         (___subdi3, ___adddi3): Use x instead of y as index register.
2342         (__init_bss_section, __map_data_section): Optimize for 68HC12.
2343         (__memset, __memcpy): Likewise.
2344         (regs): Put the soft registers in bss for 68HC12.
2345         (abort): Use trap to abort for 68hc12.
2346         (__mulhi3, __mulhi32): Use emul for 68hc12.
2347         (__mulsi3): Avoid to use the tmp soft register for 68hc12.
2349 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2351         * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
2352         * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
2353         * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
2354         (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
2355         Set 68HC12 min offset to -65536.
2356         (print_operand): Put parenthesis arround the operand if it refers
2357         to a symbol having the same name as a register.
2358         (m68hc11_z_replacement): When z register is replaced by its
2359         equivalent soft register, force the insn to be re-recognized.
2360         (m68hc11_check_z_replacement): Fix the test when destination is
2361         the index register and z dies in the insn.
2362         (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
2364 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2366         * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
2367         costs according to processor variant.
2368         (m68hc11_shift_cost): New function to compute shift costs.
2369         (m68hc11_rtx_costs): Define costs according to processor variant.
2370         (m6811_cost): Costs for 68HC11.
2371         (m6812_cost): Costs for 68HC12.
2372         (COSTS_N_INSNS): Remove.
2374         * config/m68hc11/m68hc11.h (RTX_COSTS): New.
2375         (DEFAULT_RTX_COSTS): Remove.
2376         (CONST_COSTS): Define costs according to OUTER_CODE.
2377         (processor_costs): New struct to define costs.
2378         (m68hc11_cost): Pointer to current costs.
2380 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2382         * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
2383         and use m68hc11_notice_keep_cc when using leax/leay.
2384         (addhi3 split): Reject split if the insn is handled by
2385         leax/leay above.
2386         * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
2387         push must be handled in a special way if the source operand uses
2388         sp as index register.
2389         (m68hc11_notice_keep_cc): New function.
2390         (m68hc11_gen_movhi): Use it when an insn changes a register but
2391         not the flags.
2392         (m68hc11_gen_movqi): Fix move for 68HC12.
2393         * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
2395 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2397         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
2398         and don't pass operands[0] to emit_library_call_value.
2400 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2402         * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
2403         (zero_extendsi split): Simplify and use (zero_extendhi).
2404         (*addhi3): Remove 'w' constraint since stack pointer is handled
2405         by (addhi3_sp).
2406         (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
2407         (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
2408         (*ashrhi3_const): Fix shift by 7.
2409         (*lshrsi3_const16): Fix template.
2410         (call, call_value): Fix constraint and predicate.
2412 2001-03-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2414         * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
2415         (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
2416         (CC_REGNUM): Likewise.
2417         (*unnamed splits): Use above constants instead of hard coded numbers.
2418         (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
2419         (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
2420         (*return_16bit, *unnamed peepholes): Likewise.
2422 2001-03-03  Laurynas Biveinis  <lauras@softhome.net>
2424         * gcc.c (convert_filename): Append executable suffix
2425         if NO_AUTO_EXE_SUFFIX is not defined.
2426         * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
2427         * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
2430 2001-03-03  David O'Brien  <obrien@FreeBSD.org>
2432         from 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
2433         * c-parse.gperf, c-gperf.h: Delete.
2434         (c-gperf.h was accidently re-added to the CVS repo in the rev 1.16 commit
2435          by tromey)
2437 2001-03-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2439         * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
2440         * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
2441         t_bool in declaration because pcc can't combine volatile with typedef
2442         types.
2444 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2446         * longlong.h (umul_ppmm): Don't use a multiline string.
2448 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2450         * cpplex.c (_cpp_lex_token): Don't warn about directives in
2451         macro arguments when looking for the '('.
2452         * cppmacro.c (funlike_invocation_p): Set parsing_args to
2453         2 when really parsing arguments; 1 when looking for '('.
2454         Always restore the lexer position.
2456 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2458         * cpplex.c (parse_string): Unconditionally pedwarn.
2460 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2462         * cpp.texi: Update.
2463         * cppexp.c (parse_number): Update.
2464         * cpplex.c (parse_string): Pedwarn if multiline string does not
2465         result from a system header's macro.
2466         * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
2467         * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
2468         for function-like macros too.
2470 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2472         * print-rtl.c (print_rtx): Cast enums to int for comparison.
2473         * c-decl.c (grokdeclarator): Cast enums to int for comparison and
2474         shifts.
2475         * c-format.c (C_STD_VER): Cast to int for comparisons.
2476         (check_function_format): Cast various enums to int for &.
2477         (maybe_read_dollar_number): Likewise.
2478         (check_format_info): Likewise.
2479         (check_format_info_main): Likewise.
2480         * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
2481         (safe_from_p): Likewise.
2482         * varasm.c (const_hash): Cast enum to int for %.
2483         * emit-rtl.c (init_emit_once): Use int loop variable to work around
2484         pcc enum problems with < and ++ operators.
2485         * regclass.c (init_reg_sets_1): Cast enums for comparison.
2486         (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
2487         (regclass_init): Change enum class to int to iterate over reg_classes.
2488         * genrecog.c (merge_trees): Cast enums for comparison.
2489         * rtl.h (GET_CODE): Cast to enum rtx_code.
2490         (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
2491         (GET_MODE): Cast to enum machine_mode.
2492         (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
2493         (GET_NOTE_INSN_NAME): Cast enum to int.
2494         * tree.h (TREE_CODE): Cast to enum tree_code.
2495         (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
2496         * simplify-rtx.c (hash_rtx): Cast enums to unsigned unt.
2497         * timevar.c (timevar_print): Change loop variable id from enum to
2498         unsigned int.
2499         * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
2500         * config/i386/i386.md: Use PUT_MODE for mode assignment.
2501         * toplev.c (compile_file): Cast enum DFI to int.
2502         (decode_d_option): Likewise.
2504 Fri Mar  2 12:18:13 2001  Christopher Faylor <cgf@cygnus.com>
2506         * cppinit.c (append_include_chain): Mark "after" include file name list
2507         as a system directory.
2508         * cpp.texi: Document new behavior.
2510 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
2512         * cpphash.h (struct cpp_reader): Add print_version field.
2513         * cppinit.c (cpp_handle_option): For -v, -version, and --version,
2514         just set print_version and other flags as appropriate.
2515         (cpp_post_options): Print version here if print_version is set.
2517         * toplev.c (exit_after_options): New flag.
2518         (independent_decode_option): Don't exit here; just set
2519         exit_after_options.
2520         (main): Exit after calling lang_hooks.post_options if
2521         exit_after_options is true.
2523         * cppinit.c (append_include_chain): Drop never-used case QUOTE.
2524         (merge_include_chains): Adjust comment to match code.
2526 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
2528         * stringpool.c (set_identifier): New function.
2529         * tree.h: Prototype it.
2531         * c-parse.in: Kill D_YES. If compiled for objc, call
2532         save_and_forget_protocol_qualifiers from init_reswords.
2533         * objc/objc-act.c (remember_protocol_qualifiers,
2534         forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
2535         Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
2536         vice versa.
2537         (save_and_forget_protocol_qualifiers): New function.
2538         * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
2540 2001-03-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2542         * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
2543         * cppexp.c (lex): Cast enums for comparison.
2544         * cppinit.c (parse_option): Cast enum for comparison.
2545         * cpplex.c (cpp_spell_token): Cast enums to int for minus.
2546         (cpp_output_token): Likewise.
2547         (cpp_can_paste): Cast enums for comparsion and plus/minus.
2548         (cpp_avoid_paste): Cast enums for minus and comparison.
2550 2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>
2552         * Makefile.in (resource.o): Add params.h dependence.
2553         * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
2554         * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
2555         * resource.c: Add dependence on params.h.
2556         (current_live_regs): Fix explanatory comment.
2557         (find_basic_block): Add new parameter to permit limiting search
2558         for a BARRIER.
2559         (mark_target_live_regs): Add new argument to find_basic_block call.
2560         (incr_ticks_for_insn): Likewise.
2562 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
2564         * Makefile.in (reorg.o): Add params.h dependence.
2565         * params.def: Fix typographical error in comment.
2566         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
2567         * params.h: Modify introductory comment.
2568         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
2569         * reorg.c: Add dependence on params.h.
2570         (redundant_insn): Add parameterized throttle for search.
2571         (fill_simple_delay_slots): Add a comment explaining a variable.
2572         Move conditional out of loop, simplifying code.
2573         (fill_eager_delay_slots): Fix typographical error in comment.
2575 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
2577         * Makefile.in (OBJS): Add params.o.
2579 2001-02-14  Mark Mitchell  <mark@codesourcery.com>
2581         * Makefile.in (toplev.o): Depend on params.h.
2582         (intergate.o): Likewise.
2583         (params.o): New target.
2584         * flags.h (inline_max_insns): Remove.
2585         * integrate.c: Include params.h.
2586         Use MAX_INLINE_INSNS instead of inline_max_insns.
2587         * params.c: New file.
2588         * params.h: Likewise.
2589         * params.def: Likewise.
2590         * toplev.c: Include params.h.
2591         (lang_independent_params): New variable.
2592         (decode_f_option): Use the param machinery instead of setting
2593         max_inline_insns.
2594         (independent_decode_option): Handle "--param name=value".
2595         (main): Register language-independent parameters.
2597 Thu Mar  1 09:44:15 2001  Jeffrey A Law  (law@cygnus.com)
2599         * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
2600         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
2602         * pa.c (emit_move_sequence): Verify operand0 is a hard register
2603         before determining its register class.
2605 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
2607         * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
2608         from reg 4 if current_function_calls_setjmp.
2609         (ia64_sched_reorder): Move code that rotates bundles up a bit.
2611         * reload1.c (eliminate_regs_in_insn): Restrict the special case
2612         code not to try to optimize adds with anything but a REG destination.
2614         * sched-int.h (struct haifa_insn_data): Add new member priority_known.
2615         (INSN_PRIORITY_KNOWN): New accessor macro.
2616         * haifa-sched.c (priority): Use it instead of testing priority against
2617         zero.
2619 2001-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
2621         * cppinit.c (builtin_array): Update.
2622         (init_builtins): Flag builtins to warn if redefined or
2623         undefined.  Define __GXX_WEAK as a normal macro.
2624         * cpplib.c (do_undef): Warn if flagged NODE_WARN.
2625         * cpplib.h (NODE_WARN): New flag.
2626         * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
2627         Handle __STDC__ as a builtin only on Solaris.
2628         (warn_of_redefinition): Renamed from check_macro_definition.
2629         Reverse sense of test.  Always warn if NODE_WARN.
2630         (_cpp_create_definition): Use warn_of_redefinition.  Flag
2631         any macro beginning with "__STDC_" to require a mandatory
2632         warning if redefined or undefined.
2633         * cppinit.c (set_lang):  Move builtin handling to...
2634         (init_builtins): ...here.
2635         (_cpp_create_reader): Move call to set_lang.
2636         * cppfiles.c (stack_include_file): Generate dependencies
2637         here, and manage include_count here too.
2638         (PRINT_THIS_DEP): Delete.
2639         (_cpp_execute_include): Do not generate dependencies here,
2640         apart from the case of a missing header.  Do not manage
2641         include_count.
2642         (_cpp_read_file): Leave dependency generation to
2643         stack_include_file.
2644         * cppexp.c (parse_number): Similarly.
2645         * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
2646         * cppmacro.c (struct cpp_macro): New member node.
2647         (parse_args): Only warn about missing rest args if not
2648         a system macro.
2649         (funlike_invocation_p): Similarly for uninvoked funlike macros.
2650         (cpp_sys_objmacro_p): New.
2651         (_cpp_create_definition): Store the node with the macro defn.
2652         Remember if the macro is defined in a system header.
2654 2001-02-28  Nathan Sidwell  <nathan@codesourcery.com>
2656         * extend.texi (Deprecated Features): Deprecate float and
2657         complex template constant parms.
2659 Tue Feb 27 16:45:00 2001  Jeffrey A Law  (law@cygnus.com)
2661         * pa.c (override_options): Promote -fpic to -fPIC.
2662         (legitimize_pic_address): Simplify due to removal of
2663         small PIC as a code generation option.
2664         (secondary_reload_class): Similarly.
2665         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
2666         (PRINT_OPERAND_ADDRESS): Similarly.
2667         * pa.md (various patterns): Similarly.
2668         (small pic lo_sum pattern): Remove.
2670 2001-02-27  Andreas Jaeger  <aj@suse.de>
2672         * configure.in: Document that --disable-checking is default.
2673         * configure: Regenerated.
2675 2001-02-27  Mark Mitchell  <mark@codesourcery.com>
2677         * configure.in: Make --disable-checking the default.
2678         * configure: Regenerated.
2680 2001-02-26  Mark Mitchell  <mark@codesourcery.com>
2682         Revert the two previous changes.
2684 Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2686         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
2687         * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
2688         * config/i386/i386.md (movstrsi): Handle FAIL case.
2690 Sat Feb 24 20:25:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2692         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
2693         (ix86_set_move_mem_attrs_1): Likewise.
2694         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
2695         * config/i386/i386.md (movstrsi): Call it.
2697 2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2699         * loop.c (check_dbra_loop): A biv has uses besides counting if it is
2700         used to set another biv.
2702 Sat Feb 24 06:45:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2704         * errors.c (internal_error, trim_filename): New functions.
2705         (fancy_abort): Call internal_error.
2706         * errors.h (internal_error, trim_filename): New declarations.
2708 2001-02-24  Alexandre Oliva  <aoliva@redhat.com>
2710         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
2711         2000-08-26's patch.
2712         (EXTRA_CONSTRAINT): Formatting changes.
2714 2001-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2716         * rtl.c (rtl_check_failed_code2): Fix typo in last change.
2718 2001-02-23  Per Bothner  <per@bothner.com>
2720         * gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
2721         so they can be called from java/jvspec.c.
2722         * gcc.h (record_temp_file, pfatal_with_name, error):  Declare.
2724 Fri Feb 23 15:28:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2726         * diagnostic.c (trim_filename): No longer static.
2727         * toplev.h (trim_filename): Declare.
2728         * rtl.c (rtl_check_failed_bounds): Call internal_error.
2729         (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
2730         (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
2731         (rtvec_check_failed_bounds): Likewise.
2732         * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
2734         * convert.c (convert_to_integer): Don't do unsigned unless result or
2735         both inputs are unsigned.
2737         * fold-const.c (fold_convert): Don't call size_int_type_wide if
2738         input overflows.
2740         * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
2742         * varasm.c (output_constant): Recompute CODE after lang-specific fn.
2744 2001-02-23  Jakub Jelinek  <jakub@redhat.com>
2746         * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
2747         check if either operand is divisible by C.
2748         (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
2749         If type is signed, consider negative numbers as well.
2751 2001-02-22  Richard Henderson  <rth@redhat.com>
2753         * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
2754         reach .text instead of gp-relative relocs.
2755         * config/ia64/crtend.asm (.init): Likewise.
2757 2001-02-22  Andreas Jaeger  <aj@suse.de>
2759         * extend.texi (C++ Attributes): Fix typo.
2761 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
2763         * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
2764         functions, drop current_function_args_info.words test.
2765         (ia64_compute_frame_size): Mark syscall_linkage functions as
2766         using eight input registers.
2768 2001-02-21  Loren J. Rittle  <ljrittle@acm.org>
2769         Bruce Korb  <bkorb@gnu.org>
2771         * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
2772         * fixinc/README: Document how to convert sed substitutions
2773         to format style c_fix-es.
2774         * fixinc/fixincl.x: regen
2776 2001-02-21  Bruce Korb  <bkorb@gnu.org>
2777             Rodney Brown  <RodneyBrown@mynd.com>
2779         * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
2780         * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
2781         machine restrictions
2782         * fixinc/fixincl.x: regen
2784 2001-02-21  Neil Booth  <neil@daikokuya.demon.co.uk>
2786         * cppfiles.c: Update comments.
2787         (_cpp_read_file): Don't check for NULL filenames any more.
2788         * cppinit.c (cpp_start_read): Don't do canonicalization of
2789         in_fname and out_fname.  Use the passed file name exclusively.
2790         (_cpp_handle_options): Don't treat "-" as a command line option,
2791         but as a normal filename.
2792         (_cpp_post_options): Canonicalize in_fname and out_fname.
2793         * cppmain.c (printer_init): Don't check out_fname for NULL.
2794         * c-lex.c (orig_filename): Rename cpp_filename for clarity.
2795         (init_c_lex): Update, and use "" to represent stdin to CPP.
2796         (yyparse): Update.
2798 2001-02-21  Kazu Hirata  <kazu@hxi.com>
2800         * config/h8300/h8300.md (iorsi3): Do not output an extra newline
2801         character.
2802         (xorsi3): Likewise.
2804 Wed Feb 21 19:16:26 CET 2001  Jan Hubicka  <jh@suse.cz>
2806         * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
2808 2001-02-21  Jason Merrill  <jason@redhat.com>
2810         * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
2811         (struct tree_decl): Add uninlinable bitfield.
2812         * c-decl.c (duplicate_decls): Set it.
2813         * integrate.c (function_cannot_inline_p): Check it.
2815         * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
2816         DW_AT_MIPS_linkage_name to abstract methods.
2817         (dwarf2out_abstract_function): Emit class context before calling
2818         set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
2819         (gen_subprogram_die): Remove obsolete code.
2820         (gen_member_die): Don't include clones in the member list.
2821         (gen_decl_die): Emit abstract info for clone origin.
2822         * dwarfout.c (output_type): Don't include clones in the member list.
2823         * dbxout.c (dbxout_type_methods): Ignore abstract methods.
2824         * toplev.c (note_deferral_of_defined_inline_function): Don't clear
2825         DECL_ABSTRACT on a function that already has it set.
2827         * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
2828         (get_subprogram_die): Pass it in.
2830 2001-02-21  Richard Earnshaw  <rearnsha@arm.com>
2832         * flow.c (mark_set_1): Make not_dead unsigned long.  For
2833         non-pseudos, use it as a bitmask of the hard regs that
2834         don't die.
2836 2001-02-20  Will Cohen  <wcohen@redhat.com>
2838         * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
2839         * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
2840         (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
2841         fixunstfsi_libfunc.
2843 2001-02-20  Mark Mitchell  <mark@codesourcery.com>
2845         * stmt.c (expand_return): If an attempt is made to return the
2846         error_mar_node, treat the return like a return without a value.
2848 Mon Feb 19 20:24:50 2001  Jeffrey A Law  (law@cygnus.com)
2850         * pa.c (move_operand): Accept code to load the address of a
2851         symbol out of the DLT as a valid move operand.
2852         (print_operand, case 'A'): New to handle generating a DLT
2853         reference for a LO_SUM expression.
2854         * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
2855         * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
2857 2001-02-19  Joseph S. Myers  <jsm28@cam.ac.uk>
2859         * README, cpp.texi, gcc.texi: Update version number to 3.0.
2860         * cpp.1, gcov.1, gcc.1: Regenerate.
2862 2001-02-19  Richard Henderson  <rth@redhat.com>
2864         * ifcvt.c (dead_or_predicable): Don't move code if eh regions
2865         would be disrupted.
2867 Mon Feb 19 10:11:53 2001  Jeffrey A Law  (law@cygnus.com)
2869         * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
2870         target_cpu_default.  Remove dead assignment to
2871         target_cpu_default.
2873 Mon Feb 19 16:46:56 CET 2001  Jan Hubicka  <jh@suse.cz>
2875         * regclass.c (contains_reg_of_mode): Make global.
2876         (init_reg_sets): Remove contains_reg_of_mode; take into account
2877         CLASS_MAX_NREGS when looking for the proper mode.
2878         (dump_regclass): Dump only classes considered for the pseudo.
2879         (regclass): Use contains_reg_of_mode.
2881 Mon Feb 19 16:40:45 CET 2001  Jan Hubicka  <jh@suse.cz>
2883         * gcc.c (do_spec_1): 'n' for printing notices.
2884         * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
2886 Mon Feb 19 16:20:04 CET 2001  Jan Hubicka  <jh@suse.cz>
2888         * reg-stack.c (next_flags_user): Use current_block->end
2889         (swap_rtx_condition): Look for next user if flags don't die;
2890         give up on CALL_INSNs; use current_block->end.
2892 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
2894         * invoke.texi (-fsquangle): Remove documentation.
2895         (-fname-mangling-version): Likewise.
2897 2001-02-18  Kazu Hirata  <kazu@hxi.com>
2899         * config/h8300/h8300.md: Update copyright.
2900         (andsi3): Do not output an extra newline character.
2902 Sun Feb 18 17:03:06 2001  Jeffrey A Law  (law@cygnus.com)
2904         * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
2905         ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
2906         (mostlyclean): Corresponding changes.
2907         * rtlanal.c (hard-reg-set.h): Include.
2908         (rtx_unstable_p): Do not treat the argument pointer specially
2909         if it is not a fixed register.
2910         (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
2912 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2914         * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
2915         assignments from FP constants sonce 'Y' output code can't handle it.
2916         (eligible_for_sibcall_delay): Likewise.
2918         * invoke.texi (-I): Add note avoiding use for system header files.
2920         * final.c (output_operand_lossage): Use internal_error, not error.
2922 2001-02-18  Shane Nay  <shane@agendacomputing.com>
2924         * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
2925         structure shift insns.
2927 2001-02-18  Richard Henderson  <rth@redhat.com>
2929         * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
2931         * reload1.c (reload_cse_simplify_set): Fix typo.
2933 Sun Feb 18 09:30:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2935         * diagnostic.c (_fatal_insn): Decrement errorcount.
2937 2001-02-18  Alan Modra <alan@linuxcare.com.au>
2939         * pa.c (hppa_expand_prologue): Simplify code storing return
2940         pointer.  For large (>=8k) frames with a post_store, adjust stack
2941         pointer by 8k-64 first rather than by 64.  When testing with
2942         VAL_14_BITS_P, always use the actual value rather than the value
2943         negated.  Add blockage to prevent scheduling of spills before
2944         stack frame has been created.
2945         (hppa_expand_epilogue): Simplify code loading return pointer.
2946         Allow a slightly larger range for merge_sp_adjust_with_load case.
2947         When testing with VAL_14_BITS_P, always use the actual value.
2949         * pa.c (pa_adjust_insn_length): Check that block move
2950         pattern is a set before looking at operands.
2952 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
2954         * fold-const.c (fold_binary_op_with_conditional_arg): New
2955         function, split out from ...
2956         (fold): ... here.
2957         * tree.def (COND_EXPR): Document the use of VOID_TYPE for
2958         conditional arms that throw exceptions.
2960         * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
2961         looking at a BLOCK.
2963 2001-02-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2965         * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
2966         define HAVE_DECL_* to 1 to mask potential backup declarations.
2967         * configure: Regenerated.
2969 2001-02-17  Richard Henderson  <rth@redhat.com>
2971         * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
2972         when replacing a memory load with a register.
2974 2001-02-17  Joseph S. Myers  <jsm28@cam.ac.uk>
2976         * gcc.texi, invoke.texi: Link to GCC 3.0 version of
2977         c99status.html.
2979 2001-02-16  Richard Henderson  <rth@redhat.com>
2980             DJ Delorie  <dj@redhat.com>
2982         * jump.c (jump_optimize_1): When we delete a conditional jump
2983         preceeding a non-conditional jump to effectively the same place,
2984         make sure that the combined jump skips any clobber insns between
2985         the two labels.
2987 2001-02-16  Jason Merrill  <jason@redhat.com>
2989         * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
2990         NULL.
2991         (gen_subprogram_die): Don't abort on seeing a second definition if
2992         the previous one was abstract.  Don't replace an abstract instance
2993         in the lookup table.
2995         * dwarf2out.c (dwarf2out_abstract_function): Rename from
2996         gen_abstract_function.
2997         * dwarf2out.h: Declare it.
2998         * toplev.c (note_outlining_of_inline_function): New fn.
2999         * toplev.h: Declare it.
3000         * integrate.c (output_inline_function): Call it.
3001         * c-decl.c (duplicate_decls): Call it when redefining an extern
3002         inline.  Don't inline the new defn.
3004         * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
3006 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
3008         * objc/objc-act.c (start_class): Register implemented_classes with
3009         GC.
3011 2001-02-16  Neil Booth  <neil@daikokuya.demon.co.uk>
3013         * cppfiles.c (_cpp_make_system_header): Generate a file
3014         change callback.
3016 Thu Feb 15 21:30:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3018         * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
3020         * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
3021         do in memory.
3023 2001-02-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3025         * version.c: Bump to "3.0 20010215 (prerelease)".
3027 Thu Feb 15 15:15:29 2001  Alexandre Oliva  <aoliva@redhat.com>
3029         * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
3031 Thu Feb 15 00:20:31 CET 2001  Jan Hubicka  <jh@suse.cz>
3033         * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
3035         * invoke.texi (-mreg-alloc): Deprecate.
3037 2001-02-14  Richard Henderson  <rth@redhat.com>
3039         * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
3041 Wed Feb 14 23:35:57 CET 2001  Jan Hubicka  <jh@suse.cz>
3043         * regclass.c (init_reg_sets_1): Reinstall the optimization
3044         together with Matt Kraai's fix.
3046 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
3048         * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
3050 2001-02-14  Richard Henderson  <rth@redhat.com>
3052         * regclass.c (init_reg_sets_1): Revert last change.
3054 2001-02-14  Nathan Sidwell  <nathan@codesourcery.com>
3056         * extend.texi (Deprecated): Deprecate new initializer lists.
3058 2001-02-14  Nathan Sidwell  <nathan@codesourcery.com>
3060         * mkdeps.c (deps_add_default_target): Robustify. Add
3061         basename component only.
3062         * cpp.texi (-M): Describe how default target is generated.
3063         * invoke.texi (-M): Likewise.
3065 2001-02-13  Zack Weinberg  <zack@wolery.stanford.edu>
3067         * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
3068         's' slots in RTXen.
3069         * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
3070         * ggc.h (ggc_mark_if_gcable): Delete prototype.
3072 Wed Feb 14 01:03:14 CET 2001  Jan Hubicka  <jh@suse.cz>
3074         * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
3075         arrays.
3077 Tue Feb 13 07:52:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3079         * config/sparc/sparc.c (function_value): Treat all non-record
3080         aggregate types like used to treat UNION_TYPE.
3082 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
3084         * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
3085         (try_combine): Use it.
3087 2001-02-13  Richard Henderson  <rth@redhat.com>
3089         * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
3090         entire operator; replicate that and match_dup the operands.
3091         (cmp_ccx_arith_op_set): Likewise.
3092         (cmp_cc_arith_op_not_set): Likewise.
3093         (cmp_ccx_arith_op_not_set): Likewise.
3095 2001-02-12  Jakub Jelinek  <jakub@redhat.com>
3097         * c-common.c (constant_fits_type_p): New function.
3098         (convert_and_check): Use it.
3100 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
3102         * Makefile.in (GXX_ABI_FLAG): Don't define.
3103         * configure.in (--enable-new-gxx-abi): Remove option.
3104         * config.in: Regenerated.
3105         * configure: Likewise.
3107 2001-02-12  Alexandre Oliva  <aoliva@redhat.com>
3109         * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
3110         basic block.
3111         (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
3112         regular basic block, and arrange for all edges into it to switch
3113         to normal mode.
3115 2001-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3117         * Makefile.in (distclean): Do not remove .gdbinit.
3119 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
3121         * Makefile.in (gcc.o): Fix typos.
3122         (protize.o): Likewise.
3123         (unprotoize.o): Likewise.
3125 2001-02-11  Richard Henderson  <rth@redhat.com>
3127         * tree.c (build1): Check for null operand in last change.
3129 2001-02-11  Richard Henderson  <rth@redhat.com>
3131         * fold-const.c (split_tree): Don't assume a constant isn't splittable.
3132         (fold): Don't assume a constant isn't foldable.
3133         * tree.c (build): Set TREE_CONSTANT for an expression with no
3134         side-effects and constant operands.
3135         (build1): Likewise.
3137 2001-02-10  Richard Henderson  <rth@redhat.com>
3139         * jump.c (squeeze_notes): Revert 2000-05-12 change.
3141 2001-02-10  Anthony Green  <green@redhat.com>
3143         * cpp.texi (Standard Predefined): Add documentation for
3144         __OPTIMIZE_SIZE__.
3146         * c-common.c (combine_strings): Improve warning message.
3148 2001-02-10  Geoffrey Keating  <geoffk@redhat.com>
3150         * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
3151         --oformat.
3152         * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
3154 Fri Feb  9 15:05:27 2001  Christopher Faylor <cgf@cygnus.com>
3156         * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
3157         CYGWIN_CROSS_DIR.
3159 2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
3161         * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
3162         fp_mode attribute.
3164 2001-02-09  Nick Clifton  <nickc@redhat.com>
3166         * config/arm/arm.md: Change output contraint on post inc
3167         load/store multiple patterns to be a read/write contraint.
3169 2001-02-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3171         * gcc.c (cpp_options): Delete .d files on error.  Don't delete
3172         .o files when using the -M options.
3174 2001-02-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3175             David Edelsohn  <edelsohn@gnu.org>
3177         * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
3178         handle DImode constants.  Use one TOC entry for SImode and smaller
3179         constants, aligned properly.
3181 2001-02-08  Jason Merrill  <jason@redhat.com>
3183         * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
3184         about the SP adjustment for saving the static chain pointer.
3185         * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
3186         offset when setting a temporary CFA register.
3188 2001-02-08  Chandrakala Chavva  <cchavva@redhat.com>
3190         * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
3191         powerpc-*-chorusos* .
3192         * config/rs6000/chorus.h : New file.
3193         * config/i386/chorus.h : New file.
3194         * config/sparc/chorus.h : New file.
3195         * config/sparc/t-chorus-elf : New file.
3197 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
3199         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
3200         * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
3201         * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
3202         (__WCHAR_TYPE__): Correct macro name.
3204 2001-02-08  Richard Henderson  <rth@redhat.com>
3206         * config/i386/i386.c (ix86_frame_pointer_required): New.
3207         (ix86_setup_frame_addresses): New.
3208         (struct machine_funciton): Add accesses_prev_frame.
3209         * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
3210         ix86_frame_pointer_required.
3211         (SUBTARGET_FRAME_POINTER_REQUIRED): New.
3212         (SETUP_FRAME_ADDRESSES): New.
3213         * config/i386/i386-protos.h: Update.
3214         * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
3215         from FRAME_POINTER_REQUIRED.
3216         * config/i386/svr3gas.h: Likewise.
3217         * config/i386/sysv3.h: Likewise.
3218         * config/i386/v3gas.h: Likewise.
3220 2001-02-08  Richard Henderson  <rth@redhat.com>
3222         * config/sparc/sparc.c (function_arg_record_value_3): Fix
3223         calculation of the number of integer registers required.
3224         (function_arg_record_value): Likewise.
3226 2001-02-08  Jason Merrill  <jason@redhat.com>
3228         * diagnostic.c (internal_error): Say "confused" after 1 error, not
3229         two.  Print file and line with "confused" message.
3231         * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
3233 Thu Feb  8 11:21:28 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3235         * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
3237 2001-02-08  Bernd Schmidt  <bernds@redhat.com>
3239         * final.c (cleanup_subreg_operands): The address of a MEM can
3240         contain SUBREGs.
3242         * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
3243         for asms, too.
3245 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
3247         * gcc.texi (Incompatibilities): Update documentation of
3248         preprocessing numbers.
3250 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
3252         * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
3254 2001-02-07  Mark Mitchell  <mark@codesourcery.com>
3256         * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
3258         * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
3259         * gcc.c (struct compiler): Add cpp_spec field.
3260         (input_file_compiler): New variable.
3261         (do_spec_1): Allow a particular compiler to handle `%C'
3262         specially.
3263         (main): Store the current compiler in input_file_compiler.
3264         * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
3266 2001-02-07  Zack Weinberg  <zack@wolery.stanford.edu>
3268         * cpphash.h (struct spec_nodes): Add n_true and n_false.
3269         * cppinit.c (cpp_create_reader): Initialize them.
3270         (append_include_chain): cxx_aware arg might be unused.
3271         * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
3272         keywords and give them their phase 7 meaning.  Pedwarn about
3273         this unless '__bool_true_false_are_defined' is defined.
3275 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
3277         * lcm.c (optimize_mode_switching): Emit mode_set before the
3278         JUMP_INSN of an abnormal edge.
3280 2001-02-07  Bernd Schmidt  <bernds@redhat.com>
3282         * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
3283         a scheduling barrier at the end.
3285         * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
3287 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
3289         * config/sh/sh.md (reload_outsf): Removed.
3290         (movsf_ie): Introduce constraints for FPUL loads and stores.
3291         (reload_insf): Broaden the output constraint.
3293         * config/elfos.h (INT_ASM_OP): Don't define it if it's already
3294         defined.
3295         * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
3296         ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
3298 2001-02-06  Chandrakala Chavva  <cchavva@redhat.com>
3300         * final.c: Revert my previous changes.
3301         * output.h: Make profile_label_no extern.
3302         * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
3303         for generating label.
3305 2001-02-06  Laurynas Biveinis  <lauras@softhome.net>
3307         * config/i386/djgpp.h: Add comments about standard paths.
3308         (MD_EXEC_PREFIX): Undefine before defining.
3309         (MD_STARTFILE_PREFIX): New.
3311 2001-01-30  Bruce Korb  <bkorb@gnu.org>
3313         fixinc/fixincl.c(process):  Emit error message only if appropriate :)
3314         (load_file): do not rely on load_file_data() to close file pointer
3315         fixinc/fixlib.c(load_file_data): do not close passed in file pointer
3316         fixinc/inclhack.def(irix_limits_const): add test_text
3318 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3320         * cppexp.c (parse_defined): Improve diagnostics for invalid
3321         syntax.
3323 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3325         * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
3327 2001-02-06  Mark Mitchell  <mark@codesourcery.com>
3329         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
3330         * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
3331         * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
3332         (rs6000_output_symbol_ref): New function.
3333         (output_toc): Use VTABLE_NAME_P.
3335 Tue Feb  6 07:54:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3337         * print-tree.c (print_node, case PARM_DECL):
3338         Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
3340         * stor-layout.c (reference_types_internal): New variable.
3341         (internal_reference_types): New function.
3342         (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
3343         * tree.h (internal_reference_types): New declaration.
3345         * cse.c (find_best_addr): Fix typo in computing cost.
3347 Mon Feb  5 21:56:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3349         * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
3350         and this is the sum of a pointer and a constant, we know the result
3351         did not overflow.
3352         (num_sign_bit_copies, case PLUS): Likewise.
3353         * explow.c (convert_memory_address): Remove opposite SUBREG.
3354         * function.c (instantiate_new_reg): New function (from common code).
3355         (instantiate_virtual_regs_1): Call it.
3356         For PLUS, handle if (plus (subreg (virt-reg) (const_int))
3357         if pointers sign- or zero-extend.
3358         * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
3359         If pointers extend unsigned, use inside of SUBREG.
3360         (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
3362 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
3364         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
3365         subdir of gcc_gxx_include_dir.
3366         (gcc_gxx_target_include_dir): Remove.
3368 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
3370         * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
3371         (dwarf2out_frame_debug_expr): Revise introductory comments to add
3372         a high-level description.
3374 2001-02-05  Chandrakala Chavva  <cchavva@redhat.com>
3376         * final.c: Move the declaration of profile_label_no to ...
3377         * output.h: ... here.
3378         * function.c (expand_function_start): Call PROFILE_HOOK.
3379         * config/rs6000/aix.h: Define PROFILE_HOOK.
3380         * config/rs6000/rs6000-protos.h: output_profile_hook new.
3381         * config/rs6000/rs6000.c (output_profile_hook): Define.
3382         (output_prolog): Do nothing for ABI_AIX as it is taken care by
3383         output_profile_hook.
3384         tm.texi : Explain new macro PROFILE_HOOK.
3386 2001-02-06  Hans-Peter Nilsson  <hp@axis.com>
3388         * extend.texi (Extended Asm): Do not say that semicolon is always
3389         a valid line-breaking character for GNU assemblers.  Use
3390         newline-tab as the most commonly supported syntax.  Use
3391         newline-tab rather than semicolon in multi-insn examples.
3393 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3395         * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
3397 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3398             David Edelsohn  <edelsohn@gnu.org>
3400         * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
3401         code for AIX, even without flag_pic.
3403 2001-02-05  Jakub Jelinek  <jakub@redhat.com>
3405         * c-typeck.c (common_type): push and pop binding level around
3406         calling common_type on function parameters.
3408 Mon Feb  5 14:30:37 2001  Christopher Faylor <cgf@cygnus.com>
3410         * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
3412 Mon Feb  5 11:23:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3414         * config/mips/mips.c (override_options): Fix typo in last change.
3415         (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
3416         (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
3418 2001-02-05  Nathan Sidwell  <nathan@codesourcery.com>
3420         * invoke.texi (-fdump-class-layout): Document.
3421         (-fdump-translation-unit): Use `=' as filename separator.
3423 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
3425         * Makefile.in (s-mlib): Don't build multilibs if
3426         --disable-multilib.
3427         (DRIVER_DEFINES): Adjust accordingly.
3428         (gcc.o): Likewise.
3429         (protoize.o): Likewise.
3430         (unprotoize.o): Likewise.
3431         * configure.in: Recognize --enable-multilib.
3433 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
3435         * Makefile.in (DRIVER_DEFINES): Fix quoting.
3437         * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
3438         * configure.in: Remove --enable-libstdcxx_v3 support.
3439         * configure: Regenerated.
3441 Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3443         * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
3444         Call abort instead of fatal.
3445         (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
3446         * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
3447         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
3448         (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
3449         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
3450         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
3452         * diagnostic.h (set_internal_error_function): Renamed.
3453         * toplev.h (internal_error): Renamed from fatal.
3454         (pfatal_with_name): Deleted.
3455         (fatal_io_error): Now has printf-style arguments.
3456         * diagnostic.c (pfatal_with_name): Deleted.
3457         (fatal_io_error): Rework to have args in printf-style.
3458         (set_internal_error_function): Renamed from set_fatal_function.
3459         (internal_error): Renamed from fatal.
3460         (error_recursion, fancy_abort): Call internal_error instead of fatal.
3461         * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
3462         * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
3463         * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
3464         * flow.c (verify_flow_info): Likewise.
3465         * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
3466         * config/mips/mips.c (save_restore_insns): Likewise.
3468         * except.c (duplicate_eh_handlers): Call abort instead of fatal.
3469         * flow.c (verify_flow_info): Likewise.
3470         * config/arm/arm.c (thumb_load_double_from_address): Likewise.
3471         * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
3472         (avr_normalize_condition): Likewise.
3473         * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
3474         * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
3475         (limit_reload_class, double_reg_to_memory): Likewise.
3476         (print_operand_address, emit_1600_code_shift): Likewise.
3477         (gen_tst_reg, gen_compare_reg): Likewise.
3478         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
3479         * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
3480         Deleted.
3481         * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
3483         * c-parse.in (methoddef): Call fatal_error instead of fatal.
3484         * objc/objc-act.c (build_ivar_chain): Likewise.
3485         * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
3486         pfatal_with_name.
3487         * graph.c (clean_graph_dump_file): Likewise.
3488         * profile.c (init_branch_prob): Likewise.
3489         * objc/objc-act.c (objc_init): Likewise.
3491         * config/arm/arm.c (arm_override_options): Make errors non-fatal.
3492         * config/avr/avr.c (avr_override_options): Likewise.
3493         * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
3494         * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
3495         * config/h8300/h8300.c (h8300_init_once): Likewise.
3496         * config/mips/mips.c (override_options): Likewise.
3497         * config/i386/i386.c (override_options): Likewise, rework.
3498         * config/m68k/m68k.c (override_options): Likewise.
3500         * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
3501         instead of fatal.
3502         * config/mips/mips.c (print_operand): Likewise.
3503         * hash.c (hash_allocate): Don't check for failure returns from
3504         obstack functions that can't fail.
3505         (hash_table_init_n, hash_table_init): Likewise; also now return void.
3506         * hash.h (hash_table_init_n, hash_table_init): Now return void.
3507         * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
3508         (get_object_reference): Likewise.
3510 2001-02-04  Nick Clifton  <nickc@redhat.com>
3512         * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
3513         StrongARM1110, 10TDMI, and 1020T.
3515 2001-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3517         * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
3519 2001-02-04  Alexandre Oliva  <aoliva@redhat.com>
3521         * config/sh/sh.md (movdf load split): Pass register number to
3522         FP_OR_XD_REGISTER_P.
3524 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
3526         * cppinit.c (BC): New macro.
3527         (builtin_array): Add __GXX_WEAK__.
3528         * cpplib.h (builtin_type): Add BT_WEAK.
3529         * cppmacro.c (builtin_macro): Handle BT_WEAK.
3530         * defaults.h (SUPPORTS_ONE_ONLY): Define.
3531         * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
3533 2001-02-03  Jakub Jelinek  <jakub@redhat.com>
3535         * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
3537 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
3539         * cpphash.h: Rename _ALIGN POOL_ALIGN.
3540         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
3542 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
3544         * cpphash.h: Rename ALIGN _ALIGN.
3545         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
3547 Fri Feb  2 23:15:29 2001  Christopher Faylor <cgf@cygnus.com>
3549         * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
3550         compilation environment.
3551         * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
3552         control over location of cygwin includes and libs.
3554 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
3556         * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
3558 2001-02-02  lars brinkhoff  <lars@nocrew.org>
3560         * md.texi (Standard Names): remove reference to spur.md.
3562 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
3564         * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
3565         (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
3566         (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
3567         * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
3568         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
3570 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3572         * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
3573         c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
3574         number before reload.
3575         (c4x_adjust_cost): Return zero before reload.
3576         * c4x.md (load_immed_address+1, load_immed_address+2): Do not
3577         split before reload.
3579 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3581         * c4x.c (c4x_hard_regno_rename_ok): New.
3582         * c4x-protos.h (c4x_hard_regno_rename_ok): New.
3583         * c4x.h (HARD_REGNO_RENAME_OK): Define.
3585 Fri Feb  2 20:03:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3587         * diagnostic.h: Add missing "extern" in all declarations.
3589 2001-02-02  Alex Samuel  <samuel@codesourcery.com>
3591         * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
3592         as for gcc_gxx_include_dir.
3594 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
3596         * cpp.texi, invoke.texi: Update -Wtraditional documentation.
3598 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
3600         * config/sh/sh.c (output_far_jump): Don't use braf on SH1.  Emit
3601         label before alignment to be used as the braf base address.
3602         * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
3603         branches.
3604         (casesi_jump_2): Require at least TARGET_SH2.
3606         * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
3607         truncation to 32-bit doubles on -m3e and -m4-single-only.
3609 2001-02-02  Mark Mitchell  <mark@codesourcery.com>
3611         * gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
3612         the default when building a shared object.
3613         (init_spec): Use it.
3614         * testsuite/lib/g++.exp: Include the directory where libgcc
3615         is located to the LD_LIBRARY_PATH list.
3616         * invoke.texi (-shared-libgcc): Document the cases in which
3617         GCC defaults to using the shared libgcc.
3619 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
3621         * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
3622         unsigned is wide enough.
3623         (BITS_PER_SI): New.
3624         * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
3625         (si_to_float): Likewise.
3626         (float_to_si, float_to_usi): Use BITS_PER_SI.
3628 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
3630         * dwarf2out.c: Added explanation of abbreviations.
3631         (def_cfa_1): Added comments listing DWARF2 instructions.
3632         (cfa_temp_reg): Removed in favor of cfa_temp.
3633         (cfa_temp_value): Removed in favor of cfa_temp.
3634         (cfa_temp): New global variable.
3635         (dwarf2out_frame_debug_expr): Added extensive introductory
3636         comments explaining the function's transformations.  Revised to
3637         use cfa_temp.  Added some rtx checking.  Generalize IOR case.
3638         (dwarf2out_frame_debug): Revised to use cfa_temp.
3639         (output_aranges): Cast as "unsigned" to avoid warning.
3640         * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
3641         explain which instructions must be marked.
3643 2001-02-01  Richard Henderson  <rth@redhat.com>
3645         * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
3646         new instruction.
3648 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
3650         * config/sh/crt1.asm (main_k): Modified so that start calls
3651         ___setup_argv_and_call_main.
3653 2001-02-01  Neil Booth  <neil@daikokuya.demon.co.uk>
3655         * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
3656         * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
3657         and AVOID_LPASTE is cleared on meeting an unescaped newline.
3658         * cppmacro.c (builtin_macro): Set builtin flags here.
3659         (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
3660         (replace_args): Clarify intent.
3661         (cpp_get_token): Macro expansion tokens get the saved flags.
3662         Update.
3663         * cppmain.c (scan_buffer): Remove now-redundant print.printed
3664         check.
3666 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
3668         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
3669         2001-Jan-29.
3671 Thu Feb  1 07:22:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3673         * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
3674         returns Pmode pseudo, but we need ptr_mode.
3675         * explow.c (allocate_dynamic_stack_space): Use plus_constant.
3676         Remove bogus conversions; use HOST_WIDE_INT for size.
3677         Don't use TARGET if wrong mode.
3679         * config/i386/i386.c (ix86_compute_frame_size): Allow
3680         stack_alignment_needed to be non-default even if size is zero.
3682 2001-01-31  Alan Modra <alan@linuxcare.com.au>
3684         * (hppa_init_pic_save): Emit the pic offset table
3685         reg save after last_parm_insn.
3686         * pa.c (hppa_init_pic_save): New function.
3687         * pa.h (hppa_init_pic_save): Declare.
3688         * pa.md (call, call_value, sibcall, sibcall_value): Use
3689         the above instead of duplicated code.
3691         * pa.c (hppa_encode_label): Correct size of alloca buffer
3692         so we don't overrun it.  Correct leading `*' case.
3693         * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
3694         need to handle `*@'.
3695         (FUNCTION_NAME_P): Likewise.
3697 2001-01-31  Richard Henderson  <rth@redhat.com>
3699         * config.gcc (alpha-osf5): Use float-i128.h.
3701         * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
3702         * config/float-i32.h: Likewise.
3703         * config/float-i64.h: Likewise.
3704         * config/float-sh.h: Likewise.
3705         * config/float-sparc.h: Likewise.
3707 2001-01-31  DJ Delorie  <dj@redhat.com>
3709         * expmed.c (extract_bit_field): allow non-integral modes if we
3710         want to extract a whole register from itself.
3712 2001-01-31  Jakub Jelinek  <jakub@redhat.com>
3714         * c-typeck.c (set_init_index): If first is equal to last, assume as
3715         if it was not a range at all.
3717 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
3719         * config/fp-bit.c: Include tm.h.
3720         (float_to_si): Don't assume SImode is 32-bits wide.
3721         (float_to_usi): Likewise.
3723 2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
3725         * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
3726         incomplete type.
3727         (typename): Call pending_xref_error after parsing typed_typespecs.
3728         * c-decl.c (lookup_tag): Give error immediately rather than
3729         leaving it pending if the tag of the wrong type is in the same
3730         binding level.
3731         (xref_tag): Don't pedwarn for forward declarations of enum types
3732         here.
3733         * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
3734         and enum tags.
3736 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
3738         * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
3740 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
3742         * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
3743         (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
3745 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
3747         * cpphash.h (struct cpp_reader): New saved_flags.
3748         * cppmacro.c (cpp_get_token): Use saved_flags to remember
3749         to avoid a paste after a pasted token.
3751 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
3753         * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
3754         * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
3755         Wtype_MIN instead of LONG_MIN.
3757 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
3759         * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
3760         README file.
3761         * fixinc/fixincl.x: Regenerated.
3762         * fixinc/inclhack.def (irix_limits_const): New definition to
3763         convert "const" to "__const" in limits.h.
3765 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
3767         * fixinc/genfixes (AG): Fix "autogen4" thinko.
3769 2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
3771         * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
3772         when register dies in the insn.
3774 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
3776         * diagnostic.c (fatal): Fix word wrap.
3778 2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
3780         * combine.c (try_combine): Fix SUBREG setting for
3781         HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
3783 2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3785         * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
3786         comparison codes.
3788 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
3790         * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
3791         is not NULL.
3792         * toplev.c (decode_W_option): Update warn_larger_than
3793         unconditionally for each processed switch.
3795 2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3797         * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
3798         to NULL_RTX.
3799         (hppa_expand_prologue): Delete code to save pic offset table register
3800         in the function prologue.
3801         * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
3802         * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
3803         table register at the beginning of the function after the prologue.
3805 2001-01-29  lars brinkhoff  <lars@nocrew.org>
3807         * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
3809 2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3810             Jeff Law <law@redhat.com>
3812         * pa.md (return): Revise comment for trivial return.
3813         (return_internal): Non-trivial return pattern for non-PIC code.
3814         (return_internal_pic): Non-trivial return pattern for PIC code.
3815         It uses the PIC register to ensure it is restored after
3816         function calls.
3817         (epilogue): Generate appropriate return for PIC and non-PIC code.
3819 Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
3821         * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
3823 2001-01-29  DJ Delorie  <dj@redhat.com>
3825         * combine.c (if_then_else_cond): Pass the correct mode to
3826         operand_subword() for constants.
3828 Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
3830         * config/i386/cygwin.h: Add w32api to include search.  Search different
3831         directories in a cross-build environment.
3833 2001-11-29  Tim Josling  <tej@melbpc.org.au>
3835         * tree.h (TYPE_STUB_DECL): Add documentation.
3837 2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
3839         * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
3840         (sdbout_field_types): Likwise.  Fix use of host_integerp.
3842 2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
3844         * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
3845         cygwin.h.
3847 2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
3849         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
3850         to use flag_gnu_linker.
3852 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
3854         * cpplib.c (T_BAD_DIRECTIVE): Remove.
3855         (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
3857 2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
3859         * tree.c, tree.h (build_parse_node): Remove; was identical to
3860         build_nt.
3861         * c-lang.c (start_cdtor), objc/objc-act.c
3862         (build_module_descriptor): Use build_nt instead of
3863         build_parse_node.
3865 2001-01-29  Jakub Jelinek  <jakub@redhat.com>
3867         * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
3868         (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
3869         not have any upper bits set.
3871 2001-01-29  Phil Edwards  <pme@sources.redhat.com>
3873         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
3875 2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3877         * stmt.c (estimate_case_costs): Use integer_minus_one_node.
3879         * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
3881         * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
3882         (integer_minus_one_node): Define.
3884 2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
3886         * Makefile.in (bootstrap2-lean): Fix typo.
3888 2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
3890         * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
3891         : Don't set fe_value.
3892         * cpplib.h (AVOID_LPASTE): New flag.
3893         (struct cpp_hashnode): Remove fe_value.
3894         * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
3895         * cppmacro.c (builtin_macro): Don't set flags here.
3896         (replace_args): Set AVOID_LPASTE flag on first token of an
3897         argument, and the token following it.
3898         (cpp_get_token): Set AVOID_LPASTE flag on first token of a
3899         macro expansion, and on the token following it.  Do it for
3900         builtins too.
3901         * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
3903 2001-01-27  Richard Henderson  <rth@redhat.com>
3905         * config/alpha/t-ieee: Remove multilibbing.
3906         (TARGET_LIBGCC2_CFLAGS): Add -mieee.
3908 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3910         * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
3912         * Makefile.in: Remove all dependencies on defaults.h.
3913         * builtins.c: Don't include defaults.h.
3914         * c-common.c: Likewise.
3915         * c-decl.c: Likewise.
3916         * c-pragma.c: Likewise.
3917         * c-typeck.c: Likewise.
3918         * combine.c: Likewise.
3919         * i386.c: Likewise.
3920         * frame-ia64.c: Likewise.
3921         * cppexp.c: Likewise.
3922         * crtstuff.c: Likewise.
3923         * dbxout.c: Likewise.
3924         * dwarf2out.c: Likewise.
3925         * dwarfout.c: Likewise.
3926         * emit-rtl.c: Likewise.
3927         * except.c: Likewise.
3928         * expr.c: Likewise.
3929         * final.c: Likewise.
3930         * frame-dwarf2.c: Likewise.
3931         * libgcc2.c: Likewise.
3932         * optabs.c: Likewise.
3933         * profile.c: Likewise.
3934         * sdbout.c: Likewise.
3935         * toplev.c: Likewise.
3936         * tradcif.y: Likewise.
3937         * tree.c: Likewise.
3938         * varasm.c: Likewise.
3940 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3942         * builtins.c (expand_builtin_fputs): Use size_one_node when
3943         transforming into fwrite.
3945 2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
3947         * extend.texi (Attribute Syntax): New section.
3949 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3951         * fixproto: Correctly install synthesised unistd.h and stdlib.h when
3952         they didn't need fixing.
3954 2001-01-27  Janis Johnson <janis@us.ibm.com>
3956         * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
3957         if appropriate.
3958         * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
3959         to remove macro definitions that are duplicated from elfos.h.
3961 2001-01-27  Richard Henderson  <rth@redhat.com>
3963         * config/i386/sco5gas.h: Move ...
3964         * config/usegas.h: ... here.
3965         * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
3967 2001-01-27  Jakub Jelinek  <jakub@redhat.com>
3969         * c-typeck.c (struct constructor_stack): Add range_stack member.
3970         (really_start_incremental_init): Clear it.
3971         (push_init_level): Save constructor_range_stack and clear it if
3972         pushing explicit braces.
3973         (pop_init_level): abort if constructor_range_stack is non-zero at
3974         explicit closing brace.  Restore saved constructor_range_stack if
3975         not implicit.
3977 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
3979         * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
3980         into register was forced into memory.
3982 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
3984         * Makefile.in: Remove uses of + before $(MAKE).
3986 2001-01-26  Richard Henderson  <rth@redhat.com>
3988         * stmt.c (cost_table): Remove.
3989         (COST_TABLE, cost_table_initialized): New.
3990         (estimate_case_costs): Use the later instead of the former.
3991         (balance_case_nodes): Likewise.
3993 2001-01-26  Richard Henderson  <rth@redhat.com>
3995         * alias.c (objects_must_conflict_p): Read-only slots may not
3996         conflict despite having the same type.
3998 2001-01-27  Michael Hayes  <mhayes@redhat.com>
4000         * loop.c (loop_giv_reduce_benefit): Copy mode size into
4001         int variable.
4002         (check_ext_dependant_givs): Initialise u_start_val and
4003         u_end_val.
4004         (load_mems): Make last_max_reg unsigned.
4005         (try_swap_copy_prop): Use INSN_P and initialise set.
4007 Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
4009         * README.AVR : Removed.
4011 Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
4013         * pa-64.h (text_section): Remove declaration.
4015         * pa.md (return_internal): Remove mode on PIC register use.
4017 2001-01-25  lars brinkhoff  <lars@nocrew.org>
4019         * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
4020         ASM_CLOSE_PAREN): fix typos.
4022 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
4024         * acconfig.h: Define `const' to the empty string if neither
4025         __STDC__ nor __cplusplus is defined.
4026         * config.in: Regenerated.
4028 2001-01-25  David Edelsohn  <edelsohn@gnu.org>
4030         * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
4031         * collect2.c (main): Delete importf.  Add ".obj" file extension.
4032         (GCC_CHECK_HDR): Handle AIX V5 new magic number.
4033         (aix_std_libs): Add additional AIX libraries to skip.
4034         * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
4035         * config/rs6000/aix51.h: New file.
4037 2001-01-25  Michael Hayes  <mhayes@redhat.com>
4039         * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
4040         (loop_insn_emit_before): No longer static.
4041         (move_movables): Replace emit_insn_after with loop_insn_emit_after.
4042         (loop_givs_rescan, load_mems): Likewise.
4043         (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
4044         (maybe_eliminate_biv_1):
4045         (move_movables): Replace emit_call_insn_before with
4046         loop_call_insn_hoist.
4047         * loop.h (loop_insn_emit_before): Add.
4048         * unroll.c (copy_loop_body): Replace emit_insn_before with
4049         loop_insn_emit_before.
4051 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
4053         * diagnostic.c (fatal): Request preprocessed source.
4055 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
4057         * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
4058         olddecl has argument types and newdecl has none, use the argument
4059         types from olddecl.
4061 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4063         * dwarf2out.c (prefix_of): New function.  Determine longest common
4064         prefix of the two arguments.  The units are whole path components.
4065         (output_file_names): When adding a new directory find the one entry
4066         with the longest common prefix already in the list.  Artificially
4067         generate entry if there is none for this prefix.
4068         Fix test to check whether the zeroth directory entry is used.
4070 Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
4072         * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
4073         Changed all callers.  Take it into account when deciding if a
4074         previously loaded value matches.
4076 2001-01-24  Richard Henderson  <rth@redhat.com>
4078         * reload.c (find_reloads_subreg_address): Fail the substitution
4079         if the resulting address is insufficiently aligned.
4081 2001-01-24  DJ Delorie  <dj@redhat.com>
4083         * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
4084         check the original operand's mode also.
4085         * simplify-rtx.c (simplify_ternary_operation): Ditto.
4087 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
4089         * c-parse.in (cast_expr): Move compound literals from here ...
4090         (primary): ... to here.  Use standard terminology "compound
4091         literal" instead of "constructor expression".
4093 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
4095         * gcc.1, cpp.1: Regenerate.
4097 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
4099         * calls.c (emit_library_call_value_1): Memory slot for
4100         pass-by-reference argument should have the mode of the argument,
4101         not of the pointer to it.
4103 2001-01-24  Tom Tromey  <tromey@redhat.com>
4105         * gcc.texi (G++ and GCC): Mention gcj manual.
4106         (Standards): Link to section of manual mentioning gcj/Java
4107         compatibility.
4109 2001-01-24  Jakub Jelinek  <jakub@redhat.com>
4111         * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
4112         * cppinit.c (cpp_start_read): Remove deps_add_dep call.
4113         * tradcpp.c (main): Add -imacros or -include'd dependencies
4114         for -M*.
4115         * cpp.texi (-M, -MM): Document -M -include behaviour.
4117 2001-01-24  Roger Collins <roger@ProProject.com>
4119         * config/i386/xm-i386.h: Make __i386__ a boolean macro.
4121 2001-01-24  Will Cohen  <wcohen@redhat.com>
4123         * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
4124         whether registers are 32 bits or 64 bits in size.
4126 2001-01-24  Ben Elliston  <bje@redhat.com>
4128         * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
4130 2001-01-24  Richard Henderson  <rth@redhat.com>
4132         * config/alpha/alpha.md (builtin_longjmp_internal): New.
4133         (builtin_longjmp): Use it instead of emit_indirect_jump.
4135 2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4137         * bb-reorder.c (make_reorder_chain_1): Handle case where
4138         jump edge goes to the same block as the fallthru edge.
4140 2001-01-23  Jim Wilson  <wilson@redhat.com>
4142         * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
4143         * frame.h (__ia64_personality_v1): Add prototype.
4144         * libgcc2.c (ia64_throw_helper): Change personality declaration to
4145         prototype form.  Add void * cast to first argument to personality
4146         call.
4147         * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
4148         (asctoe113): Likewise.
4149         * config/ia64/frame-ia64.c: Include eh-common.h.
4150         * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
4151         prototypes.
4152         * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
4153         to dump parameter.
4154         (itanium_split_issue): Add prototype.
4155         (gen_nop_type): Ifdef out.
4156         (find_best_packet): Initialize best_packet.
4157         (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
4158         result.
4159         * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
4160         * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
4161         (flushrs): Add explicit stop bit at end.
4162         * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
4163         trailing \ to >.
4165 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
4167         * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
4168         of EH symbols.
4169         * libgcc2.c (__terminate_func): Make variable static.
4170         (__terminate_set_func): New function to set __terminate_func.
4171         * libgcc2.h (__terminate_func_ptr): New typedef.
4172         (__terminate_set_func): New function.
4174 2001-01-23  Richard Henderson  <rth@redhat.com>
4176         * flow.c (init_propagate_block_info): Don't consider unchanging
4177         memories for dead frame store elimination.
4179 2001-01-23  Richard Henderson  <rth@redhat.com>
4181         * varasm.c (UNIQUE_SECTION): Move default implementation ...
4182         * defaults.h: ... here.
4184 2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4186         * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
4188 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
4190         * c-lex.c (lex_charconst): Fix typo: s/p/str.
4192 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4194         * rs6000.h (rs6000_return_addr): Move prototype from here...
4195         * rs6000-protos.h (rs6000_return_addr): ...to here.
4196         (rs6000_init_expanders): Delete prototype.
4198 2001-01-23  Nick Clifton  <nickc@redhat.com>
4200         * invoke.texi: Replace , with \, inside @gccoptlist macros.
4201         (Spec Files): Document %B and %j and %. and %v3 and %M and
4202         %{S*&T} spec switches.
4204 2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4206         * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
4208 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
4209         Neil Booth  <neil@daikokuya.demon.co.uk>
4211         * cpperror.c: Merge handlers of PEDWARN and WARNING.
4212         Have -Werror make pedantic warnings errors, like the
4213         rest of GCC.
4215 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
4217         * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
4219 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
4221         * integrate.h (struct inline_remap): Add compare_src, compare_mode.
4222         * integrate.c (expand_inline_function): Initialize them.
4223         (subst_constants): If changing COMPARE so that both its arguments
4224         will be VOIDmode and the comparison mode will be lost, note
4225         compare_mode.  Use the recorded compare_mode to optimize
4226         IF_THEN_ELSE.
4228 2001-01-23  Jason Merrill  <jason@redhat.com>
4230         * dwarf2out.c (new_die): Use xcalloc.
4231         (output_die): Abort rather than emit a local reference to offset 0.
4233 2001-01-17  Andrew Haley  <aph@redhat.com>
4235         * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
4236         of a saved register; return NULL instead.
4237         (copy_reg): Take a pointer to a source register rather than a
4238         frame_state.
4239         (next_stack_level): Remember the address in the stack frame of all
4240         saved registers.
4241         Use the saved register pointer array as the source of the CFA.
4242         (throw_helper): Rewrite.  Unwind once rather than twice and keep
4243         track of saved registers as we go.
4245 2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4247         * c4x-protos.h (c4x_legitimize_reload_address): Remove.
4248         * c4x.c (c4x_legitimize_reload_address): Remove.
4249         * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
4250         reload address for ldp(k) insn.
4252 Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
4254         * pa.md (return_internal): Add a USE of the PIC register to ensure
4255         it is restored after each call.
4256         (return expander): Corresponding changes.
4258 2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4260         * rs6000.h (INIT_EXPANDERS): Delete.
4261         (RETURN_ADDR_RTX): Call rs6000_return_addr().
4262         * rs6000.c (rs6000_override_options): Call *_machine_status from
4263         here...
4264         (rs6000_init_expanders): ...instead of here. Delete.
4265         (rs6000_mark_machine_status): New function.
4266         (rs6000_init_machine_status): Use xcalloc.
4267         (rs6000_return_addr): Generate RTX for the return address.
4268         (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
4269         (rs6000_stack_info): Use it.
4271 2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
4273         * gthr-win32.h: Include errno.h to get a declaration for
4274         EINVAL and _mingw.h if the target is mingw32.
4276 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
4278         * cpp.texi: Correct typos.
4280 Mon Jan 22 13:59:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4282         * explow.c (probe_stack_range): Ensure value passed to
4283         stack_check_libfunc is ptr_mode, not Pmode.
4285 Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
4287         * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
4288         case, don't use operand_subword to calculate a SUBREG that is
4289         wider than a word.
4291         * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
4293 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4295         * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
4296         (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
4297         valid.  If not replace it by equivalent insns.
4299 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4301         * c4x.c (c4x_check_legit_addr): Only check CONST.  Not if CONST
4302         contains SYMBOL_REF, LABEL_REF and CONST_INT.
4303         (c4x_U_constraint, symbolic_address_operand): Likewise.
4304         (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
4305         memory.
4306         (c4x_r11_set_p, c4x_check_laj_p): New functions.
4307         * c4x-protos.h (c4x_check_laj_p): Add prototype.
4308         * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
4309         anulling slot because of silicon bug.
4310         (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
4312 2001-01-22  Alan Modra <alan@linuxcare.com.au>
4314         * cppexp.c (parse_charconst):  Change `mask' type to agree
4315         with parse_escape.
4317 2001-01-21  Richard Henderson  <rth@redhat.com>
4319         * config/i386/i386.c (ix86_asm_file_end): Disable putting
4320         pic_label_name in a linkonce section.
4322 2001-01-17  Philipp Thomas  <pthomas@suse.de>
4324         * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
4325         found in libintl.
4326         * configure: Regenerate.
4328 Sun Jan 21 02:38:56 2001  J"orn Rennecke <amylaar@redhat.com>
4330         * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
4331         uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
4333 Sun Jan 21 09:44:17 2001  Denis Chertykov  <denisc@overta.ru>
4335         * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
4336         If REVERSE nonzero then condition code in X must be reversed.
4337         (encode_section_info): Optimise if/else.
4338         (avr_function_value): Fix formatting.
4340         * config/avr/avr.md (branch): Call to ret_cond_branch changed.
4341         (difficult_branch): Likewise.
4342         (rvbranch): Likewise.
4343         (difficult_rvbranch): Likewise.
4345         * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
4347         * config/avr/libgcc.S: Fix comment.
4349 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
4351         * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
4353 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
4355         * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
4357 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
4359         * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
4360         * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
4361         * configure, config.in: Regenerate.
4362         * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
4363         (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
4364         (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
4365         (doprint.o): New rule.
4367 2001-01-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4369         * c-typeck.c (digest_init): Handle boolean types as scalars.
4371 Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4373         * stmt.c (expand_return): Don't return anything if size is zero.
4374         Delete redundant assignment to BYTES.
4375         * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
4377 2001-01-20  Marek Michalkiewicz  <marekm@linux.org.pl>
4379         * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
4380         the same as the default library function names.
4381         * config/avr/avr.md: Document special characters after '%'.
4382         (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
4383         knowing which of the call-used registers are really clobbered.
4384         (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
4385         New.  Both quotient and remainder from one libgcc.S call.
4386         * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
4387         clobber as few registers as possible.
4388         * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
4390 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
4392         * cppmacro.c (funlike_invocation_p): Don't move back up to the
4393         context of the top of the stack.
4395 2001-01-20  Jakub Jelinek  <jakub@redhat.com>
4397         * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
4398         (fixup_var_refs_insns): ...here.
4400 2001-01-20  Zack Weinberg  <zack@wolery.stanford.edu>
4402         * function.c (fixup_var_refs_insns): Break up into
4403         fixup_var_refs_insn [body of loop], fixup_var_refs_insns
4404         [loop over entire insn list], and fixup_var_refs_insns_with_hash
4405         [loop over hash table entries].
4406         (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
4407         fixup_var_refs_insns_with_hash, to match above changes.
4409 2001-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4411         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
4412         (libgcc.a): Likewise.
4413         (stmp-multilib): Likewise.
4414         (STAGE2_FLAGS_TO_PASS): Likewise.
4416 2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
4418         * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
4419         temporary if no_new_pseudos.
4421 2001-01-19  Neil Booth  <neil@daikokuya.demon.co.uk>
4423         * cppinternals.texi: Update.
4425 2001-01-19  Richard Earnshaw  <rearnsha@arm.com>
4427         * arm.c (arm_init_builtins): Re-enable builtins.
4429 Fri Jan 19 13:02:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4431         * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
4432         * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
4433         element to be null, and always expect an EXPR_LIST.
4434         * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
4435         * sched-deps.c (sched_analyze_1): Likewise.
4436         * sched-rgn.c (check_live_1, update_live_1): Likewise.
4438         * regclass.c (max_set_parallel): New variable.
4439         (reg_scan): Take it into account in computation of max_parallel.
4440         (reg_scan_mark_refs, case SET): Compute it.
4442         * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
4443         args are REG.
4444         * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
4445         * function.c (assign_parms): Use INTVAL for a CONST_INT.
4447 2001-01-19  Jason Merrill  <jason@redhat.com>
4449         * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
4450         for the abstract instance of an inline function.
4452 Fri Jan 19 14:31:35 2001  Alexandre Oliva  <aoliva@redhat.com>
4453                           J"orn Rennecke <amylaar@redhat.com>
4455         * reload1.c (move2add_note_store): Treat all registers directly or
4456         indirectly derived from a base register as members of the same set
4457         of values.
4458         (reload_cse_move2add): Adjust accordingly.  Take mode and offset
4459         of base register into account.
4461 Fri Jan 19 09:18:42 2001  J"orn Rennecke <amylaar@redhat.com>
4463         * alias.c (find_base_value): Recognize TRUNCATE.
4464         (record_set): In PLUS case, invalidate if other summand is also a
4465         base value.
4467 Thu Jan 18 06:43:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4469         * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
4470         entry to be EXPR_LIST.
4471         * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
4472         be an EXPR_LIST (but not null, which other code doesn't allow).
4473         (note_stores): Properly handle PARALLEL in SET.
4474         Recursively call for top-level PARALLEL.
4475         * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
4476         * sched-rgn.c (check_live_1, update_live_1): Likewise.
4478         * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
4480 2001-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
4482         * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
4483         not pfile->skipping (== 0).
4485 2001-01-17  Nick Clifton  <nickc@redhat.com>
4487         * config/rs6000/rs6000.c: Add prototypes for {init|free}_
4488         machine_status.
4490 2001-01-17  Jim Wilson  <wilson@redhat.com>
4492         * invoke.texi (IA-64 options): Improve.
4494 2001-01-17  Tom Tromey  <tromey@redhat.com>
4496         * invoke.texi (Optimize Options): Use `{}' to around @samp
4497         argument.
4499 2001-01-17  Aldy Hernandez  <aldyh@redhat.com>
4501         * invoke.texi (-fno-guess-branch-probability): New option.
4503 Wed Jan 17 13:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4505         * combine.c (try_combine): Don't set i3_subst_into_i2 for
4506         case of making new double-word constant.
4507         Revert last change: instead just test i3_subst_into_i2.
4509 2001-01-17  Jakub Jelinek  <jakub@redhat.com>
4511         * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
4512         Use q constraints instead of r.
4514 Tue Jan 16 22:23:04 2001  Alan Modra (alan@linuxcare.com.au)
4516         * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
4517         (machine_function): Define.
4518         (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
4519         * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
4520         pa_free_machine_status): New functions.
4521         (override_options): Set {init,mark,free}_machine_status to above.
4522         (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
4523         PIC_OFFSET_TABLE_REGNUM_SAVED.
4524         * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
4525         PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
4526         * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
4527         references to PIC_OFFSET_TABLE_REGNUM_SAVED.
4528         * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
4530 2001-01-15  DJ Delorie  <dj@redhat.com>
4532         * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
4533         (cpp.1): Ditto.
4534         (gcc.1): Ditto.
4536 Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4538         * flow.c (propagate_on_insn): Make trying to delete a prologue
4539         or epilogue insn an ICE, not a warning.  Allow doing this if
4540         the current function returns with stack pointer depressed.
4542         * combine.c (try_combine): If i3_subst_into_i2, properly check for
4543         I3 having more than one SET.
4545 2001-01-16  Jim Wilson  <wilson@redhat.com>
4547         * invoke.texi: Document IA-64 options.
4549         * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
4550         (fixup_errata): Delete TARGET_A_STEP use.
4551         * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
4552         (TARGET_SWITCHES): Delete -ma-step option.
4553         * config/ia64/ia64.md (all FP patterns): Delete %B0.
4554         (movqicc_astep, movqi_internal_astep, movhicc_astep,
4555         movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
4556         movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
4557         movdfcc_astep, movdf_internal_astep, movtfcc_astep,
4558         movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
4559         Delete.
4560         (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
4561         movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
4562         cmovsi_internal): Delete ! TARGET_A_STEP check.
4564 2001-01-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4566         * gcc.texi (Bug Lists): Do not mention newsgroups nor the
4567         possibility to report bugs via postal mail. Change a URL and
4568         merge in a nearly duplicate statement...
4569         (Bug Reporting): ...from here.
4570         (Service): Refer to the Bug Reporting section instead of
4571         duplicating an URL.
4572         (Contributing): Remove trivial explanations concerning snapshots.
4574 2001-01-16  Alan Modra <alan@linuxcare.com.au>
4576         * cppmain.c (general_init): Don't use ANSI prototype.
4578 2001-01-16  Tom Tromey  <tromey@redhat.com>
4580         * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
4582 2001-01-16  Richard Henderson  <rth@redhat.com>
4584         * config/i386/i386.h: Fix comment typo.
4585         * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
4586         (ashr+compare patterns): Match CCGOCmode not CCNOmode.
4588 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
4590         * gcc.c:  Revert previous -fsyntax-only-related change; move
4591           to cp/g++spec.c.
4593 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
4595         * config/i386/i386.c (fcmov_comparison_operator): Only initialize
4596         inmode after checking GET_CODE (op).
4598 2001-01-16  Richard Henderson  <rth@redhat.com>
4600         * flow.c (struct propagate_block_info): Add mem_set_list_len.
4601         (MAX_MEM_SET_LIST_LEN): New.
4602         (propagate_one_insn): Update mem_set_list_len.
4603         (invalidate_mems_from_autoinc): Likewise.
4604         (invalidate_mems_from_set): Likewise.
4605         (mark_used_regs): Likewise.
4606         (init_propagate_block_info): Likewise.  Stop collecting memories
4607         when we reach MAX_MEM_SET_LIST_LEN.
4608         (mark_set_1): Likewise.
4610 2001-01-16  Richard Henderson  <rth@redhat.com>
4612         * unroll.c (precondition_loop_p): Fail if no iteration
4613         variable found.
4615 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
4617         * gcc.c:  When -fsyntax-only is given, do not complain about
4618           unused libraries.
4620 2001-01-15  Richard Henderson  <rth@redhat.com>
4622         * config/i386/i386.c (asm_output_function_prefix): Remove.
4623         (ix86_asm_file_end): New.
4624         (load_pic_register): Generate pic_label_name into a
4625         staticly allocated buffer.
4626         * config/i386/i386-protos.h: Update.
4627         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
4628         (ASM_FILE_END): New.
4629         * config/i386/i386afe.h: New file.
4630         * config.gcc (i?86-*-elf) [tm_file]: Use it.
4631         (i?86-*-{freebsd,linux*,moss*}): Likewise.
4632         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
4633         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
4634         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
4635         * config/i386/sco5.h (ASM_FILE_END): Likewise.
4636         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
4638 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
4640         * Makefile.in (install-man): Remove explicit dependency on
4641         $(srcdir)/gcc.1.
4643         * configure.in, configure: Revert previous patch requiring perl
4644         5.6.0.
4646 2001-01-12  Aldy Hernandez  <aldyh@redhat.com>
4648         * toplev.c (flag_guess_branch_prob): New.
4649         (f_options): Add guess-branch-probability option.
4650         (rest_of_decl_compilation): Only estimate branch probability if
4651         flag set.
4652         (main): set flag_guess_branch_prob.
4654         * flags.h (flag_guess_branch_prob): New.
4656 2001-01-15  DJ Delorie  <dj@redhat.com>
4658         * gcc.texi (Makefile): Add documentation for Makefile targets.
4660 2001-01-15  Philip Blundell  <philb@gnu.org>
4662         * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
4663         (is_pic): Delete.
4664         * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
4665         (is_pic): Delete declaration.
4666         * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
4667         (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
4668         * config/arm/arm.md (builtin_setjmp_receiver): New.
4670 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
4672         * arm.c (use_return_insn): Don't try to determine the function type
4673         until after reload has completed.
4674         (arm_output_epilogue): Don't adjust the sp value recovered from the
4675         stack.
4676         (emit_multi_reg_push): Don't record dwarf information for the pc.
4677         * arm.md (eh_epilogue): The function type may have changed, so it
4678         needs to be recalculated.
4679         * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete.  Can now use dwarf2
4680         unwind tables on arm/netbsd.
4682 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
4684         * arm.md (cbranchsi4): Correct calculation of branch ranges.
4685         (negated_cbranchsi4): Likewise.
4687 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
4689         * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
4690         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
4691         (ASM_SPEC): Call subtarget_extra_asm_spec.  Don't
4692         pass -mapcs-* options to assembler.
4693         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
4694         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
4695         (ASM_SPEC): Call subtarget_extra_asm_spec.
4697 2001-01-15  Andreas Jaeger  <aj@suse.de>
4699         * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
4700         warnings.
4701         (ix86_expand_builtin): Likewise.
4703         * gencodes.c (output_predicate_decls): Make i size_t to avoid
4704         warning about comparison between signed and unsigned.
4706 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
4708         * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
4710 2001-01-14  Ralf Baechle <ralf@gnu.org>
4712         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
4713         SUBTARGET_CPP_SPEC apropriatly.
4715 2001-01-12  Mark Mitchell  <mark@codesourcery.com>
4717         * varasm.c (make_decl_rtl): Fix typo in last change.
4719 2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>
4721         * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
4722         linker supports the init_priority C++ attribute.
4723         * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
4724         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
4725         linker does not support init_priority C++ attribute.
4727 Sun Jan 14 22:31:30 2001  J"orn Rennecke <amylaar@redhat.com>
4729         * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
4731 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
4733         * c-parse.in (finish_parse): Add comment about cpp_destroy.
4734         * cp/lex.c (finish_parse): Similarly.
4735         * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
4736         Return the number of errors encountered.
4737         * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
4738         * cppmain.c (main): Don't call cpp_destroy.
4740 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
4742         * configure.in: Require at least perl 5.6.0 to regenerate
4743         manpages.
4744         * configure: Regenerate.
4746 2001-01-14  Richard Henderson  <rth@redhat.com>
4748         * genrecog.c (DT_veclen_ge): New.
4749         (add_to_sequence) [MATCH_PARALLEL]: Generate one.
4750         (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
4751         (nodes_identical_1): Handle DT_veclen_ge.
4752         (write_cond, debug_decision_2): Likewise.
4754 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
4756         * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
4757         with ...
4758         (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
4760 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
4762         * cppmain.c (do_preprocessing): New function; most of the old
4763         main.
4764         (main): Call it to do most of the work.
4765         (cb): Move from global scope to set_callbacks ().
4766         (setup_callbacks): Get the callback pointer.
4767         (general_init, printer_init): Clean up code and comments.
4769 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
4771         * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
4772         compiling PIC.
4774 2001-01-14  Kazu Hirata  <kazu@hxi.com>
4776         * config/h8300/h8300.c (get_shift_alg): Update comments.
4778 Sun Jan 14 06:20:49 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4780         * ggc-page.c (alloc_annon): Call perror and correctly call exit.
4781         (alloc_page, ggc_alloc): Add casts to remove warnings.
4783 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
4785         * combine.c (simplify_comparison): Don't change `code' when
4786         can't reverse comparison.
4788 2001-01-14  Richard Henderson  <rth@redhat.com>
4790         * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
4791         update all call sites.  Return true for all non-label constants.
4793 Sun Jan 14 10:09:48 MET 2001  Jan hubicka  <jh@suse.cz>
4795         * i386.c (ix86_expand_compare): Add bypass_test and second_test
4796         parameters.
4797         (ix86_expand_branch): Update.
4798         (ix86_expand_setcc): Update to handle multiple test conditions.
4799         (expand_int_movcc): Likewise.
4800         (expand_fp_movcc): Likewise.
4801         * i386-protos.h (ix86_expand_compare): New.
4802         * i386.md (andqi_?_slp, orqi_?_slp): New.
4803         (conditional trap expander): Update call to ix86_expand_compare.
4805 2001-01-14  Richard Henderson  <rth@redhat.com>
4807         * config/vax/vax.md: Use nonimmediate_operand instead of
4808         general_operand in destinations.
4810         * config/vax/vax.md (indirect_jump): Use register_operand.
4812         * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
4813         * config/vax/vax.md (call_pop): Turn into an expander.
4814         (call_value_pop): Likewise.
4815         (call, call_value): New.
4817 2001-01-14  Andreas Jaeger  <aj@suse.de>
4819         * config/i386/i386.c (ix86_split_fp_branch): Remove unused
4820         variables.
4821         (ix86_fp_compare_mode): Add unused attribute.
4822         (ix86_expand_fp_movcc): Remove unused variable.
4823         (ix86_expand_builtin): Make fcode unsigned.
4825         * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
4826         (expand_expr): Add cast to avoid signed warning.
4827         (store_field): Likewise.
4828         (store_constructor_field): Likewise.
4829         (store_constructor): Likewise.
4830         (store_expr): Likewise.
4831         (clear_storage): Likewise.
4832         (emit_group_store): Likewise.
4833         (emit_group_load): Likewise.
4835 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
4837         * c-common.c: Move format checking code to ...
4838         * c-format.c: ... here.  New file.  Reorder some functions and
4839         declarations.
4840         (decl_handle_format_attribute, decl_handle_format_arg_attribute):
4841         New functions.
4842         * c-common.h (decl_handle_format_attribute,
4843         decl_handle_format_arg_attribute): Declare.
4844         * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
4845         (c-common.o): Adjust dependencies.
4846         (c-format.o): New list of dependencies.
4848 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
4850         * unroll.c (loop_iterations): If we cannot prove iteration variable
4851         is set once in each iteration, punt.
4853 Sun Jan 14 00:23:15 2001  Denis Chertykov  <denisc@overta.ru>
4855         * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
4856         (*strlenhi): Remove clobber (which was buggy) of output address.
4858 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
4860         * Makefile.in (generated-manpages): Add gcc.1
4861         ($(srcdir)/gcc.1): New target.
4862         (maintainer-clean): Delete $(srcdir)/gcc.1.
4863         * gcc.texi: Add macros @gccoptlist and @gol.
4864         * invoke.texi: Include option summary in manpage.  Mark up option
4865         summary with @gccoptlist and @gol.  Use @r in one place where
4866         appropriate.
4867         * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
4868         * gcc.1: Generate from invoke.texi.
4870 2001-01-13  Richard Henderson  <rth@redhat.com>
4872         * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
4873         (struct page_entry): Add group member.
4874         (struct page_group): New.
4875         (struct globals): Add page_groups member.
4876         (alloc_anon): Only define for using mmap; remove valloc call.
4877         (page_group_index): New.
4878         (set_page_group_in_use): New.
4879         (clear_page_group_in_use): New.
4880         (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
4881         (free_page, release_pages): Likewise.
4882         * configure.in (with-gc): Default to ggc-page always.
4884 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
4886         * reload1.c (replace_pseudos_in_call_usage): Use
4887         reg_equiv_constant and reg_equiv_address, and don't try
4888         regno_reg_rtx first.
4890 2001-01-13  Richard Henderson  <rth@redhat.com>
4892         * ggc-page.c (alloc_page): Round up allocation size to one page.
4893         Set e->order on extra pages.
4895 2001-01-13  Richard Henderson  <rth@redhat.com>
4897         * genrecog.c (nodes_identical): Expand commentary.
4898         (write_switch): Watch out for identical nodes.
4900 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
4902         * cppfiles.c (_cpp_fake_include): New function.
4903         * cpphash.h (_cpp_fake_include): New.
4904         * cpplib.c (do_line): Call _cpp_fake_include when entering
4905         header files in preprocessed input.
4906         * cppmain.c (cb_pragma_implementation): Remove handling.
4907         (setup_callbacks): Don't register pragmas.
4909 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
4911         * extend.texi: Udate for CPP.
4913 2001-01-13  Andreas Jaeger  <aj@suse.de>
4915         * reload1.c: Add prototype for replace_pseudos_in_call_usage.
4917         * regmove.c: Add prototype for replace_in_call_usage.
4919 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
4921         * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
4922         struct cpp_chunk, struct htab, struct toklist,
4923         struct cpp_context, CPP_STACK_MAX, struct lexer_state,
4924         struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
4925         CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
4926         ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
4927         (struct macro_args): Delete.
4928         * cpphash.h: See above.
4930 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
4932         * cppmain.c (struct printer): Remove no_line_dirs.
4933         (options, cb): New.
4934         (main, setup_callbacks, scan_buffer, printer_init, cb_define)
4935         : Use options rather than CPP_OPTION.
4936         (setup_callbacks): Use cb rather than pfile->cb.
4937         (main): No need to check for a buffer.  Use cpp_errors.
4938         (printer_init): Don't set no_line_dirs.
4939         (maybe_print_line): Use options not no_line_dirs.
4940         (cb_file_change): Don't call print_line if -P.
4942 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
4944         * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
4945         callbacks.
4946         * c-parse.in (finish_parse): Use cpp_errors.
4947         (__yylex): Use return value of cpp_pop_buffer.
4948         * cp/lex.c (finish_parse): Use cpp_errors.
4949         * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
4951 Sat Jan 13 16:57:40 2001  Denis Chertykov  <denisc@overta.ru>
4953         * README.AVR: URLs corrected.
4955 Sat Jan 13 07:30:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4957         * c-decl.c (start_function): Don't warn if old prototype is builtin
4958         that's not in C's namespace.
4959         * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
4960         (_bb): Add prototype for ctime.
4961         * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
4963 Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
4965         * i386.c (ix86_fp_comparison_arithmetics_cost,
4966         ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
4967         ix86_fp_comparison_cost): New functions.
4968         (ix86_expand_fp_compare): Use the costs to choose best bethod; add
4969         two new parameters SECOND_TEST and BYPASS_TEST; allow generating
4970         two-branch sequences; make static.
4971         (ix86_use_fcomi_compare): Do decision according to the costs.
4972         (split_fp_branch): New.
4973         * i386.md (compare-and-branch patterns): Use split_fp_branch.
4974         * i386-protos.h (ix86_expand_fp_compare): Remove
4975         (ix86_split_fp_branch): Declare.
4977         * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
4978         and ix86_comparison_operator.
4980         * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
4981         to make it cheaper.
4983         * i386.c (put_condition_code): Output properly the unordered/ordered
4984         compares in fp case.
4985         (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
4987         * tm.texi (REVERSE_CONDITION): Document.
4988         * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
4989         in -ffast-math mode.
4990         * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
4992 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
4994         * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
4996         * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
4997         optimized away.
4999         * config/sh/sh.c (mova_p): Fix test for mova_const.
5001 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
5003         * fix-header.c (read_scan_file): Use cpp_get_callbacks and
5004         cpp_get_options rather than dereferencing pfile and using
5005         CPP_OPTION.
5006         * scan-decls.c (scan_decls): Use return value of
5007         cpp_pop_buffer rather than CPP_BUFFER.
5009 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
5011         * cppinit.c (cpp_handle_option): help_only is now part of the
5012         cpp_options structure.
5013         * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
5014         cpp_set_callbacks): New functions.
5015         * cpplib.h (cpp_callbacks): Break out as a named structure.
5016         (cpp_options): Move help_only here from cpp_reader.
5017         (CPP_FATAL_ERRORS): Update to use cpp_errors.
5018         (cpp_errors, cpp_get_options, cpp_get_callbacks,
5019         cpp_set_callbacks): New prototypes.
5020         * cppmain.c (main): Update for help_only.
5022 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5024         * Makefile.in (info, maintainer-clean, install-info, uninstall):
5025         Also build and remove and install and uninstall c-tree.info and
5026         cppinternals.info.
5027         ($(srcdir)/gcc.info): Add dependency on contrib.texi.
5028         ($(srcdir)/cppinternals.info): New target.
5029         * c-tree.texi: Change file name used when makeinfo used without -o
5030         from ir.info to c-tree.info.  Add info directory entry.
5031         * cppinternals.texi: Add info directory entry.
5032         * .cvsignore: Update.
5034 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
5036         * c-typeck.c (store_init_value): Don't require constant initializer
5037         elements with -pedantic -std=c99.
5038         (digest_init): Change error about non-constant initializer elements
5039         into pedwarn.
5040         (constructor_range_end): Remove.
5041         (constructor_incremental, designator_depth,
5042         designator_errorneous): New variables.
5043         (struct constructor_stack): Remove range_end, add incremental.
5044         (struct constructor_range_stack, constructor_range_stack): New.
5045         (struct initializer_stack): Add constructor_range_stack.
5046         (finish_init): Set it.
5047         (start_init): Likewise.  require_constant_elements for non-static
5048         trees only if not flag_isoc99.
5049         (really_start_incremental_init): Remove constructor_range_end, add
5050         constructor_incremental.
5051         (pop_init_level): Likewise.
5052         (push_init_level): Likewise.  If implicit and the subobject had some
5053         value set already, preinitialize the level with it.
5054         Warn about missing braces only if not pushing due to designators.
5055         (set_designator, push_range_stack): New functions.
5056         (set_init_label): Use them.
5057         (set_init_index): Likewise.  Remove constructor_range_end.
5058         Error if designator index is outside of array bounds.
5059         (add_pending_init): Compare values of purpose index trees, not the
5060         trees themselves.  Allow overwriting of already initialized element.
5061         Issue a warning if it had side-effects.
5062         (set_nonincremental_init, set_nonincremental_init_from_string): New
5063         functions.
5064         (pending_init_member): Rename to...
5065         (find_init_member): ...this function.  Call set_nonincremental_init
5066         if necessary.  Compare values of purpose index trees, not the trees
5067         themselves.  Return the actual value, not just non-zero if something
5068         is found.
5069         (output_init_element): Remove checks for duplicates.
5070         If field has zero size, only check the initializer for correctness.
5071         Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
5072         if constructor_incremental is zero.  Change error about initializers
5073         not computable at load time into pedwarn.
5074         (output_pending_init_elements): Compare bit positions, not
5075         FIELD_DECLs to take into account zero-sized fields.
5076         (process_init_element): Use constructor_range_stack to fill all
5077         ranges in the designator lists from current level up.
5078         * extend.texi: Update documentation for labeled elements.
5080 2001-01-12  Alexandre Oliva  <aoliva@redhat.com>
5082         * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
5083         to function usage for arguments passed by reference.  Optimize
5084         callee-copied arguments.
5085         * regmove.c (replace_in_call_usage): New function.
5086         (fixup_match_1): Call it.
5087         * cse.c (cse_insn): Canonicalize registers in function usage.
5088         * reload1.c (replace_pseudos_in_call_usage): New function.
5089         (reload): Call it.
5091         * Makefile.in: Reverted yesterday's wrong patch.  Installed the
5092         right version.
5094 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
5096         * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
5097         not XEXP (tmp, 0).
5099 2001-01-12  DJ Delorie  <dj@redhat.com>
5101         * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
5102         restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
5103         targets.
5105 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5107         * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
5108         tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
5109         -std options alongside references to -ansi.  Update some
5110         documentation for C99.
5111         * cpp.1: Regenerate.
5113 2001-01-12  Andreas Jaeger  <aj@suse.de>
5115         * haifa-sched.c (restore_line_notes): Remove argument block B
5116         since it's unused.
5117         * sched-ebb.c (schedule_ebb): Change caller.
5118         * sched-rgn.c (schedule_region): Likewise.
5119         * sched-int.h (restore_line_notes): Adjust prototype.
5121         * loop.h: Remove wrong declaration of doloop_condition_get.
5123 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
5125         * extend.texi:  Move C++-extension-related node from the C section
5126           into the C++ section.
5128 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5130         * extend.texi: Refer to an array of pointers to functions instead
5131         of one of functions.
5133 Fri Jan 12 12:08:12 MET 2001  Andreas Jaeger  <aj@suse.de>
5134                               Jan Hubicka  <jh@suse.cz>
5136         * combine.c (reversed_comparison): Fix typo in last patch.
5137         Check X for NULL.
5138         (combine_reversed_comparison_code): Make static to follow
5139         prototype declaration.
5141 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
5143         * install.texi:  Remove misplaced duplicate entry.
5145 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5147         * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
5149 Thu Jan 11 17:06:30 EST 2001  John Wehle  (john@feith.com)
5151         * final.c: (leaf_function_p): Fix typo.
5153 2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>
5155         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
5156         Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
5157         which you have.
5158         (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
5159         * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
5160         mmap_anon, and valloc is available.
5161         * ggc-page.c: Restructure ifdef logic to match new autoconf
5162         spec.  Don't throw away the test page in init_ggc.
5164         * configure, config.in: Regenerate.
5166 2001-01-12  Michael Hayes  <mhayes@redhat.com>
5168         * loop.h (total_biv_increment): Constify iv_class pointer.
5169         (struct induction): Replace `mem_mode' with `mem' rtx.
5170         * unroll.c (total_biv_increment): Constify iv_class pointer.
5171         * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
5172         (find_mem_givs, combine_givs_p): Likewise.
5173         (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
5175 2001-01-10  Thomas Pfaff <tpfaff@gmx.net>
5177         * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
5178         LastError.
5179         (__gthread_getspecific): Ditto.
5181 Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
5183         * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
5184         put_condition_code): Convert fp comparison codes to integer
5185         before handling.
5186         (ix86_expand_fp_compare): Postnote the fp comparison code converison
5187         to final.
5189         * i386.c (unsigned_comparison, no_comparison_operator): Kill.
5190         * i386-protos.h (no_comparison_operator): Kill.
5192         * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
5194         * combine.c (REVERSIBLE_CC_MODE): Remove.
5195         (reversible_comparison_p): Remove.
5196         (combine_reversed_comparison_code): New.
5197         (reversed_comparison): New.
5198         (combine_simplify_rtx): Use
5199         combine_reversed_comparison_code/reversed_comparison instead
5200         of reversible_comparison_p.
5201         (simplify_if_then_else): Likewise.
5202         (simplify_set): Likewise.
5203         (simplify_logical): Likewise.
5204         (if_then_else_cond): Likewise.
5205         (known_cond): Likewise.
5206         (simplify_comparison): Likewise.
5208 2001-01-11  Alan Lehotsky  <lehotsky@tiac.net>
5210         * builtins.c (std_expand_builtin_va_start): Handle varargs when
5211         sizeof (int) is larger than sizeof(__word__).
5213 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
5215         * cppinit.c (do_includes): Fix typo.
5217 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5219         * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
5220         in S_REGS does not occur because not all sources are possible
5221         when a S_REGS is a destination (sometimes needs a clobber).
5222         (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
5223         (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
5224         (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
5225         (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
5226         (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
5227         (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
5228         (lshrdi_const1, lshrsi3_const16): Likewise.
5229         (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
5230         (*movhi_68hc12, *movqi_68hc12): Likewise.
5231         (movstrictqi): Make sure reloading in D_REGS as a destination
5232         does not happen.
5234 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
5236         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
5238 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
5240         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
5241         -D, -U and -A, and don't initialize the builtins.
5242         (do_includes): Error if -include or -imacros with -fpreprocessed.
5243         * cppmain.c (cb_define, cb_undef): Unconditionally process
5244         the callback.
5245         * tradcpp.c (main): Fix typo.
5247 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
5249          * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
5250            (read_name_map): Use IS_ABSOLUTE_PATH.
5251          * tradcpp.c (get_filename): Likewise.
5253 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5255         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
5256         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
5257         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
5258         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
5259         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
5260         (cmphi_z_used): Don't use '@' for the output.
5261         (tstqi_z_used): Likewise.
5262         (cmpqi_z_used): Likewise.
5263         (one_cmplsi2): Likewise.
5265 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
5267         * config/sh/sh.c (barrier_align): Recognize branch around far
5268         branch and redundant insn.
5270 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
5272         * invoke.texi: Restore documentation of the drivers' switches -MD
5273         and -MMD.
5275 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
5277         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
5279         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
5280         check-objc//%): Support parallel testing of multilibs.
5281         (TESTSUITEDIR): Set to testsuite by default, but override for
5282         parallel testing.
5283         (check-gcc, check-g++, check-g77, check-objc): Enter
5284         $(TESTSUITEDIR).
5286 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
5288         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
5289         * sched-deps.c (deps_may_trap_p): Likewise.
5290         * basic-block.h: Remove a comment.
5291         * flow.c (PROP_POSTRELOAD): Remove.
5292         (update_life_info): Don't add it to prop_flags.
5293         (mark_set_1): Lose the code that was enabled by it.
5295 2001-01-11  Michael Hayes  <mhayes@redhat.com>
5297         * flow.c (flow_call_edges_add): New.
5298         * basic_block.h (flow_call_edges_add): New.
5300 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
5302         * reload1.c (move2add_note_store): Update reg_set_luid even if
5303         base reg remains the same.
5305 2001-01-10  Nick Clifton  <nickc@redhat.com>
5307         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
5308         machine_function structure to zero.
5309         Add prototypes for machine_status functions.
5311 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
5313         * c-common.h (CTI_VOID_LIST): Remove.
5314         (void_list_node): Likewise.
5315         * tree.h (TI_VOID_LIST_NODE): New enumeral.
5316         (void_list_node): New macro.
5317         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
5318         * config/i386/i386.c (ix86_init_builtins): Likewise.
5319         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
5321 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
5323         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
5324         * cppinit.c (cpp_start_read): Update comment, remove unneeded
5325         if statement.
5326         * tradcpp.c: Include mkdeps.h.
5327         (deps, print_deps_phony_targets, deps_append, output_deps,
5328         init_dependency_output, output_deps): New.
5329         (deps_buffer, deps_allocated_size, deps_size, deps_column,
5330         deps_output): Delete.
5331         (print_deps_missing_files): Rename deps_missing_files.
5332         (inhibit_output): Make global.
5333         (main): Delete inhibit_output, deps_stream, deps_target.
5334         Use mkdeps functionality in the same way as cpplib.  Remove
5335         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
5336         -M and -MM.  Remove old handling of deps via deps_out, and
5337         old reading of environment variables.
5338         (get_filename): Update to use deps_add_dep.
5340 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
5342         * output.h (make_function_rtl): Remove prototype.
5343         (make_decl_rtl): Likewise.
5344         * varasm.c (make_function_rtl): Remove.
5345         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
5346         than from a third parameter.
5347         * tree.h (make_decl_rtl): Remove last parameter.
5348         * c-decl.c (builtin_function): Remove last argument in call to
5349         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
5350         (start_function): Likewise.
5351         * except.c (call_get_eh_context): Likewise.
5352         * expr.c (emit_block_move): Likewise.
5353         (clear_storage): Likewise.
5354         * profile.c (output_func_start_profiler): Likewise.
5355         * toplev.c (rest_of_decl_compilation): Likewise.
5356         * objc/objc-act.c (create_builtin_decl): Likewise.
5357         (synth_module_prologue): Likewise.
5358         (generate_static_reference): Likewise.
5359         (build_selector_reference_decl): Likewise.
5360         (build_class_reference_decl): Likewise.
5361         (build_objc_string_decl): Likewise.
5362         (build_protocol_reference): Likewise.
5364 2001-01-10  Richard Henderson  <rth@redhat.com>
5366         * hwint.h: Revert yesterday's change.
5368 2001-01-10  Nick Clifton  <nickc@redhat.com>
5370         * function.h (save_machine_status): Delete.
5371         (restore_machine_status): Delete.
5372         Amend comment describing {init|mark|free}_machine_status.
5374         * function.c (save_machine_status): Delete.
5375         (restore_machine_status): Delete.
5376         Amend comment describing {init|mark|free}_machine_status.
5377         (push_function_context_to): Remove invocation of
5378         save_machine_status.
5379         (pop_function_context_from): Remove invocation of
5380         restore_machine_status.
5382         * emit-rtl.c (init_emit_once): Amend comment describing
5383         {init|mark|free}_machine_status.
5385         * tm.texi (Per-Function Data): New node.  Describe the
5386         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
5387         function pointers.
5389 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
5391         * cppinit.c (OPT_g): Remove.
5392         (cpp_handle_option): Update for removed -g3.
5393         (print_help): Update.
5394         * cpplib.h (struct cpp_options): Remove debug_output.
5395         * cppmain.c (setup_callbacks, cb_define): Update.
5396         * gcc.c (cpp_options): Translate -g3 to -dD.
5398 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
5400         * config/i960/i960.md: Change modifier to + on the zero_extract
5401         pattern after the (rotate -2 reg) canonicalization pattern.
5403 2001-01-10  Richard Henderson  <rth@redhat.com>
5405         * config/alpha/alpha.c (alpha_free_machine_status): New.
5406         (override_options): Install it.
5407         (alpha_mark_machine_status): Verify machine non-null.
5408         * config/i386/i386.c (ix86_free_machine_status): New.
5409         (override_options): Install it.
5410         (ix86_init_machine_status): Use xcalloc.
5411         (ix86_mark_machine_status): Verify machine non-null.
5412         * config/ia64/ia64.c (ia64_free_machine_status): New.
5413         (ia64_override_options): Install it.
5414         (ia64_mark_machine_status): Verify machine non-null.
5416 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
5418         * function.c (instantiate_virtual_regs): Instantiate virtual
5419         registers found in CALL_INSN_FUNCTION_USAGE.
5421 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5423         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
5424         equivalent to -ansi in disabling -Di386.
5426 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
5428         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
5429         new functions.
5430         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
5432 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
5434         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
5436 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5438         * invoke.texi: Document that -fcond-mismatch isn't supported for
5439         C++.
5441 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5443         * gcc.texi: Define macro gcctabopt.
5444         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
5445         @command, @env and @option in some places where appropriate.  Use
5446         @gcctabopt where appropriate.  Put URLs and email addresses inside
5447         @w.
5449 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
5451         * gcc.c (cpp_options): Set MD file name from output
5452         filename, if specified.
5453         (suffix_subst): New static variable.
5454         (do_spec): Clear it.
5455         (do_spec_1, case '.'): Handle new `%.suffix' spec.
5456         Clear it.
5457         (give_switch): Handle suffix_subst.
5459 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
5461         * invoke.texi:  Fix another typo.
5463 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
5465         * invoke.texi:  Fix typo.
5467 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
5469         * c-lang.c (lang_hooks): Update.
5470         (lang_decode_option): Remove.
5471         (lang_init_options): Rename c_init_options.
5472         * toplev.c (main): Use lang_hooks for lang_init_options
5473         and lang_decode_option.
5474         * toplev.h (lang_hooks): Add 2 new hooks.
5475         * tree.h: Remove lang_init_options and lang_decode_option.
5476         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
5477         * cp/decl2.c: Similarly.
5478         * cp/lex.c (lang_init_options): Rename cxx_init_options.
5479         (lang_hooks): Update.
5480         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
5481         for consistency.
5482         (lang_init_options): Rename ffe_init_options.
5483         (lang_hooks): Update.
5484         (lang_decode_option): Remove.
5485         * java/lang.c (lang_init_options): Rename java_init_options.
5486         (lang_decode_option): Rename java_decode_option.
5487         (lang_hooks): Update.
5488         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
5489         (lang_decode_option): Rename objc_decode_option.
5490         (lang_hooks): Update.
5492 2001-01-09  Nick Clifton  <nickc@redhat.com>
5494         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
5495         (d30v_return_addr_rtx): Delete.
5496         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
5497         cfun->machine structure.
5498         (struct machine_function): Move to d30v.h
5499         (d30v_save_machine_status): Delete.
5500         (d30v_restore_machine_status): Delete.
5501         (d30v_init_machine_status): New Function.
5502         (d30v_mark_machine_status): New Function.
5503         (d30v_free_machine_status): New Function.
5504         (d30v_init_expanders): Use new functions.
5505         (d30v_return_addr): Use ra_rtx field in cfun->machine.
5506         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
5507         d30v_return_addr_rtx.
5509         * config/d30v/d30v.h (struct_machine): Move here.
5510         Add eh_epilogue_sp_ofs field.
5512         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
5513         field in cfun->machine structure.
5515 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5517         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
5518         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
5519         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
5521 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
5523         * objc/lang-options.h: Remove bogus reference to
5524         Java trademark.
5526 2001-01-09  Kazu Hirata  <kazu@hxi.com>
5528         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
5529         return the result.
5531 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
5533         * reload.c (find_reloads_address): Check for eliminable registers
5534                   when substituting a constant expression for a pseudo.
5536 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
5538         * c-common.c (enum format_type): Add format_type_error.
5539         (decode_format_type): New function.
5540         (decl_attributes): Use it.
5541         (format_kind_info): Adjust comment.
5543 2001-01-09  David O'Brien  <obrien@BSDi.com>
5545         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
5546         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
5547         files in tm_file.
5548         * config/i386/gnu.h: Don't include required platform specific .h files,
5549         tm.h will do it instead.
5550         * config/i386/i386elf.h: Likewise.
5551         * config/i386/linux.h: Likewise.
5552         * config/i386/moss.h: Likewise.
5553         * config/mips/gnu.h: Likewise.
5555 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5557         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
5558         (rs6000-ibm-aix3.[01]*): Likewise.
5559         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
5560         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
5561         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
5562         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5563         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
5564         (powerpc-*-eabiaix*): Likewise.
5565         (powerpc-*-eabisim*): Likewise.
5566         (powerpc-*-elf*): Likewise.
5567         (powerpc-*-eabi*): Likewise.
5568         (powerpc-*-rtems*): Likewise.
5569         (powerpc-*-linux*libc1): Likewise.
5570         (powerpc-*-linux*): Likewise.
5571         (powerpc-wrs-vxworks*): Likewise.
5572         (powerpcle-wrs-vxworks*): Likewise.
5573         (powerpcle-*-sysv*): Likewise.
5574         (powerpcle-*-elf*): Likewise.
5575         (powerpcle-*-eabisim*): Likewise.
5576         (powerpcle-*-eabi*): Likewise.
5577         (powerpcle-*-solaris2*): Likewise.
5578         * config/rs6000/aix31.h: Delete includes.
5579         * config/rs6000/aix3newas.h: Likewise.
5580         * config/rs6000/aix41.h: Likewise.
5581         * config/rs6000/aix43.h: Likewise.
5582         * config/rs6000/beos.h: Likewise.
5583         * config/rs6000/rtems.h: Likewise.
5584         * config/rs6000/sysv4.h: Likewise.
5586 2001-01-09  Kazu Hirata  <kazu@hxi.com>
5588         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
5589         Change an argument mode of machine_mode to shift_mode of
5590         shift_mode.  Remove an extra error check.
5591         (emit_a_shift): Adopt to the new calling prototype of
5592         get_shift_alg.
5593         (function_prologue): Fix code for a monitor
5594         function.  Support H8/S.
5595         (function_epilogue): Do not output pop for a monitor function.
5597 2001-01-09  Nick Clifton  <nickc@redhat.com>
5599         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
5600         (setup_incoming_varargs): Use sysv_varargs_p field of the
5601         cfun->machine structure.
5602         (struct machine_function): Move to rs6000.h
5603         (rs6000_save_machine_status): Delete.
5604         (rs6000_restore_machine_status): Delete.
5605         (rs6000_init_machine_status): New Function.
5606         (rs6000_free_machine_status): New Function.
5607         (rs6000_init_expanders): Use new functions.
5609         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
5610         export.
5611         (struct machine_function): Move here.
5613         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
5614         sysv_varargs_p field of the cfun->machine structure.
5616         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
5617         Remove prototype.
5618         (rs6000_restore_machine_status): Remove prototype.
5620 2001-01-09  Richard Henderson  <rth@redhat.com>
5622         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
5623         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
5624         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
5625         (sched_analyze_2, sched_analyze_insn): Likewise.
5626         (sched_analyze, init_deps): Likewise.
5627         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
5628         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
5629         (compute_block_backward_dependences): Update propagate_deps call.
5631 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
5633         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
5635 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
5637         * cppinit.c (OPT_MD, OPT_MMD): Restore.
5638         (cpp_handle_option): Handle them.
5639         (cpp_post_options): Ensure one of -M or -MM is specified with
5640         any other -M? option.
5641         (init_dependency_output): Suppress output with -MG.
5643 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
5645         * cpp.texi: Update.
5646         * invoke.texi: Update.
5648 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
5650         * sh.md (reload_outsf): Generate recognizable patterns for
5651         TARGET_SH3E.
5653 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
5655         * c-lang.c (lang_hooks): Update.
5656         (lang_init): Rename c_init.
5657         (lang_finish): Remove.
5658         * toplev.c (compile_file): Use lang_hooks for lang_init ()
5659         and lang_finish ().
5660         * toplev.h (lang_hooks): Add init () and finish ().
5661         * tree.h (lang_init, lang_finish): Remove.
5662         * cp/tree.h (lang_init, lang_finish): Remove.
5663         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
5664         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
5665         lang_hooks): New.
5666         (lang_init, lang_finish): Remove.
5667         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
5668         (lang_hooks): Update.
5669         * java/lang.c (lang_init): Rename java_init.
5670         (lang_finish): Remove.
5671         (lang_hooks): Update.
5672         * objc/objc-act.c (lang_init): Rename objc_init.
5673         (lang_finish): Remove.
5674         (lang_hoooks): Update.
5676 20001-01-09  Graham Stott  <grahams@redhat.com>
5678         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
5679         after `ptr` is initialised.
5681 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
5683         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
5684         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
5685         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
5686         stack adjusts, instead of r3.
5688 2001-01-09  Michael Hayes  <mhayes@redhat.com>
5690         * flow.c (flow_loop_scan): Break out of ...
5691         (flow_loops_find) ... here.
5692         * basic-block.h (flow_loop_scan): New.
5693         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
5694         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
5696 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
5698         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
5699         macro_buffer_len.
5700         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
5701         realloc()ing macro_buffer.
5703         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
5704         if it's wider than long and the target's long is wider than the
5705         host's.
5707 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
5709         Remove support for using UWIN as a host machine.
5710         * configure.in: Issue an error message.
5711         * configure: Regenerated.
5712         * config.gcc: Remove xm_* UWIN configury.
5713         * config/i386/xm-uwin.h: Remove.
5715 2001-01-08  Nick Clifton  <nickc@redhat.com>
5717         * config/v850/v850.c (ra_rtx): Delete.
5718         (v850_save_machine_status): Delete.
5719         (v850_restore_machine_status): Delete.
5720         (v850_init_machine_status): New function.
5721         (v850_mark_machine_status): New function.
5722         (v850_free_machine_status): New function.
5723         (v850_return_addr): Use ra_rtx field in machine structure.
5724         (v850_init_expanders): Use new functions.
5726         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
5727         * config/v850/v850.c: Change arguments to v850_output+* functions
5728         to take a const char *, to avoid compile time warning.
5729         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
5730         (USER_LABEL_PREFIX): Redefine.
5732 2000-01-08  Jim Wilson  <wilson@redhat.com>
5734         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
5735         1 to unsigned HOST_WIDE_INT before left shift.
5737 2001-01-08  Nick Clifton  <nickc@redhat.com>
5739         * config/arm/arm.c (arm_mark_machine_status): Check to see if
5740         the machine structure has been allocated.
5741         (arm_free_machine_status): New function: Free the machine
5742         specific function structure.
5744 2001-01-08  Richard Henderson  <rth@redhat.com>
5746         * jump.c (simplejump_p): Revert last change.
5748 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
5750         * cppinit.c (init): Rename init_library.
5751         (cpp_create_reader): Update.
5752         * gcc.c (cpp_options): If -o given, use it as the target of
5753         any -M options.
5755 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
5757         * arm.c (arm_arch5e): New variable.
5758         (all_cores): XScale is a 5TE device.
5759         (arm_override_options): Set arm_arch5e.
5760         (arm_init_builtins): __builtin_prefetch is in arch5e.
5761         * arm.h (arm_arch5e): Declare it.
5763         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
5765         * arm.md (define_constants): Add defines for UNSPEC and
5766         UNSPEC_VOLATILE insns.  Update all users.
5767         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
5768         * arm.c (multi_register_push, note_invalid_constants)
5769         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
5770         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
5771         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
5773 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
5775         * jump.c (jump_optimize_1): Use reversed_comparison_code
5776         instead of can_reverse_comparison_p.
5777         (jump_back_p): Likewise.
5778         (invert_exp_1): Likewise.
5779         (thread_jumps): Likewise.
5780         * simplify-rtx.c (simplify_unary_operation): Likewise.
5781         (simplify_ternary_operation): Likewise.
5782         * cse.c (find_comparison_args): Convert to use
5783         can_reverse_comparison_p.
5784         (record_jump_equiv): Likewise.
5786 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
5788         * arm.h (HARD_REGNO_RENAME_OK): Delete.
5789         (EPILOGUE_USES): Define.
5790         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
5791         automatically stack the LR if it isn't live.
5793 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
5795         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
5796         properly.
5798 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
5800         * ggc-page.c (max_alignment): New structure.
5801         (MAX_ALIGNMENT): New macro.
5802         (init_ggc): Use it to round up the sizes in the
5803         extra_order_size_table.
5805 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5807         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
5808         after reload.
5810 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5812         * builtins.def (BUILT_IN_FPRINTF): New entry.
5814         * c-common.c (c_expand_builtin_fprintf): New function.
5815         (init_function_format_info): Handle __builtin_fprintf.
5816         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
5817         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
5819         * c-decl.c (duplicate_decls): Adjust comment.
5821         * extend.texi (fprintf): Document new builtin.
5823 2001-01-07  Richard Henderson  <rth@redhat.com>
5825         * jump.c (simplejump_p): Recognize any single_set jump
5826         of the proper form.
5828 2001-01-07  Richard Henderson  <rth@redhat.com>
5830         * configure.in (slibdir): Accept an --with-slibdir option.
5831         Use "test" not "[" in configure.  Default to $(libdir).
5833         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
5834         fix typo in rm -f.
5835         * config/t-aix43 (SHLIB_INSTALL): Likewise.
5836         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
5837         (SHLIB_LINK): Create links for the soname.
5838         * config/mips/t-iris6: Likewise.
5839         * config/sparc/t-slibgcc: Likewise.
5840         * config/sparc/t-slibgcc-sld: Likewise.
5842 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
5844         * config/i386/i386.c (constant_call_address_operand): Accept
5845         (const (plus (symbol_ref) (const_int))).
5846         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
5847         constant_call_address_operand.
5849 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5851         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
5852         and LONG_LONG_TYPE_SIZE > 32.
5854 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5856         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
5857         the previous change.
5859 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
5861         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
5862         New.
5863         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
5864         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
5865         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
5866         Declare.
5868 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
5870         * fix-header.c (read_scan_file): s/pfile/scan_in/.
5872 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
5874         * c-lang.c (c_post_options): Call cpp_post_options.
5875         * objc/objc-act.c (objc_post_options): Similarly.
5876         * cppmain.c (main): Similarly.
5877         * fix-header.c (read_scan_file): Similarly.
5878         * cppinit.c (cpp_start_read): Move option consistency checks
5879         to cpp_post_options.  Don't call init_dependency_output.
5880         If needed, add default target and main file dependency.
5881         (OPT_MD, OPT_MMD): Remove.
5882         (OPT_MF): New.
5883         (cpp_handle_option): Update for OPT_* changes.
5884         (cpp_post_options): New.
5885         (init_dependency_output): Command line -MF overrides environment
5886         variables.  Don't set default target etc.  Suppress output
5887         if dependencies are going to stdout.
5888         (print_help): Update.
5889         * cpplib.h (cpp_post_options): New.
5890         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
5892 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
5894         * jump.c (comparison_dominates_p): Support unordered compares.
5896 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
5898         * simplify-rtx.c (simplify_relational_operation): Always simplify
5899         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
5900         and UNGE.
5902 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
5904         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
5905         (nonzero_bits): Likewise.
5906         (simplify_comparison): Likewise.
5907         (num_sign_bit_copies): Likewise; return more sane value depending
5908         on STORE_FLAG_VALUE.
5909         (known_cond): Do not assume EQ to be always true for equivalent
5910         operands.
5912 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
5914         * cse.c (fold_rtx): Handle unordered comparisons.
5916 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
5918         * rtlanal.c (set_of_1): New static function.
5919         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
5920          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
5921          reg_set_last_last_regno): Remove.
5922         (set_of): New global function.
5923         (set_of_data): New structure.
5924         (reg_set_p, reg_set_last): Revamp for set_of.
5925         * rtl.h (set_of): New.
5927 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
5929         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
5930         * extend.texi: Document _Exit builtin.
5932 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
5934         * (initialize, initialize_builtins,
5935         initialize_dependency_output, initialize_standard_includes):
5936         Rename s/initialize/init. Update.
5937         (init_dependency_output): Move to after
5938         cpp_handle_options, the correct location temporally at least.
5939         (opt_comp): Move next to init (), its caller.  Fix prototype.
5940         (init): Make "initialized" local scope.
5941         (cpp_create_reader): Always call init ().
5942         (cpp_start_read): Update.
5943         (output_deps): New function, broken out of cpp_finish.
5944         (cpp_finish): Break out output_deps.
5946 2001-01-07  Richard Henderson  <rth@redhat.com>
5948         * collect2.c (COFF specific stuff): Revert 12-06 patch
5949         to prototype system functions.
5951 2001-01-07  Michael Hayes  <mhayes@redhat.com>
5953         * hard-reg-set.h: Add multiple include guard.
5954         * basic-block.h (struct loop): Add `sink' field.
5955         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
5956         (emit_iv_add_mult): Delete.
5957         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
5958         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
5959         (unroll_loop): Remove end_insert_before argument.
5960         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
5961         (maybe_eliminate_biv_1): Likewise.
5962         (emit_iv_add_mult): Delete.
5963         (gen_add_mult, loop_regs_update): New.
5964         (loop_insn_emit_after, loop_insn_emit_before): New.
5965         (loop_insn_sink, loop_insn_sink_or_swim): New.
5966         (emit_iv_add_mult): Delete.
5967         (scan_loop): Set loop->sink.
5968         (loop_givs_reduce): Use loop_insn_sink and its ilk.
5969         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
5970         (maybe_eliminate_biv_1): Likewise.
5971         (maybe_eliminate_biv_1): Add basic block argument.
5972         * unroll.c (unroll_loop): Remove end_insert_before argument.
5973         (find_splittable_regs): Likewise.
5974         (find_splittable_regs): Use loop_insn_sink and its ilk.
5975         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
5977 2001-01-07  Michael Hayes  <mhayes@redhat.com>
5979         * loop.h (loop_insn_hoist): New prototype.
5980         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
5981         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
5982         (check_dbra_loop, load_mems): Likewise.
5983         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
5984         (find_splittable_givs): Likewise.
5986 2001-01-07  Michael Hayes  <mhayes@redhat.com>
5988         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
5990 2001-01-07  Richard Henderson  <rth@redhat.com>
5992         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
5994 2001-01-07  Richard Henderson  <rth@redhat.com>
5996         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
5997         NO_SHARED_LIBGCC_MULTILIB as required for the target.
5998         * gcc.c (init_spec): Massage the existing libgcc_spec into a
5999         variant that handles a shared libgcc.
6000         (process_command): Always validate -{static,shared}-libgcc.
6001         (do_spec_1): New 'M' case.
6002         * invoke.text (Link Options): Document -{static,shared}-libgcc.
6004 2001-01-07  Richard Henderson  <rth@redhat.com>
6006         * Makefile.in (slibdir): New variable.
6007         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
6008         (installdirs): Create slibdir.
6009         (install-libgcc, install-multilib): Defer to libgcc.mk.
6010         * configure.in (slibdir): Substitute.
6011         * mklibgcc.in (install): New target.
6013         * config/t-linux (SHLIB_LINK): Create links for the soname.
6014         (SHLIB_INSTALL): New.
6015         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
6016         * config/mips/t-iris6 (SHLIB_INSTALL): New.
6017         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
6018         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
6019         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
6021 2001-01-07  Richard Henderson  <rth@redhat.com>
6023         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
6024         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
6025         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
6027 2001-01-07  Michael Hayes  <mhayes@redhat.com>
6029         * loop.c (count_loop_regs_set): Delete.
6030         (load_mems_and_recount_loop_regs_set): Delete.
6031         (loop_regs_scan): Merge common code from count_loop_regs_set,
6032         scan_loop, and load_mems_and_recount_loop_regs_set.
6033         (scan_loop): Call load_mems directly and loop_regs_scan
6034         again if new registers created.
6036 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
6038         * toplev.c (main): Call the front-end specific post_options
6039         hook if one is given.
6040         * toplev.h (struct_lang_hooks, lang_hooks): New.
6041         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
6042         for the C front end.
6043         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
6044         lang_hooks for the C++ front end.
6045         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
6046         lang_hooks for the ObjC front end.
6047         * f/com.c (lang_hooks): Hooks for the Fortran front end.
6048         * java/lang.c (lang_hooks): Hooks for the Java front end.
6050 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
6052         * c-lex.c (init_c_lex): Request #define / #undef callbacks
6053         for verbose DWARF[2] debugging.
6054         (cb_define, cb_undef): The new callbacks.
6055         * toplev.h (debug_define, debug_undef): Make const correct.
6056         * toplev.c (debug_define, debug_undef): Similarly.  Do not
6057         perform the verbosity tests here anymore.
6059 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
6061         * reload.c (subst_reloads): Take INSN argument.  When
6062         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
6063         * reload.h (subst_reloads): Adjust prototype.
6064         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
6065         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
6066         present in JUMP_INSNs and copy them to JUMP_LABEL.
6067         * flow.c (find_label_refs, find_basic_blocks_1): Skip
6068         JUMP_INSNs and insns with REG_LABELs that are followed by
6069         JUMP_INSNs with the same REG_LABEL.
6070         * sched-rgn.c (is_cfg_nonregular): Likewise.
6071         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
6072         note is available.
6073         * unroll.c (unroll_loop): Look for REG_LABEL notes in
6074         JUMP_INSNs too.
6075         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
6077 2001-01-06  Richard Henderson  <rth@redhat.com>
6079         * loop.c (scan_loop): Use xcalloc for the regs array.
6080         (load_mems_and_recount_loop_regs_set): Zero the new memory
6081         received from xrealloc.
6083 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
6085         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
6087 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
6089         * integrate.c (copy_rtx_and_substitute): When copying
6090         an ignored return value, strip REG_FUNCTION_VALUE_P.
6092 2001-01-06  Michael Hayes  <mhayes@redhat.com>
6094         * loop.c (debug_biv, debug_giv): New.
6095         (loop_biv_dump): Break out from ...
6096         (record_biv): ... here.
6097         (loop_giv_dump): Break out from ...
6098         (record_giv): ... here.
6099         (loop_bivs_check): Use print_simple_rtl.
6100         * unroll.c (loop_iterations): Use print_simple_rtl.
6102 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6104         * pa.md (return, return_internal): Modify patterns to prevent regrename
6105         mucking with the return pointer.
6107 2001-01-05  Richard Henderson  <rth@redhat.com>
6109         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
6111 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
6113         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
6114         version supplied by Matteo Frigo.
6116 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
6118         * cpp.texi: Update for -MQ.
6119         * cppinit.c (cpp_create_reader): Always create pfile->deps.
6120         (cpp_cleanup): Always free pfile->deps.
6121         (initialize_dependency_output): Don't create pfile->deps.
6122         (cpp_handle_option): Similarly.
6123         (OPT_MQ): New.
6124         * gcc.c (cpp_options): Handle -MQ.
6125         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
6126         * mkdeps.c (base_name): Remove.
6127         (deps_init): Don't allocate vector space until it's needed.
6128         (deps_free): Only free vectors if allocated.
6129         (deps_add_target, deps_add_dep): Update for initial allocation.
6130         (deps_add_default_target): Don't strip to the base_name.
6132 2001-01-05  DJ Delorie <dj@redhat.com>
6134         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
6135         (INIT_EXPANDERS): Define.
6137         * config/v850/v850.c (struct machine_function): Define.
6138         (v850_save_machine_status): New function.
6139         (v850_restore_machine_status): New function.
6140         (v850_return_addr): New function.
6141         (v850_init_expanders): New function.
6143         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
6144         and v850_init_expanders.
6146 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
6148         * cpplib.h (struct cpp_reader): Add help_only field.
6149         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
6150         (cpp_handle_option): Set pfile->help_only if we see -h,
6151         --help, -target-help, or --version.  Print version string but
6152         do not set help_only if we see -v or -version.  Make text
6153         printed by -v match that printed by (-)-version.
6155         * cppmain.c (main): Exit after option parsing if
6156         pfile->help_only is true.
6158         * toplev.c (independent_decode_option): Call print_version,
6159         then exit, if we see --version (but not -version).
6160         (print_version): Split lengthy message into two lines.
6162 2001-01-05  Nick Clifton  <nickc@redhat.com>
6164         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
6165         temporary string for initialisation before calling ggc_alloc_string.
6167 2001-01-06  Michael Hayes  <mhayes@redhat.com>
6169         * rtl.h (print_simple_rtl): New.
6170         * print-rtl.c (print_simple_rtl): New.
6171         (flag_simple): New.
6172         (print_rtx): Disable printing of flags and modes, etc.,
6173         if `flag_simple` nonzero.
6175 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
6177         * function.c (fixup_var_refs): Use push_to_full_sequence where
6178         possible.
6180 2001-01-05  Michael Meissner  <meissner@redhat.com>
6182         * flags.h (flag_reorder_blocks): Add declaration.
6183         (flag_rename_block): Ditto.
6185 2001-01-05  DJ Delorie  <dj@redhat.com>
6187         * function.c (reorder_blocks): Make sure the flags are all reset
6188         before using them to mark blocks, else a second invocation will
6189         corrupt the block chain.
6190         (reorder_blocks_0): New, resets the flags.
6192 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
6194         * cse.c (find_comparison_args): Stop if the argument is known to
6195         be constant.
6197 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
6199         * config/sh/sh.md (movdf): When splitting load into pair of
6200         registers, don't clobber the register used in the address too
6201         early.
6203 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
6205         * varasm.c (mark_constant_pool): Improve initial comments.
6206         (mark_constants): Move marking of constants to mark_constant.
6207         (mark_constant): New function to recursively mark all constants
6208         referred to by a constant.
6210 2001-01-05  Catherine Moore  <clm@redhat.com>
6212         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
6214 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
6216         * cp/lang-options.h:  Bring comment in line with reality.
6217         * f/lang-options.h:  Likewise.
6218         * java/lang-options.h:  Likewise.
6219         * objc/lang-options.h:  Likewise.
6220         * ch/lang-options.h:  Likewise.
6221         * f/g77.texi:  And update the manual.
6223 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
6224             Denis Chertykov  <denisc@overta.ru>
6226         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
6227         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
6228         * config/avr/avr.md (all peepholes that request a scratch register):
6229         Call it, FAIL the peephole if not safe (in interrupt functions).
6231 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
6233         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
6235 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6237         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
6238         Define.
6239         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
6240         BUILT_IN_CREAL and BUILT_IN_CIMAG.
6241         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
6242         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
6243         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
6244         BUILT_IN_CIMAG.
6245         * extend.texi: Document these builtins.
6247 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
6249         * c-common.c (lang_get_alias_set): Say we know nothing of
6250         VECTOR_TYPE aliasing.
6252         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
6254 2001-01-05  Bruce Korb  <bkorb@gnu.org>
6256         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
6257         their x* equivalent versions for atexit-less systems
6258         * fixinc/fixincl.c(main): do not return from main() on atexit-less
6259         systems (or any other system any more).
6261 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
6263         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
6264         output operands.  Use arm_hard_register_operand for operand 4.
6265         (stmsi_postinc): Similarly.
6266         (ldmsi): Use arm_hard_register_operand for opernand 2.
6267         (stmsi): Similarly.
6268         * arm.c (arm_hard_register_operand): New function.
6269         * arm-protos.h (arm_hard_register_operand): Prototype it.
6271         * arm.h (HARD_REGNO_RENAME_OK): Define.
6273 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
6275         * simplify-rtx.c (cfc_args): add "unordered" field.
6276         (check_fold_consts): Set unordered field.
6277         (simplify_relational_operation): Simplify the unordered
6278         comparisons.
6280         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
6281         is valid.
6283         * emit-rtl.c (try_split): Fix code to mark labels.
6284         * jump.c (mark_jump_label): Make global.
6285         * rtl.h (mark_jump_label): Declare.
6287         * predict.c (estimate_probability): Handle unordred comparisons.
6289 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
6291         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
6292         * cppinit.c (initialize_dependency_output):  Update.
6293         (cpp_finish): Output dummy targets for -MP.
6294         (OPT_MP): New.
6295         (cpp_handle_option): Handle -MP.  Don't quote -MT options.
6296         * cpplib.h (struct cpp_options): Add deps_phony_targets.
6297         * gcc.c (cpp_options): Update to handle -MP.
6298         * mkdeps.c (deps_add_target, deps_add_default_target): Update
6299         to quote only the default target.
6300         (deps_phony_targets): Insert a preceding newline.  Rename from
6301         deps_dummy_targets for consistency.
6302         * mkdeps.h: Update
6304 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
6306         * calls.c (emit_library_call_value_1): Support
6307         INIT_CUMULATIVE_LIBCALL_ARGS.
6308         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
6310 2001-01-04  Richard Henderson  <rth@redhat.com>
6312         * c-decl.c (finish_struct): Detect flexible array members
6313         used in an inappropriate context.
6314         * c-typeck.c (really_start_incremental_init): Special case
6315         constructor_max_index for zero length arrays.
6316         (pop_init_level): Allow initialization of flexible array
6317         members.  Deprecate initialization of zero length arrays.
6318         Don't issue missing initializer warning for flexible array
6319         members or zero length arrays.
6320         (process_init_element): Don't dereference null DECL_SIZE.
6321         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
6322         Don't abort for empty constructors.  Use size_binop
6323         (output_constructor): Add commentary regarding zero length
6324         array futures.  Abort if we try to initialize an array of
6325         unspecified length with a non-empty constructor in the middle
6326         of a structure.
6328         * extend.texi (Zero Length): Update and clarify documentation
6329         on static initialization.
6331 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6333         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
6334         with more than 32767 words of local storage.
6336 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6338         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
6339         for 'abs', 'labs', and 'fabs'.
6340         (c4x_expand_builtin): Likewise.
6341         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
6343 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
6345         * config/sh/sh.md (prget, prset): New insn types.
6346         (return delay slot): Dont' allow prset.
6347         (call, sfunc delay slot): Don't allow prget.
6348         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
6349         for prset and prget.
6351 2001-01-05  Michael Hayes  <mhayes@redhat.com>
6353         * loop.h (struct loop_reg): New.
6354         (struct loop_regs): Change to use array of `struct loop_reg'.
6355         * loop.c: Replace assortment of varrays with single regs array.
6356         (count_one_set): Delete may_not_move array argument
6357         and use regs array instead.  All caller's changed.
6358         (count_loop_regs_set): Delete may_not_move and single_usage
6359         arguments and use regs array instead.  All caller's changed.
6360         (find_single_use_in_loop): Replace usage array argument with pointer
6361         to regs structure.  All caller's changed.
6362         (loop_optimize): Delete `moved_once' array.
6364 2001-01-05  Michael Hayes  <mhayes@redhat.com>
6366         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
6367         Use it instead of loop_info->has_call for scanning loop mems.
6368         (check_dbra_loop): Replace loop_info->has_call test with
6369         loop_info->has_nonconst_call.
6371 2000-01-04  Matthew Hiller  <hiller@redhat.com>
6373         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
6374         for TARGET_SH3E.
6376 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
6378         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
6379         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
6381 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
6383         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
6384         (flag_short_double, flag_short_wchar): Define.
6385         (c_common_nodes_and_builtins): Create many tree nodes shared
6386         between C and C++ here instead of in cp/decl.c and ...
6387         * c-decl.c (init_decl_processing): ... here.
6388         (SIZE_TYPE, WCHAR_TYPE): Don't define.
6389         (flag_short_double, flag_short_wchar): Don't define.
6390         (record_builtin_type): New function.
6391         (build_void_list_node): New function.
6392         * c-common.h (flag_short_double, flag_short_wchar,
6393         record_builtin_type, build_void_list_node): Declare.
6395 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
6397         * integrate.c (expand_inline_function): Don't put a virtual
6398         register into the reg map.
6400         * function.c (fixup_var_refs_1): If force_operand didn't put
6401         the address into the target, move it there.
6403 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
6405         Special-case tree_decl/tree_list allocations.
6406         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
6407         (OBJECT_SIZE): New macro.
6408         (NUM_EXTRA_ORDER): Likewise.
6409         (extra_order_size_table): New variable.
6410         (NUM_ORDERS): New macro.
6411         (objects_per_page_table): New variable.
6412         (object_size_table): New variable.
6413         (G.pages): Use NUM_ORDERS to bound the array.
6414         (G.page_tails): Likewise.
6415         (DIV_ROUND_UP): Remove.
6416         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
6417         (alloc_page): Use OBJECT_SIZE.
6418         (size_lookup): Don't make it const.
6419         (ggc_alloc): Use OBJECT_SIZE.
6420         (ggc_set_mark): Likewise.
6421         (ggc_get_size): Likewise.
6422         (init_ggc): Set up the object_size_table, objects_per_page_table,
6423         and adjust size_lookup.
6424         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
6425         (ggc_pop_context): Use NUM_ORDERS.
6426         (clear_marks): Likewise.
6427         (sweep_pages): Likewise.
6428         (poison_pages): Likewise.
6429         (ggc_print_statistics): Use OBJECT_SIZE.
6431 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6433         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
6434         Only call array_size_for_constructor if last field and array type
6435         with no upper bound.
6437 2001-01-04  Philip Blundell  <philb@gnu.org>
6439         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
6440         from bit 31 downwards, if this requires no more insns.
6441         (count_insns_for_constant): New helper function for above.
6443 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
6445         * gencodes.c (output_predicate_decls): Remove empty initializer.
6447 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
6449         * tree.c (copy_node): Remove documentation about obstacks.
6450         (buidl1): Check that nobody tries to build 2-argument nodes this
6451         way.
6453 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6455         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
6456         fp_high_losum_p.
6458         * gencodes.c (output_predicate_decls): Fill empty initializer
6459         braces.
6461 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6463         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
6464         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
6465         or -MM.
6466         (do_include): Handle missing headers like cpp0.
6467         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
6468         paths with first include pathname.  Don't strcat to uninitialized
6469         string.
6471 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
6473         * regrename.c (regrename_optimize): Don't rename from frame pointer
6474         if frame_pointer_needed.
6475         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
6476         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
6477         (ia64_reorg): Use it instead of scheduling if ! optimize.
6478         (errata_emit_nops): Properly call asm_noperands.
6479         (ia64_sched_reorder): Finish cycle if we see an asm.
6480         (ia64_variable_issue): Clear scheduling state after asms.
6482 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
6484         * cpp.texi: Update for -MT.
6485         * cppinit.c (initialize_dependency_output): Add a default
6486         target if none has been given already.
6487         (no_tgt, OPT_MT): New.
6488         (cpp_handle_option): Handle -MT.  Update -M etc.
6489         * cpplib.h (struct cpp_options): Remove deps_target.
6490         * gcc.c (cpp_options): Handle -MT.
6491         * mkdeps.c (struct deps): Move from mkdeps.h.
6492         (deps_calc_target): Rename deps_add_default_target.  Add a
6493         default target if none has been specified already.
6494         * mkdeps.h (struct deps): Move to mkdeps.c.
6495         (deps_calc_target): Rename deps_add_default_target.
6497 2000-01-03  Richard Henderson  <rth@redhat.com>
6499         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
6500         Remove dead code.
6501         * c-typeck.c (push_init_level): Move checks for flexible array
6502         members and zero length arrays ...
6503         (pop_init_level): ... here.  Silently discard empty initializations.
6504         Remove dead code.
6505         * varasm.c (output_constructor): Update for sizeof change to
6506         zero-length arrays.
6508         * extend.texi (Zero Length): Clarify semantics.
6510 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
6512         * configure.in (tm.h): Include isns-codes.h last.
6513         * configure: Rebuilt.
6515 2001-01-03  Richard Henderson  <rth@redhat.com>
6517         * config/alpha/alpha.md (addvsi3, addvdi3): New.
6518         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
6520 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6522         * tradcpp.c (main): Make sure finclude() is called with a valid
6523         indepth value while handling -include.
6525 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
6527         * gencodes.c (output_predicate_decls): New function.
6528         (main): Call it.
6529         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
6530         even if it is not the first time machmode.h is #included.
6531         * config/sh/sh.c (fpul_operand): Declare MODE argument.
6532         * tm.texi (PREDICATE_CODES): Document predicate declarations.
6533         * gcc.texi (Copyright): Added 2001.
6535 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
6537         * c-common.c (c_common_lang_init): New function.  Warn if format
6538         warning options which only have effects when used with -Wformat
6539         are used without -Wformat.
6540         * c-common.h (c_common_lang_init): Declare.
6541         * c-lang.c (lang_init): Call c_common_lang_init.
6542         * objc/objc-act.c (lang_init): Call c_common_lang_init.
6544 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
6546         * configure.in: Check for the mktemp command.
6547         * configure: Regenerate.
6548         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
6549         $TEMP.  Create temporary files with mktemp, if available at
6550         configure time; otherwise use set -C.  Remove temporary files
6551         before exit.
6553 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
6555         * configure.in: Require at least texinfo 4.0.  Check for whether
6556         Pod::Man is sufficiently recent to regenerate GCC manpages.
6557         * configure:  Regenerate.
6558         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
6559         on #!.
6560         (GENERATED_MANPAGES): Define.
6561         (generated-manpages): New target.  Depend on cpp.1 as well as
6562         gcov.1.
6563         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
6564         configure to generated-manpages or empty) rather than on the
6565         manpages directly.  Remove execute permission from installed
6566         gcov.1 as well as cpp.1.
6567         * cpp.1, gcov.1: Regenerate.
6569 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6571         * builtins.c (expand_builtin_strncmp): Use host_integerp and
6572         tree_low_cst.  Allow using cmpstrsi in more cases.
6574 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6576         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
6577         sized types.
6579 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
6581         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
6582         * Makefile.in (HOST_CFLAGS): Mention build-make.
6584 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6586         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
6587         as JUMP_INSN.
6589 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
6591         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
6592         a REG rtx.
6594         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
6595         callers changed.
6597         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
6598         reg_base_value and reg_known_value arrays.
6599         (init_alias_analysis): Add more cases to detect known values.
6600         * sched-deps.c (deps_may_trap_p): New function.
6601         (sched_analyze_2): Use it.
6603 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
6605         * combine.c (simplify_shift_const): Even if we're sign-extracting,
6606         don't discard an ASHIFTRT if we're shifting in a wider mode.
6608 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6610         * toplev.c (rest_of_compilation): Don't print basic block information
6611         when CFG isn't up to date.
6613 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
6615         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
6616         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
6617         (UNALIGNED_SHORT_ASM_OP): Define.
6618         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
6620 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
6622         * fold-const.c (fold_convert): Fix typo.
6624 2001-01-02  Richard Henderson  <rth@redhat.com>
6626         * c-common.h (ASM_INPUT_P): New.
6627         * c-parse.in (asm): Set it when needed.
6628         * c-semantics.c (genrtl_asm_stmt): Test it instead of the
6629         existance of an operand.
6631 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
6633         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
6634         (dwarf2out_frame_debug_expr): Likewise.
6635         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
6637 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
6639         * i386.c (ix86_split_to_parts): Return number of part required;
6640         handle TFmodes.
6641         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
6642         TFmodes.
6643         (ix86_split_long_move): Use number of part returned
6644         by ix86_split_to_parts
6645         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
6646         New macros.
6647         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
6648         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
6649         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
6650         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
6651         (ALIGN_MODE_128): Add TFmode.
6652         (IS_STACK_MODE): Likewise.
6653         (HARD_REGNO_NREGS): TFmode needs 3 registers.
6654         (HARD_REGNO_OK): Support TFmodes.
6655         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
6656         * i386.md (scheduler definitions): Use memory operand to determine
6657         fst/fld instructions; use mode attribute to determine real mode of
6658         the instruction.
6659         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
6660         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
6662 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
6664         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
6666 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
6668         * expr.c (store_constructor_field): Update ALIGN before calling
6669         store_constructor.
6671 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
6673         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
6674         host_integerp.
6676 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
6678         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
6679         incomplete type.
6681 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
6683         * c-decl.c (start_function): Don't warn on third parameter to main.
6685 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6687         * tsystem.h: Define HAVE_DECL_GETOPT.
6689 2001-01-02  Philip Blundell  <pb@futuretv.com>
6691         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
6692         of input operand.
6694 2001-01-02  Richard Henderson  <rth@redhat.com>
6696         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
6698 2001-01-02  Andreas Jaeger  <aj@suse.de>
6700         * c-decl.c (c_decode_option): Remove support of
6701         -Wmissing-noreturn.
6703         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
6704         (W_options): Add -Wmissing-noreturn here.
6706         * flow.c: Define lang_missing_noreturn_ok_p.
6707         (check_function_return_warnings): Use it.
6709         * c-common.h: Declare lang_missing_noreturn_ok_p.
6711         * c-lang.c (c_missing_noreturn_ok_p): New function.
6712         (lang_init): Set lang_missing_noreturn_ok_p.
6714         * invoke.texi (Warning Options): Document this.
6716 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
6718         * extend.texi (C++ Extensions):  New node for C++ attributes;
6719           describe init_priority and com_interface.
6720         * invoke.texi:  Remove -finit-priority as it now has zero effect.
6721         * install.texi:  Fix xref syntax.
6722         * md.texi:  Likewise.
6724 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6726         * config.gcc (sparc64-wrs-vxworks*): New case.
6727         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
6729         * config/sparc/sparc.c (sparc_override_options): Do support different
6730         pointer and architecture size.
6731         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
6732         (POINTERS_EXTEND_UNSIGNED): Define.
6733         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
6734         (FUNCTION_MODE): Define to be Pmode.
6735         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
6737         * function.c (expand_function_end): Properly handle DECL_RESULT
6738         and copy when ptr_mode != Pmode.
6739         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
6741 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6743         * c-common.c (c_common_nodes_and_builtins): Set prototype
6744         parameters for __builtin_fputs, __builtin_fputc and
6745         __builtin_fwrite.  Don't declare plain fputc as a builtin.
6747 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6749         * loop.c (add_label_notes): Increment the label usage count when
6750         a note is added to an insn which refers to a CODE_LABEL.
6751         * gcse.c (add_label_notes): Likewise.
6753 2001-01-01  Andreas Jaeger  <aj@suse.de>
6755         * loop.c (scan_loop): Use xmalloc to allocate movables.
6757 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
6759         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
6760         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
6761         * reload1.c (REGISTER_MOVE_COST): Likewise.
6762         * regclass.c (REGISTER_MOVE_COST): Likewise.
6763         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
6764         dimension.  Adjust all users.
6765         (init_reg_sets_1): Iterate on all modes.
6766         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
6767         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
6768         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
6769         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
6770         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
6771         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
6772         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
6773         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
6774         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
6775         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
6776         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
6777         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
6778         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
6779         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
6780         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
6781         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
6782         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
6783         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
6784         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
6785         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
6786         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
6787         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
6788         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
6789         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
6790         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
6791         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
6792         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
6794 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
6796         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
6797         arg VARIES_P.  Call it with extra arg.
6798         (true_dependence): Likewise.
6799         * rtl.h (rtx_addr_can_trap_p): Declare.
6800         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
6801         prototypes.
6802         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
6803         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
6804         pic offset table register if it's zero.  All callers changed.
6805         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
6807 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6809         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
6810         STRING_POOL_ADDRESS_P.
6812         * config/sparc/sparc.c (input_operand): Properly test for short op.
6814         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
6815         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
6816         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
6817         * config/sparc/elf.h: No longer include sol2.h.
6818         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
6819         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
6821         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
6823 2001-01-01  Michael Hayes  <mhayes@redhat.com>
6825         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
6826         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
6827         (record_initial): Likewise.
6828         * unroll.c (copy_loop_body, loop_iterations): Likewise.
6829         (remap_split_bivs): Likewise.
6831 2001-01-01  Michael Hayes  <mhayes@redhat.com>
6833         * loop.c (loop_ivs_free): New function.
6834         (strength_reduce): Break out from...
6836 2001-01-01  Michael Hayes  <mhayes@redhat.com>
6838         * loop.h (struct iv): New.
6839         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
6840         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
6841         'reg_biv_class' fields with 'regs' and 'n_regs'.
6842         (struct ivs): Rename 'loop_iv_list' field to 'list'.
6843         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
6844         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
6846 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
6848         * resource.c (mark_referenced_resources): Abort() before
6849         attempting to mark a pseudo register.
6850         (mark_set_resources): Likewise.
6852 2001-01-01  Michael Hayes  <mhayes@redhat.com>
6854         * loop.h (REG_IV_CLASS): New accessor macro.
6855         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
6856         * unroll.c (REG_IV_CLASS): Likewise.
6858 See ChangeLog.4 for earlier changes.