OSDN Git Service

0d930056e24aea9591d20127b6cefeb4aad6192c
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-05-16  Richard Henderson  <rth@redhat.com>
2
3         * dwarf2asm.c (eh_data_format_name): Add names for "pointer size" 
4         variants of non-absolute encodings.
5
6         * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
7
8         * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
9         __register_frame_info_table_bases): Export.
10
11 2001-05-16  Richard Henderson  <rth@redhat.com>
12
13         * except.c (eh_data_format_name): Move to ...
14         * dwarf2asm.c: ... here.  Use designated initializers if available.
15         (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
16         * dwarf2asm.h: Update declarations.
17         * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
18         ASM_PREFERRED_EH_DATA_FORMAT.
19         (output_call_frame_info): Likewise.  Use 'L' augmentation for
20         the LSDA encoding.
21
22         * unwind-dw2-fde.h (struct fde_vector): New.
23         (struct old_object): Rename from struct object.
24         (struct object): New.
25         (__register_frame_info_bases): Declare.
26         (__register_frame_info_table_bases): Declare.
27         (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
28         * unwind-dw2-fde.c (objects): Remove.
29         (unseen_objects, seen_objects): New.
30         (__register_frame_info_bases): New.
31         (__register_frame_info): Use it.
32         (__register_frame_info_table_bases): New.
33         (__register_frame_info_table): Use it.
34         (__deregister_frame_info): Rewrite for changed object struct.
35         (base_from_object, get_cie_encoding, get_fde_encoding): New.
36         (fde_unencoded_compare): Rename from fde_compare; uninline.
37         (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
38         (start_fde_sort): Adjust for new definition of fde_vector.
39         (fde_insert): Likewise.
40         (end_fde_sort): Likewise.  Select comparison function based
41         on properties of the object.
42         (fde_split): Take object and fde_compare_t arguments.
43         (frame_heapsort, fde_merge): Likewise.
44         (classify_object_over_fdes): Rename from count_fdes.  Handle
45         encoded pointers.  Collect encoding, mixed_encoding, and pc_begin
46         for the object.
47         (add_fdes): Handle encoded pointers.
48         (init_object): Rename from frame_init.  Update for new struct object.
49         (linear_search_fdes): Rename from search_fdes.  Handle encoded
50         pointers.
51         (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
52         (binary_search_single_encoding_fdes): New.
53         (binary_search_mixed_encoding_fdes): New.
54         (search_object): New.
55         (_Unwind_Find_FDE): Update for new struct object.  Fill in
56         the dwarf_eh_bases.
57         * unwind-dw2.c: Include unwind-pe.h.  Constify all pointers
58         iterating over EH data.
59         (_Unwind_FrameState): Remove saw_lsda, addr_encoding.  Add
60         fde_encoding, lsda_encoding.
61         (read_uleb128, read_sleb128): Remove.
62         (read_encoded_pointer): Remove.  All callers use read_encoded_value.
63         (extract_cie_info): Set lsda_encoding from 'L' augmentation.
64         (uw_frame_state_for): Don't set bases.func.  Handle encoded fde
65         pointers.
66         * unwind-pe.h: Add "struct" to _Unwind_Context references.
67
68 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
69
70         * cppexp.c (lex): Use NODE_NAME and NODE_LEN.
71         * cpphash.c (_cpp_lookup_with_hash): Similarly.
72         * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
73         cpp_spell_token, cpp_output_token): Similarly.
74         * cpplib.c (lex_macro_node, do_undef, do_pragma,
75         do_pragma_poison, parse_assertion, do_assert): Similarly.
76         * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
77         save_parameter, _cpp_create_definition, check_trad_stringification,
78         cpp_macro_definition): Similarly.
79         * cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
80         * c-lex.c (cb_undef, c_lex): Similarly.
81         * fix-header.c (recognized_function): Similarly.
82         * cpplib.h (NODE_LEN, NODE_NAME): New.
83         (cpp_hashnode): Rename length len.
84
85 Wed May 16 13:41:10 2001  Jeffrey A Law  (law@cygnus.com)
86
87         * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
88         GPRs.
89
90 2001-05-16  Andreas Jaeger  <aj@suse.de>
91
92         * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
93
94         * toplev.c: Include dwarf2asm.h for prototype of
95         dw2_output_indirect_constants.
96
97 Wed May 16 19:53:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
98
99         * stmt.c (expand_asm_operands): Be able to offload addressof
100         expression to memory. (PR optimization/185)
101
102 Wed May 16 18:53:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
103
104         * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
105         applying distributive law.
106
107 2001-05-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
108
109         * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
110
111         * gthr-dce.h (UNUSED): Attribute unused macro.
112         (__gthread_key_dtor): Make arguments UNUSED.
113         (__gthread_key_delete): Revise for compatibility with DRAFT4
114         implementation.
115
116 2001-05-16  David Edelsohn  <edelsohn@gnu.org>
117
118         * doc/install.texi: Update AIX information.
119         * README.RS6000: Remove obsolete file.
120
121 2001-05-16  Jakub Jelinek  <jakub@redhat.com>
122             Nathan Sidwell  <nathan@codesourcery.com>
123
124         * gcc.c (give_switch): Don't write before start of string.
125         Always append suffix.
126
127 2001-05-16  Nathan Sidwell  <nathan@codesourcery.com>
128
129         * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
130         after stage3.
131
132 2001-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
133
134         * README.ALTOS: Remove obsolete file.
135
136 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
137
138         * c-lex.h (save_and_forget_protocol_qualifiers,
139         forget_protocol_qualifiers, remember_protocol_qualifiers):
140         Remove deleted functions' prototypes.
141
142 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
143
144         * c-parse.in (methodtype): New production.
145         (methoddef, methodproto): Collapse separate '-' and '+'
146         handlers into 1.
147
148 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
149
150         * c-common.h (RID_FIRST_PQ): New.
151         * c-parse.in (objc_pq_context): New.
152         (objc parser): Set objc_pq_context rather than calling
153         remember_protocol_qualifiers and forget_protocol_qualifiers.
154         Don't call save_and_forget_protocol_qualifiers.
155         (yylexname): Handle objc protocol qualifiers here.
156         * stringpool.c (struct str_header): Replace with sp_hashnode.
157         (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
158         (alloc_string): Rename alloc_ident.  Use the SP_ accessors.
159         Allocate an IDENTIFIER_NODE for each identifier.
160         (FORALL_STRINGS, set_identifier): Delete.
161         (FORALL_IDS, expand_string_table, stringpool_statistics): Update.
162         (ggc_alloc_string): Use an obstack.
163         (get_identifier, maybe_get_identifier, mark_string_hash): Update.
164         * tree.h: Update comments.
165         (set_identifier): Delete.
166         * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
167         save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
168         remember_protocol_qualifiers): Delete.
169
170 Tue May 15 22:14:09 2001  Jeffrey A Law  (law@cygnus.com)
171
172         * flow.c (life_analysis): After life analysis is complete, do
173         an optional scan over insns looking for REG_LABEL notes that
174         reference a deleted label.
175         (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
176         before peeking at LABEL_NUSES.
177
178 2001-05-15  Richard Henderson  <rth@redhat.com>
179
180         * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
181         (_Unwind_GetTextRelBase): New.
182
183 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
184
185         * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
186
187 2001-05-15  Geoffrey Keating  <geoffk@redhat.com>
188
189         * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
190         so that CHOOSE_SECTION gets used.
191
192         * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
193         TARGET_RELOCATABLE like flag_pic for now.
194
195 2001-05-15  David Edelsohn  <edelsohn@gnu.org>
196
197         * rs6000.md (movdi splitter): Sign extend more efficiently.
198         * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
199         to "long long" valid on 32-bit and 64-bit hosts.
200         (logical_operand): Cast trunc_int_for_mode return value.
201         (rs6000_emit_move): Shift macro to encapsulate variable.
202         (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
203         (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
204         plus_constant requires signed argument.
205
206 2001-05-15  Loren J. Rittle  <ljrittle@acm.org>
207
208         * gthr-posix.h: Make additional pthread-* functions weak.
209
210 Tue May 15 13:51:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
211
212         * recog.c (apply_change_group): Avoid unneeded validating.
213
214 2001-05-14  David Edelsohn  <edelsohn@gnu.org>
215
216         * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
217         (num_insns_constant): CONST_INT can be 64-bits.
218
219 2001-05-14  Stan Shebs  <shebs@apple.com>
220
221         * config/darwin.h (LIB_SPEC): Just use -lSystem.
222         (LIBGCC_SPEC): Don't define.
223
224 2001-05-14  Richard Henderson  <rth@redhat.com>
225
226         * configure.in (gcc_cv_as_eh_frame): New test.
227         * config.in, configure: Rebuild.
228         * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
229
230 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
231
232         * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
233         extended precision divide.
234
235 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
236
237         * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
238         for RETURNS as well.
239
240 Mon May 14 17:34:48 CEST 2001  Jan Hubicka  <jh@suse.cz>
241
242         * i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
243         (CPP_CPU??_SIZE_TYPE): New.
244         (CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
245         (CPP_CPU_SPEC): ... here; support choosing of CPU.
246         (EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
247         (MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
248         compiler.
249         * i386.c (override_options): Add sorry about not suported modes.
250
251 Mon May 14 08:56:47 2001  Jeffrey A Law  (law@cygnus.com)
252
253         * config/pa/som.h (NM_FLAGS): Remove.
254         (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
255         (ASM_OUTPUT_SECTION_NAME): Remove.
256         (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
257
258 2001-05-14  Mark Mitchell  <mark@codesourcery.com>
259
260         * regrename.c (regrename_optimize): Do not rename registers to
261         leaf registers.
262
263 2001-05-14  Alexandre Oliva  <aoliva@redhat.com>
264
265         * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
266         contain MEMs.  Remove useless distinction about clobbering
267         registers.
268
269 2001-05-13  Geoff Keating  <geoffk@redhat.com>
270
271         * config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
272         * config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
273         * config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
274         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
275         (EXCEPTION_SECTION): Define.
276
277 2001-05-13  Zack Weinberg  <zackw@stanford.edu>
278
279         * libgcc2.c, libgcc2.h: Restore __eprintf.  Label as used for
280         binary backward compat only.
281         * Makefile.in (LIB2FUNCS_ST): New.  Put _eprintf here, not
282         in LIB2FUNCS.  Pass it to mklibgcc.
283         * mklibgcc.in: Handle LIB2FUNCS_ST.
284
285         * Makefile.in (installdirs): Don't create $(gcc_tooldir).
286
287 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
288
289         * tm.texi (THREAD_MODEL_SPEC): Document it.
290         * gcc.c (main): Use it.
291         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
292         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
293
294 2001-05-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
295
296         * rtl.h (SYMBOL_REF_WEAK): New macro.
297         * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
298         * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
299         * rtl.texi (SYMBOL_REF_WEAK): Document it.
300         * gcc.texi: Remove wrong description.
301
302 2001-05-13  Mark Mitchell  <mark@codesourcery.com>
303
304         * Makefile.in (STAMP): New macro.
305         Replace all uses of `touch' with $(STAMP).
306         * fixinc/Makefile.in: Likewise.
307
308 Sun May 13 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
309
310         * configure.in: ldopen is never in -lexc, so don't test for it.
311         Add test for exc_resume in -lexc for Ada.
312         * configure: Regenerated.
313
314 2001-05-12  Richard Henderson  <rth@redhat.com>
315
316         * dwarf2asm.c (size_of_encoded_value): New function.
317         * dwarf2asm.h: Declare it.
318         * except.c (output_function_exception_table): Align the TType
319         array only as wide as the encoding.
320
321 2001-05-12  Zack Weinberg  <zackw@stanford.edu>
322
323         * extend.texi: Document #pragma GCC java_exceptions.
324
325 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
326
327         * c-parse.in (bison parser, init_reswords): Remove uses of
328         doing_objc_thang.
329         * c-tree.h (doing_objc_thang): Remove.
330
331 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
332
333         * cpplex.c (_cpp_lex_token): Ensure we warn at most once
334         about files not ending in newlines.
335
336 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
337
338         * dwarfout.c (dwarfout_init): Add cast.
339         * sched-deps.c (sched_analyze_insn): Remove unused vars.
340         * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
341 cp:
342         * method.c (build_mangled_C99_name): Remove unused prototype.
343
344 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
345
346         * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
347
348 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
349
350         * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
351         * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
352
353 2001-05-11  Richard Henderson  <rth@redhat.com>
354
355         * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
356         * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
357         dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
358         * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
359         (dw2_output_indirect_constants): Prototype.
360         * dwarf2out.c (dwarf2out_begin_prologue): Generate
361         current_function_func_begin_label if we'll need it for EH.  Exit
362         early for IA64_UNWIND_INFO.
363         * except.c: Get DW_EH_PE_* defines from dwarf2.h.
364         (eh_data_format_name): Update for indirect references.
365         (output_function_exception_table): Care for IA64_UNWIND_INFO.
366         Handle ASM_PREFERRED_EH_DATA_FORMAT.
367         * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
368         define HAVE_eh_return etc.
369         * final.c (final_start_function): Always call dwarf2out_begin_prologue.
370         (final_end_function): Don't call output_function_exception_table.
371         * toplev.c (compile_file): Call dw2_output_indirect_constants.
372         (rest_of_compilation): Invoke output_function_exception_table
373         for ia64 before assemble_end_function.
374         * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
375         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
376
377         * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
378         * unwind.h: Declare them.
379         * libgcc-std.ver: Export them.
380         * unwind-pe.h: New file.
381
382         * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
383
384         * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
385         instead of "fde".
386         (find_fde_for_dso): Extract DT_PLTGOT.
387         (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
388         the segment and gp as well.
389         * config/ia64/frame-ia64.c: Remove file.
390         * config/ia64/frame-ia64.h: Remove file.
391         * config/ia64/unwind-ia64.c: New file.
392         * config/ia64/unwind-ia64.h: New file.
393         * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
394         (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
395         (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
396         (ASM_PREFERRED_EH_DATA_FORMAT): New.
397         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
398         (IA64_UNWIND_INFO): Re-enable.
399         (HANDLER_SECTION): Remove.
400         (EH_RETURN_DATA_REGNO): New.
401         * config/ia64/ia64.md (exception_receiver): Remove.
402         * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
403         * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
404
405 2001-05-11  Richard Henderson  <rth@redhat.com>
406
407         * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
408         calls and jumps to be bundled together.
409         (ia64_reorg): Emit a break after a noreturn call that ends
410         a function.
411         * config/ia64/ia64.md (break_f): New.
412
413 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
414
415         * c-lex.c (lex_charconst): Convert into a simple wrapper
416         around cpp_interpret_charconst, to which most of the code
417         body is moved.
418         * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
419         MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
420         MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
421         (lex): Use cpp_interpret_charconst.
422         * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
423         hex_digit_value): New functions.
424         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
425         * cpplib.h (cpp_interpret_charconst): New prototype.
426         * Makefile.in: Update.
427
428 2001-05-12  Dean Wakerley  <dean@wakerley.com>
429
430         * doc/install.texi: New file. Converted to texinfo from the HTML
431         documentation in wwwdocs/htdocs/install.
432
433 Fri May 11 15:50:13 2001  Jeffrey A Law  (law@cygnus.com)
434
435         * gcse.c (insert_insn_end_bb): Do not search for assignments to
436         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
437
438         * toplev.c (compile_file): Move comment for opening output
439         file to just before the code that opens the output file.
440
441 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
442
443         * regmove.c (regmove_optimize): Suppress the optimization for
444         unchanging destination register.  Add comment above function.
445
446 2001-05-11  Zack Weinberg  <zackw@stanford.edu>
447
448         * Makefile.in: Exterminate all references to assert.h.
449         * cross-make: Likewise.
450         * assert.h: Delete.
451         * configure.in: Correct commentary.
452         * configure: Regenerate.
453
454         * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
455         Remove __eprintf.
456
457         * config/t-freebsd, config/t-linux, config/t-linux-aout,
458         config/t-netbsd, config/t-rtems, config/x-linux,
459         config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
460         No need to override INSTALL_ASSERT_H.
461
462         * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
463         fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
464         fixinc/fixincl.sh: Don't install assert.h into objdir/include.
465
466 2001-05-11  Graham Stott  <grahams@redhat.com>
467
468         * combine.c (simplify_comparison): Fix typo.
469
470 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
471
472         * loop.h (struct movables): Remove `num'.
473         * loop.c (scan_loop): Don't set it.  Use count_insns_in_loop.
474         Adjust call to strength_reduce.
475         (num_unmoved_movables): New function.
476         (move_movables): Don't set movables->num.
477         (strength_reduce): Compute the number of instructions in the loop
478         here, rather than in the caller.
479         (check_dbra_loop): Always clear reversible_mem_store if there
480         are any memory sets.
481         (loop_regs_scan): Don't count instructions here.
482         (count_insn_in_loop): New function.
483
484 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
485
486         * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
487
488 2001-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
489
490         * c-common.c (finish_label_expr): New function, lifted from
491         from cp/semantics.c.
492         * c-common.h (finish_label_expr, lookup_label): New prototypes.
493         * c-parse.in: Move 3 blocks of parser code into new functions.
494         * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
495         * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
496         (lookup_label): Remove.
497
498 2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
499
500         * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
501         FLOAT_BIT_ORDER_MISMATCH.
502
503 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
504
505         * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
506         bytes.  Reported by Kazu Hirata <kazu@hxi.com>.
507
508 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
509
510         * expr.c (emit_group_load): extract_bit_field requires a REG or
511         MEM as an argument.
512
513 Thu May 10 14:45:44 2001  Jeffrey A Law  (law@cygnus.com)
514
515         * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
516         a computed jump into an unconditional jump.
517         In second hunk of code for collapsing computed and conditional jumps
518         into unconditional jumps, reemit the jump in additional cases.
519
520         * jump.c (jump_optimize_1): Do not wrap the new jump target
521         inside a LABEL_REF; gen_jump will do that automatically.
522
523 2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>
524
525         * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
526         contents for a SYMBOL_REF in case of floating point constants.
527
528 2001-05-10  DJ Delorie  <dj@redhat.com>
529
530         * c-common.c (combine_strings): Widen strings in a
531         host-endian-independent way.
532
533 2001-05-10  Joseph S. Myers  <jsm28@cam.ac.uk>
534
535         * c-parse.in: Remove many shift/reduce conflicts.  Update
536         %expect values.
537         (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
538         declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
539         declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
540         declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
541         declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
542         declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
543         declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
544         declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
545         declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
546         declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
547         maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
548         typespec_reserved_nonattr, typespec_reserved_attr,
549         typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
550         structsp_nonattr, components_notype, component_notype_declarator,
551         absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
552         firstparm, setspecs_fp): New
553         (typed_declspecs, reserved_declspecs, typed_typespecs,
554         reserved_typespecquals, declmods, typespec, typespecqual_reserved,
555         typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
556         declmods_no_prefix_attr, nonempty_type_quals, structsp,
557         type_quals): Remove.  Users updated.
558         (initdecls, notype_initdecls, after_type_declarator,
559         parm_declarator, notype_declarator, absdcl1, components, ivars):
560         Don't allow attributes at the start of a declarator; include them
561         in the production containing the declarator instead.  Always
562         require type specifiers before trying to redeclare a typedef name.
563         (typename): Allow for attributes but warn that they are ignored.
564         (parmlist, firstparm, setspecs_fp): Include attributes in
565         parmlist; suck them off the parser stack in firstparm using
566         setspecs_fp.
567
568 Thu May 10 09:17:42 2001  Jeffrey A Law  (law@cygnus.com)
569
570         * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
571         to determine if a block has an unconditional jump at its end.
572
573         * jump.c (jump_optimize_1): When converting a conditional jump
574         to an unconditional jump, build the jump using gen_jump instead
575         of just modify operands in-place.
576
577 2001-05-09  Zack Weinberg  <zackw@stanford.edu>
578
579         * cppinit.c (cpp_post_options): Shut off macro expansion if
580         -fpreprocessed.
581         * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
582         IN_I directives only if the # is in column 1 and the directive
583         name begins in column 2.
584         * cppmain.c (scan_buffer): Insert a space between # and an
585         identifier, when that identifier is a directive name.
586
587         * tradcpp.c (struct file_buf): Add a pointer to the next entry
588         in the header search path.
589         (enum node_type): Add T_INCLUDE_NEXT.
590         (directive_table): Add entry for include_next.
591         (do_include_next): New function.
592         (process_include): New routine, broken out of do_include.
593         (finclude): Insert 'nhd' argument, to be copied into
594         next_header_dir of the new buffer.
595         (main): Adjust to match.
596         * gsyslimits.h, limity.h: Un-indent #include_next.
597
598 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
599
600         * objc.texi: Move from ../libobjc/objc-features.texi.  Adjust for
601         inclusion as a chapter of the GCC manual.
602         * gcc.texi: Include objc.texi.
603         * fdl.texi: Use @unnumberedsec for the addendum.
604         * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
605
606 Wed May  9 16:01:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
607
608         * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
609
610 Wed May  9 10:40:25 2001  Alexandre Oliva  <aoliva@redhat.com>
611
612         * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
613         handling of two-address insns.
614
615 Wed May  9 10:36:18 2001  Alexandre Oliva  <aoliva@redhat.com>
616
617         * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
618         ../binutils/nm-new instead of ../binutils/nm.
619
620 Wed May  9 12:15:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
621
622         * i386.md (movdi splitter): Fix the splitting condition
623         (float_extenddftf splitter): Fix mode.
624
625 Wed May  9 12:05:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
626
627         * genrecog.c (write_switch): Avoid outputting of switch for
628         types wider than int.
629
630 2001-05-03  Andrew Haley  <aph@cambridge.redhat.com>
631
632         * reload1.c (copy_eh_notes): New function.
633         (emit_input_reload_insns): Call it.
634         (emit_output_reload_insns): Call it.
635
636 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
637
638         * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
639         Delete stanzas.
640         * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
641         config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
642
643         * optabs.c: Delete #ifdef BROKEN_LDEXP block.
644
645 2001-05-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
646
647         * pa.md (interspace_jump): Revise comment.
648         (builtin_longjmp): Block initial setup insns from delay slot of
649         interspace branch.
650         (builtin_setjmp_receiver): New expander to save and restore PIC
651         register.
652
653         * som.h (NM_FLAGS): Remove `-n' sort option.  Revise comment.
654
655 Mon May  7 09:30:14 2001  Jeffrey A Law  (law@cygnus.com)
656
657         * toplev.c (compile_file): Set up the output file before we call
658         the various initializers for the compiler.
659
660         * except.c (sjlj_mark_call_sites): Do not search for assignments to
661         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
662
663         * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
664         * pa-64.h (*_TYPE_SIZE): Undefine before redefining.
665
666 2001-05-06  Zack Weinberg  <zackw@stanford.edu>
667
668         * Makefile.in (tradcpp0): Correct typo in dependency list.
669
670 2001-05-06  Geoff Keating  <geoffk@redhat.com>
671
672         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
673         the link register if we're not going to use it.
674
675         * config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
676         (output_function_profiler): Likewise.
677
678 2001-05-07  Alan Modra  <amodra@one.net.au>
679
680         * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
681
682 2001-05-06  Alexandre Oliva  <aoliva@redhat.com>
683
684         * unroll.c (loop_iterations): Don't sign-extend abs_diff;
685         zero-extend it.  Make abs_inc unsigned.
686
687         * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
688         widest mode in narrowing and widening operations.
689
690         * config/mips/mips.md: Sign extend CONST_INTs.
691
692 2001-05-06  Andreas Jaeger  <aj@suse.de>
693
694         * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
695         (i386 Options): Document -momit-leaf-frame-pointer.
696
697 2001-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
698
699         * c-typeck.c (internal_build_compound_expr): Check for
700         array to pointer conversion just once.
701
702 2001-05-05  Richard Henderson  <rth@redhat.com>
703
704         * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
705
706 2001-05-05  Richard Henderson  <rth@redhat.com>
707
708         * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
709         to the parent of the fixup region.
710
711 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
712
713         * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
714         "inline" keyword.
715         * cpp.texi (__NO_INLINE): Document it.
716
717 2001-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
718
719         * cppfiles.c (struct include_file): New member err_no.
720         (find_or_create_entry): Set it.
721         (open_file): Don't set fds to -2.  Instead, use err_no to
722         remember previous errors, if any.
723
724 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
725
726         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
727         between X and Y by using sequences of xgdx and xgdy.
728
729 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
730
731         * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
732         of '!' for the 'D' alternative ('!' is too strong).
733         ("*logicalsi3_silshl16"): Likewise.
734         ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
735         ("movstrictsi"): Remove spurious '+'.
736         ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
737         ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
738         ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
739         a reload to them.
740
741 2001-05-04  David Edelsohn  <edelsohn@gnu.org>
742
743         * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
744
745 2001-05-04  Lars Brinkhoff  <lars@nocrew.org>
746
747         * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
748         into -a.
749
750 2001-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
751
752         * config/rs6000/rs6000.md (ashldi3 splits): Guard with
753         TARGET_POWERPC64.
754
755 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
756
757         * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
758         soft register, use ror instead of rol.
759
760 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
761
762         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
763         into account pre/post increment decrement for 68HC12.
764         Fix other problems in replacement and fix call to reg_mentioned_p.
765
766 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
767
768         * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
769         Put the soft registers in bss for 68HC12.
770         (L_regs_d3_4): New for _.d3 and _.d4.
771         (L_regs_d5_6): Likewise.
772         (L_regs_d1_2): Likewise.
773         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
774
775 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
776
777         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
778         to the pre-processor when -fshort-double is specified.
779         * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
780
781 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
782
783         * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
784         (__mulsi3): Rewrite for 68HC12.
785         * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
786         Mark 'x' constraint with earlyclobber to prevent a
787         RELOAD_FOR_OTHER_ADDRESS to go in it.
788         (mulhi3_m68hc12): New pattern.
789         (mulhi3_m68hc11): Rename of mulhi3.
790         (mulhi3): New expand for 68HC12 optimisation.
791         (umulhisi3, mulhisi3): New patterns for 68HC12.
792
793 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
794
795         * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
796         (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
797         (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
798
799 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
800
801         * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
802         constants cheap after reload.
803         * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
804         are cheap.
805         (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
806         so that gcc prefers a shift by 16.
807         (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
808
809 2001-05-04  Nick Clifton  <nickc@cambridge.redhat.com>
810
811         * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
812
813 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
814
815         * alpha.h: NULL_PTR -> NULL.
816         * arm.c: Likewise.
817         * arm.h: Likewise.
818         * avr.h: Likewise.
819         * c4x.c: Likewise.
820         * c4x.h: Likewise.
821         * i386.c: Likewise.
822         * i386.md: Likewise.
823         * i860.c: Likewise.
824         * ia64.c: Likewise.
825         * m68hc11.h: Likewise.
826         * rs6000.h: Likewise.
827         * sh.c: Likewise.
828         * sh.h: Likewise.
829         * sparc.h: Likewise.
830         * v850.c: Likewise.
831
832         * expr.c: Likewise.
833         * final.c: Likewise.
834         * gcc.c: Likewise.
835         * recog.c: Likewise.
836
837 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
838
839         * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
840         `bool' parameter to `int'.
841
842         * hash.c (hash_lookup): Likewise.
843
844         * hash.h (hash_lookup): Likewise.
845
846         * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
847
848 Fri May  4 13:10:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
849
850         * i386.c (x86_initialize_trampoline): Fix mode of constant.
851
852 2001-05-03  Geoff Keating  <geoffk@redhat.com>
853
854         * invoke.texi (i386 Options): Delete references to -malign-jumps,
855         -malign-loops, -malign-functions.
856         * i386.c (ix86_align_funcs): Delete.
857         (ix86_align_loops): Delete.
858         (ix86_align_jumps): Delete.
859         (override_options): Mark -malign-* as obsolete.  Emulate their
860         behaviour with the -falign-* options.  Default -falign-* from
861         the processor table.
862         * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
863         patch of Wed May 2 13:09:36 2001.
864         (LOOP_ALIGN): Delete.
865         (LOOP_ALIGN_MAX_SKIP): Delete.
866         (LABEL_ALIGN_AFTER_BARRIER): Delete.
867         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.
868
869 2001-05-04  Andreas Jaeger  <aj@suse.de>
870
871         * except.h: Add prototype declaration for
872         expand_builtin_init_dwarf_reg_sizes.
873
874 2001-05-03  Geoffrey Keating  <geoffk@redhat.com>
875
876         * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.
877
878 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
879
880         * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
881         instruction.
882         ("bitcmpqi2"): New pattern for bit-extract and test.
883         ("bitcmphi"): New pattern for bitb/bita instructions.
884
885 2001-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
886
887         * gccbug.in: Use a temporary directory when the mktemp command is
888         not available.
889
890 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
891
892         * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
893         instead of _.d1.
894         (INITIALIZE_TRAMPOLINE): Call it.
895         (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
896         (TRAMPOLINE_TEMPLATE): Remove.
897         * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
898         * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
899         Declare.
900
901 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
902
903         * config/t-freebsd: Don't install "assert.h" in gcc.  Compile crtbeginS.o
904         and crtendS.o with PIC.
905
906 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
907
908         * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
909         negative numbers.
910         (___subdi3, ___adddi3): Use x instead of y as index register.
911         (__init_bss_section, __map_data_section): Optimize for 68HC12.
912         (__memset, __memcpy): Likewise.
913         (regs): Put the soft registers in bss for 68HC12.
914         (abort): Use trap to abort for 68hc12.
915         (__mulhi3, __mulhi32): Use emul for 68hc12.
916         (__mulsi3): Avoid to use the tmp soft register for 68hc12.
917
918 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
919
920         * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
921         * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
922         * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
923         (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
924         Set 68HC12 min offset to -65536.
925         (print_operand): Put parenthesis arround the operand if it refers
926         to a symbol having the same name as a register.
927         (m68hc11_z_replacement): When z register is replaced by its
928         equivalent soft register, force the insn to be re-recognized.
929         (m68hc11_check_z_replacement): Fix the test when destination is
930         the index register and z dies in the insn.
931         (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
932
933 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
934
935         * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
936         costs according to processor variant.
937         (m68hc11_shift_cost): New function to compute shift costs.
938         (m68hc11_rtx_costs): Define costs according to processor variant.
939         (m6811_cost): Costs for 68HC11.
940         (m6812_cost): Costs for 68HC12.
941         (COSTS_N_INSNS): Remove.
942
943         * config/m68hc11/m68hc11.h (RTX_COSTS): New.
944         (DEFAULT_RTX_COSTS): Remove.
945         (CONST_COSTS): Define costs according to OUTER_CODE.
946         (processor_costs): New struct to define costs.
947         (m68hc11_cost): Pointer to current costs.
948
949 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
950
951         * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
952         and use m68hc11_notice_keep_cc when using leax/leay.
953         (addhi3 split): Reject split if the insn is handled by
954         leax/leay above.
955         * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
956         push must be handled in a special way if the source operand uses
957         sp as index register.
958         (m68hc11_notice_keep_cc): New function.
959         (m68hc11_gen_movhi): Use it when an insn changes a register but
960         not the flags.
961         (m68hc11_gen_movqi): Fix move for 68HC12.
962         * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
963
964 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
965
966         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
967         and don't pass operands[0] to emit_library_call_value.
968
969 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
970
971         * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
972         (zero_extendsi split): Simplify and use (zero_extendhi).
973         (*addhi3): Remove 'w' constraint since stack pointer is handled
974         by (addhi3_sp).
975         (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
976         (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
977         (*ashrhi3_const): Fix shift by 7.
978         (*lshrsi3_const16): Fix template.
979         (call, call_value): Fix constraint and predicate.
980
981 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
982
983         * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
984         (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
985         (CC_REGNUM): Likewise.
986         (*unnamed splits): Use above constants instead of hard coded numbers.
987         (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
988         (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
989         (*return_16bit, *unnamed peepholes): Likewise.
990
991 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
992
993         * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix):  Do not include
994         rs6000/rs6000.h twice.
995
996 2001-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
997
998         * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
999         (CPP_SPEC): Conditionally define MSDOS and GO32.
1000         (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
1001         (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
1002         ignored.
1003         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
1004
1005 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
1006
1007         * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
1008
1009 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
1010
1011         * integrate.h (struct inline_remap): Add leaf_reg_map table.
1012         * integrate.c (expand_inline_function): Use xcalloc to allocate
1013         memory.
1014         (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
1015         registers.
1016
1017 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
1018
1019         * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
1020         if it is not set.
1021
1022 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
1023
1024         * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
1025         linker if -mrelax is given.
1026         (TARGET_SWITCHES): Document -mrelax.
1027
1028         Re-installed 2001-01-09's patch:
1029         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
1030         if it's wider than long and the target's long is wider than the
1031         host's.
1032
1033 2001-05-02  David O'Brien  <obrien@FreeBSD.org>
1034
1035         * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h:  Do not
1036         directly include rs6000/rs6000.h.  Instead do it in tm.h.
1037
1038 2001-05-02  Stan Shebs  <shebs@apple.com>
1039
1040         * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
1041         NSConstantString for NeXT-style runtimes.
1042         (STRING_OBJECT_GLOBAL_NAME): New macro.
1043         (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
1044         OCTI_STRING_CLASS_DECL.
1045         (constant_string_global_id): New macro.
1046         (string_class_decl): Ditto.
1047         (setup_string_decl): New function.
1048         (build_objc_string_object): Use it to build a NeXT runtime
1049         compatible string initializer.
1050
1051 2001-05-02  Jakub Jelinek  <jakub@redhat.com>
1052
1053         * tradcpp.c (do_define): Make sure we don't walk past limit.
1054
1055 2000-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1056
1057         * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
1058         offsets if not REG_OK_STRICT.
1059
1060         * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
1061         (INT_REG_OK_FOR_INDEX_P): Likewise.
1062         (INT_REG_OK_FOR_BASE_P): Likewise.
1063         (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
1064         (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
1065         (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
1066         INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
1067         REG_OK_FOR_BASE_P. Take an additional parameter.
1068         (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
1069         (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
1070         (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
1071         (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
1072         rs6000_legitimate_address() and use it.
1073         * config/rs6000/rs6000.c: Update all callers.
1074         (rs6000_legitimate_address): New function.
1075
1076 2001-05-02  David Edelsohn  <edelsohn@gnu.org>
1077
1078         * config/rs6000/rs6000.c (rs6000_emit_move): Merge
1079         special_constant conditional blocks together.
1080
1081 2001-05-02  Dale Johannesen  <dalej@apple.com>
1082
1083         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
1084         parameter.
1085         (STRICT_ARGUMENT_NAMING): Define.
1086         * config/rs6000/rs6000.c (function_arg_advance, function_arg,
1087         function_arg_partial_nregs, setup_incoming_varargs): Remove
1088         args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
1089         is defined.
1090
1091 Wed May  2 13:09:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1092
1093         * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
1094
1095         * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
1096         for replacement.
1097
1098         * expr.c (store_field): Do nothing except elaborate side-effects if
1099         zero-bit field.
1100
1101 2001-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1102
1103         * c-lex.c: NULL_PTR -> NULL.
1104         * cse.c: Likewise.
1105         * emit-rtl.c: Likewise.
1106         * gcse.c: Likewise.
1107         * genpeep.c: Likewise.
1108         * jump.c: Likewise.
1109         * mips-tdump.c: Likewise.
1110         * reload1.c: Likewise.
1111         * rtlanal.c: Likewise.
1112         * stmt.c: Likewise.
1113         * stor-layout.c: Likewise.
1114         * toplev.c: Likewise.
1115
1116 2001-05-01  Per Bothner  <per@bothner.com>
1117
1118         * expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
1119         call do_pending_stack_adjust before emiting label.
1120
1121 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
1122
1123         * extend.texi: Fix typo.
1124
1125 2001-05-01  Stan Shebs  <shebs@apple.com>
1126
1127         * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
1128         of UOBJC_MODULES_decl.
1129         (generate_strings): Clear DECL_CONTEXT of new decl nodes.
1130         (generate_descriptor_table): Ditto.
1131         (generate_protocols): Ditto.
1132         (generate_protocol_list): Ditto.
1133         (generate_classref_translation_entry): Ditto.
1134
1135 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
1136
1137         * invoke.texi (Optimize Options): Add documentation for `--param
1138         max-delay-slot-insn-search' and `--param
1139         max-delay-slot-live-search' and reorder --param section.
1140         * params.def: Modify initial comment.
1141         * params.h (param_info): Add `help' member.
1142         * toplev.c (lang_independent_params): Include `help' description.
1143         (display_help): Print --param parameters.
1144
1145 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
1146
1147         * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
1148         Remove references to deleted files.
1149         (*-*-openbsd): No need to override xmake_file.
1150         (*-*-sysv4): Treat like *-*-sysv.
1151
1152         * configure.in: Probe for ldopen in various places, and set up
1153         collect2 to be linked with them if found.
1154         Don't dink with Windows registry stuff unless $host_os is a
1155         Win32 os name.  Check to see if we need -ladvapi32.
1156         * configure: Regenerate.
1157
1158         * Makefile: Get rid of CLIB and HOST_CLIB.
1159         Substitute in COLLECT2_LIBS and link collect2 against its contents.
1160         * build-make: Get rid of HOST_CLIB.
1161
1162         * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
1163         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
1164         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
1165         config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
1166         config/rs6000/x-rs6000: Delete.
1167
1168         * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
1169         Don't set CLIB.
1170
1171         24 x-host fragments remain, 0 x-cpu, 3 top level.
1172
1173 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
1174
1175         * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
1176         * configure: Regenerate.
1177
1178 2001-05-01  Angela Marie Thomas <angela@cygnus.com>
1179
1180         * Makefile.in (install-headers): Remove redundant dependency.
1181
1182 2001-05-01  Nathan Sidwell  <nathan@codesourcery.com>
1183
1184         * c-tree.texi (USING_STMT): Document.
1185
1186 2001-05-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1187
1188         * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
1189         * c-common.c: Likewise.
1190         * c-decl.c: Likewise.
1191         * combine.c: Likewise.
1192         * rs6000.c: Likewise.
1193         * except.c: Likewise.
1194         * explow.c: Likewise.
1195         * expr.c: Likewise.
1196         * fold-const.c: Likewise.
1197         * function.c: Likewise.
1198         * gcc.c: Likewise.
1199         * gcse.c: Likewise.
1200         * integrate.c: Likewise.
1201         * loop.c: Likewise.
1202         * objc/objc-act.c: Likewise.
1203         * recog.c: Likewise.
1204         * reg-stack.c: Likewise.
1205         * reload.c: Likewise.
1206         * reload1.c: Likewise.
1207         * simplify-rtx.c: Likewise.
1208         * stmt.c: Likewise.
1209         * varasm.c: Likewise.
1210
1211 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
1212
1213         * diagnostic.def: New file.
1214         * diagnostic.h (diagnostic_t): New enum.
1215         * Makefile.in (diagnostic.o): Depend on diagnostic.def
1216
1217 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
1218
1219         * tsystem.h: Test only POSIX for availability of string.h
1220         and time.h.
1221         * config.gcc (all systems): If USG appeared in xm_defines,
1222         change it to POSIX.  If both USG and POSIX appeared, just
1223         delete USG. Remove unnecessary quotes around xm_defines
1224         settings.
1225         (m68k-crds-unos*): Don't #define unos - tested nowhere.
1226         (m68k-apple-aux*): Don't #define AUX - tested nowhere.
1227         (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
1228         powerpc-*-linux*): No need to set xm_defines - handled by
1229         global settings for *-*-linux*.
1230
1231 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
1232
1233         * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
1234         Always include gstab.h, not system stab.h.  Don't provide
1235         default definitions of N_CATCH or N_OPT.  Always use the
1236         gstab.h variant of STAB_CODE_TYPE.
1237         * final.c: Don't include stab.h/gstab.h at all, or provide
1238         defaults for N_SLINE and N_SOL.
1239
1240         * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
1241         N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
1242         available.
1243         * sdbout.c: Always include gsyms.h instead of system syms.h.
1244
1245         * configure.in: No need to check for stab.h.
1246         * configure, config.in: Regenerate.
1247         * Makefile.in (final.o): Don't depend on gstab.h.
1248
1249 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
1250             Richard Henderson  <rth@redhat.com>
1251
1252         * extend.texi: Improve documentation of volatile asms.
1253
1254 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
1255
1256         * c-tree.texi: Fix thinko.
1257         * gcc.texi: Likewise.
1258
1259 2001-04-30  Richard Henderson  <rth@redhat.com>
1260
1261         * c-common.c (c_promoting_integer_type_p): New function, from the
1262         corpse of old macro.  Properly promote too-small enumerations and
1263         booleans.  Adjust all callers.
1264         * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
1265         (c_promoting_integer_type_p): Declare.
1266         * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
1267         * c-typeck.c: Likewise.
1268         (default_conversion): Remove now redundant boolean check.
1269
1270 2001-04-30  Jan Hubicka  <jh@suse.cz>
1271             Richard Henderson  <rth@redhat.com>
1272
1273         * regmove.c (try_apply_stack_adjustment): Remove now redundant
1274         sanity checks.
1275         (combine_stack_adjustments_for_block): Don't combine stack
1276         allocation followed by deallocations.  Handle grow-up stacks.
1277
1278 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
1279
1280         * fdl.texi: New file.
1281         * c-tree.texi: Use the GFDL.
1282         * gcc.texi: Likewise.
1283
1284 2001-04-30  Stan Shebs  <shebs@apple.com>
1285
1286         * invoke.texi: Add a section documenting Objective-C options.
1287
1288 2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>
1289
1290         * emit-rtl.c (try_split):  Copy EH notes to sequence.
1291
1292 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
1293
1294         * regmove.c (record_stack_memrefs): Catch all references to the
1295         stack pointer.
1296
1297 2001-04-29  Toomas Rosin <toomas at ns dot tklabor dot ee>
1298
1299         * Makefile.in(stmp-fixinc): quote shell assignment values
1300
1301 2001-04-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1302
1303         * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
1304
1305         * gcc.c: Likewise.
1306
1307         * prefix.c: Likewise.
1308
1309 2001-04-28  Stan Shebs  <shebs@apple.com>
1310
1311         * objc/objc-act.c (handle_class_ref): Rewrite to flush target
1312         specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
1313         * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
1314         * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
1315
1316         * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
1317         (NEXT_OBJC_RUNTIME): Define.
1318
1319 Sat Apr 28 21:02:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
1320
1321         * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
1322         * simplify-rtx.c (simplify_gen_relational): Likewise.
1323
1324         * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
1325
1326         * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
1327         * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
1328
1329         * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
1330         registers in SSE case; fix handling of the immediates.
1331         (negsf2_ifs, abssf2_ifs): Tweak constraints; require
1332         operands to be in regsiters before reload.
1333         (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
1334         (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
1335         (abstf,absxf,negtf,negxf splitters): Compute
1336         properly the regnum for x86_64.
1337         (avsdf2_if_rex64): New.
1338
1339 Sat Apr 28 10:36:23 2001  Jeffrey A Law  (law@cygnus.com)
1340
1341         * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
1342         and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
1343         into the constant pool.
1344         * jump.c (jump_optimize_1): Remove barrier successors after all
1345         the LABEL_NUSES counds have been computed.
1346         (delete_barrier_successors): When deleting a tablejump insn, also
1347         delete the jump table it uses.
1348         * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
1349         label into memory.
1350
1351 2001-04-28  Martin Kalen  <martin.kalen@todaysystems.com.au>
1352
1353         * pa.c (FRP): Remove erroneous white space in macro definition.
1354
1355 2001-04-28  Andreas Jaeger  <aj@suse.de>
1356
1357         * invoke.texi: Use XX-bit instead of XXbit or XX bit where
1358         appropriate.
1359         * extend.texi: Likewise.
1360         * tm.texi: Likewise.
1361
1362 2001-04-28  Andreas Jaeger  <aj@suse.de>
1363
1364         * md.texi: Use XX-bit instead of XXbit or XX bit where
1365         appropriate.
1366
1367 2001-04-28  Jens Schweikhardt <schweikh@schweikhardt.net>
1368
1369         * gcc.c (process_command): Allow -l lib in addition to -llib
1370         for POSIX compliance. This fixes PR c/2347.
1371
1372         * invoke.texi: Update section on Link Options accordingly.
1373
1374 2001-04-27  Zack Weinberg  <zackw@stanford.edu>
1375
1376         * function.c (purge_addressof_1): Remove the duplicate
1377         if (code == SET) block.  Fold the two if (code == ADDRESSOF)
1378         blocks together.
1379
1380 2001-04-28  Jason Merrill  <jason_merrill@redhat.com>
1381
1382         * except.c (expand_eh_region_start): Don't start a new block.
1383         (expand_eh_region_end): Don't end a block.
1384         * stmt.c (expand_end_bindings): Don't end EH blocks.
1385         (expand_decl_cleanup): Starting an EH region won't change the block.
1386         (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
1387         (is_eh_region): Lose.
1388         * tree.h: Adjust.
1389
1390 2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
1391
1392         * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
1393
1394         * collect2.c (main): Add `-L' case to remove duplicate entries.
1395         (is_in_args): New function to check for a duplicate argument.
1396         * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
1397         * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
1398         * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
1399         Define to be nonzero.
1400
1401 2001-04-27  Andreas Jaeger  <aj@suse.de>
1402             Richard Henderson  <rth@redhat.com>
1403
1404         * md.texi (Machine Constraints): Document additional i386
1405         constraints and fix description of "A".
1406
1407 Fri Apr 27 10:43:49 2001  Jeffrey A Law  (law@cygnus.com)
1408
1409         * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
1410
1411 2001-04-27  Jason Merrill  <jason_merrill@redhat.com>
1412
1413         * except.c (get_exception_filter): word_mode, not Pmode.
1414
1415 2001-04-26  Geoffrey Keating  <geoffk@redhat.com>
1416
1417         * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
1418         common to other movsf patterns.  Move up so that in future
1419         people who change the other patterns will change it too.
1420         (movsf_lo_sum): Allow even for soft-float; add appropriate
1421         constraints.
1422         (movsf_high): Likewise.
1423         (movsf_high+1): Allow even for soft-float.
1424
1425         * function.c (expand_function_end): Always clobber the
1426         return registers, even if there is no return label.
1427
1428 Thu Apr 26 20:28:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
1429
1430         * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
1431
1432 Thu Apr 26 19:20:28 CEST 2001  Jan Hubicka  <jh@suse.cz>
1433
1434         * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
1435         (pushqi2_rex64, pushhi2_rex64): Add.
1436
1437 2001-04-26  Andrew Haley  <aph@cambridge.redhat.com>
1438
1439         * except.c (expand_eh_region_end_cleanup): Force pending stack
1440         adjust before emitting label that branches around cleanup code.
1441
1442 2001-04-26  H.J. Lu  (hjl@gnu.org)
1443
1444         * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
1445
1446         * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
1447         define.
1448         * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
1449         (ASM_OUTPUT_SECTION_NAME): Likewise.
1450         (ASM_WEAKEN_LABEL): Likewise.
1451         (UNIQUE_SECTION): Likewise.
1452         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
1453         (ASM_OUTPUT_DESTRUCTOR): Likewise.
1454         * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
1455         (ASM_OUTPUT_SECTION_NAME): Likewise.
1456         (ASM_WEAKEN_LABEL): Likewise.
1457         (UNIQUE_SECTION): Likewise.
1458         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
1459         (ASM_OUTPUT_DESTRUCTOR): Likewise.
1460         * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
1461         * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
1462         (ASM_FILE_START): Likewise.
1463         (ASM_OUTPUT_SOURCE_LINE): Likewise.
1464         (ASM_DECLARE_OBJECT_NAME): Likewise.
1465         (ASM_FILE_END): Likewise.
1466         (ASM_DECLARE_FUNCTION_NAME): Likewise.
1467         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
1468         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1469         (ASM_OUTPUT_CASE_LABEL): Likewise.
1470         (ASM_OUTPUT_SKIP): Likewise.
1471         (ASM_OUTPUT_ASCII): Likewise.
1472         (ASM_OUTPUT_IDENT): Likewise.
1473         (READONLY_DATA_SECTION): Likewise.
1474         (EXTRA_SECTIONS): Likewise.
1475         (EXTRA_SECTION_FUNCTIONS): Likewise.
1476         (SELECT_RTX_SECTION): Likewise.
1477         (SELECT_SECTION): Likewise.
1478
1479         * config/mips/linux.h (INVOKE__main): Undefine.
1480         (CTOR_LIST_BEGIN): Likewise.
1481         (CTOR_LIST_END): Likewise.
1482         (DTOR_LIST_BEGIN): Likewise.
1483         (DTOR_LIST_END): Likewise.
1484         (SET_ASM_OP): Defined it to ".dummy".
1485         (ASM_OUTPUT_DEF): Defined.
1486         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
1487
1488 2001-04-26  Nick Clifton  <nickc@cambridge.redhat.com>
1489
1490         * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
1491         assembler supports .p2align.
1492
1493 2001-04-26  Nathan Sidwell <nathan@codesourcery.com>
1494
1495         * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
1496
1497 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
1498
1499         * integrate.c (expand_inline_function): Check for error_mark_node
1500         in actual argument.
1501
1502 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
1503
1504         * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
1505         -m386 and -m486.
1506
1507 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
1508
1509         * configure.in (configargs.h): Define thread_model.
1510         * configure: Rebuilt.
1511         * gcc.c (main): Print it with -v.
1512
1513 2001-04-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1514
1515         * invoke.texi: Document -Wmissing-braces, -dumpspecs,
1516         -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
1517         * gcc.1: Regenerate.
1518
1519 2001-04-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1520
1521         * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
1522         is_redundant_typedef): Use static inline instead of inline static.
1523
1524 Wed Apr 25 18:21:01 2001  Christopher Faylor <cgf@cygnus.com>
1525
1526         * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
1527         this directory is always searched.
1528
1529 2001-04-25  Richard Henderson  <rth@redhat.com>
1530
1531         * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
1532         of registers to restore along non eh_return path.
1533
1534 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1535
1536         * c-format.c (check_format_info_recurse): Handle
1537         PLUS_EXPR for format string.
1538
1539 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1540
1541         * config/ia64/ia64.h (CC1_SPEC): Define.
1542         * config/ia64/linux.h (CC1_SPEC): Define.
1543
1544 Wed Apr 25 17:09:50 2001  J"orn Rennecke <amylaar@redhat.com>
1545
1546         * emit-rtl.c (constant_subword): Also do sign extension in
1547         BITS_PER_WORD == 16 case.
1548
1549 2001-04-25  Jason Merrill  <jason_merrill@redhat.com>
1550
1551         * loop.c (try_swap_copy_prop): Go back to checking insn.
1552
1553 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1554
1555         * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
1556         if check_mode is non-zero.
1557
1558 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1559
1560         * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
1561         out and comparison sequence has been detected, put result into
1562         proper temporary pseudo.
1563
1564 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
1565
1566         * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
1567         * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
1568         * libgcc2.c: Remove __dummy and __builtin_saveregs.
1569         * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
1570         * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
1571         for future reference.
1572
1573 2001-04-24  Jason Merrill  <jason_merrill@redhat.com>
1574
1575         * except.c (reachable_handlers): Step out one level from a RESX.
1576
1577         * except.c (struct eh_region): Rename 'last' to 'resume'.
1578         (mark_eh_region, duplicate_eh_region_1): Adjust.
1579         (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
1580         (build_post_landing_pads): Likewise.
1581         (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
1582         (expand_eh_region_end_must_not_throw): Likewise.
1583         (connect_post_landing_pads): Thread (only) regions with non-deleted
1584         resume insns.
1585
1586         * except.c (expand_eh_region_end_cleanup): Save the EH return data
1587         registers around the cleanup.
1588         (get_exception_filter): New fn.
1589         (finish_eh_generation): Use it.
1590
1591 2001-04-24  Nathan Sidwell <nathan@codesourcery.com>
1592
1593         * c-semantics.c (add_scope_stmt): Don't call
1594         current_scope_stmt_stack multiple times.
1595
1596 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
1597             Nathan Sidwell <nathan@codesourcery.com>
1598
1599         Lazy __FUNCTION__ generation.
1600         * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
1601         RID_C99_FUNCTION_NAME): New _RIDs.
1602         (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
1603         (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
1604         CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
1605         global tree slots.
1606         (function_id_node, pretty_function_id_node, func_id_node): Remove.
1607         (c99_function_name_decl_node, function_name_decl_node,
1608         pretty_function_name_decl_node, saved_function_name_decls):
1609         Declare.
1610         (struct language_function): Remove x_function_name_declared_p.
1611         (make_fname_decl): Remove a parameter.
1612         (declare_function_names): Remove prototype.
1613         (start_fname_decls, finish_fname_decls): Prototype.
1614         (fname_as_string): Likewise.
1615         (fname_string, fname_decl): Likewise.
1616         * c-common.c (make_fname_decl): Adjust.
1617         (struct fname_var_t): New struct.
1618         (fname_vars): New static array.
1619         (declare_function_name): Remove.
1620         (start_fname_decls, finish_fname_decls): New functions.
1621         (fname_as_string): New function from remnants of
1622         declare_function_name.
1623         (fname_string, fname_decl): New functions.
1624
1625         * c-decl.c (c_function_name_declared_p): Remove.
1626         (init_decl_processing): Don't generate __FUNCTION__ et al ids,
1627         don't call declare_function_name. Call start_fname_decls.
1628         (c_make_fname_decl): Adjust parameters. Generate the name. Don't
1629         clobber the line number. Call finish_decl.
1630         (start_function): Call start_fname_decls.
1631         (finish_function): Call finish_fname_decls.
1632         Remove c_function_name_declared_p.
1633         (push_c_function_context): Don't push c_function_name_declared_p.
1634         (pop_c_function_context): Don't pop c_function_name_declared_p.
1635         (c_begin_compound_stmt): Don't check c_function_name_declared_p.
1636         * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
1637         (program): Call finish_fname_decls for C.
1638         (primary): Add VAR_FUNC_NAME.
1639         (reswords): Add slots for __FUNCTION__ et al.
1640         (rid_to_yy): Add mappings for __FUNCTION__ et al.
1641         (yylexname): If it's a STRING_FUNC_NAME generate the function name
1642         now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
1643         * c-semantics.c (prune_unused_decls): Remove.
1644         (finish_stmt_tree): Don't call prune_unused_decls.
1645         (genrtl_decl_stmt): Don't prune unused decls here.
1646
1647 2001-04-24  Nick Clifton  <nickc@cambridge.redhat.com>
1648
1649         * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
1650         constant pool, use the pool's SYMBOL_REF instead.
1651
1652         * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
1653         v850e.
1654
1655 2001-04-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1656
1657         * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
1658         passing nested NOP_EXPRs to fold.
1659
1660 Mon Apr 23 14:32:12 CEST 2001  Jan Hubicka  <jh@suse.cz>
1661
1662         * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
1663
1664 2001-04-22  Mark Mitchell  <mark@codesourcery.com>
1665
1666         * loop.c (loop_delete_insns): Add prototype.
1667
1668 2001-04-23  Phil Edwards  <pme@sources.redhat.com>
1669
1670         * configure.in:  Remove ENABLE_STD_NAMESPACE.
1671         * config.in:  Regenerated.
1672         * configure:  Regenerated.
1673
1674 2001-04-22  Stan Shebs  <shebs@apple.com>
1675
1676         * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
1677         into xm_defines.
1678         * config/rs6000/xm-darwin.h: Remove file.
1679
1680 2001-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1681
1682         * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
1683         (write_c_file_stat): Likewise.
1684
1685         * dbxout.c (dbxout_init): Likewise.
1686
1687         * profile.c (output_func_start_profiler): Likewise.
1688
1689 2001-04-22  Philipp Thomas  <pthomas@suse.de>
1690
1691         * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
1692         require it instead of the CVS version.
1693         * cpperror.c (v_message): Put a blank before the macro
1694         body to not confuse exgettext.
1695
1696 2001-04-21  Mark Mitchell  <mark@codesourcery.com>
1697
1698         * flow.c (proagate_one_insn): Remove useless assignment.
1699         * jump.c (delete_insn): Tidy.
1700         * loop.c (try_copy_prop): When deleting an instruction with a
1701         REG_RETVAL note, delete the entire libcall sequence.
1702         (loop_delete_insns): New function.
1703         * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
1704         we're not substituting into them yet.
1705
1706 2001-04-21  Kazu Hirata  <kazu@hxi.com>
1707
1708         * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
1709
1710         * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
1711         Fix a comment typo.
1712         * config/i960/i960.c (signed_arith_operand): Likewise.
1713
1714         * calls.c (expand_call): Fix a comment typo.
1715
1716 2001-04-20  Zack Weinberg  <zackw@stanford.edu>
1717
1718         * configure.in: Probe for times, clock, struct tms, and clock_t.
1719         * configure, config.in: Regenerate.
1720         * timevar.c: Replace ifdef forest in get_time with (relatively)
1721         straightforward series of checks based on autoconf's probes.
1722
1723 Fri Apr 20 12:24:50 2001  Jeffrey A Law  (law@cygnus.com)
1724
1725         * config/pa/som.h (NM_FLAGS): Define.
1726
1727 2001-04-20  Bernd Schmidt  <bernds@redhat.com>
1728
1729         * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
1730         function.
1731         * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
1732         * ia64.c (nop_cycles_until): New function.
1733         (prev_cycle, prev_first, last_issued): New static variables.
1734         (ia64_sched_reorder): Additional arg for clock.
1735         On final scheduling pass, emit extra NOPs as needed.
1736         Set prev_first and prev_cycle.
1737         (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
1738         (ia64_variable_issue): Set last_issued.
1739
1740 2001-04-20  Alexandre Oliva  <aoliva@redhat.com>
1741
1742         * config/i386/i386.c (ix86_expand_int_movcc,
1743         ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
1744
1745 2001-04-20  Geoff Keating  <geoffk@redhat.com>
1746
1747         * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
1748         ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
1749         ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
1750         ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
1751         ctrdi_internal6): In the short-branch case, this insn is only 4
1752         bytes long.  Reported by Reza Yazdani <reza@apple.com>.
1753
1754 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
1755
1756         * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
1757         "=u" is used together with "st" resp. "st(1)" clobber.
1758
1759 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
1760
1761         * gcse.c (gcse_main): Fix comment typo.
1762         (delete_null_pointer_check): Likewise.
1763         (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
1764         * cse.c (cse_insn): Likewise.
1765         * function.c (fixup_var_refs_insns_with_hash): The sequence is
1766         toplevel.
1767
1768 2001-04-19  Zack Weinberg  <zackw@stanford.edu>
1769
1770         * toplev.c: Excise all code for the undocumented -dm option.
1771         (float_signal): Call signal just once, unconditionally.
1772
1773 2001-04-19  Geoff Keating  <geoffk@redhat.com>
1774
1775         * fold-const.c (fold): Use first_rtl_op rather than
1776         TREE_CODE_LENGTH when looping over parameters of a tree.
1777         Correct strange grouping in test for evaluated SAVE_EXPR.
1778
1779 Thu Apr 19 19:15:26 2001  Jeffrey A Law  (law@cygnus.com)
1780
1781         * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
1782         * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
1783
1784         * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
1785         name at 32 total characters.
1786         (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
1787         functions in named sections -- data items can still go into unique
1788         sections, but they have normal names (ie $LIT$ and $DATA$).
1789
1790         * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
1791         INIT_PRIORITY.
1792
1793 2001-04-19 DJ Delorie  <dj@redhat.com>
1794
1795         * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
1796         to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
1797         * config/i386/cygwin.h: Likewise.
1798         * config/i386/mingw32.h: Likewise.
1799         * config/vax/vms.h: Likewise.
1800         * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
1801
1802         * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
1803         to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
1804         * config/i386/xm-cygwin.h: Likewise.
1805         * config/i386/xm-djgpp.h: Likewise.
1806         * config/i386/xm-mingw32.h: Likewise.
1807         * config/vax/xm-vms.h: Likewise.
1808
1809         * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
1810         instead of OBJECT_SUFFIX.
1811         * collect2.c (find_a_file): Look for files matching the extension
1812         HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
1813         * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
1814         TARGET_EXECUTABLE_SUFFIX.
1815         (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
1816         (make_relative_prefix): Likewise.
1817         (convert_filename): Use TARGET_ suffixes throughout.  Remove
1818         NO_AUTO_EXE_SUFFIX.
1819         (process_command): Likewise.
1820         (do_spec_1): Likewise.
1821         * java/lang.c (init_parse): Likewise.
1822
1823         * gcc.texi : Document four new options matching the pattern
1824         (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX.  Remove documentation
1825         for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.  Remove
1826         documentation for NO_AUTO_EXE_SUFFIX.
1827
1828 2001-04-19  Mark Mitchell  <mark@codesourcery.com>
1829
1830         * toplev.h (struct lang_hooks): Allow decode_option to indicate
1831         that language-independent processing should not be done.
1832         * toplev.c (main): Adjust accordingly.
1833
1834         * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
1835         * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
1836
1837         * mips.md (reload_outputdi): Require that operand0 be a
1838         general_operand.
1839
1840 2001-04-19  Jakub Jelinek  <jakub@redhat.com>
1841
1842         * invoke.texi (-Wshadow): Clarify.
1843
1844 2001-04-18  Mark Mitchell  <mark@codesourcery.com>
1845
1846         * loop.c (load_mems): Examine all the instructions in the loop
1847         before concluding that all jumps branch to the first instruction
1848         after the loop.
1849
1850 Wed Apr 18 20:32:03 2001  Christopher Faylor <cgf@cygnus.com>
1851
1852         * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
1853
1854 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
1855
1856         * cpp.texi (-Wwhite-space): Remove.
1857         (-Wall): -Wall does not imply -Wwhite-space.
1858
1859 2001-04-17  Zack Weinberg  <zackw@stanford.edu>
1860
1861         * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
1862         use it instead of blindly generating a .stabs.
1863         * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
1864         in the right place.
1865         * xcoffout.c: Don't bother defining default for N_CATCH.
1866         (UNKNOWN_STAB): Use internal_error.
1867         (stab_to_sclass): Remove now-unnecessary aborts.
1868         Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.
1869
1870 Tue Apr 17 21:41:11 2001  Jeffrey A Law  (law@cygnus.com)
1871
1872         * jump.c (mark_all_labels): Canonicalize the tail recursion
1873         label attached to CALL_PLACEHOLDER insns.
1874
1875 2001-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1876
1877         * output.h (dump_flow_info, free_basic_block_vars,
1878         which_alternative): Delete redundant prototypes.
1879
1880         * rtl.h (bss_section): Likewise.
1881
1882 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
1883
1884         * dbxout.c (N_OPT): Define if not available from <stab.h>
1885
1886 2001-04-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1887
1888         * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
1889         libraries and native K&R compilers.
1890
1891 2001-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1892
1893         * c-typeck.c (convert_arguments): Don't check for width changes
1894         with -Wtraditional.
1895
1896         * invoke.texi (-Wtraditional): Update documentation.
1897
1898 2001-04-16  Zack Weinberg  <zackw@stanford.edu>
1899
1900         * toplev.c (output_lang_identify): Delete.
1901         (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
1902         Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
1903         If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
1904         after calling ASM_FILE_END.
1905
1906         * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
1907         Instead, unconditionally emit an N_OPT stab with string equal
1908         to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
1909
1910         * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
1911
1912         * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
1913         config/psos.h, config/ptx4.h, config/1750a/1750a.h,
1914         config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
1915         config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
1916         config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
1917         config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
1918         config/i370/i370.h, config/i386/beos-elf.h,
1919         config/i386/osf1elf.h, config/i386/osfrose.h,
1920         config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
1921         config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
1922         config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
1923         config/m68k/tower-as.h, config/mcore/mcore-elf.h,
1924         config/mips/iris6.h, config/mips/osfrose.h,
1925         config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
1926         config/sparc/sp64-elf.h:
1927         Delete definitions of any or all of: ASM_IDENTIFY_GCC,
1928         ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
1929
1930         * config/elfos.h, config/freebsd.h, config/linux.h,
1931         config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
1932         config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
1933         config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
1934         of ASM_FILE_START which merely emit a .version directive.  Delete
1935         definitions of ASM_FILE_END which merely emit an .ident directive.
1936
1937         * config/avr/avr.h, config/vax/vax.h: Delete definition of
1938         ASM_IDENTIFY_GCC and move part of its logic into
1939         ASM_FILE_START.
1940
1941         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
1942         config/sparc/linux-aout.h: Don't emit .version directive in
1943         ASM_FILE_START.
1944
1945         * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
1946         (output_file_start): Correct comment.
1947
1948         * config/i386/osfrose.h: Don't emit trailing .ident directive.
1949         * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
1950         to match gdb.
1951         * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
1952         * config/rs6000/aix.h: Correct comment.
1953
1954         * config/i386/i386afe.h: Delete.
1955         * config.gcc: Remove references to i386afe.h.
1956
1957         * tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
1958         other macros deleted by this patch were undocumented.
1959
1960 Mon Apr 16 08:03:48 2001  Jeffrey A Law  (law@cygnus.com)
1961
1962         * pa.md (reload_outdi): Operand 0 must be a non hard register.
1963
1964         * pa.c (secondary_reload_class): SAR<->FP copies require a
1965         secondary register.
1966
1967         * install.texi (mips-mips-bsd): Update list of functions
1968         required to include memmove.
1969         * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
1970         used functions to include memmove.
1971
1972 2001-04-15  Toon Moene  <toon@moene.indiv.nluug.nl>
1973
1974         * i386.md (sqrtdf2): SFmode should be DFmode.
1975
1976 2001-04-15  Alexandre Oliva  <aoliva@redhat.com>
1977
1978         * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
1979         (find_moveable_store): Likewise.
1980
1981 2001-04-15  Jim Wilson  <wilson@redhat.com>
1982
1983         * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
1984
1985 Sat Apr 14 16:24:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
1986
1987         * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
1988         (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
1989
1990 2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
1991
1992         * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
1993         first alternative.
1994
1995 2001-04-14  Alan Modra  <amodra@one.net.au>
1996
1997         * pa.c (force_mode): New function.
1998         (emit_move_sequence): Use it instead of generating new rtx_REGs.
1999
2000 2001-04-13  Jim Wilson  <wilson@redhat.com>
2001
2002         * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
2003         (first_instruction): New static variable.
2004         (rtx_needs_barrier): Return 1 for alloc.
2005         (init_insn_group_barriers): Set first_instruction.
2006         (rws_sum): Delete duplicate definition.
2007         (group_barrier_needed_p): Return 0 when first_instruction true.
2008         (safe_group_barrier_needed_p): Save and restore first_instruction
2009         around group_barrier_needed_p call.
2010
2011 Fri Apr 13 21:40:28 2001  Loren J. Rittle  <ljrittle@acm.org>
2012
2013         * expr.h (enum libfunc_index): Add LTI_memmove.
2014         (memmove_libfunc): Define macro.
2015         * optabs.c (init_optabs): Initialize memmove_libfunc.
2016         * expr.c (expand_assignment): Use memmove_libfunc instead of
2017         memcpy_libfunc.
2018
2019 2001-04-13  Alan Modra  <alan@linuxcare.com.au>
2020
2021         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
2022         fp mode addresses.
2023
2024 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2025
2026         * Makefile.in (reg-stack.o): Depend on reload.h.
2027         (insn-attrtab.o): Depend on flags.h.
2028
2029         * genattrtab (main): Include flags.h in insn-attrtab.c.
2030
2031         * reg-stack.c: Include reload.h.
2032
2033         * sparc.h (flag_pic): Delete redundant declaration.
2034
2035         * output.h (flag_pic): Likewise.
2036
2037         * tree.h (pedantic): Likewise.
2038
2039 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2040
2041         * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
2042
2043         * jump.c, regmove.c, toplev.c: Include reload.h.
2044
2045         * reload.h (reload_cse_regs): Declare.
2046
2047         * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
2048         reload_cse_regs, init_reload, mark_home_live, reload,
2049         init_caller_save): Delete redundant prototypes.
2050
2051 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2052
2053         * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
2054
2055         * regclass.c, ssa.c: Include expr.h.
2056
2057         * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
2058         gen_move_insn): Delete redundant declarations.
2059
2060 2001-04-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2061
2062         * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
2063         (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
2064         MAKEINFO and MAKEINFOFLAGS too.
2065         (stage4_build): Correctly order -B flags.
2066
2067 2001-04-13  Alan Modra  <amodra@one.net.au>
2068
2069         * pa.c (hppa_init_pic_save): Set rtx_unchanging for
2070         PIC_OFFSET_TABLE_SAVE_RTX.
2071         (zdepi_cint_p): Describe zdepi insn.
2072         Formatting and white space fixes throughout file.
2073
2074         * pa.c (uint32_operand): Don't use long constant >= 2^32.
2075         (emit_move_sequence): Use HOST_WIDE_INT constants.  Don't worry
2076         about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
2077         (compute_movstrsi_length): Make `align' unsigned to avoid warning.
2078         (output_64bit_and): Use plain `int's for shift counts.
2079         (output_64bit_ior): Likewise.
2080         (function_arg_partial_nregs): Use unsigned vars to avoid warnings.
2081         * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
2082         `N', and simplify.
2083
2084         * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
2085         * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
2086         * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
2087         NEW_HP_ASSEMBLER into one.  Kill warnings.
2088
2089         * pa-gas.h: Delete file.
2090         * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
2091         Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*.  Update
2092         hppa*-*-linux*.  For all pa targets, remove pa/gas.h from tm_file,
2093         instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
2094
2095         * config/pa/mill32.S: New file.
2096         * config/pa/mill64.S: New file.
2097         * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
2098         LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
2099         * config/pa/t-linux64: New file.
2100         * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
2101         (LIB1ASMFUNCS, LIB1ASMSRC): Define.
2102         (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
2103
2104         * elfos.h (SELECT_SECTION): Undef before defining.
2105         * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
2106         (LIB_SPEC): Remove -lmilli.
2107         (DBX_REGISTER_NUMBER): Remove.
2108         (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
2109         (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
2110         NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
2111         DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
2112         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
2113         ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
2114         ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
2115         TARGET_GAS): Define.
2116         * pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
2117         (function_arg): If TARGET_ELF32, pass fp args in both general and fp
2118         regs if we don't have a prototype.
2119         * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
2120         * pa.h (TARGET_ELF32): Default to 0 if undefined.
2121         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
2122         EH_RETURN_HANDLER_RTX): Define.
2123         * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
2124         (DWARF_FRAME_REGNUM): Define.
2125         * pa64-regs.h (DWARF_FRAME_REGNUM): Define.
2126         * pa32-linux.h: New file.
2127         * pa64-linux.h: New file.
2128
2129         * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
2130         (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
2131         (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
2132         NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
2133         DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
2134         DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
2135         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
2136         FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
2137         READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
2138         DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
2139         UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
2140         ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
2141         TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
2142         * pa64-hpux.h: New file.
2143         (ASM_FILE_START): Correct typo.
2144         (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
2145         * config.gcc: Modify for above.
2146
2147 Fri Apr 13 00:09:22 EDT 2001  John Wehle  (john@feith.com)
2148
2149         * jump.c (jump_optimize_1): Don't delete dead stores here.
2150         * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
2151         prior to running jump optimize before cse2.
2152
2153 2001-04-12  Richard Henderson  <rth@redhat.com>
2154
2155         * Makefile.in (regmove.o): Depend on except.h.
2156         * regmove.c: Include it.
2157
2158 2001-04-12  Stan Shebs  <shebs@apple.com>
2159
2160         * objc/objc-act.c: Remove all code ifdefed with the never-used
2161         macro OBJC_INT_SELECTORS.
2162         * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
2163         * tm.texi: Remove doc for OBJC_INT_SELECTORS.
2164
2165 Thu Apr 12 18:13:37 2001  Rodney Brown  <RodneyBrown@mynd.com>
2166
2167         * config/pa/quadlib.c: Add prototypes.
2168
2169 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2170
2171         * bitmap.h (debug_bitmap): Delete redundant prototype.
2172
2173         * rtl.h (get_frame_size): Likewise.
2174
2175 2001-04-12  Jim Wilson  <wilson@redhat.com>
2176
2177         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
2178         to just emit an fnorm.
2179
2180 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2181
2182         * c-common.h (truthvalue_conversion, type_for_mode,
2183         type_for_size): Delete redundant declarations.
2184
2185         * c-lex.h (is_class_name): Likewise.
2186
2187         * c-tree.h (pedantic, convert, getdecls, gettags,
2188         global_bindings_p, init_decl_processing, insert_block,
2189         maybe_build_cleanup, poplevel, print_lang_decl,
2190         print_lang_identifier, print_lang_type, pushdecl, pushlevel,
2191         set_block, incomplete_type_error, build_function_call,
2192         lvalue_or_else, mark_addressable): Likewise.
2193
2194         * expr.h (expand_tree_builtin): Likewise.
2195
2196 2001-04-12  Mark Mitchell  <mark@codesourcery.com>
2197
2198         * invoke.texi: Document --param max-gcse-memory.
2199
2200 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2201
2202         * configure.in (errno): Check for declaration.
2203         * configure, config.in: Regenerated.
2204
2205         * system.h (errno): Only declare if not already done.
2206
2207 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
2208
2209         * recog.c (general_operand, immediate_operand,
2210         nonmemory_operand): Require CONST_INTs to be sign-extended
2211         values for their modes.
2212
2213 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
2214
2215         * expmed.c (store_bit_field): Truncate CONST_INTs.
2216         (expand_mult_highpart, expand_divmod): Likewise.
2217         * expr.c (convert_modes, store_field): Likewise.
2218         * integrate.c (expand_inline_function): Use promote_mode() to
2219         determine whether to convert_modes() an argument as signed
2220         or unsigned.
2221         * optabs.c (expand_binop): Get CONST_INT operands
2222         sign-extended for their appropriate modes.
2223         * stmt.c (emit_case_nodes): Convert node values to the
2224         appropriate mode.
2225         (expand_end_case): Convert minval and range to the appropriate
2226         mode.
2227         * unroll.c (loop_iterations): Truncate abs_diff to the mode of
2228         the iteration variable.
2229         * varasm.c (immed_double_const): Don't require words to be
2230         narrower than host wide ints to properly sign-extend
2231         CONST_INTs.
2232
2233 2001-04-12  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2234
2235         * sh.md (builtin_setjmp_receiver): New expander.
2236
2237 2001-04-12  David Edelsohn  <dje@watson.ibm.com>
2238
2239         * config/rs6000/rs6000.c (rs6000_emit_move): Do not
2240         special-case HOST_BITS_PER_WIDE_INT != 32.  Use same criteria
2241         for generating CONST_INT and CONST_DOUBLE.
2242
2243 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
2244
2245         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
2246         already sign-extended.
2247         (rs6000_emit_prologue): Make register iterator signed.
2248         (rs6000_emit_epilogue): Likewise.
2249         * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
2250         and low.
2251         (movsf split, movdf split): Sign-extend CONST_INTs.
2252         (movdi splits): Likewise.
2253
2254 2001-04-12  Kelley Cook <kelley.cook@home.com>
2255
2256         * config-lang.in (lang_dirs): Add in zlib.
2257
2258 2001-04-11  Alexandre Oliva  <aoliva@redhat.com>
2259
2260         * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
2261         operands that make it to RTL.
2262
2263 2001-04-11  Stan Shebs  <shebs@apple.com>
2264
2265         Add Darwin (Mac OS X kernel) native support.
2266         * config.gcc (powerpc-*-darwin*): Add native bits.
2267         * config/darwin.c: New file, generic Darwin support functions.
2268         * config/darwin.h: New file, generic Darwin definitions.
2269         * config/darwin-protos.h: New file, generic Darwin prototypes.
2270         * rs6000/darwin.h: New file, Darwin for PowerPC.
2271         * rs6000/t-darwin: New file, Darwin makefile fragment.
2272         * rs6000/rs6000.h (OBJECT_MACHO): New macro.
2273         (TARGET_MACHO): Ditto.
2274         (rs6000_abi): Add ABI_DARWIN.
2275         (RS6000_REG_SAVE): Add ABI_DARWIN case.
2276         (RS6000_SAVE_AREA): Ditto.
2277         (FP_ARG_MAX_REG): Ditto.
2278         (RETURN_ADDRESS_OFFSET): Ditto.
2279         * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
2280         cases.
2281         (rs6000_emit_move): Add ABI_DARWIN cases.
2282         (print_operand): Ditto.
2283         (first_reg_to_save): Ditto.
2284         (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
2285         (debug_stack_info): Ditto.
2286         (rs6000_emit_prologue): Ditto.
2287         (rs6000_emit_epilogue): Ditto.
2288         (output_profiler_hook): Ditto.
2289         (output_function_profiler): Ditto.
2290         (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
2291         (output_mi_thunk): Add TARGET_MACHO case.
2292         (add_compiler_stub): Ditto.
2293         (output_compiler_stub): Ditto.
2294         (no_previous_def): Ditto.
2295         (output_call): Ditto.
2296         (machopic_output_stub): Ditto.
2297         (rs6000_machopic_legitimize_pic_address): Ditto.
2298         (toc_section): Ditto.
2299         * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
2300         (macho_high): Ditto.
2301         (macho_low): Ditto.
2302         (movsi_low): Ditto.
2303         (load_macho_picbase): Ditto.
2304         (call): Add TARGET_MACHO case to modify function.
2305         (call_value): Ditto.
2306         (call_nonlocal_sysv): Add ABI_DARWIN case.
2307         (call_value_nonlocal_sysv): Ditto.
2308         * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
2309         Add prototype.
2310         (machopic_output_stub): Ditto.
2311         * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
2312
2313 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
2314
2315         * dwarf2out.c (modified_type_die): Don't create new types here.
2316         * tree.h (get_qualified_type): New function.
2317         (build_qualified_type): Adjust comment.
2318         * tree.c (get_qualified_type): New function.
2319         (build_qualified_type): Use it.
2320
2321 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2322
2323         * cpp.texi (-Wtraditional): Update description.
2324
2325         * invoke.texi (-Wtraditional): Likewise.
2326
2327 2001-04-11  Jim Wilson  <wilson@redhat.com>
2328
2329         * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
2330         requires more than 64 bits of alignment.
2331
2332 2001-04-11  Neil Booth  <neil@daikokuya.demon.co.uk>
2333
2334         * cpplib.c (do_line): Sanity check iff enable checking.
2335
2336 2001-04-11  Richard Henderson  <rth@redhat.com>
2337
2338         * Makefile.in (insn-recog.o): Depend on toplev.h.
2339         (insn-emit.o, doloop.o): Likewise.
2340         * genrecog.c, genemit.c: Include toplev.h in generated file.
2341         * doloop.c: Include toplev.h.
2342
2343 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
2344
2345         * Makefile.in (gcse.o): Depend on params.h.
2346         * gcse.c: Include params.h.
2347         (gcse_main): Don't do GCSE if doing so will take inordinate
2348         amounts of memory.
2349         * params.def (PARAM_MAX_GCSE_MEMORY): New  parameter.
2350         * params.h (MAX_GCSE_MEMORY): New macro.
2351
2352 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2353
2354         * Makefile.in (insn-output.o): Depend on $(EXPR_H).
2355
2356         * genoutput.c (output_prologue): Include expr.h in insn-output.c.
2357
2358 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2359
2360         * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
2361
2362         * real.h (ereal_atof, real_value_truncate, target_isnan,
2363         target_isinf, target_negative, assemble_real, debug_real): Delete
2364         redundant prototypes.
2365
2366         * Makefile.in (ifcvt.o): Depend on toplev.h.
2367
2368         * c-semantics.c: Include expr.h.
2369
2370         * ifcvt.c: Include toplev.h.
2371
2372         * expr.h (rtx_equal_p): Delete prototype.
2373
2374         * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
2375         protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
2376         eliminate_constant_term, expand_complex_abs, find_single_use,
2377         make_tree, init_expr_once, init_optabs, supports_one_only):
2378         Likewise.
2379
2380         * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
2381         rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
2382         expand_assignment, store_expr, emit_line_note_after,
2383         emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
2384
2385         * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
2386
2387         * sparc-protos.h: Delete redundant prototypes.
2388
2389 2001-04-11  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
2390
2391         * reload.c (push_reload): Add condition missed in SUBREG byte
2392         offset patch.
2393
2394 Wed Apr  4 00:28:23 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2395
2396         * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
2397
2398 Wed Apr 11 14:06:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
2399
2400         * i386.md (floatsisf_sse): Fix output template
2401         * i386.c (ix86_expand_fp_movcc)
2402
2403         * reg-stack.c (emit_pop_insn): Handle complex modes.
2404         (move_for_stack_reg): Emit proper move mode.
2405         (subst_stack_regs_pat): Handle complex modes.
2406
2407 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2408
2409         * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
2410
2411 2001-04-10  Richard Henderson  <rth@redhat.com>
2412
2413         * libgcc2.h (__terminate_func_ptr): Remove typedef.
2414         (__pure_virtual, __terminate, __terminate_set_func,
2415         __default_terminate, __throw_type_match, __empty,
2416         __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
2417         __eh_rtime_match, __unwinding_cleanup, __rethrow,
2418         __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
2419         Remove prototypes of deleted functions.
2420
2421 2001-04-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2422
2423         * c-typeck.c (convert_arguments): -Wtraditional now activates
2424         -Wconversion warnings, except for changes in signed-ness.
2425         Detect complex<->int & int<->complex conversions as well.
2426
2427         * invoke.texi (-Wtraditional): Document it.
2428
2429 Tue Apr 10 17:45:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2430
2431         * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
2432         * flow.c (set_block_for_new_insns): Remove needless cast and
2433         properly check for unset block number.
2434
2435 2001-04-10  Andrew MacLeod  <amacleod@redhat.com>
2436
2437         * function.c (purge_single_hard_subreg_set): Only check REGNO if
2438         the subreg was a hard register. Pseudos are left as subregs.
2439
2440 2001-04-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2441
2442         * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
2443         (LIB2ADD_ST): New macro, pass it to mklibgcc.
2444         * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
2445         (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
2446         * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
2447
2448 2001-04-09  Bo Thorsen  <bo@suse.co.uk>
2449
2450         * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
2451
2452 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
2453
2454         * output.h (set_block_num): Missed it earlier, remove deprecated
2455         prototype.
2456
2457 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
2458
2459         * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
2460         (load_killed_in_block_p): Change bb parameter from int to basic_block.
2461         (oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
2462         (handle_rd_kill_set): Change bb parameter from int to basic_block.
2463         (compute_kill_rd): Pass basic_blocks instead of ints as parameters.
2464         (expr_killed_p): Change bb parameter from int to basic_block, pass
2465         basic_blocks instead of ints as parameters.
2466         (compute_ae_kill): Pass basic_blocks instead of ints as parameters.
2467         (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
2468         from int to basic_block, pass basic_blocks instead of ints as parms.
2469         (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
2470         parameter from int to basic_block, pass basic_blocks instead of ints.
2471         (process_insert_insn): Pass basic_blocks instead of ints as parameters.
2472         (insert_insn_end_bb): Change bb parameter from int to basic_block,
2473         pass basic_blocks instead of ints.
2474         (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
2475         basic_blocks instead of ints as parameters.
2476         (pre_delete): Pass basic_blocks instead of ints as parameters.
2477         (hoist_expr_reaches_here_p): Change bb parameter from int to
2478         basic_block, pass basic_blocks instead of ints.
2479         (hoist_code): Pass basic_blocks instead of ints as parameters.
2480         (reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
2481         Change bb parameter from int to basic_block.
2482         (build_store_vectors): Pass basic_blocks instead of ints as parameters.
2483         (insert_insn_start_bb): Change bb parameter from int to basic_block,
2484         pass basic_blocks instead of ints.
2485         (insert_store): Pass basic_blocks instead of ints as parameters.
2486         (replace_store_insn, delete_store): Change bb parameter from int to
2487         basic_block, pass basic_blocks instead of ints.
2488         (store_motion): Pass basic_blocks instead of ints as parameters.
2489
2490 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
2491
2492         * basic-block.h (set_new_block_for_insns): New Prototype.
2493         (set_block_num): Delete prototype.
2494         * flow.c (set_block_num): Remove obsolete function.
2495         (set_block_for_new_insns): Set BB for single or multiple insns.
2496         * gcse.c (handle_avail_expr): Use set_block_for_new_insns.
2497         (process_insn_end_bb): Use set_block_for_new_insns or
2498         set_block_for_insn instead of set_block_num.
2499         (pre_insert_copy_insn): Use set_block_for_new_insns.
2500         (update_ld_motion_stores): Use set_block_for_new_insns.
2501         (insert_insn_start_bb): Use set_block_for_new_insns.
2502         (replace_store_insn): Use set_block_for_new_insns.
2503
2504 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
2505             Jeff Law  <law@redhat.com>
2506
2507         * alias.c (get_addr): Externalize.
2508         (canon_true_dependence): New function. Behaves like true_dependance
2509         except it already assumes a MEM has been canonicalized.
2510         * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
2511         * gcse.c (struct ls_expr): Add load/store expressions structure.
2512         (modify_mem_list, canon_modify_mem_list): New variable.
2513         (gcse_main): Initialize & finalize alias analysis. Use enhanced
2514         load motion and store motion if requested.
2515         (alloc_gcse_mem): Allocate space for modify_mem_list array.
2516         (free_gcse_mem): Free the modify_mem_list array.
2517         (oprs_unchanged_p): Use load_killed_in_block_p.
2518         (gcse_mems_conflict_p, gcse_mem_operand): New variables.
2519         (mems_conflict_for_gcse_p): New function.  Don't kill loads
2520         with stores to themselves if its in the load/store expression list.
2521         (load_killed_in_block_p): New function.
2522         (canon_list_insert): New Function.
2523         (record_last_mem_set_info): Keep a list of all instructions which
2524         can modify memory for each basic block.
2525         (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
2526         (oprs_not_set_p): Use load_killed_in_block_p.
2527         (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
2528         (expr_killed_p): Use load_killed_in_block_p.
2529         (compute_transp): Do not pessimize memory references.
2530         (pre_edge_insert): Update stores for a load motion expression.
2531         (one_pre_gcse_pass): Check loads/stores for extra load motion.
2532         (ldst_entry): Find or create a ldst_expr structure.
2533         (free_ldst_entry): Free memory for an individual item.
2534         (free_ldst_mems): Free entire load/store expression list.
2535         (print_ldst_list): Print debug info.
2536         (find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
2537         (enumerate_ldsts): Assign integer values to each entry in list.
2538         (first_ls_expr): First expression in the list.
2539         (next_ls_expr): Next expression in the list.
2540         (simple_mem): Check if expression qualifies for ld/st expression list.
2541         (invalidate_any_buried_refs): Remove from expression list if its
2542         used in some other way we dont understand.
2543         (compute_ld_motion_mems): Find all potential enhanced load motion
2544         expression.
2545         (trim_ld_motion_mems): Remove any expressions which are invalid.
2546         (update_ld_motion_stores): Copy store values to registers for loads
2547         which have been moved.
2548         (regvec, st_antloc, num_store): New global statics.
2549         (reg_set_info): Marks registers as set.
2550         (store_ops_ok): Verfies registers expressions are valid in a block.
2551         (find_moveable_store): Look for moveable stores in a pattern.
2552         (compute_store_table): Find stores in a function worth moving, maybe.
2553         (load_kills_store): Check dependance of a load and store.
2554         (find_loads): Find any loads in a pattern.
2555         (store_killed_in_insn): Check if a store is killed in an insn.
2556         (store_killed_after): Check is store killed after an insn in a block.
2557         (store_killed_before): Check is store killed before an insn in a block.
2558         (build_store_vectors): Generate the antic and avail vectors.
2559         (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
2560         (insert_store): Add a store to an edge.
2561         (replace_store_insn): Replace a store with a SET insn.
2562         (delete_store): Delete a store insn.
2563         (free_store_memory): Free memory.
2564         (store_motion): Perform store motion.
2565         * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
2566         * rtl.h (get_addr, canon_true_dependence): Add prototypes.
2567         * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
2568         (f_options): Add gcse-lm and gcse-sm.
2569
2570 Mon Apr  9 16:18:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
2571
2572         * i386.c (expand_fp_movcc): Fix condition reversal code.
2573
2574         * i386.c (ix86_register_move_cost): Fix handling of reformating penalty
2575         * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
2576         (CLASS_MAX_NREGS): Use it.
2577
2578         * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
2579         handle properly complex values.
2580         (CLASS_MAX_NREGS): Likewise; update comment.
2581
2582 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
2583
2584         * ia64.c (ia64_flag_schedule_insns2): New variable.
2585         (ia64_override_options): Initialize it.  Clear
2586         flag_schedule_insns_after_reload.
2587         (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
2588
2589 Mon Apr  9 15:09:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
2590
2591         * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
2592         Do not require source to match destination anymore;
2593         Add abort to the nontrivial cases that should be handled by split.
2594         (fix_trunc?fdi): Add SSE case for x86_64.
2595         (floatdi?f): Likewise.
2596         (floatdi?f_sse): New.
2597         (fix_trunc?fdi_sse): New.
2598
2599 2001-04-09  Richard Sandiford   <rsandifo@redhat.com>
2600
2601         * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
2602         (DEBUG_ARANGES_END_LABEL): Ditto.
2603         (dwarfout_init): Generate length and version fields at the start
2604         of the .debug_aranges info.  Insert DEBUG_ARANGES_BEGIN_LABEL
2605         after the length field.
2606         (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
2607         the .debug_aranges info.
2608
2609 Sun Apr  8 00:43:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
2610
2611         * i386.c (call, call_value): Make sure that resulting call_insn
2612         does have proper second operand.
2613
2614 Sun Apr  8 22:50:49 2001  Christopher Faylor <cgf@cygnus.com>
2615
2616         * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
2617         function.  Remove include of sys/cygwin.h.
2618
2619 Sun Apr  8 22:20:27 2001  Christopher Faylor <cgf@cygnus.com>
2620
2621         * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
2622         (CPP_SPEC): Always search */include/w32api for header files.
2623         (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
2624         (LINK_SPEC): Add "cyg" to the library search prefixes.
2625
2626 2001-04-08  Philip Blundell  <philb@gnu.org>
2627
2628         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
2629
2630 2001-04-08  Neil Booth  <neil@daikokuya.demon.co.uk>
2631
2632         * cpperror.c (print_location): Don't special case <stdin>.
2633         (_cpp_begin_message): Handle WARNING_SYSHDR the same as
2634         WARNING, but we don't check if we're in system headers.
2635         * cpplib.h (enum error_type): WARNING_SYSHDR: New.
2636         * cpplib.c (do_warning): Warn in system headers.
2637
2638 2001-04-07  Mumit Khan <khan@NanoTech.Wisc.EDU>
2639
2640         * mbchar.c: Include config.h first.
2641
2642 2001-04-07  Zack Weinberg  <zackw@stanford.edu>
2643
2644         * config.gcc: Set default for xmake_file at top, not bottom.
2645         Change places that set xmake_file to "none" to set to the
2646         empty string instead, or remove them entirely if there is no
2647         default xmake_file for this cpu_type.  Remove references to
2648         deleted files.
2649
2650         * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
2651         config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
2652         config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
2653         config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
2654         config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
2655         config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
2656         config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
2657         config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
2658         config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
2659         config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
2660         Delete.
2661
2662         * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
2663         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
2664         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
2665         config/mips/x-sysv, config/rs6000/x-aix31:
2666         Just set CLIB to -lld or -lmld, as appropriate.
2667
2668         * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
2669         config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
2670         config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
2671         config/mips/x-iris, config/pa/x-pa:
2672         Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
2673         OTHER_FIXINCLUDES_DIRS.
2674
2675         * config/i386/x-djgpp: Don't set LN or LN_S.
2676         * config/m88k/x-dolph: Don't define __m88k__.
2677         * config/m88k/x-tekXD88: Don't set AR_FLAGS.
2678         * config/pa/x-pa-mpeix: Just set up quadlib.asm.
2679         * config/i860/fx2800.h: No need to #undef SVR4.
2680
2681         38 x-host fragments remain, 2 x-cpu.
2682
2683 2001-04-07  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2684
2685         * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
2686
2687 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
2688
2689         * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
2690
2691 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
2692
2693         * configure.in: Add check for lstat.
2694         * configure, config.in: Regenerate.
2695         * cppinit.c (append_include_chain): Make empty path ".".
2696         * cpplib.c (do_line): Don't simplify #line paths.
2697         * cppfiles.c (remove_component_p): New function.
2698         (find_or_create_entry): Acknowledge stat () errors during
2699         path simplification.
2700         (handle_missing_header): Don't simplify paths.
2701         (_cpp_simplify_pathname): Don't simplify VMS paths.  Return
2702         the empty path untouched.  Don't leave a trailing '/'.
2703
2704 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2705
2706         * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
2707         * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
2708
2709 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
2710
2711         * cppfiles.c (open_file): Fail directories silently, but
2712         with an errno of NOENT set.
2713         (read_include_file): Move the common exit code to the sole
2714         caller.  Return an int indicating success or failure.  Let
2715         open_file handle directories.
2716         (stack_include_file): If read_include_file fails,
2717         push a "null" buffer.
2718
2719 2001-04-05  DJ Delorie  <dj@redhat.com>
2720
2721         * function.h (virtuals_instantiated): Declare.
2722         * function.c: (virtuals_instantiated): Make global.
2723         * calls.c (emit_library_call_value_1): Use
2724         virtual_outgoing_args_rtx only if it hasn't been instantiated.
2725         Otherwise, use the stack pointer directly.
2726
2727 Thu Apr  5 19:13:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
2728
2729         * i386.c (x86_initialize_trampoline): New global function.
2730         * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
2731         (INITIALIZE_TRAMPOLINE): Move offline.
2732         * i386-protos.h (x86_initialize_trampoline): Declare.
2733
2734 Thu Apr  5 19:02:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
2735
2736         * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
2737         (lea_0): Rename to lea_1.
2738         (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
2739         (lea_general_?): Allow SImodes on TARGET_64BIT
2740         (lea_general_?_zext): New patterns.
2741         (call_1, call_1_rex64): Fix.
2742
2743 Thu Apr  5 19:00:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
2744
2745         * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
2746
2747 Thu Apr  5 18:25:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
2748
2749         * i386.c (function_arg): Return constm1_rtx for last argument.
2750         (ix86_expand_prologue): Update gen_call calls.
2751         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
2752         * i386.md (call_pop): Likewise.
2753         (call): Second operand is VOIDmode.
2754         (call_0): Likewise; Support 64bits.
2755         (call_exp): New expander.
2756         (call_1): Get to the sync.
2757         (call_1_exp): New pattern.
2758         (call_value): Support 64bit.
2759         (call_value_exp): New pattern.
2760         (untyped_call): Update gen_call call.
2761         (call_value_pop): Disable for 64bit.
2762         (call_value_0_rex64): New pattern.
2763         (call_value_1_rex64): Likewise.
2764
2765 2001-04-05  Bo Thorsen  <bo@suse.de>
2766
2767         * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
2768
2769 Thu Apr  5 13:44:17 2001  J"orn Rennecke <amylaar@redhat.com>
2770
2771         * i386.md (*andsi_1+3): If used after reload, make sure the operand
2772         satisfies ANY_QI_REG_P.
2773
2774 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
2775
2776         * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain
2777         ASM_OPERAND.
2778
2779         * sched-deps.c (sched_analyze_insn): Revert more of the March 27
2780         change.
2781
2782 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
2783
2784         * config.gcc: Remove default for xm_file.  Clean up local
2785         machine type handling.  Remove settings of xm_file to
2786         something that doesn't exist.  In the big switch, set xm_file,
2787         don't append to it (the value before the big switch is always
2788         null).  Don't force build_xm_file or host_xm_file to have a value.
2789         * configure.in: Remove default for xm_file.  Do not special
2790         case $cpu/xm-$cpu.h not existing.
2791         * configure: Regenerate.
2792
2793 2001-04-04  Diego Novillo  <dnovillo@redhat.com>
2794
2795         * simplify-rtx.c (simplify_binary_operation): Check for overflow
2796         when folding integer division and modulo operations.
2797
2798 2001-04-04  Andrew MacLeod  <amacleod@redhat.com>
2799
2800         * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
2801         instead of DWARF2_ADDR_SIZE for EH addresses.
2802         (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
2803         EH addresses.
2804
2805 2001-04-04  Richard Henderson  <rth@redhat.com>
2806
2807         * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
2808         * config/ia64/t-glibc (LIB2ADDEH): Disable.
2809         * config/ia64/t-ia64 (LIB2ADDEH): Disable.
2810
2811 2001-04-04  Richard Henderson  <rth@redhat.com>
2812
2813         * configure.in (gcc_cv_as_leb128): Escape "." in regexp.
2814         * configure: Rebuilt.
2815
2816 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
2817
2818         * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
2819         push insns to delete to it instead of deleting them.
2820         (delete_null_pointer_checks): Delete insns from delete_list after
2821         all delete_null_pointer_checks_1 passes are done.
2822
2823 2001-04-04  Richard Henderson  <rth@redhat.com>
2824
2825         * configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
2826         * configure: Rebuilt.
2827
2828 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
2829
2830         * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
2831         * config/romp/xm-romp.h: Delete.
2832
2833 2001-04-04  Bernd Schmidt  <bernds@redhat.com>
2834
2835         * sched-deps.c (sched_analyze_insn): Partially revert March 27
2836         change.
2837
2838 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2839
2840         * emit-rtl.c (mark_label_nuses) Increment the label uses for
2841         all labels present in rtx.
2842         (try_split) Call new function for all split insns.
2843
2844 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
2845
2846         * recog.c (validate_replace_rtx_1): Instead of aborting just make
2847         sure the change won't be validated.
2848
2849 Wed Apr  4 00:45:38 EDT 2001  John Wehle  (john@feith.com)
2850
2851         * rtl.h (set_noop_p): Declare.
2852         * flow.c (set_noop_p): Move from here ...
2853         * rtlanal.c (set_noop_p): ... to here and enhance.
2854         * cse.c (delete_trivially_dead_insns): Use it.
2855         * gcse.c (hash_scan_set): Likewise.
2856         * jump.c (delete_noop_moves): Likewise.
2857         * recog.c (split_all_insns): Likewise.
2858
2859 2001-04-04  Alan Modra  <alan@linuxcare.com.au>
2860
2861         * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
2862         stack pointer via a LO_SUM.  Ditto for setting a temp register
2863         used to save to the stack.  Set cfa_temp when setting fp, and
2864         allow matches to cfa_temp in addition to cfa_store when saving
2865         regs.  Handle POST_INC and LO_SUM register stores.  Document the
2866         changes and errors in rule 12 doco.
2867
2868         * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
2869         (actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
2870         (load_reg): Move closer to epilogue code.
2871         (DO_FRAME_NOTES): Define to control the following..
2872         (FRP): Define to set RTX_FRAME_RELATED_P on insns.
2873         (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
2874         notes as necessary.
2875         (hppa_expand_epilogue): Likewise.
2876
2877 2001-04-03  Richard Henderson  <rth@redhat.com>
2878
2879         * configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
2880         * configure: Rebuild.
2881
2882 2001-04-03  Richard Henderson  <rth@redhat.com>
2883
2884         * rtl.h (LCT_THROW): New.
2885         * calls.c (emit_library_call_value_1): Handle it.
2886         * except.c (connect_post_landing_pads): Use it.
2887
2888 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
2889
2890         * gansidecl.h: Delete file.
2891         * configure.in: Change all refs to gansidecl.h to use
2892         ansidecl.h.  Adjust *_file_list so they know where ansidecl.h
2893         lives.
2894         * configure: Regenerate.
2895
2896         * Makefile.in (intl.o): Don't depend on gansidecl.h.
2897         * defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
2898         * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
2899         Don't include gansidecl.h.
2900         * intl.c, main.c, version.c, fixinc/fixlib.h,
2901         fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
2902         gansidecl.h.
2903
2904 Tue Apr  3 19:41:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
2905
2906         * i386.c (ix86_force_to_memory, ix86_free_from_memory):
2907         Update for 64bit.
2908
2909 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
2910
2911         * config/i386/xm-beos.h, config/i386/xm-isc.h,
2912         config/i386/xm-next.h, config/i386/xm-sco.h,
2913         config/i386/xm-sco5.h, config/m68k/xm-plexus.h,
2914         config/m88k/xm-m88k.h: Delete.
2915
2916         * config/i386/xm-djgpp.h: Don't define __MSDOS__.
2917         * config/romp/xm-romp.h: Don't define bcopy.
2918         * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF,
2919         HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA.
2920
2921         * config.gcc: Remove references to deleted files.
2922
2923         14 xm-host.h remain, 1 xm-cpu.h.
2924
2925 2001-04-03  Jakub Jelinek  <jakub@redhat.com>
2926             David S. Miller  <davem@pierdol.cobaltmicro.com>
2927             Andrew MacLeod  <amacleod@redhat.com>
2928
2929         Use byte offsets in SUBREGs instead of words.
2930
2931         * alias.c (nonlocal_mentioned_p): Use subreg_regno function.
2932         * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
2933         to pass new argument.
2934         (add_stored_regs): Use subreg_regno_offset function.
2935         * calls.c (expand_call): For non-paradoxical SUBREG take endianess
2936         into account.
2937         (precompute_arguments): Use gen_lowpart_SUBREG.
2938         * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
2939         (combine_simplify_rtx): Rework to use SUBREG_BYTE.
2940         (simplify_set): Rework to use SUBREG_BYTE.
2941         (expand_field_assignment): Use SUBREG_BYTE.
2942         (make_extraction): Use SUBREG_BYTE.
2943         (if_then_else_cond): Use SUBREG_BYTE.
2944         (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
2945         (gen_lowpart_for_combine): Compute full byte offset.
2946         * cse.c (mention_regs): Use SUBREG_BYTE.
2947         (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
2948         (canon_hash): Use SUBREG_BYTE.
2949         (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
2950         (gen_lowpart_if_possible): Formatting.
2951         * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
2952         correctly.
2953         * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
2954         (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
2955         (loc_descriptor): Fixup explicit XEXP into SUBREG_REG
2956         * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
2957         (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
2958         (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
2959         * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
2960         certain invariants about SUBREGs the compiler creates.
2961         (gen_lowpart_SUBREG): New function.
2962         (subreg_hard_regno): New function to get the final register number.
2963         (gen_lowpart_common): Use SUBREG_BYTE.
2964         (gen_imagpart): Spacing nits.
2965         (subreg_realpart_p): Use SUBREG_BYTE.
2966         (gen_highpart): Use SUBREG_BYTE.
2967         (subreg_lowpart_p): Always compute endian corrected goal offset,
2968         even at the byte level, then compare against that.
2969         (constant_subword): New function, pulled out all constant cases
2970         from operand_subword and changed second argument name to offset.
2971         (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
2972         and call constant_subword to do the work.  Return const0_rtx if
2973         looking for a word outside of OP.
2974         (operand_subword_force): Change second arg name to offset.
2975         * expmed.c (store_bit_field): Use SUBREG_BYTE.
2976         (store_split_bit_field): Use SUBREG_BYTE.
2977         (extract_bit_field): Use SUBREG_BYTE.
2978         (extract_split_bit_field): Use SUBREG_BYTE.
2979         (expand_shift): Use SUBREG_BYTE.
2980         * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
2981         * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
2982         * flow.c (set_noop_p): Use SUBREG_BYTE.
2983         (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
2984         * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
2985         (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
2986         correction code.
2987         (optimize_bit_field): Use SUBREG_BYTE.
2988         (purge_addressof_1): Use SUBREG_BYTE.
2989         (purge_single_hard_subreg_set): Use subreg_regno_offset function.
2990         (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
2991         actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
2992         * gengenrtl.c (special_rtx): Add SUBREG.
2993         * global.c (mark_reg_store): Use SUBREG_BYTE.
2994         (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
2995         * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
2996         * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
2997         final byte offset is congruent to subreg's mode size.
2998         (subst_constants): Use SUBREG_BYTE.
2999         (mark_stores): Use subreg_regno_offset function.
3000         * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
3001         function and SUBREG_BYTE.
3002         * local-alloc.c (combine_regs): Use subreg_regno_offset function.
3003         (reg_is_born): Use subreg_hard_regno.
3004         * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
3005         endian correction code.  Don't combine subregs unless resulting
3006         offset aligns with type.  Fix subreg constant extraction for DImode.
3007         Simplify SUBREG of VOIDmode CONST_DOUBLE.
3008         (general_operand): Remove dead mode_altering_drug code.
3009         (indirect_operand): Use SUBREG_BYTE.
3010         (constrain_operands): Use subreg_regno_offset function.
3011         * reg-stack.c (get_true_reg): Use subreg_regno_offset function.
3012         * regmove.c (regmove_optimize): Use SUBREG_BYTE.
3013         (optimize_reg_copy_3): Use gen_lowpart_SUBREG.
3014         * regs.h (REG_SIZE): Allow target to override.
3015         (REGMODE_NATURAL_SIZE): New macro which target can override.
3016         * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
3017         on the entire subreg rtx.
3018         (push_reload): Use SUBREG_BYTE in comments and code.
3019         (find_dummy_reload): Use subreg_regno_offset.  Only adjust offsets
3020         for hard registers inside subregs.
3021         (operands_match_p): Use subreg_regno_offset.
3022         (find_reloads): Use SUBREG_BYTE and only advance offset for subregs
3023         containing hard regs.
3024         (find_reload_toplev): Use SUBREG_BYTE.  Remove byte endian
3025         corrections when fixing up MEM subregs.
3026         (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
3027         subreg_regno_offset where appropriate.
3028         (find_reloads_subreg_address): Use SUBREG_BYTE.  Remove
3029         byte endian corrections when fixing up MEM subregs.
3030         (subst_reloads): When combining two subregs, make sure final
3031         offset is congruent to subreg's mode size.
3032         (find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
3033         (refers_to_regno_for_reload_p): Use subreg_regno.
3034         (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
3035         * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
3036         correction code for memory subreg fixups.
3037         (forget_old_reload_1): Use subreg_regno_offset.
3038         (choose_reload_regs): Use subreg_regno.
3039         (emit_input_reload_insns): Use SUBREG_BYTE.
3040         (reload_combine_note_store): Use subreg_regno_offset.
3041         (move2add_note_store): Use subreg_regno_offset.
3042         * resource.c (update_live_status, mark_referenced_resources): Use
3043         subreg_regno function.
3044         (mark_set_resources): Use subreg_regno function.
3045         * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
3046         (subreg_regno_offset, subreg_regno): Define prototypes.
3047         (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
3048         (gen_lowpart_SUBREG): Add prototype.
3049         * rtl.texi (subreg): Update to reflect new byte offset representation.
3050         Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
3051         * rtlanal.c (refers_to_regno_p): Use subreg_regno.
3052         (reg_overlap_mentioned_p): Use subreg_regno.
3053         (replace_regs); Make sure final offset of combined subreg is
3054         congruent to size of subreg's mode.
3055         (subreg_regno_offset): New function.
3056         (subreg_regno): New function.
3057         * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
3058         * sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
3059         * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
3060         * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
3061         (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
3062         * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
3063         (a29k_get_reloaded_address): Use SUBREG_BYTE.
3064         (print_operand): Use SUBREG_BYTE.
3065         * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
3066         * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
3067         (arm_reload_out_hi): Use SUBREG_BYTE.
3068         * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
3069         instead of SUBREG_WORD.
3070         (d30v_print_operand_memory_reference): Use subreg_regno_offset.
3071         * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
3072         SUBREG creation to use byte offset.
3073         * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
3074         inverted load insns): Fix explicit rtl subregs to use byte
3075         offsets.
3076         * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
3077         udivsi3, umodsi3): Generate SUBREGs with byte offsets.
3078         * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
3079         * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
3080         to use byte offsets.
3081         (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
3082         * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
3083         offsets, also make sure it is congruent to SUBREG's mode size.
3084         (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
3085         unnamed ldob insn): Generate SUBREGs with byte offset.
3086         (zero_extendqihi2): SUBREG's are byte offsets.
3087         * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
3088         (m68hc11_gen_highpart): Use SUBREG_BYTE.
3089         * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
3090         zero-extendqisi2): Generate SUBREGs with byte offset.
3091         (umulsidi3, mulsidi3, subreghi1ashrdi_const32,
3092         subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
3093         subregs in rtl to use byte offsets.
3094         * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
3095         * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
3096         (mips_move_2words): Use subreg_regno_offset.
3097         (mips_secondary_reload_class): Use subreg_regno_offset.
3098         * config/mips/mips.md (DImode plus, minus, move, and logical op
3099         splits): Fixup explicit subregs in rtl to use byte offsets.
3100         * config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
3101         * config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
3102         * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
3103         rtl to use byte offsets.
3104         * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
3105         * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
3106         subregs to use byte offsets.
3107         * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
3108         Fixup explicit subregs in rtl to use byte offsets.
3109         * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
3110         and remove byte endian correction code.
3111         * config/sh/sh.c (output_movedouble): Use subreg_regno.
3112         (gen_ashift_hi): Use SUBREG_BYTE.
3113         (regs_used): Use subreg_regno_offset.
3114         (machine_dependent_reorg): Use subreg_regno_offset.
3115         * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
3116         * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
3117         (movdf_i4): Subregs are byte offsets now.
3118         * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
3119         * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
3120         (REGMODE_NATURAL_SIZE): Override.
3121         (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
3122         * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
3123         with byte offsets.
3124         (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
3125         extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
3126         extendqidi2): Generate SUBREGs with byte offsets, also make sure
3127         it is congruent to SUBREG's mode size.
3128         (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
3129         offsets.
3130         (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
3131         cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
3132         lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
3133         SUBREG_BYTE offset for non-paradoxical subregs in patterns.
3134         * config/v850/v850.c (print_operand, output_move_double): Use
3135         subreg_regno function.
3136
3137 2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
3138
3139         * configure.in (target_subdir): Use target_alias, not target.
3140         * configure: Rebuilt.
3141
3142         * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
3143         other way round.
3144         * config/sh/crti.asm: Fix typos in comments.
3145
3146 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
3147
3148         * pa.h: Revise comments for TARGET_NO_SPACE_REGS and
3149         TARGET_FAST_INDIRECT_CALLS.
3150         * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
3151         -fPIC.  Don't warn.
3152         (return_addr_rtx): Short circuit export stub matching when
3153         TARGET_NO_SPACE_REGS.
3154         (output_millicode_call): For out of range calls, make -fPIC
3155         take precedence, then TARGET_PORTABLE_RUNTIME, then ble.  Don't
3156         return before delay slot checks when TARGET_PORTABLE_RUNTIME.
3157         * pa.md: Modify length attr calculation of all millicode insns to
3158         match above.
3159
3160 2001-04-02  Geoffrey Keating  <geoffk@redhat.com>
3161
3162         * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
3163         Require at least 2.11 in the version test.  Specifically check
3164         for and reject GAS version 2.10.90.
3165         * configure: regenerate.
3166
3167 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
3168
3169         * pa.c (override_options): Remove PIC profiling warning.
3170         (hp_profile_labelno): Delete.
3171         (hp_profile_label_rtx): Delete.
3172         (hp_profile_label_name): Delete.
3173         (pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
3174         (output_function_prologue): Remove profiling code and all tests on
3175         profile_flag.  Move store of PIC_OFFSET_TABLE_REGNUM now that
3176         merge_sp_adjust_with_store can work for PIC and profiling.
3177         (hppa_expand_epilogue): Remove profile_flag test.
3178         (hppa_can_use_return_insn_p): Likewise.
3179         (hppa_init_pic_save): Emit before tail_recursion_reentry, and
3180         cater for PROFILE_HOOK.
3181         (hppa_profile_hook): New function.
3182         * pa.h (FUNCTION_PROFILER): Now does nothing.
3183         (PROFILE_HOOK): Define.
3184         (hppa_profile_hook): Declare.
3185         (PROFILE_BEFORE_PROLOGUE): Delete.
3186         (ASM_OUTPUT_REG_PUSH): Delete.
3187         (ASM_OUTPUT_REG_POP): Delete.
3188         * pa.md (call_profiler): Turn it into a call insn, and don't `use'
3189         r24.  Accept function name operand, and use this and a locally
3190         generated label to calculate pc-rel offset to func start.
3191
3192 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3193
3194         * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
3195         ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
3196         $(SYSTEM_H).
3197
3198 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
3199
3200         * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
3201         LO_SUM cases to where they belong.
3202
3203 2001-04-02  Richard Henderson  <rth@redhat.com>
3204
3205         * except.h (lang_eh_type_covers): Mark extern.
3206         (lang_eh_runtime_type): Likewise.
3207
3208 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
3209
3210         * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
3211         gengenrtl.c:  Wrap generated header in multiple-include guard.
3212         Improve error checking.
3213
3214 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3215
3216         * configure.in: Don't check for putenv.
3217         * configure: Regenerate.
3218         * gcc.c (putenv): Don't define.
3219         * vax/xm-vms.h: Handle putenv.
3220
3221 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
3222
3223         * ifcvt.c (noce_emit_move_insn): New.
3224         (noce_try_store_flag, noce_try_store_flag_constants,
3225         noce_try_store_flag_inc, noce_try_store_flag_mask,
3226         noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
3227         noce_try_abs): Use it.
3228         (noce_process_if_block): Likewise.
3229         For STRICT_LOW_PART, take mode from its SUBREG.
3230
3231 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
3232
3233         * fold-const.c (fold): Before optimizing unsigned comparison with
3234         0x7fffffffU, make sure arg0 is integral type.
3235
3236 2001-04-02  Joseph S. Myers  <jsm28@cam.ac.uk>
3237
3238         * c-tree.texi: Document representation of wide strings.
3239
3240 2001-04-01  Richard Henderson  <rth@redhat.com>
3241
3242         * except.h (expand_builtin_dwarf_fp_regnum): Declare.
3243
3244 Sun Apr  1 11:49:05 CEST 2001  Jan Hubicka  <jH@suse.cz>
3245
3246         * i386.md: remove obsoleted comments.
3247         (adddi_?): Rename to adddi_?_rex64; disable for 32bit.
3248         (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
3249         fix output template.
3250
3251 2001-03-31  Marek Michalkiewicz  <marekm@linux.org.pl>
3252
3253         * config/avr/libgcc.S (__mulhi3): Optimize previous change.
3254
3255 2001-03-30  Bernd Schmidt  <bernds@redhat.com>
3256
3257         * loop.c (load_mems): When generating a load from a pseudo, update
3258         REGNO_LAST_UID.
3259
3260 Fri Mar 30 17:36:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
3261
3262         * i386.c (ix86_split_long_move): Use change address to compensate
3263         stack pointer change in push instruction.
3264
3265 Fri Mar 30 00:31:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
3266
3267         * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
3268         instead of rtx_equal_p; fix the output template.
3269
3270 Fri Mar 30 00:21:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
3271
3272         * i386.c (ix86_expand_setcc): Support 64bit.
3273         (ix86_expand_int_movcc): Likewise.
3274         * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
3275         New patterns.
3276
3277         * i386.md (allocate_stack_worker): Turn to expander.
3278         (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.
3279
3280         * i386.c (print_reg): Do not print x86_64 style regs on IA-32
3281
3282 2001-03-29  Richard Henderson  <rth@redhat.com>
3283
3284         * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
3285
3286 2001-03-28  Matthew Hiller  <hiller@redhat.com>
3287
3288         * config/mn10300/mn10300.md (cmpsi): Fix first alternative's
3289         output template.
3290
3291         * MAINTAINERS: Added self.
3292
3293 2001-03-28  Richard Henderson  <rth@redhat.com>
3294
3295         * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
3296         Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
3297
3298 2001-03-28  Jim Wilson  <wilson@redhat.com>
3299
3300         * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
3301         operand_subword.
3302
3303 2001-03-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3304
3305         * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
3306
3307         * tradcif.y (yyerror): Likewise.  Add format specifier in call to
3308         `error'.
3309
3310         * tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
3311
3312 2001-03-28  DJ Delorie  <dj@redhat.com>
3313
3314         * Makefile.in (stage1_build): Revert CFLAGS patch.
3315
3316 2001-03-28  Marek Michalkiewicz  <marekm@linux.org.pl>
3317
3318         * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
3319         when multiplier or multiplicand is zero.
3320
3321 2001-03-28  Bernd Schmidt  <bernds@redhat.com>
3322
3323         * cselib.c (hash_rtx): Don't do tail recursion elimination by hand.
3324
3325         * config/ia64/ia64.c (update_set_flags): New function, broken out of
3326         rtx_needs_barrier.
3327         (set_src_needs_barrier): Likewise.
3328         (rtx_needs_barrier): For SET case, use these two functions.  Rework
3329         PARALLEL case to handle all inputs before all outputs.
3330         (emit_insn_group_barriers): Call init_insn_group_barriers only if we
3331         saw a label and no stop bit since then.
3332         (maybe_rotate, process_epilogue): Add prototypes.
3333
3334 2001-03-28  Richard Henderson  <rth@redhat.com>
3335
3336         * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
3337         not TARGET_TOC for special toc restore handling.
3338         * config/rs6000/rs6000.md (eh_return): Likewise.
3339
3340 2001-03-28  Richard Henderson  <rth@redhat.com>
3341
3342         * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
3343         current_function_calls_eh_return.
3344         (output_function_epilogue): Handle eh_return.
3345         * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
3346         (EH_RETURN_DATA_REGNO): New.
3347         (EH_RETURN_STACKADJ_RTX): New.
3348         (EH_RETURN_HANDLER_RTX): New.
3349         * config/sparc/sparc.md (call/short branch peepholes): Check
3350         can_throw_internal instead of in_same_eh_region.
3351
3352         * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
3353         for eh_return data registers.
3354         (rs6000_emit_prologue): Save eh_return data registers.
3355         (rs6000_emit_epilogue): Force inline restores if eh_return.
3356         Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
3357         * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
3358         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
3359         (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
3360         the target uses one.
3361         * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
3362         (return_eh_si, return_eh_di): Remove.
3363         (eh_return): New, from corpse of eh_epilogue.
3364         (eh_set_lr_si, eh_set_lr_di): New.
3365
3366         * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
3367         (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
3368         True for pic register if current_function_calls_eh_return.
3369         (ix86_expand_epilogue): Change "emit_return" argument into "style".
3370         Handle eh_return requirements.
3371         * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
3372         (EH_RETURN_STACKADJ_RTX): New.
3373         * config/i386/i386.md (exception_receiver): Remove.
3374         (eh_return, eh_return_1): New.
3375         * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
3376
3377         * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
3378         (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
3379         (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
3380         * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
3381         (EH_RETURN_DATA_REGNO): New.
3382         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
3383         * config/alpha/alpha.md (eh_epilogue): Remove.
3384         (exception_receiver): Use $26 for ldgp input.
3385         * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
3386
3387 2001-03-28  Richard Henderson  <rth@redhat.com>
3388
3389         * except.c: Rewrite entirely for IA-64 ABI exception handling.
3390         * except.h: Likewise.
3391
3392         * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
3393         (LIB2ADDEHDEP): New.
3394         (LIB2FUNCS_EH): Remove.
3395         (LIB2ADD): Remove LIB2ADDEH.
3396         (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
3397         (LIBGCC_DEPS): Use LIB2ADDEHDEP.
3398         (crt{begin,end}[S].o): Likewise.
3399         (except.o): Update includes.
3400         * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
3401         (libgcc2_c_dep): Use LIB2ADDEHDEP.
3402
3403         * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
3404         * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
3405         * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
3406         * builtins.c (expand_builtin): Implement it.
3407         [BUILT_IN_EH_RETURN]: Update for nr arguments change.
3408         * c-common.c (c_common_nodes_and_builtins): Declare it.
3409         * c-decl.c (init_decl_processing): Update __builtin_eh_return.
3410         * calls.c (libfunc_nothrow): Remove.
3411         (emit_library_call_value_1): Don't call it.
3412         * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
3413         * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
3414         (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
3415         * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
3416         (current_funcdef_number): Globalize.
3417         (output_call_frame_info): Emit frame data if an lsda is needed.
3418         Generate augmentation for personality routine.  Don't play with
3419         difference symbols.
3420         (dwarf2out_begin_prologue): Record funcdef_number.
3421         * dwarf2out.h (current_funcdef_number): Declare.
3422         * expr.c (expand_expr): Update for except.h name changes.
3423         Remove POPDCC_EXPR, POPDHC_EXPR.  Add EXC_PTR_EXPR.
3424         * expr.h (LTI_throw, LTI_rethrow): Remove.
3425         (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
3426         (LTI_eh_rtime_match): Remove.
3427         (LTI_unwind_resume, LTI_eh_personality): Add.
3428         (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
3429         * final.c (final): Don't call check_exception_handler_labels,
3430         init_insn_eh_region, or free_insn_eh_region.
3431         (final_scan_insn): Always emit debug labels for
3432         NOTE_INSN_EH_REGION notes.
3433         * flags.h (flag_new_exceptions): Remove.
3434         * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
3435         (record_active_eh_regions): Remove.
3436         (count_basic_blocks): Check all instructions for REG_EH_REGION.
3437         Use can_throw_internal.
3438         (find_basic_blocks_1): Likewise.
3439         (move_stray_eh_region_notes): Remove.
3440         (find_label_refs): No eh_return_stub_label.
3441         (make_edges): Likewise.  No init/free_eh_nesting_info.  Handle RESX.
3442         (make_eh_edge): No eh_nest_info.  Update for reachable_handlers
3443         changes.
3444         (delete_unreachable_blocks): Don't track deleted handlers.
3445         (flow_delete_block): Use maybe_remove_eh_handler.
3446         (delete_eh_regions): Remove.
3447         (merge_blocks): Don't check for eh region match.
3448         (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
3449         EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
3450         (init_propagate_block_info): Disable dead frame store optimization
3451         when current_function_calls_eh_return.
3452         (dump_bb): Don't print eh_beg, eh_end.
3453         * function.c (fixup_var_refs): No catch_clauses.
3454         (expand_function_end): Likewise.  Call expand_eh_return before
3455         the return register use.  Call sjlj_emit_function_exit_after.
3456         (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
3457         * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
3458         * ifcvt.c (dead_or_predicable): Remove eh region check.
3459         * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
3460         Don't check for EH vs parameters.
3461         (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
3462         (expand_inline_function): Call duplicate_eh_regions.
3463         (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
3464         (copy_insn_notes): Remap REG_EH_REGION notes.
3465         (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
3466         * integrate.h (struct inline_remap): Add local_return_label.
3467         * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
3468         check_exception_handler_labels, nor exception_optimize.
3469         (find_cross_jump): No EH region check.
3470         * optabs.c (init_optabs): Update for changed eh libfuncs.
3471         * rtl.def (RESX): New.
3472         * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
3473         * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
3474         checks.  Update for except.h name changes.
3475         (expand_cleanups): Likewise.
3476         (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
3477         * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
3478         (compile_file): Call init_eh before init_optabs.  Don't
3479         output_exception_table here.
3480         (rest_of_compilation): Call convert_from_eh_region_ranges,
3481         convert_to_eh_region_ranges, output_function_exception_table.
3482         Don't emit_eh_context.
3483         * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
3484         (EXC_PTR_EXPR): New.
3485
3486         * md.texi (eh_epilogue): Remove.
3487         (eh_return): Document.
3488         * tm.texi (EH_RETURN_DATA_REGNO): Document.
3489         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
3490
3491         * eh-common.h: Remove file.
3492         * frame-dwarf2.c, frame.c, frame.h: Remove files.
3493         * libgcc2.c (L_eh): Remove.
3494
3495         * unwind-dw2-fde.c: New file, largely copied from frame.c.
3496         * unwind-dw2-fde.h: New file.
3497         * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
3498         * unwind-sjlj.c, unwind.h, unwind.inc: New files.
3499         * libgcc-std.ver: Update for eh symbols.
3500
3501 2001-03-27  Richard Henderson  <rth@redhat.com>
3502
3503         * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
3504         reduce false positives.
3505         (regmove_optimize): Disable if flag_non_call_exceptions.
3506
3507         * stmt.c (expand_return): Remove always true predicate.
3508         (expand_decl_cleanup_no_eh): Remove dead code.
3509
3510         * sched-deps.c (sched_analyze_insn): Consolidate scheduling
3511         barrier code.  Add a scheduling barrier if a non-call insn
3512         can throw internally.
3513
3514         * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
3515         Auto-inc addresses trap only if their base register does.
3516
3517         * except.c (can_throw_internal): Rename from can_throw.
3518         * except.h, resource.c: Update references.
3519
3520         * integrate.c (copy_insn_list): Use returnjump_p.
3521         (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
3522
3523         * function.h (struct function): Move all boolean valued fields
3524         to single bit fields at the end of the struct.
3525
3526         * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
3527         jump.c, toplev.c:
3528         Rename asynchronous_exceptions to flag_non_call_exceptions.
3529
3530         * gthr-single.h (UNUSED): New.  Distinguish between how C
3531         and C++ mark unused function arguments.  Use throughout.
3532
3533         * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
3534         value to target configuration header.
3535         * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
3536         * config.in, configure: Rebuild.
3537         * except.h (USING_SJLJ_EXCEPTIONS): New.  Define based on
3538         configuration and target defines.
3539         (exceptions_via_longjmp): Remove.
3540         * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
3541         Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
3542
3543         * except.h (flag_non_call_exceptions): Move ...
3544         * flags.h: ... here.
3545
3546         * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
3547         exceptions, put the note on the trapping instruction.
3548
3549         * flags.h (flag_new_exceptions): Remove.
3550         * toplev.c: Don't set it.
3551         * final.c: Don't check it.
3552         * except.c: Provide stub definition.
3553
3554         * flow.c (tidy_fallthru_edges): Don't combine complex edges.
3555         (calculate_global_regs_live): Kill call-clobbered registers
3556         across exception edges.
3557         * reg-stack.c (convert_regs_1): Kill the entire target stack
3558         across non-call exception edges.
3559
3560         * flow.c (cleanup_cfg): Take no argument.
3561         * output.h, sibcall.c, toplev.c: Update all calls.
3562
3563 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3564
3565         * configure.in: Don't check for bcopy.
3566         * configure, config.in: Regenerate.
3567
3568         * system.h: Don't define or prototype bcopy, instead poison it.
3569
3570 2001-03-27  Richard Henderson  <rth@redhat.com>
3571
3572         * function.c (expand_function_start): Set DECL_REGISTER on
3573         a pseudo used for DECL_RESULT.
3574
3575         * rtl.h (LCT_NORETURN): New.
3576         * calls.c (emit_library_call_value_1): Handle it.
3577
3578 2001-03-27  Stan Shebs  <shebs@apple.com>
3579
3580         * objc/objc-act.c (objc_init): Use dump_base_name.
3581         (gen_declaration): Clear the buffer arg.
3582         (gen_declaration_1): New function, body of gen_declaration.
3583         (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
3584         (gen_method_decl): Ditto, plus always clear buffer arg.
3585         (error_with_ivar): Simplify.
3586         (warn_with_method): Ditto.
3587         (build_message_expr): Don't clear buffers.
3588         (dump_interface): Ditto.
3589         (objc_debug): Ditto.
3590         (build_keyword_selector): Clear the buffer by only zeroing
3591         the first element.
3592         (objc_implementation_context): Declare.
3593         (start_class): Warn about missing @end.
3594         (finish_objc): Ditto.
3595
3596 2001-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3597
3598         * reload1.c (eliminate_regs): Don't abort on MEM USEs.
3599
3600 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3601
3602         * Makefile.in (SYSTEM_H): Define.
3603         Depend on $(SYSTEM_H), not system.h.
3604
3605         * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
3606
3607 2001-03-27  Jim Wilson  <wilson@redhat.com>
3608
3609         * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
3610         IA64_UNWIND_EMIT.
3611         * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
3612         (process_epilogue): New static function.
3613         (process_set): Call process_epilogue instead of emitting .restore
3614         directly.
3615         (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
3616
3617         * flow.c (struct reg_cond_life_info): New fields orig_condition
3618         and stores.
3619         (init_propagate_block_info): Set new fields.
3620         (mark_regno_cond_dead): Set and use new fields.
3621         (flush_reg_cond_reg_1): Likewise.
3622         (and_reg_cond, case AND): Check for redundant AND conditions.
3623         (mark_used_reg): Delete unnecessary clears before freeing splay trees.
3624         Set new fields.
3625
3626 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
3627
3628         * cppmacro.c (stringify_arg): Null terminate strings.
3629
3630 2001-03-27  Zack Weinberg  <zackw@stanford.edu>
3631
3632         * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
3633         inclusion style.  xm-m68hc11.h no longer exists.
3634         * config/m68hc11/xm-m68hc11.h: Delete file.
3635         * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
3636
3637         * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
3638         Don't define GCC_VERSION, N_, or PARAMS; don't include
3639         gansidecl.h or stdio.h.  Define inhibit_libc here.
3640         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
3641         Delete code conditioned on #if GCC_VERSION == 2095.
3642
3643         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
3644         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
3645         Delete code conditioned on #if GCC_VERSION == 2095.
3646
3647 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3648
3649         * system.h: Include symcat.h.
3650         (STRINGIFY): Don't define.
3651
3652         * configure.in: Adjust comment.
3653
3654         * builtins.c: Use STRINGX, not STRINGIFY.
3655         * gencheck.c: Likewise.
3656         * gengenrtl.c: Likewise.
3657         * protoize.c: Likewise.
3658
3659         * cpplex.c: Don't include symcat.h.
3660         * cpplib.c: Likewise.
3661
3662         * gansidecl.h (HAVE_STRINGIZE): Don't define.
3663
3664 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
3665
3666         * c-typeck.c (digest_init): Fold init expression.
3667
3668 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3669
3670         * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
3671
3672 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
3673
3674         * except.c (eh_regs): Save results of build_pointer_type to a temp
3675         as FUNCTION_VALUE macro may evaluate its args multiple times.
3676
3677 2001-03-26  Mark Mitchell  <mark@codesourcery.com>
3678
3679         * c-common.h (DECL_NUM_STMTS): New macro.
3680         * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
3681         DECL_FRAME_SIZE.
3682         (pushdecl): Likewise.
3683         * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
3684         * integrate.c (expand_inline_function): Don't check
3685         DECL_FRAME_SIZE.
3686         * print-tree.c (print_node): Don't print it.
3687         * toplev.c (rest_of_compilation): Don't try to inline when
3688         flag_no_inline is on.
3689         * tree.h (DECL_FRAME_SIZE): Remove.
3690         (tree_decl): Adjust accordingly.
3691
3692 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3693
3694         * combine.c (try_combine): Use memcpy, not bcopy.
3695
3696         * genattrtab.c (expand_units): Likewise.
3697
3698 Mon Mar 26 15:55:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
3699
3700         * i386.md (push mem DI peep2): New.
3701         (mov 0, mov -1 peep2): Handle 64bit.
3702         (lea to arithmetics peep2): Handle 64bit leas.
3703         (rsp arithmetics to push/pop peep2s): New.
3704
3705         * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
3706
3707 Mon Mar 26 14:35:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
3708
3709         * i386.c (struct machine_function): Add save_varrargs_registers.
3710         (ix86_save_varrargs_registers): New macro.
3711         (ix86_frame_layout): Support 64bit; support red zones and varrargs area.
3712         (ix86_expand_prologue): Likewise.
3713         (ix86_emit_epilogue_esp_adjustement): Likewise.
3714         (ix86_expand_epilogue): Likewise.
3715         * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
3716         (pro_epilogue_adjust_stack_1): New insn.
3717         (pro_epilogue_adjust_stack_rex64): Likewise.
3718         * i386.h (MASK_NO_RED_ZONE): New constant.
3719         (TARGET_RED_ZONE): New macro.
3720         (TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
3721         (RED_ZONE_SIZE): New constant.
3722         (RED_ZONE_RESERVE): New constant.
3723
3724 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3725
3726         * toplev.c (set_float_handler): Use memcpy, not bcopy.
3727
3728 2001-03-25  Kazu Hirata  <kazu@hxi.com>
3729
3730         * config/h8300/h8300.md (umodqi3): Output a tab instead of a
3731         space.
3732         (modqi3): Likewise.
3733         (umodhi3): Likewise.
3734         (modhi3): Likewise.
3735
3736 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3737
3738         * mkconfig.sh (DEFINES): Handle entries with '='.
3739
3740         * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
3741         Set xm_defines to MACRO=value instead.
3742
3743         * i370/xm-mvs.h: Delete.
3744
3745         * ns32k/xm-pc532-min.h: Likewise.
3746
3747 Sun Mar 25 15:01:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
3748
3749         * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
3750         shiftdi_operand;
3751         use ix86_expand_binary_operator
3752         (?sh??i_?): Disable for 64bit.
3753         * i386.h (PREDICATE_CODES): Add shiftdi_operand.
3754         * i386.c (shiftdi_operand): New predicate.
3755
3756         * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
3757         ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
3758         ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
3759         ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
3760         ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
3761         lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
3762         lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
3763         rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
3764         rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
3765         rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
3766         (rotldi3, rotrdi3): New expanders.
3767
3768 Sun Mar 25 14:25:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
3769
3770         * i386.md (movstrsi): Move offline.
3771         (movstrdi): New.
3772         (strmovdi_rex64): New.
3773         (strmov?i): Accept 64bit.
3774         (strmov?i_rex64): New.
3775         (strmov?i_rex_1): New.
3776         (strmov?i_1): Disable for 64bit.
3777         (rep_mov?i_rex64): New.
3778         (rep_mov?i): Disable for 64bit.
3779         (clrstrsi): Move offline.
3780         (strset?i_rex64): New.
3781         (strset?i: Accept 64bit.
3782         (rep_stos?i): Disable for 64bit.
3783         (rep_stos?i_rex64): New.
3784         (strset?i_rex_1): New.
3785         (strset?i_1): Disable for 64bit.
3786         (cmpstrsi): Accept 64bit.
3787         (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
3788         (cmpstrqi_nz_rex_1): New.
3789         (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
3790         (strlensi): Move offline.
3791         (strlendi): New.
3792         (strlenqi_1): Disable for 64bit; fix constraints.
3793         (strlenqi_rex_1): New.
3794         * i386.c (ix86_adjust_counter): New static function.
3795         (ix86_zero_extend_to_Pmode): Likewise.
3796         (ix86_expand_aligntest): Likweise.
3797         (ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
3798         (ix86_expand_movstr): New global function.
3799         (ix86_expand_clrstr): New global function.
3800         (ix86_expand_strlen): New global function.
3801         * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
3802         ix86_expand_strlen): Declare.
3803         (ix86_expand_strlensi_unroll_1): Delete.
3804
3805 Sat Mar 24 23:15:19 CET 2001  Jan Hubicka  <jh@suse.cz>
3806
3807         * i386.md (cmpdi): Fix operand predicates.
3808         (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
3809          cmpdi_1_insn_rex64): New patterns.
3810         (adddi3): Turn to expander.
3811         (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
3812         (addsi3_carry_zext): New pattern.
3813         (adddi_?_rex64): New patterns and splitters.
3814         (addsi_?_zext): New patterns.
3815         (subsi3_carry_zext): New pattern.
3816         (subdi_?_rex64): New patterns and splitters.
3817         (iorsi_?_zext): New patterns.
3818         (iordi_?_rex64): New patterns and splitters.
3819         (iorsi_?_zext): New patterns.
3820         (iorsi_?_zext_imm): New patterns.
3821         (xorsi_?_zext): New patterns.
3822         (xordi_?_rex64): New patterns and splitters.
3823         (xorsi_?_zext): New patterns.
3824         (negdi*): New patterns.
3825         (one_cmpldi*): Likewise.
3826         (one_cmplsi*_zext, negsi*_zext): Likewise.
3827         (testqi_ext_3_rex64): New pattern.
3828
3829 Sat Mar 24 21:13:28 CET 2001  Jan Hubicka  <jh@suse.cz>
3830
3831         * i386-protos.h (ix86_split_long_move): Return void.
3832         * i386.c (ix86_split_to_parts): Handle 64bit target.
3833         (ix86_split_long_move): Likewise.
3834         * i386.md (all calls to ix86_split_long_move): Update.
3835
3836 2001-03-23  Richard Henderson  <rth@redhat.com>
3837
3838         * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
3839         to avoid shadowing arguments.
3840
3841 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
3842
3843         * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
3844         to variable names where DECL_NAME is different from
3845         DECL_ASSEMBLER_NAME.
3846
3847 2001-03-23  Jim Wilson  <wilson@redhat.com>
3848
3849         * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
3850         (assemble_alias): Call make_decl_rtl.
3851
3852 Fri Mar 23 16:59:08 2001  J"orn Rennecke <amylaar@redhat.com>
3853
3854         * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
3855
3856 2001-03-23  Bryce McKinlay  <bryce@albatross.co.nz>
3857
3858         * extend.texi: Document the "java_interface" attribute.
3859
3860 2001-03-22  Zack Weinberg  <zackw@stanford.edu>
3861
3862         * mkconfig.sh: Use a subshell with redirected stdout,
3863         instead of closing stdout and confusing commands that run
3864         afterward.  Throw away output of cmp.
3865
3866 2001-03-22  Gordon Sadler  <gbsadler1@lcisp.com>
3867
3868         * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
3869
3870 Thu Mar 22 22:15:59 CET 2001  Jan Hubicka  <jh@suse.cz>
3871
3872         * i386.md (zero_extendsidi2_32): Break out from ...
3873         (zero_extendsidi2): ... here ; turn to expander.
3874         (zero_extendsidi2_rex64): New.
3875         (extendsidi2_32): Break out from ...
3876         (extendsidi2): ... here ; turn to expander.
3877         (extendsidi2_rex64): New.
3878         (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
3879         (trunc?f?f splitters): Add 64bit versions.
3880
3881 Thu Mar 22 21:41:16 CET 2001  Jan Hubicka  <jh@suse.cz>
3882
3883         * i386.md (pushsi, pushsi2_prologue): Disable.
3884         (pushsi2_rex64): New.
3885         (movabs?i_1_rex64, movabs?i_2_rex64): New.
3886         (movqi_ext_1): Disable for 64bit.
3887         (movqi_ext_1_rex64): New.
3888         (pushdi2_rex64): New pattern, peep2s and splitter.
3889         (pushdi2_prologue_rex64): New pattern.
3890         (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
3891         Likewise.
3892         (movdi splitters): Disable for 64bit.
3893         (movdi_1_rex64): New pattern, peep2s and splitters.
3894         (swapdi): New pattern.
3895         (pushsf): Disable for 64bit.
3896         (pushsf_rex64): New pattern and splitter.
3897         (pushdf_nointeger): Disable for 64bit.
3898         (pushdf_integer): Handle the 64bit case.
3899         (pushtf): Likewise; update splitters.
3900
3901 2001-03-22  Richard Henderson  <rth@redhat.com>
3902
3903         * mkconfig.sh: Include insn-flags.h.
3904         * Makefile.in (CONFIG_H): Include insn-flags.h.
3905         (lots of objects): Remove insn-codes.h and insn-flags.h.
3906
3907         * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
3908         integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
3909         regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
3910         avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
3911         dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
3912         i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
3913         m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
3914         mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
3915         pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
3916         v850/v850.c, vax/vax.c:
3917         Don't include insn-flags.h.
3918
3919         * diagnostic.c, expr.h, reload.c, toplev.c:
3920         Don't include insn-codes.h.
3921
3922         * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
3923         final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
3924         c4x/c4x.c, i960/i960.c, mips/mips.c:
3925         Don't include insn-codes.h or insn-flags.h.
3926
3927         * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
3928         or insn-flags.h in the generated code.
3929         * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
3930         (main): Forward declare struct rtx_def.
3931
3932 2001-03-22  Joseph S. Myers  <jsm28@cam.ac.uk>
3933
3934         * invoke.texi (-ffast-math): Remove duplicate line about
3935         __FAST_MATH__.
3936
3937         * gcc.texi: Remove more obsolete documentation of bugs and
3938         installation problems.
3939
3940 2001-03-21  Kazu Hirata  <kazu@hxi.com>
3941
3942         * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
3943         into two parts.
3944
3945 2001-03-20  Jason Merrill  <jason@redhat.com>
3946
3947         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
3948         not '.' or '$'.
3949         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
3950         * varasm.c (CHKR_PREFIX): Likewise.
3951
3952 Wed Mar 21 14:27:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3953
3954         * gcse.c (hash_scan_set): An expression is not anticipatible if it
3955         is part of a multi-SET insn.
3956
3957         * cse.c (find_comparison_args): Remove previous change.
3958         * ifcvt.c (noce_process_if_block): When moving an insn, remove any
3959         REG_EQUAL notes.
3960
3961         * config/i386/i386.md (conditional_trap): Remove warning.
3962
3963         * recog.c (push_operand): Fix error in last change that caused
3964         undefined symbol on many targets.
3965
3966         * sdbout.c: #include ggc.h.
3967         (sdbout_init): Move to end of file.
3968         Call ggc_add_tree_root for anonymous_types.
3969         (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
3970         (sdbout_one_type): Use DECL_NAME for field name.
3971         * Makefile.in (sdbout.o): Show includes ggc.h.
3972
3973 Wed Mar 21 20:33:26 CET 2001  Jan Hubicka  <jh@suse.cz>
3974
3975         * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
3976         (override_options): Use properlimits for preferred_stack_boundary.
3977         (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
3978         on x86_64.
3979         (ext_register_operand): Accept DImode.
3980         (load_pic_register): Abort on 64bit.
3981         (gen_push): Use Pmode instead of SImode.
3982         (ix86_save_reg): Pic reg is never used on 64bit.
3983         (ix86_expand_prologue): Likewise.
3984         (ix86_emit_save_regs): Use Pmode instead of SImode.
3985         (legitimate_address_p): Check displacement for 64bit.
3986         (print_operand): Avoid outputting of (%rip) on 64bit.
3987         (print_operand_address): Output (%rip) where possible.
3988         (split_di): Abort on 64bit registers.
3989         (ix86_expand_branch): DImode comparison is simple for x86_64.
3990         (memory_address_length): Recognize memory addresses formed using
3991         PRE/POST modify.
3992         (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes
3993         for x86_64.
3994         * i386.h (TARGET_USE_SAHF): Disable for 64bit.
3995
3996 Wed Mar 21 18:51:19 CET 2001  Jan Hubicka  <jh@suse.cz>
3997
3998         * recog.c (push_operand): Recognize new format of push instructions.
3999
4000 Wed Mar 21 10:53:57 CET 2001  Jan Hubicka  <jh@suse.cz>
4001
4002         * i386.md (pushqi1): New.
4003         * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
4004         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
4005         x86_64_immediate_operand, x86_64_immediate_operand,
4006         x86_64_zext_immediate_operand): Declare.
4007         * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
4008         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
4009         x86_64_immediate_operand, x86_64_immediate_operand,
4010         x86_64_zext_immediate_operand): define.
4011         * i386.h (PREDICATE_CODES): Add new predicates.
4012
4013 Wed Mar 21 10:25:13 CET 2001  Jan Hubicka  <jh@suse.cz>
4014
4015         * i386.md (pophi1, popqi1, pushqi1): Remove.
4016
4017         * expr.c (emit_single_push_insn): New function.
4018         (move_by_pieces): Accept NULL as destination for push instructions.
4019         (gen_push_operand): Kill.
4020         (emit_push_insn): Pass NULL when pushing; avoid updating of
4021         stack_pointer_delta.
4022         * expr.h (gen_push_operand): Kill.
4023
4024 Tue Mar 20 20:15:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4025
4026         * rtl.texi (COMPARE): Clarify documentation and reference section
4027         on comparisons.
4028
4029 2001-03-20  Stan Shebs  <shebs@apple.com>
4030
4031         * objc/objc-act.c (get_static_reference): Use NULL_TREE.
4032         (get_object_reference): Ditto.
4033         (error_with_ivar): Use error_with_file_and_line.
4034         (warn_with_method): Use warning_with_file_and_line.
4035
4036 2001-03-20  Tom Tromey  <tromey@redhat.com>
4037
4038         * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
4039
4040 2001-03-20  Mark Mitchell  <mark@codesourcery.com>
4041
4042         * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
4043         variables that are TREE_PUBLIC, even if not TREE_STATIC.
4044
4045 2001-03-20  DJ Delorie  <dj@redhat.com>
4046
4047         * Makefile.in (install-libgcc): Pass complete list of variables.
4048         (install-multilib): Ditto.
4049
4050 2001-03-20  David Billinghurst  <David.Billinghurst@riotinto.com>
4051
4052         * config/i386/cygwin.h: Declare ctor_section, dtor_section
4053         drectve_section, switch_to_section.
4054
4055         * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
4056         i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
4057         i386_pe_mark_dllimport.
4058
4059 2001-03-20  David Billinghurst <David.Billinghurst@riotinto.com>
4060
4061         * config/i386/cygwin.h: Include <stdio.h> Declare and constify
4062         functions i386_pe_*.
4063
4064         * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
4065         i386_pe_* functions with char * arguments.
4066
4067 2001-03-20  Alexandre Oliva  <aoliva@redhat.com>
4068
4069         * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
4070         and store.
4071         (movsi_ie): Introduce fpul store.
4072
4073 2001-03-20  Alan Modra  <alan@linuxcare.com.au>
4074
4075         * Makefile.in (OBJS): Remove hashtab.o.
4076
4077 2001-03-19  Stan Shebs  <shebs@apple.com>
4078
4079         * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
4080         * c-lang.c (maybe_objc_method_name): Ditto.
4081         * c-tree.h (maybe_objc_method_name): Remove decl.
4082
4083 2001-03-19  Tom Tromey  <tromey@redhat.com>
4084
4085         * gcc.c (init_gcc_specs): Fix comment.
4086
4087 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
4088
4089         Compute DECL_ASSEMBLER_NAME lazily.
4090         * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
4091         (DECL_ASSEMBLER_NAME_SET_P): New macro.
4092         (SET_DECL_ASSEMBLER_NAME): Likewise.
4093         (COPY_DECL_ASSEMBLER_NAME): Likewise.
4094         (set_decl_assembler_name): Declare.
4095         (lang_set_decl_assembler_name): Likewise.
4096         * tree.c (lang_set_decl_assembler_name): New variab.e
4097         (set_decl_assembler_name): New function.
4098         (init_obstacks): Set lang_set_decl_assembler_name.
4099         (build_decl): Don't set DECL_ASSEMBLER_NAME.
4100         * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
4101         COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
4102         where it's not necessary.
4103         (builtin_function): Likewise.
4104         (finish_decl): Likewise.
4105         * dbxout.c (dbxout_type_methods): Likewise.
4106         * ggc-common.c (ggc_mark_trees): Likewise.
4107         * profile.c (output_func_start_profiler): Likewise.
4108         * varasm.c (make_decl_rtl): Likewise.
4109
4110         * cse.c (find_comparison_args): Update documentation.  Fix
4111         mishandling of COMPARE operations.
4112
4113         * tree.def (ABS_EXPR): Add documentation.
4114         * fold-const.c (fold): Improve folding of ABS_EXPRs.
4115
4116 2001-03-19  Zack Weinberg  <zackw@stanford.edu>
4117
4118         * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
4119
4120 2001-03-19  Jakub Jelinek  <jakub@redhat.com>
4121
4122         * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
4123         Remove ia32 linux PIC kludge and move it...
4124         * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
4125
4126 Mon Mar 19 18:53:54 CET 2001  Jan Hubicka  <jh@suse.cz>
4127
4128         * i386.md (absdf2 expander): Fix 64bit case.
4129
4130 2001-03-19  Brad Lucier  <lucier@math.purdue.edu>
4131
4132         * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
4133
4134 2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>
4135
4136         * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
4137
4138 2001-03-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4139
4140         * README.X11: Remove obsolete file.
4141
4142 2001-03-18  Anthony Green  <green@redhat.com>
4143
4144         * config/pj/pj.h: Remove some trailing commas.
4145         (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
4146
4147 2001-03-18  Richard Henderson  <rth@redhat.com>
4148
4149         * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
4150         * calls.c: ... here.
4151         * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
4152         defaults for them here.
4153
4154 2001-03-17  Anthony Green  <green@redhat.com>
4155
4156         * config/pj/lib1funcs.S: Fix broken comment.
4157         * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
4158         labels with '.'.
4159
4160 2001-03-18  Joseph S. Myers  <jsm28@cam.ac.uk>
4161
4162         * gcc.texi: Remove obsolete information relating to build and
4163         installation problems with enquire or the Pyramid C compiler.
4164
4165 2001-03-17  Richard Henderson  <rth@redhat.com>
4166
4167         * dwarf2out.c (queue_reg_save): New.
4168         (flush_queued_reg_saves, clobbers_queued_reg_save): New.
4169         (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
4170         dwarf2out_reg_save.
4171         (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
4172         (cfa, cfa_store, cfa_temp): Make static.
4173         * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
4174
4175 2001-03-17  Richard Henderson  <rth@redhat.com>
4176
4177         * integrate.h (struct inline_remap): Add local_return_label.
4178         * integrate.c (expand_inline_function): Initialize it and emit
4179         it after copy_insn_notes.
4180         (copy_insn_list): Don't store local_return_label here.
4181         (copy_insn_notes): New function split out from copy_insn_list.
4182
4183 2001-03-17  Richard Henderson  <rth@redhat.com>
4184
4185         * dwarf2out.c (lookup_filename): Emit .file if the assembler
4186         is generating .debug_line.
4187         (dwarf2out_init): Add main_input_filename to the file table first.
4188         * configure.in (as_dwarf2_debug_line): Test with file number 1
4189         instead of file number 0.
4190
4191 Sat Mar 17 11:52:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4192
4193         * combine.c (undobuf): Remove field previous_undos; all refs deleted.
4194         (gen_rtx_combine): Deleted; all references changed as appropriate.
4195         (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
4196
4197         * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
4198
4199 2001-03-17  David Billinghurst  <David.Billinghurst@riotinto.com>
4200
4201         * config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused
4202         variable.
4203
4204 2001-03-16  Jim Wilson  <wilson@redhat.com>
4205
4206         * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
4207         then set it to LOC_REG (79) instead of aborting.
4208
4209 2001-03-16  Phil Edwards  <pme@sources.redhat.com>
4210
4211         * gccbug.in:  Remove high priority.
4212
4213 2001-03-16  Richard Henerson  <rth@redhat.com>
4214
4215         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
4216         output with a space instead of deleting it.
4217         * configure: Regenerate.
4218
4219 2001-03-16  Zack Weinberg  <zackw@stanford.edu>
4220
4221         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
4222         handles the gory details of converting an object file into
4223         something that's safe to grep.
4224         (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
4225         gcc_AC_C_COMPILE_ENDIAN.  Use gcc_AC_EXAMINE_OBJECT.  Put
4226         newlines at either end of the string we're looking for.
4227         Make 'checking ...' message less stilted.
4228         (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT.  Handle
4229         ARM in-memory layout and its hypothetical converse.  Don't
4230         define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
4231         HOST_WORDS_BIG_ENDIAN.
4232
4233         * configure.in: Adjust for renamed macro.  Move
4234         gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
4235         * configure, config.in: Regenerate.
4236
4237 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
4238
4239         * fixinc/Makefile.in: Set SHELL.
4240
4241 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
4242
4243         * fixinc/fixincl.c (fix_with_system): Quote file names before
4244         passing them to shell.
4245
4246 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
4247
4248         * Makefile.in: Use fix-header$(build_exeext) instead
4249         of fix-header.
4250
4251 2001-03-16  Richard Henderson  <rth@redhat.com>
4252
4253         * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
4254         (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
4255         (size_of_line_prolog): Remove.
4256         (output_line_info): Compute prologue size via label difference.
4257         (lookup_filename): Return "unspecified" for <internal> and <built-in>.
4258
4259         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
4260         assembler error when redefining file numbers.
4261         * config.in, configure: Rebuild.
4262
4263         * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
4264         (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
4265         (dw2_asm_output_delta_uleb128): Likewise.
4266         (dw2_asm_output_delta_sleb128): Similarly.
4267         (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.
4268
4269 2001-03-16  Michael Meissner  <meissner@redhat.com>
4270
4271         * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
4272         warnings.
4273         (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
4274         warnings.
4275         (BITMASK_LOWER16): Replacement for 0x0000ffff.
4276
4277         * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
4278         instead of 0xffff0000/0x0000ffff to avoid warnings about constants
4279         being unsigned in ISO C and signed in traditional.
4280         (expand_prologue): Ditto.
4281         (RA_MASK): Use BITMASK_HIGH to avoid warnings.
4282
4283         * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
4284         warnings.
4285         (divsi3,divdi3): Ditto.
4286         (modsi3,moddi3): Ditto.
4287         (fix_truncdfsi2,fix_truncdfdi2): Ditto.
4288         (fix_truncsfsi2,fix_truncsfdi2): Ditto.
4289         (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
4290         warnings.
4291
4292 Fri Mar 16 14:47:57 CET 2001  Jan Hubicka  <jh@suse.cz>
4293
4294         * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
4295         SSE based conditional moves on LTGT/UNEQ conditions;
4296         Canonicalize EQ to NE.
4297         * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
4298         (sse_mov?fcc_ne): New.
4299
4300         * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
4301
4302 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
4303
4304         * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
4305         register may be dead.
4306
4307 2001-03-16  Brad Lucier  <lucier@math.purdue.edu>
4308
4309         * Makefile.in (hash.o): Depend on CONFIG_H.
4310
4311 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
4312
4313         * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
4314
4315 2001-03-15  Richard Henderson  <rth@redhat.com>
4316
4317         * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
4318         (ASM_OUTPUT_DWARF_PCREL): New.
4319         * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.
4320
4321 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
4322
4323         * cppfiles.c (stack_include_file): Use MAX of sysp.
4324
4325 2001-03-15  Steve Ellcey  <sje@cup.hp.com>
4326
4327         * config.gcc (ia64*-*-hpux*): New case.
4328         * config/ia64/hpux.h: New file for HP-UX support.
4329         * config/ia64/t-hpux: New file for HP-UX support.
4330
4331 2001-03-16  Bruce Korb  <bkorb@gnu.org>, Alexandre Oliva  <aoliva@redhat.com>
4332
4333         * fixinc/inclhack.def (irix_stdio_va_list): New.
4334         * fixinc/fixincl.x: Rebuilt.
4335
4336 2001-03-15  Richard Henderson  <rth@redhat.com>
4337
4338         * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
4339         if provided by the target.
4340         (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
4341         (dw2_asm_output_addr): New.
4342         * dwarf2asm.h (dw2_asm_output_addr): Declare.
4343         * dwarf2out.c (output_cfi): Use it for program addresses.
4344         (output_call_frame_info, output_die): Likewise.
4345         (output_aranges, output_line_info): Likewise.
4346
4347 2001-03-15  Bruce Korb  <bkorb@gnu.org>
4348
4349         * gcc.c(main): make more rigorous
4350         * collect2.c(main): guard against ignoring SIGCHLD
4351         * protoize.c(main): ditto
4352         * gcc/fixinc/fixincl.c(initialize): ditto
4353
4354 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
4355
4356         * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
4357         (sdbout_parms): Likewise.
4358
4359 Thu Mar 15 12:57:14 2001  Jeffrey A Law  (law@cygnus.com)
4360
4361         * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
4362         "widen" a destination that is already wider than a word.  Also do
4363         not widen if LOAD_EXTEND_OP is NIL for the given mode.
4364
4365 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
4366
4367         * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
4368
4369 Thu Mar 15 11:30:31 EST 2001  John Wehle  (john@feith.com)
4370
4371         * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
4372
4373 Thu Mar 15 11:24:29 EST 2001  John Wehle  (john@feith.com)
4374
4375         * i960.h (i960_maxbitalignment,
4376         i960_last_maxbitalignment): Declare.
4377         * i960.c (i960_maxbitalignment,
4378         i960_last_maxbitalignment): Make global.
4379         (process_pragma): Delete.
4380         (i960_pr_align, i960_pr_noalign): Move from here ...
4381         * i960-c.c: ... to this new file.
4382         * t-960bare (i960-c.o): New rule.
4383         * t-vxworks960 (i960-c.o): Likewise.
4384         * config.gcc (i960-*-*): Define c_target_objs and
4385         cxx_target_objs.
4386
4387 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
4388
4389         * cselib.c (hash_rtx): For REG and MEM, just use value of expression
4390         without adding in rtx code and mode.
4391
4392         * alias.c (init_alias_analysis): Don't use any rtx whose value
4393         varies as a known value.
4394         Delete a superfluous test.
4395
4396         * config/ia64/ia64.c (maybe_rotate): New function, broken out of
4397         ia64_sched_reorder.
4398         (ia64_sched_reorder): Call maybe_rotate; also rotate after
4399         scheduling a stop bit.
4400         (ia64_emit_nops): Correctly handle ASMs.
4401
4402 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
4403
4404         * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
4405
4406 2001-03-15  Neil Booth  <neil@daikokuya.demon.co.uk>
4407
4408         * cpp.texi: Update documentation for -include and -imacros.
4409         * cppfiles.c (struct include_file): Remove "defined" memeber.
4410         (find_or_create_entry): Make a copy of the file name, and
4411         simplify it.
4412         (open_file): Update to ensure we use the simplified filename.
4413         (stack_include_file): Don't set search_from.
4414         (cpp_included): Don't simplify the path name here.
4415         (find_include_file): New prototype.  Call search_from to
4416         get the start of the "" include chain.  Don't simplify the
4417         filenames here.
4418         (_cpp_execute_include): New prototype.  Move diagnostics to
4419         do_include_common.  Update.
4420         (_cpp_pop_file_buffer): Don't set defined.
4421         (search_from): New prototype.  Use the preprocessor's cwd
4422         for files included from the command line.
4423         (read_name_map): Don't simplify the pathname here.
4424         * cpphash.h (enum include_type): New.
4425         (struct buffer): Delete search from.  New search_cached.
4426         (_cpp_execute_include): Update prototype.
4427         * cppinit.c (do_includes): Use _cpp_execute_include.
4428         * cpplib.c (do_include_common): New function.
4429         (do_include, do_include_next, do_import): Use it.
4430
4431 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
4432
4433         * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
4434         contents of the RTL, to determine the name of the object.
4435
4436 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
4437
4438         * tree.h (DECL_RTL): Allocate RTL lazily.
4439         (SET_DECL_RTL): New macro.
4440         (DECL_RTL_SET_P): Likewise.
4441         (COPY_DECL_RTL): Likewise.
4442         (DECL_RTL_IF_SET): Likewise.
4443         * varasm.c (make_decl_rtl): Add assertions about the kind of
4444         declaration we are processing.
4445         * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
4446         (start_decl): Likewise.
4447         (finish_decl): Likewise.
4448         * c-semantics.c (emit_local_var): Likewise.
4449         * calls.c (expand_call): Likewise.
4450         * dbxout.c (dbxout_symbol): Likewise.
4451         * emit-rtl.c (unshare_all_rtl): Likewise.
4452         (unshare_all_decls): Likewise.
4453         (reset_used_decls): Likewise.
4454         * expr.c (store_constructor): Likewise.
4455         (safe_from_p): Likewise.
4456         (expand_expr): Likewise.
4457         * function.c (put_var_into_stack): Likewise.
4458         (instantiate_decls_1): Likewise.
4459         (assign_parms): Likewise.
4460         (expand_function_start): Likewise.
4461         (expand_function_end): Likewise.
4462         * ggc-common.c (gcc_mark_trees): Likewise.
4463         * integrate.c (function_cannot_inline_p): Likewise.
4464         (copy_decl_for_inlining): Likewise.
4465         (expand_inline_function): Likewise.
4466         (integrate_parm_decls): Likewise.
4467         (integrate_decl_tree): Likewise.
4468         * print-tree.c (print_node): Likewise.
4469         * reg-stack.c (stack_result): Likewise.
4470         * stmt.c (label_rtx): Likewise.
4471         (expand_return): Likewise.
4472         (expand_decl): Likewise.
4473         (expand_decl_cleanup): Likewise.
4474         (expand_anon_union_decl): Likewise.
4475         * toplev.c (check_global_declarations): Likewise.
4476         (rest_of_decl_compilation): Likewise.
4477         * tree.c (simple_cst_equal): Likewise.
4478         * objc/objc-act.c (generate_static_references): Likewise.
4479
4480 2001-03-14  Zack Weinberg  <zackw@stanford.edu>
4481
4482         * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
4483         gcc_AC_C_FLOAT_FORMAT): New macros.
4484         * configure.in: Add AC_PROG_CPP after CC tests;
4485         gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
4486         tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
4487         * configure, config.in: Regenerate.
4488
4489         * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
4490         config/arm/xm-arm.h, config/c4x/xm-c4x.h,
4491         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
4492         config/i370/xm-linux.h, config/i370/xm-oe.h,
4493         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
4494         config/m68k/xm-m68k.h, config/mips/xm-mips.h,
4495         config/pa/xm-linux.h, config/pa/xm-pa.h,
4496         config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
4497         config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
4498         config/sparc/xm-sparc.h, config/vax/xm-vax.h,
4499         config/we32k/xm-we32k.h: Delete.
4500
4501         * config/i370/xm-mvs.h, config/m88k/m88k.h,
4502         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
4503         config/vax/xm-vms.h: Don't define any of:
4504         HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
4505
4506         * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
4507
4508         * config.gcc: Remove references to deleted files.
4509         (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
4510         FATAL_EXIT_CODE, which is the same between oe and mvs).
4511
4512 2001-03-14  DJ Delorie  <dj@redhat.com>
4513             Vladimir Makarov  <vmakarov@redhat.com>
4514
4515         * config/i960/i960.c (i960_function_prologue): Compute size of
4516         frame according to number of registers actually saved there.
4517
4518 2001-03-14  Richard Henderson  <rth@redhat.com>
4519
4520         * expr.c (emit_move_insn_1): Fix else if around #endif.
4521
4522 Wed Mar 14 22:39:12 CET 2001  Jan Hubicka  <jh@suse.cz>
4523                               Vojtech Pavlik
4524
4525         * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
4526         constraints.
4527
4528 Wed Mar 14 22:26:10 CET 2001  Jan Hubicka  <jh@suse.cz>
4529
4530         * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
4531         (override_options): Parse cmodel string.
4532         (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
4533         * i386.h (TARGET_OPTIONS): Add "cmodel".
4534         (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
4535         (enum cmodel): New.
4536         (ix86_cmodel_string, ix86_cmodel): Declare.
4537
4538 Wed Mar 14 22:26:54 CET 2001  Jan Hubicka  <jh@suse.cz>
4539
4540         Spot by Matt Kraai:
4541         * i386.h (GENERAL_REG_P): Add missing REG_P.
4542
4543 2001-03-14  Laurynas Biveinis  <lauras@softhome.net>
4544
4545         * configure.in: Use $gcc_cv_as instead of $as.
4546         * configure: Regenerated.
4547
4548 2001-03-14  Neil Booth  <neil@daikokuya.demon.co.uk>
4549
4550         * cppfiles.c (stack_include_file): Only increase the include
4551         count if we actually process the file properly, as opposed
4552         to treating it as length zero.  Only call read_include_file
4553         if not DO_NOT_REREAD.  Handle the -H include file output
4554         here.
4555         (read_include_file): Remove now redundant DO_NOT_REREAD check.
4556         (cpp_included, find_include_file): Simplify pathnames after
4557         remapping them.  If remapping, don't use the remapped file
4558         name's buffer as our scratch buffer.
4559         (cpp_pop_file_buffer): Replace the multiple include macro
4560         only if it isn't yet set.
4561         (read_name_map): Simplify remapped names when reading in.
4562         (remap_filename): Move code to code path that uses it.
4563         (_cpp_simplify_pathname): Return the input pointer.
4564         * cpphash.h (_cpp_simplify_pathname): Update prototype.
4565
4566 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
4567
4568         * expr.c (expand_expr): Revove bogus conditional.
4569
4570 Wed Mar 14 19:29:50 CET 2001  Jan Hubicka  <jh@suse.cz>
4571
4572         * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
4573
4574 2001-03-14  Jakub Jelinek  <jakub@redhat.com>
4575
4576         * reg-stack.c (stack_result): Unconditionally use
4577         FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
4578
4579 Wed Mar 14 16:36:25 CET 2001  Jan Hubicka  <jh@suse.cz>
4580
4581         * expr.c (emit_move_insn_1):  Split push of complex value when
4582         no suitable push instruction exist.
4583
4584         * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
4585         instead of QI_REG_P.
4586
4587 Tue Mar 13 22:22:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4588
4589         * alias.c (handled_component_p, can_address_p): New functions.
4590         (get_alias_set): Use them.
4591
4592 2001-03-13  Jim Wilson  <wilson@redhat.com>
4593
4594         * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
4595         from 80 in try_locals code.
4596         (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
4597
4598 2001-03-13  Zack Weinberg  <zackw@stanford.edu>
4599
4600         * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
4601         gcc_AC_C_LONG_LONG): New.
4602         * configure.in: Use them.  Probe the size of short, int, long,
4603         and long long/__int64 if we have them.  Move all the AC_C_*
4604         checks together, except gcc_AC_C_CHAR_BIT which has to go
4605         after AC_CHECK_HEADERS(limits.h).
4606         Take hwint.h out of host_xm_file and build_xm_file.
4607
4608         * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
4609         HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
4610         and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
4611         Move the HOST_WIDEST_INT setup logic here from system.h.
4612         Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
4613         defined.
4614         * system.h: Include hwint.h after limits.h.  HOST_WIDEST_INT
4615         is now handled by hwint.h.
4616
4617         * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
4618         config/c4x/xm-c4x.h, config/i370/xm-oe.h,
4619         config/ia64/xm-ia64.h: Don't define any of:
4620         HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
4621         HOST_BITS_PER_LONGLONG.
4622
4623         * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
4624         config/h8300/xm-h8300.h, config/mips/iris6.h,
4625         config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
4626         config/sparc/xm-sp64.h: Delete.
4627         * config.gcc: Remove references to deleted files.
4628
4629         * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
4630         HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
4631         * config/i370/xm-linux.h: Clarify floating-point situation in
4632         a comment.
4633
4634 2001-03-13  Neil Booth  <neil@daikokuya.demon.co.uk>
4635
4636         * cppfiles.c (NO_INCLUDE_PATH): New macro.
4637         (find_include_file): Decide here which part of the include
4638         chain to start the search.  Complain about an empty include
4639         chain in all cases apart from an abolsute file name.
4640         (_cpp_execute_include): Don't choose the search chain here.
4641         Don't call handle_missing_include in the case of an empty
4642         include chain.
4643         (_cpp_compare_file_date): Don't choose the search chain here.
4644         * cpplib.c (do_include_next): Move the in-main-file diagnostic
4645         here from _cpp_execute_include.  Behave like #include if
4646         we're in the main file.
4647
4648 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4649
4650         * system.h (malloc, realloc, calloc, strdup): Only poison these
4651         tokens when IN_GCC is defined.
4652
4653 Tue Mar 13 14:38:44 CET 2001  Jan Hubicka  <jh@suse.cz>
4654
4655         * i386.md (abs?f expander): Support SSE case.
4656         (abd?f_if): Add new "USE"; add splitters.
4657
4658 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4659
4660         * cpp.texi (poison): Explain the macro expansion exception.
4661
4662 2001-03-13  Jakub Jelinek  <jakub@redhat.com>
4663
4664         * expr.c (store_expr): Add dont_store_target.  If temp is already in
4665         target before copying to reg, don't store it into target again.
4666
4667 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
4668
4669         * cppinternals.texi: Update for file handling.
4670
4671 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
4672
4673         * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
4674         2001-02-24 which broke building the Java library.
4675         * function.c (identify_blocks): Likewise.
4676         (all_blocks): Likewise.
4677         * integrate.c (integrate_decl_tree): Likewise.
4678         * print-tree.c (print_node): Likewise.
4679         * tree.h (BLOCK_NUMBER): Likewise.
4680         (struct tree_block): Likewise.
4681
4682 2001-03-12  David Edelsohn  <edelsohn@gnu.org>
4683
4684         * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
4685         __WCHAR_TYPE__ definition.
4686         (WCHAR_TYPE_SIZE): #undef before #define.
4687
4688 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
4689
4690         * cppfiles.c: Update comments.
4691         (destroy_include_file_node): Rename destroy_node.
4692         (find_or_create_entry): New function.
4693         (open_file, _cpp_fake_include): Use it.
4694         (handle_missing_header): New function, broken out of
4695         _cpp_execute include.  Don't segfault if there is no
4696         system or quoted path.
4697         (_cpp_execute_include): Use handle_missing_header.
4698
4699 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
4700
4701         * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
4702         2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
4703
4704 Mon Mar 12 14:05:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4705
4706         * flow.c (insn_dead_p): Don't consider two memrefs equivalent
4707         unless anti_dependence says they are.
4708         * alias.c (objects_must_conflict): If neither has a type specified,
4709         they must conflict.
4710
4711 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
4712             David Billinghurst <David.Billinghurst@riotinto.com>
4713
4714         * config/mips/iris5.h:  Change WCHAR_TYPE to int.
4715
4716 Mon Mar 12 16:32:21 CET 2001  Jan Hubicka  <jh@suse.cz>
4717
4718         * i386.md (trunctfdf2_2): Rename missnamed pattern.
4719         (*_one_bit): Remove type on the match_operand in attributes.
4720
4721 Mon Mar 12 16:27:56 CET 2001  Jan Hubicka  <jh@suse.cz>
4722
4723         * i386.c: Commit forgotten hunk in previous patch.
4724         (regclass_map): Add extended registers.
4725         (dbx_register_map): Add missing frame register.
4726
4727 Mon Mar 12 15:41:08 CET 2001  Jan Hubicka  <jh@suse.cz>
4728
4729         * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
4730
4731         * i386.md (x86_sahf_1): Disable for 64bit.
4732         (popsi*, pophi*): Likewise.
4733         (pushqi, pushhi): Likewise.
4734         (movdi, pushdi): Likewise.
4735         (zero extend DImode splitter): Likewise.
4736         (adddi, minusdi splitter): Likewise.
4737         (umulsidi): Likewise.
4738         (umulsi): New.
4739         (mulsidi): Disable for 64bit
4740         (lshift:DI/ashift:DI): Disable for 64bit.
4741         (loop patterns): Likewise.
4742         (call_pop, call_value_pop expanders and patterns): Likewise.
4743         (prologue_get_pc): Likewise.
4744         (leave): Likewise.
4745         (fcmovDI pattern and splitter): Likewise.
4746         (movdfcc_1_rex64): New.
4747
4748 Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
4749
4750         * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
4751         (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
4752         (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
4753         (STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
4754         (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
4755         (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
4756         (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
4757         (PUSH_ROUNDING): x86_64 rounds to 64bits.
4758         (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
4759         (REGPARM_MAX): Set to 6 for x86_64.
4760         (SSE_REGPARM_MAX): Set to 16 for x86_64.
4761         * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
4762         registers.
4763
4764         * (patterns that does use upper halves): Update constraints
4765         'q' to 'Q' and 'r' to 'R'.
4766         (cmpqi_ext_1): Disable for 64bit.
4767         (cmpqi_ext_3_insn): Likewise.
4768         (movqi_extzv_1): Likewsie.
4769         (addqi_ext_1): Liekwsie
4770         (testqi_ext_1): Liekwsie
4771         (andqi_ext_1): Liekwsie
4772         (xorqi_ext_1): Liekwsie
4773         (cmpqi_ext_1_rex64): New.
4774         (cmpqi_ext_3_insn_rex64): Likewise.
4775         (movqi_extzv_1_rex64): Likewsie.
4776         (addqi_ext_1_rex64): Liekwsie
4777         (testqi_ext_1_rex64): Liekwsie
4778         (andqi_ext_1_rex64): Liekwsie
4779         (xorqi_ext_1_rex64): Liekwsie
4780
4781 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
4782
4783         * configure.in: Move check for unsigned enumerated bitfields
4784         to macro in aclocal.m4.  Disable it for now.
4785         * configure, config.in: Regenerate.
4786         * system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
4787         unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
4788         * varasm.c (struct rtx_const): Use ENUM_BITFIELD().  Move enum
4789         kind above its first use.
4790
4791         * config/xm-interix.h, config/alpha/xm-alpha.h,
4792         config/i370/xm-linux.h, config/i386/xm-beos.h,
4793         config/i386/xm-mingw32.h, config/mips/xm-mips.h,
4794         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
4795         config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
4796         Don't define ONLY_INT_FIELDS under any circumstances.
4797
4798         * config/pa/xm-pa.h: Don't define __BSD_NET2__.
4799
4800         * config/pa/xm-pahpux.h, config/pa/xm-papro.h,
4801         config/sparc/xm-sysv4.h: Delete - now identical with some
4802         other xm header.
4803         * config.gcc (hppa targets): Replace xm-pahpux.h and
4804         xm-papro.h with implicit xm-pa.h.
4805         (sparc targets): Replace xm-sysv4.h with implicit or explicit
4806         xm-sparc.h.
4807
4808 2001-03-12  Aldy Hernandez  <aldyh@redhat.com>
4809
4810         * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
4811         before reload_cse_noop_set_p.
4812
4813 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
4814
4815         * config.gcc: Where xm-host.h used to include another
4816         xm-host.h, list the nested header directly in xm_file.  Remove
4817         references to deleted files.  Can now use sparc/xm-sp64.h for
4818         sparcv9-*-solaris*.
4819
4820         * config/xm-linux.h, config/arm/xm-linux.h,
4821         config/i386/xm-dos.h, config/i386/xm-gnu.h,
4822         config/i386/xm-linux.h, config/i386/xm-openbsd.h,
4823         config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
4824         config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
4825         config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
4826         Delete.
4827
4828         * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
4829         * config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
4830         bother to wrap #undef in #ifdef.
4831         * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
4832         Don't include xm-linux.h.
4833         * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.
4834
4835         * configure.in: Wrap regexps using [] in changequote block.
4836         Use expr : not echo | grep.  Simplify regexps.
4837         * configure: Regenerate.
4838
4839         56 xm-files remain, 22 xm-arch.
4840
4841 2001-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4842
4843         * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
4844         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
4845         (local_index, local_rindex): Delete, use strchr/strrchr instead.
4846         (copy_object): Fix format specifier vs argument mismatch.
4847
4848         * mips-tdump.c: Make local functions static.
4849         (rindex): Don't #undef.
4850         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
4851         (fatal, fancy_abort): Delete.
4852         (read_seek): Avoid signed/unsigned compare.
4853
4854 Sun Mar 11 17:01:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4855
4856         * combine.c (try_combine): Fix error in change to try original
4857         register.
4858         (gen_rtx_combine): Do same as gen_rtx for now.
4859
4860 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
4861
4862         * configure.in: AC_SUBST xm_defines.
4863         * configure: Regenerate.
4864         * Makefile.in: Set DEFINES=$(xm_defines) when building
4865         tconfig.h.
4866
4867 2001-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
4868
4869         * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
4870         (cpp_included, find_include_file): Update.
4871         (_cpp_compare_file_date): Make else unconditional.
4872
4873 2001-03-10  kaz Kojima <kkojima@rr.iij4u.or.jp>
4874
4875         * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
4876
4877 2001-03-10  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
4878
4879         * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
4880         * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
4881
4882 Sat Mar 10 22:42:05 2001  Alexandre Oliva  <aoliva@redhat.com>
4883
4884         * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
4885         if it's a record type.
4886
4887 Sat Mar 10 17:52:54 2001  Christopher Faylor <cgf@cygnus.com>
4888
4889         * config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize
4890         mingw includes slightly.
4891
4892 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4893
4894         * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
4895         #undef token before poisoning it.
4896
4897 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4898
4899         * alpha.c (check_float_value): Use memcpy, not bcopy.
4900
4901         * m32r.c (m32r_sched_reorder): Likewise.
4902
4903         * vax.c (check_float_value): Likewise.
4904
4905 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
4906
4907         * toplev.c (file_name_nondirectory): Remove.
4908         * toplev.h: Similarly.
4909         * dwarf2out.c (compute_section_prefix): Use lbasename instead
4910         of file_name_nondirectory.
4911
4912 Sat Mar 10 10:36:45 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4913
4914         * mips-tdump.c (read_seek): Call xmalloc, not malloc.
4915         * mips-tfile.c: Don't #undef rindex; not used.
4916
4917 Sat Mar 10 14:34:59 CET 2001  Jan Hubicka  <jh@suse.cz>
4918
4919         * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
4920         (dbx64_register_map): Declare.
4921         (RETURN_ADDR_RTX): Fix for 64bit.
4922         (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
4923         (INCOMING_FRAME_SP_OFFSET): Set to 8.
4924         * i386.c (dbx64_register_map): New global array.
4925         * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
4926         linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
4927         for 64bits.
4928
4929 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
4930
4931         * cppfiles.c (search_from): Use lbasename.
4932         * mkdeps.c (deps_add_default_target): Use lbasename.
4933
4934 2001-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4935
4936         * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
4937         xcalloc in lieu of malloc, realloc & calloc.
4938
4939         * gencheck.c (xmalloc): Use really_call_malloc, not malloc.
4940
4941         * gengenrtl.c (xmalloc): Likewise.
4942
4943         * gensupport.c (xcalloc, xrealloc, xmalloc): Use the
4944         really_call_* memory allocation routines.
4945
4946         * stmt.c (check_for_full_enumeration_handling): Use
4947         really_call_calloc, not calloc.
4948
4949         * system.h (really_call_malloc, really_call_calloc,
4950         really_call_realloc): Define.
4951         (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.
4952
4953 Fri Mar  9 18:39:19 2001  Jeffrey A Law  (law@cygnus.com)
4954
4955         * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
4956
4957 2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>
4958
4959         * configure: Rebuilt.
4960         * configure.in: Only use `lang_requires' for languages athat are
4961         actually enabled.
4962
4963 2001-03-09  Joseph S. Myers  <jsm28@cam.ac.uk>
4964
4965         * invoke.texi: Fix typo.
4966         * gcc.1: Regenerate.
4967
4968 2001-03-09  Zack Weinberg  <zackw@stanford.edu>
4969
4970         * configure.in: Prune nonexistent files from build_xm_file,
4971         xm_file, and host_xm_file lists.  Warn unless they're
4972         $cpu/xm-$cpu.h.
4973         Don't generate *config.h here.
4974         AC_SUBST all variables needed to generate *config.h.
4975         * configure: Regenerate.
4976         * mkconfig.sh: New helper script, from code removed from
4977         configure.in.
4978         * Makefile.in: Zap all MALLOC variables - no longer used
4979         anywhere, and malloc.c doesn't exist.
4980         Substitute in variables needed to generate *config.h.
4981         Stop lying about the dependencies contained in CONFIG_H and
4982         GCONFIG_H.
4983         (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
4984         (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
4985         cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
4986         (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
4987         $(TM_P_H), etc. as appropriate.
4988
4989         * config.gcc: Zap references to deleted files.
4990         * ggc-none.c: Don't include rtl.h or tm_p.h.
4991
4992         * config/i386/xm-beos.h, config/i386/xm-dgux.h,
4993         config/i386/xm-djgpp.h, config/i386/xm-dos.h,
4994         config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
4995         config/i386/xm-linux.h, config/i386/xm-linux.h,
4996         config/i386/xm-next.h, config/i386/xm-openbsd.h,
4997         config/i386/xm-sun.h, config/i386/xm-sysv3.h:
4998         Don't include i386/xm-i386.h.
4999
5000         * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
5001         config/i386/xm-i386.h, config/i860/xm-i860.h,
5002         config/i960/xm-i960.h, config/mcore/xm-mcore.h,
5003         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
5004         config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
5005         Delete (empty except comments, #includes of other deleted
5006         files, and macros used nowhere).
5007
5008 Fri Mar  9 20:05:27 CET 2001  Jan Hubicka  <jh@suse.cz>
5009
5010         * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
5011         independent on TARGET_FLAGS.
5012
5013 Fri Mar  9 19:52:52 CET 2001  Jan Hubicka  <jh@suse.cz>
5014
5015         * i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
5016
5017         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add
5018         extended ones.
5019         (CONDITIONAL_REGISTER_USAGE): Set proper values according to
5020         TARGET_64BIT.
5021         (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG,
5022         LAST_REX_SSE_REG): define.
5023         (enum reg_class): Add 'LEGACY_REGS'
5024         (REG_CLASS_CONTENTS): Likewise; add extended registers.
5025         (SSE_REGNO_P): Recognize extended registers.
5026         (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
5027         (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
5028         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P,
5029         REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers.
5030         (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
5031          REG_OK_FOR_STRREG_P): Remove.
5032         (HI_REGISTER_NAMES): Add extended registers.
5033         (ADDITIONAL_REGISTER_NAMES): Likewise.
5034         (QI_REGISTER_NAMES): Add 8bit extended registers.
5035         (DEBUG_REG): Support extended registers.
5036         * i386.c (regclass_map): Add extended registers.
5037         (dbx_register-map): Likewise.
5038         (svr4_dbx_register_map): Likewise.
5039         (print_reg): Support extended registers.
5040         (print_operand): Support 64bit operands.
5041
5042 Fri Mar  9 19:37:46 CET 2001  Jan Hubicka  <jh@suse.cz>
5043
5044         * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
5045         (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
5046          FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
5047          DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
5048         (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
5049          STACK_BOUNDARY): Set properly for 64bits.
5050         (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
5051         (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
5052         (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
5053         (MOVE_MAX): Set to 16.
5054         (MOVE_MAX_PIECES): 8 for 64bit.
5055         (Pmode): Set to SImode.
5056
5057 Fri Mar  9 09:00:36 2001  Mike Stump  <mrs@wrs.com>
5058
5059         * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
5060
5061 Fri Mar  9 17:38:08 CET 2001  Jan Hubicka  <jh@suse.cz>
5062
5063         * i386.h (mask_64bit): New constant.
5064         (target_64bit): New macro.
5065         (target_options): Add '64'/'32'
5066         (target_default): Define.
5067         * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h
5068         isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h
5069         unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
5070
5071 Thu Mar  8 23:36:56 2001  Jeffrey A Law  (law@cygnus.com)
5072
5073         * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
5074
5075 Thu Mar  8 23:29:37 2001  John Wehle  (john@feith.com)
5076
5077         * rtlanal.c (rtx_varies_p): Check operand 0 of a
5078         LO_SUM unless for_alias is set.
5079
5080 2001-03-08  Stan Shebs  <shebs@apple.com>
5081
5082         * objc/objc-act.c: Fix old typos in comments, add comments for
5083         various functions.
5084         (hash_init): Fix file name in error message.
5085         (hash_enter): Ditto.
5086         (hash_add_attr): Ditto.
5087         (continue_class): Ditto.
5088
5089 2001-03-08  Bruce Korb  <bkorb@gnu.org>
5090
5091         gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
5092         wait4() can receive the signal.
5093
5094 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5095
5096         * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
5097         entities.
5098         * fixinc/fixincl.x: Regenerate.
5099
5100 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5101
5102         * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
5103         on Tru64 UNIX.
5104         * fixinc/fixincl.x: Regenerate.
5105
5106 2001-03-08  Richard Henderson  <rth@redhat.com>
5107
5108         * configure.in (HAVE_AS_LEB128): New assembler check.
5109         * configure, config.in: Rebuilt.
5110
5111 Thu Mar  8 19:54:04 CET 2001  Jan Hubicka  <jh@suse.cz>
5112
5113         * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
5114         TFmode too.
5115
5116 2001-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5117
5118         * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
5119         references to the MAXPATHLEN macro.
5120
5121         * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
5122         config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
5123         the POSIX macro.
5124
5125         * config/i386/xm-gnu.h, config/xm-gnu.h,
5126         config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
5127         config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
5128         config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
5129         and/or unused files.
5130
5131         * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
5132         doing so in various xm-*.h files.
5133
5134 Thu Mar  8 06:32:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5135
5136         * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
5137
5138 2001-03-08  Alexandre Oliva  <aoliva@redhat.com>
5139
5140         * configure.in (enable_shared): Support per-package shared-library
5141         enabling.
5142         * configure: Rebuilt.
5143
5144 2001-03-07  David Edelsohn  <edelsohn@gnu.org>
5145
5146         * rs6000.md (cr logic): Add original POWER mnemonic alternative
5147         for crnot.  Set operands[5] in splitter.
5148
5149 2001-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5150
5151         * config/i370/xm-mvs.h, config/i370/xm-oe.h,
5152         config/i386/xm-beos.h, config/i386/xm-mingw32.h,
5153         config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
5154         config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
5155         config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
5156         config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
5157         config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
5158         to the USG macro.
5159
5160         * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
5161         config/i370/xm-i370.h, config/i386/xm-dgux.h,
5162         config/i386/xm-sun.h, config/i386/xm-sysv3.h,
5163         config/m68k/xm-tower.h, config/m68k/xm-aux.h,
5164         config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
5165         config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
5166         config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
5167         config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
5168         config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
5169         config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
5170         Delete unused and/or empty files.
5171
5172         * config.gcc: Define USG in xm_defines as appropriate.  Define
5173         POSIX in lieu of xm-svr4.h.  Delete all references to the SVR3
5174         macro.  Remove deleted xm-* files from $xm_files variable.
5175
5176 2001-03-07  Tom Tromey  <tromey@redhat.com>
5177
5178         * configure: Rebuilt.
5179         * configure.in: Allow config-lang.in to set `lang_requires' to list
5180         of other required languages.
5181
5182 2001-03-07  Andrew MacLeod  <amacleod@redhat.com>
5183
5184         * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
5185         after its emitted.
5186         (output_prologue): Use xmalloc not oballoc.
5187         (output_epilog): Free a29k_first_epilogue_insn when finished.
5188         * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
5189
5190 2001-03-07  Brad Lucier  <lucier@math.purdue.edu>
5191
5192         * builtins.c (expand_builtin_mathfn): Check
5193         flag_unsafe_math_optimizations, not flag_fast_math.
5194         (expand_builtin): Likewise
5195         * combine.c (combine_simplify_rtx): Likewise.
5196         (simplify_if_then_else): Likewise.
5197         * cse.c (fold_rtx): Likewise.
5198         * flags.h: Remove flag_fast_math.  Add
5199         flag_unsafe_math_optimizations and flag_trapping_math.
5200         * fold-const.c (negate_expr): Check
5201         flag_unsafe_math_optimizations, not flag_fast_math.
5202         (invert_truthvalue): Likewise.
5203         (fold): Likewise.  Before associating operands, check that
5204         code == MULT_EXPR, not code != MULT_EXPR.
5205         * ifcvt.c (noce_try_minmax): Check
5206         flag_unsafe_math_optimizations, not flag_fast_math.
5207         (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
5208         * invoke.texi: Document -funsafe-math-optimizations and
5209         -fno-trapping-math.  Change documentation for -ffast-math.
5210         * jump.c (reversed_comparison_code_parts): Likewise.
5211         (rtx_equal_for_thread_p): Likewise.
5212         * optabs.c (emit_conditional_move): Likewise.
5213         * simplify-rtx.c (simplify_binary_operation): Likewise.
5214         (simplify_relational_operation): Likewise.
5215         (simplify_ternary_operation): Likewise.
5216         * toplev.c: Remove flag_fast_math.  Add flag_trapping_math and
5217         flag_unsafe_math_optimizations.  Remove fast-math entry from f_options.
5218         Add trapping-math and unsafe-math-optimizations entries to f_options.
5219         (set_fast_math_flags): New, sets flags for -ffast-math.
5220         (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
5221         (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
5222         * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
5223
5224         * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
5225         (alpha_emit_conditional_move): Initialize local_fast_math to
5226         flag_unsafe_math_optimizations, not flat_fast_math.
5227         * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
5228         instead of setting flag_fast_math to 1.
5229         * config/convex/convex.md: Check flag_unsafe_math_optimizations,
5230         not flag_fast_math.
5231         * config/i386/i386.c (override_options): Likewise
5232         * config/i386/i386.md: Likewise.
5233         * config/m68k/m68k.md: Likewise.
5234         * config/mips/mips.md: Likewise.
5235         * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
5236         (rs6000_generate_compare): Likewise.
5237
5238 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
5239
5240         * Makefile.in: Set RANLIB to @RANLIB@.
5241         Remove RANLIB_TEST.
5242
5243 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
5244
5245         * fixinc/inclhack.def (djgpp_wchar_h): New test.
5246         * fixinc/fixincl.x: Regenerated.
5247
5248 2001-03-07  Richard Henderson  <rth@redhat.com>
5249
5250         * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
5251
5252 2001-03-07  Richard Henderson  <rth@redhat.com>
5253
5254         * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
5255         of block notes and exception handling notes.
5256
5257         * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
5258         * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
5259         (compile_file): ... here.
5260
5261 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5262
5263         * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
5264
5265         * fixinc/gnu-regex.c: Don't include auto-host.h since we get
5266         config.h now.  Include libiberty.h to handle alloca.
5267
5268 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
5269
5270         * c-parse.in (yylexname): New function, split out of _yylex.
5271         (objc_rid_sans_at): New table.
5272         (init_reswords): Initialize it.
5273         (_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
5274         retrieving the next token and checking it for significance as
5275         an ObjC keyword or string constant.
5276
5277         * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
5278         * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
5279
5280         * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
5281         to CPP_OSTRING.
5282
5283 2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
5284
5285         * config/m68k/m68k.c (const_uint32_operand): Accept any
5286         const_int on a 32-bit host.
5287
5288 2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
5289
5290         * objc/objc-act.c (init_objc): Set save_lang_status,
5291         restore_lang_status, and mark_lang_status.
5292
5293 2001-03-06  Krister Walfridsson  <cato@df.lth.se>
5294
5295         * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
5296
5297 2001-03-06  Neil Booth  <neil@daikokuya.demon.co.uk>
5298
5299         * cppinternals.texi: Update.
5300
5301 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5302
5303         * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
5304         config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
5305         config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
5306         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
5307         config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
5308         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
5309         config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
5310         config/i386/xm-i386.h, config/i860/xm-i860.h,
5311         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
5312         config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
5313         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
5314         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
5315         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
5316         config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
5317         config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
5318         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
5319         config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
5320         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
5321         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
5322         config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
5323         config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
5324         match the defaults provided in hwint.h.
5325
5326         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
5327         config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
5328
5329         * config.gcc (xm_file): Don't set to files which are deleted.
5330
5331         * hwint.h: Provide default values for HOST_BITS_PER_*.  No longer
5332         guard this file against these macros being undefined.
5333
5334 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
5335
5336         * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
5337         and DECL_DEFER_OUTPUT on the decl we create, before calling
5338         rest_of_decl_compilation.
5339
5340 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
5341
5342         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
5343         AC_FUNC_ALLOCA.
5344         * configure, config.in: Regenerate.
5345         * config.gcc: Remove references to deleted files.
5346
5347         * genattr.c, genattrtab.c, genextract.c, genoutput.c,
5348         genrecog.c, rtl.c: Do not use alloca anywhere.
5349
5350         * Makefile.in, build-make, system.h, config/x-interix,
5351         config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
5352         config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
5353         config/arc/xm-arc.h, config/arm/xm-arm.h,
5354         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
5355         config/h8300/xm-h8300.h, config/i370/x-oe,
5356         config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
5357         config/i386/x-ncr3000, config/i386/x-sco5,
5358         config/i386/xm-dgux.h, config/i860/x-sysv4,
5359         config/i960/xm-i960.h, config/m32r/xm-m32r.h,
5360         config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
5361         config/m68k/x-hp320g, config/m69k/x-mot3300,
5362         config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
5363         config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
5364         config/m68k/xm-mot3300.h, config/m88k/x-dolph,
5365         config/m88k/x-sysv4, config/m88k/x-tekXD88,
5366         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
5367         config/mips/x-iris, config/mips/x-iris3,
5368         config/mips/x-sni-svr4, config/mips/x-sysv,
5369         config/mips/xm-iris6.h, config/mips/xm-mips.h,
5370         config/mips/xm-nws3250v4.h, config/pa/x-hpux,
5371         config/pa/x-pa-mpeix, config/pa/xm-pa.h,
5372         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
5373         config/pa/xm-papro.h, config/romp/xm-romp.h,
5374         config/rs6000/x-aix31, config/rs6000/x-aix41,
5375         config/rs6000/x-beos, config/rs6000/x-lynx,
5376         config/rs6000/x-mach, config/rs6000/x-rs6000,
5377         config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
5378         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
5379         config/sparc/x-sysv4, config/sparc/xm-linux.h,
5380         config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
5381         config/vax/xm-vms.h: Eradicate all references to alloca and
5382         related stuff.
5383
5384         * config/xm-alloca.h, config/clipper/x-clix,
5385         config/i386/xm-sysv4.h, config/i860/x-fx2800,
5386         config/i860/x-sysv3, config/m88k/x-sysv3,
5387         config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
5388         (contained only alloca related hacks).
5389
5390         * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
5391         USE_C_ALLOCA.
5392
5393 2001-03-05  Brad Lucier  <lucier@math.purdue.edu>
5394
5395         * invoke.texi: Document __FAST_MATH__.
5396
5397 2001-03-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5398
5399         * crtstuff.c: Restore include of auto-host.h.
5400
5401 2001-03-05  Fergus Henderson  <fjh@cs.mu.oz.au>
5402
5403         Put main() in a separate file, so that the language
5404         front-end can use a different main().
5405
5406         * main.c: New.
5407         * toplev.c: (main): Rename as toplev_main.
5408         * toplev.h: Declare toplev_main.
5409         * Makefile.in (OBJS): add toplev.o.
5410           (BACKEND): remove toplev.o, add main.o.
5411
5412 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
5413
5414         * cppfiles.c (search_from): Special case the empty string.
5415
5416 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
5417
5418         * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
5419         copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
5420         strlen or strcpy; we already know the length.
5421         (_cpp_compare_file_date): Similarly.
5422         * cpphash.h (struct cpp_reader): Delete done_initialising.
5423         (CPP_PREV_BUFFER): Delete.
5424         * cppinit.c (cpp_start_read): Don't set done_initialising.
5425         * cpplex.c (parse_string): Guarantee null-termination.
5426         (_cpp_equiv_toklists): Remove.
5427         * cpplib.c (glue_header_name): Null-terminate.
5428         (do_line): Don't leak memory.
5429         * cpplib.h (BT_WEAK): Delete.
5430         * cppmain.c (cb_ident): Strings are now null-terminated.
5431
5432 2001-03-04  Laurynas Biveinis  <lauras@softhome.net>
5433
5434         * gcc.c (convert_filename): Append executable suffix
5435         if NO_AUTO_EXE_SUFFIX is not defined.
5436         * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
5437         * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
5438
5439 2001-03-03  David O'Brien  <obrien@FreeBSD.org>
5440
5441         from 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
5442         * c-parse.gperf, c-gperf.h: Delete.
5443         (c-gperf.h was accidently re-added to the CVS repo in the rev
5444         1.16 commit by tromey)
5445
5446 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5447
5448         * cpplex.c (_cpp_lex_token): Don't warn about directives in
5449         macro arguments when looking for the '('.
5450         * cppmacro.c (funlike_invocation_p): Set parsing_args to
5451         2 when really parsing arguments; 1 when looking for '('.
5452         Always restore the lexer position.
5453
5454 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5455
5456         * longlong.h (umul_ppmm): Don't use a multiline string.
5457
5458 2001-03-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5459
5460         * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
5461         * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
5462         t_bool in declaration because pcc can't combine volatile with typedef
5463         types.
5464
5465 Sat Mar  3 19:47:13 CET 2001  Jan Hubicka  <jh@suse.cz>
5466
5467         * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
5468         until when it is really needed.
5469         (ix86_expand_compare): Update call of ix86_expand_fp_compare.
5470         * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
5471         * i386.md (float?i?f splitter): Don't force source operand to memory
5472         for SSE.
5473         (sse_movdfcc): Fix constraint.
5474         (sse_movdfcc splitter): Handle properly the second alternative.
5475
5476 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5477
5478         * cpplex.c (parse_string): Unconditionally pedwarn.
5479
5480 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5481
5482         * cpp.texi: Update.
5483         * cppexp.c (parse_number): Update.
5484         * cpplex.c (parse_string): Pedwarn if multiline string does not
5485         result from a system header's macro.
5486         * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
5487         * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
5488         for function-like macros too.
5489         * c-lex.c (lex_number): Update.
5490
5491 2001-03-03  Richard Henderson  <rth@redhat.com>
5492
5493         * dwarf2out.c (output_call_frame_info): Fix augmentation length.
5494
5495 Sat Mar  3 04:17:17 2001  J"orn Rennecke <amylaar@redhat.com>
5496
5497         * combine.c (try_combine): If split with mode-changed scratch
5498         register didn't work, try the original mode.
5499
5500 Sat Mar  3 03:46:47 2001  J"orn Rennecke <amylaar@redhat.com>
5501
5502         * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
5503         * config/c4x/c4x.h: Likewise.
5504         * stor-layout.c (compute_record_mode): Likewise.
5505         (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
5506
5507 2001-03-02  Zack Weinberg  <zackw@stanford.edu>
5508
5509         * configure.in: Kill tm.h.  Include the files in the $tm_file
5510         list in all three of config.h, hconfig.h, tconfig.h, after the
5511         relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
5512         three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
5513         * configure: Regenerate.
5514         * Makefile.in (clean): Don't delete tm.h.
5515
5516         * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
5517         defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
5518         those are not defined, set SEC and FEC to 0 and 1.
5519         * gcc.texi: Update to match.
5520
5521         * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
5522         * config/fp-bit.c, config/m68k/aux-crt2.asm,
5523         config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
5524         Include tconfig.h, not tm.h.
5525
5526         * config/xm-lynx.h, config/xm-std32.h,
5527         config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
5528         config/alpha/xm-alpha.h, config/arc/xm-arc.h,
5529         config/avr/xm-avr.h, config/c4x/xm-c4x.h,
5530         config/clipper/xm-clix.h, config/convex/xm-convex.h,
5531         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
5532         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
5533         config/h8300/xm-h8300.h, config/i370/xm-linux.h,
5534         config/i386/xm-i386.h, config/i860/xm-i860.h,
5535         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
5536         config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
5537         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
5538         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
5539         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
5540         config/pa/xm-linux.h, config/pa/xm-pa.h,
5541         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
5542         config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
5543         config/pj/xm-pj.h, config/romp/xm-romp.h,
5544         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
5545         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
5546         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
5547         config/v850/xm-v850.h, config/vax/xm-vax.h,
5548         config/we32k/xm-we32k.h:
5549         Don't include tm.h.
5550         Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
5551
5552         * config/i370/xm-i370.h, config/i370/xm-mvs.h,
5553         config/i370/xm-oe.h: Don't include tm.h.  Don't define
5554         SUCCESS_EXIT_CODE.
5555         * config/vax/xm-vms.h: Don't include tm.h.
5556
5557         * config/xm-lynx.h, config/avr/xm-avr.h,
5558         config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
5559         Delete; made empty by above changes.
5560         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
5561         config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
5562         Don't include config/xm-lynx.h or tm.h.
5563
5564         * config/xm-gnu.h: Don't include fcntl.h.
5565         * config/sparc/xm-lynx.h: Don't include sys/types.h and
5566         sys/wait.h.
5567         * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
5568
5569 2001-03-02  Richard Henderson  <rth@redhat.com>
5570
5571         * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
5572         UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
5573
5574 2001-03-02  Richard Henderson  <rth@redhat.com>
5575
5576         * Makefile.in (OBJS): Add dwarf2asm.o.
5577         * dwarf2asm.c, dwarf2asm.h: New files.
5578         * dwarf2out.c (*): Use them.
5579         (size_of_uleb128, size_of_sleb128): Remove.
5580         (output_uleb128, output_sleb128): Remove.
5581         (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
5582         (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
5583         (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
5584         (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
5585         (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
5586         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
5587         (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
5588         (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
5589         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
5590         (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
5591         (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
5592         (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
5593         (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
5594         (dwarf2out_frame_debug): Remove unused variables.
5595         (output_loc_operands): Don't abort on 8 byte constants if
5596         host integers are wide enough.
5597         (output_symbolic_ref): Remove.
5598         (size_of_die): Don't assume 4 byte host integers.
5599         (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
5600         and end labels.
5601         (add_const_value_attribute) [CONST_INT]: Verify we're not doing
5602         something stupid with HOST_WIDE_INT to long truncation.
5603         [CONST_DOUBLE]: Likewise.
5604
5605         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
5606         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
5607         * config/arm/unknown-elf.h: Likewise.
5608         * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
5609         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
5610         (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
5611         (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
5612         (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
5613         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
5614         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
5615         (ASM_OUTPUT_DWARF_OFFSET): Remove.
5616         * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
5617         * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
5618         (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
5619         (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
5620
5621 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5622
5623         * cselib.c (hash_rtx): Cast enums to unsigned int.
5624
5625 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5626
5627         * print-rtl.c (print_rtx): Cast enums to int for comparison.
5628         * c-decl.c (grokdeclarator): Cast enums to int for comparison and
5629         shifts.
5630         * c-format.c (C_STD_VER): Cast to int for comparisons.
5631         (check_function_format): Cast various enums to int for &.
5632         (maybe_read_dollar_number): Likewise.
5633         (check_format_info): Likewise.
5634         (check_format_info_main): Likewise.
5635         * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
5636         (safe_from_p): Likewise.
5637         * varasm.c (const_hash): Cast enum to int for %.
5638         * emit-rtl.c (init_emit_once): Use int loop variable to work around
5639         pcc enum problems with < and ++ operators.
5640         * regclass.c (init_reg_sets_1): Cast enums for comparison.
5641         (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
5642         (regclass_init): Change enum class to int to iterate over reg_classes.
5643         * genrecog.c (merge_trees): Cast enums for comparison.
5644         * rtl.h (GET_CODE): Cast to enum rtx_code.
5645         (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
5646         (GET_MODE): Cast to enum machine_mode.
5647         (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
5648         (GET_NOTE_INSN_NAME): Cast enum to int.
5649         * tree.h (TREE_CODE): Cast to enum tree_code.
5650         (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
5651         * timevar.c (timevar_print): Change loop variable id from enum to
5652         unsigned int.
5653         * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
5654         * config/i386/i386.md: Use PUT_MODE for mode assignment.
5655         * toplev.c (compile_file): Cast enum DFI to int.
5656         (decode_d_option): Likewise.
5657
5658 Fri Mar  2 12:18:13 2001  Christopher Faylor <cgf@cygnus.com>
5659
5660         * cppinit.c (append_include_chain): Mark "after" include file name list
5661         as a system directory.
5662         * cpp.texi: Document new behavior.
5663
5664 Fri Mar  2 11:59:43 CET 2001  Jan Hubicka  <jh@suse.cz>
5665
5666         * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
5667
5668 2001-03-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5669
5670         * cppfiles.c (struct include_file): Update.
5671         (stack_include_file): Use search_from.
5672         (cpp_included, find_include_file): Update.
5673         (cpp_execute_include): Update.  ptr->name may not be
5674         null terminated.  Use the new search_from member variable
5675         of cpp_buffer.
5676         (_cpp_compare_file_date): Similarly.
5677         (search_from): New function, similiar to actual_directory.
5678         (actual_directory): Delete.
5679         (remap_filename): Update.  loc->name may not be null terminated.
5680         (struct file_name_list): Rename search_path.  Update.
5681         * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
5682         search_from and dir.
5683         (struct cpp_reader): Remove actual_dirs.
5684         * cppinit.c (struct cpp_pending): Update for renamed objects.
5685         (append_include_chain, remove_dup_dir, remove_dup_dirs,
5686         merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
5687         * cpplib.h (struct cpp_options): Similarly.
5688
5689 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
5690
5691         * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
5692         config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
5693         config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
5694         config/clipper/xm-clix.h, config/convex/xm-convex.h,
5695         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
5696         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
5697         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
5698         config/i370/xm-linux.h, config/i370/xm-mvs.h,
5699         config/i370/xm-oe.h, config/i386/xm-aix.h,
5700         config/i386/xm-i386.h, config/i386/xm-osf.h,
5701         config/i860/xm-i860.h, config/i960/xm-i960.h,
5702         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
5703         config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
5704         config/mcore/xm-mcore.h, config/mips/xm-mips.h,
5705         config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
5706         config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
5707         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
5708         config/pa/xm-pahpux.h, config/pa/xm-papro.h,
5709         config/pj/xm-pj.h, config/romp/xm-romp.h,
5710         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
5711         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
5712         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
5713         config/v850/xm-v850.h, config/vax/xm-vax.h,
5714         config/vax/xm-vms.h, config/we32k/xm-we32k.h:
5715         Do not define TRUE or FALSE.
5716
5717         * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
5718         empty by above change.
5719         * config.gcc: Remove references to these files.
5720
5721         * configure.in: Detect stdbool.h.
5722         * configure, config.in: Regenerate.
5723         * system.h: Include stddef.h here if available.
5724         Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
5725         Then set up a sensible boolean type at the very end.
5726
5727         * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
5728         config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
5729
5730         * hash.h: Delete 'boolean' typedef and related #undefs.
5731
5732         * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
5733         all uses of 'boolean' with 'bool'.
5734
5735 2001-03-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5736
5737         * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
5738         * cppexp.c (lex): Cast enums for comparison.
5739         * cppinit.c (parse_option): Cast enum for comparison.
5740         * cpplex.c (cpp_spell_token): Cast enums to int for minus.
5741         (cpp_output_token): Likewise.
5742         (cpp_can_paste): Cast enums for comparsion and plus/minus.
5743         (cpp_avoid_paste): Cast enums for minus and comparison.
5744
5745 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
5746
5747         * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
5748         field to all array elements.
5749
5750 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
5751
5752         * cpphash.h (struct cpp_reader): Add print_version field.
5753         * cppinit.c (cpp_handle_option): For -v, -version, and --version,
5754         just set print_version and other flags as appropriate.
5755         (cpp_post_options): Print version here if print_version is set.
5756
5757         * toplev.c (exit_after_options): New flag.
5758         (independent_decode_option): Don't exit here; just set
5759         exit_after_options.
5760         (main): Exit after calling lang_hooks.post_options if
5761         exit_after_options is true.
5762
5763         * cppinit.c (append_include_chain): Drop never-used case QUOTE.
5764         (merge_include_chains): Adjust comment to match code.
5765
5766 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
5767
5768         * stringpool.c (set_identifier): New function.
5769         * tree.h: Prototype it.
5770
5771         * c-parse.in: Kill D_YES. If compiled for objc, call
5772         save_and_forget_protocol_qualifiers from init_reswords.
5773         * objc/objc-act.c (remember_protocol_qualifiers,
5774         forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
5775         Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
5776         vice versa.
5777         (save_and_forget_protocol_qualifiers): New function.
5778         * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
5779
5780 2001-03-01  Diego Novillo  <dnovillo@redhat.com>
5781
5782         * c-semantics.c (prune_unused_decls): Return error_mark_node
5783         instead of (tree) 1 to stop traversing the tree chain.
5784
5785 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
5786
5787         Fix a problem introduced by Kenner's Feb 18 change.
5788         * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
5789         flag_cse_skip_blocks only temporarily, not for ever.
5790
5791 Thu Mar  1 09:49:58 2001  Jeffrey A Law  (law@cygnus.com)
5792
5793         * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
5794         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
5795
5796         * pa.c (emit_move_sequence): Verify operand0 is a hard register
5797         before determining its register class.
5798
5799 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
5800
5801         * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
5802         from reg 4 if current_function_calls_setjmp.
5803         (gen_nop_type): New function.
5804         (ia64_emit_nops): New function.
5805         (ia64_reorg): Call it.
5806         (ia64_sched_reorder): Move code that rotates bundles up a bit.
5807
5808         * reload1.c (eliminate_regs_in_insn): Restrict the special case
5809         code not to try to optimize adds with anything but a REG destination.
5810
5811         * sched-int.h (struct haifa_insn_data): Add new member priority_known.
5812         (INSN_PRIORITY_KNOWN): New accessor macro.
5813         * haifa-sched.c (priority): Use it instead of testing priority against
5814         zero.
5815
5816 2001-02-28  DJ Delorie  <dj@redhat.com>
5817
5818         * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
5819         since that doesn't work the way gcc wants on a generic m68k.
5820
5821 2001-02-28  Richard Henderson  <rth@redhat.com>
5822
5823         * caller-save.c (save_call_clobbered_regs): Fix typo in
5824         comparison last change.
5825
5826 Wed Feb 28 19:31:42 CET 2001  Jan Hubicka  <jh@suse.cz>
5827
5828         * i386.c (pentium4_cost): New.
5829         (m_PENT4): New macro.
5830         (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
5831         x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
5832         x86_integer_DFmode_moves, x86_partial_reg_dependency,
5833         x86_memory_mismatch_stall): Add Pentium4
5834         (x86_use_q_reg, x86_use_any_reg): Kill.
5835         (override_options): Add pentium4.
5836         (incdec_operand): Return 0 for pentium4.
5837         (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
5838         * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
5839         (TARGET_PENTIUM4): Define.
5840         (enum processor_type): Add PROCESSOR_PENTIUM4.
5841         (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
5842         * i386.md (attribute "cpu"): Add pentium4.
5843         * invoke.texi (march): Add pentium4.
5844
5845 Wed Feb 28 19:28:06 CET 2001  Jan Hubicka  <jh@suse.cz>
5846
5847         * i386.md (sse_mov?fcc*): New patterns and splitters.
5848         * i386.c (ix86_expand_movcc): Work post-reload; recognize
5849         the SSE based conditional moves.
5850
5851 Wed Feb 28 19:18:23 CET 2001  Jan Hubicka  <jh@suse.cz>
5852
5853         * i386.md (attribute mode): Add "TI".
5854         (movsf_1): Add pxor support; remove constant propagation splitter.
5855         (movdf_integer): Likewise.
5856         (movdf_nointeger): Likewise.
5857         (movxf constant prop splitter): Handle all modes; update for SSE.
5858         * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
5859         * i386.c (standard_80387_constant_p): Rewrite.
5860         (standard_sse_constant_p): New.
5861         * i386-protos.h (standard_sse_constant_p): New.
5862
5863 Wed Feb 28 19:05:37 CET 2001  Jan Hubicka  <jh@suse.cz>
5864
5865         * i386.md (sse_setccsf, sse_setccdf): New.
5866         (sse_cmp* patterns): Use '%D' instead of outputtting condition
5867         flag directly.
5868         * i386.c (sse_comparison_operator): Accept the supported unordered
5869         comparses; be ready for fast_math.
5870         (print_operand): Support 'D'.
5871
5872 Wed Feb 28 18:54:51 CET 2001  Jan Hubicka  <jh@suse.cz>
5873
5874         * jump.c (reversed_comparison_code): Kill.
5875
5876 Wed Feb 28 18:50:15 CET 2001  Jan Hubicka  <jh@suse.cz>
5877
5878         * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
5879         for STACK_REGS
5880
5881 Wed Feb 28 18:47:37 CET 2001  Jan Hubicka  <jh@suse.cz>
5882
5883         * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
5884         add missing '%' in constraints.
5885
5886 Wed Feb 28 17:24:24 CET 2001  Jan Hubicka  <jh@suse.cz>
5887
5888         * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
5889         for HOST_BITS_PER_WIDE_INT == 32 too.
5890
5891 Wed Feb 28 17:22:35 CET 2001  Jan Hubicka  <jh@suse.cz>
5892
5893         * caller-save.c (reg_save_code, reg_restore_code):  Index by mode, not
5894         NREGS.
5895         (insert_save, insert_restore): New parameter save_mode.
5896         (init_caller_save): Update initialization of reg_save_code
5897         and reg_restore_code.
5898         (save_call_clobbered_regs):  Compute save_modes and update calls to
5899         reg_save_code and reg_restore_code.
5900         (insert_restore):  Unsignetize numbers; use save_modes to choose mode
5901         of spill; update use of reg_restore_code.
5902         (insert_save):  Likewise.
5903         * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
5904         * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
5905         * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
5906
5907 Wed Feb 28 17:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
5908
5909         * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
5910         noce_try_store_flag_inc, noce_try_store_flag_mask,
5911         noce_try_cmove_arith):
5912         Use reversed_comparison_code instead of reverse_comparison and
5913         can_reverse_comparison_p.
5914
5915 Wed Feb 28 17:17:29 CET 2001  Jan Hubicka  <jh@suse.cz>
5916
5917         * jump.c (reversed_comparison_code_parts): Allow reversal of
5918         unordered compares in -ffast-math mode; reverse ordered compares
5919         for FP even w/o -ffast-math.
5920
5921 2001-02-27  Richard Henderson  <rth@redhat.com>
5922
5923         * print-rtl.c (print_rtx) [i]: Don't print field five on
5924         NOTEs other than NOTE_INSN_DELETED_LABEL.
5925
5926 2001-02-27  Zack Weinberg  <zackw@stanford.edu>
5927
5928         * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
5929         * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
5930
5931 2001-02-27  Diego Novillo  <dnovillo@redhat.com>
5932
5933         * c-common.c (walk_stmt_tree): Visit the chain of the current tree
5934         even if walk_subtrees is 0.
5935         * c-semantics.c (prune_unused_decls): Return a non-null value to
5936         stop traversing the tree chain.
5937
5938 2001-02-27  DJ Delorie  <dj@redhat.com>
5939
5940         * config/m68k/m68k.c (output_function_prologue): Save the new CFA
5941         register, *then* define it as the new CFA.
5942
5943 Tue Feb 27 16:49:13 2001  Jeffrey A Law  (law@cygnus.com)
5944
5945         * pa.c (override_options): Promote -fpic to -fPIC.
5946         (legitimize_pic_address): Simplify due to removal of
5947         small PIC as a code generation option.
5948         (secondary_reload_class): Similarly.
5949         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
5950         (PRINT_OPERAND_ADDRESS): Similarly.
5951         * pa.md (various patterns): Similarly.
5952         (small pic lo_sum pattern): Remove.
5953
5954 Tue Feb 27 16:01:13 CET 2001  Jan Hubicka  <jh@suse.cz>
5955                               Fergus Henderson
5956
5957         * md.texi (min, max): Document
5958
5959 Tue Feb 27 15:51:35 CET 2001  Jan Hubicka  <jh@suse.cz>
5960
5961         * i386.md (movsf, movdf): Use movaps for reg-reg moves if
5962         TARGET_PARTIAL_REG_DEPENDENCY.
5963         (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
5964
5965 Tue Feb 27 15:36:48 CET 2001  Jan Hubicka  <jh@suse.cz>
5966
5967         * i386.md (mins*, maxs*): New patterns, expanders and splitters.
5968
5969 2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>
5970
5971         * mips.c (mips_make_temp_file): Fix thinko in last change.
5972
5973 2001-02-26  Jason Eckhardt  <jle@redhat.com>
5974
5975         * combine.c (known_cond): Do not reverse the condition when
5976         SMAX/UMAX is being considered and the condition is for equality
5977         or inequality.
5978
5979         * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
5980
5981 2001-02-26  Philip Blundell  <philb@gnu.org>
5982
5983         * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
5984         "armv2-*-linux".
5985         * config/arm/linux-elf.h: Remove historical relics related to
5986         above configurations.
5987         * config/arm/linux-oldld.h: Delete.
5988         * config/arm/linux-elf26.h: Delete.
5989
5990 2001-02-26  Jason Merrill  <jason@redhat.com>
5991
5992         * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
5993         definitions.
5994         * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
5995         recognize a tentative definition.  Lose obsolete code.
5996
5997         * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
5998         variables unless necessary, either.
5999
6000 2001-02-25  Richard Henderson  <rth@redhat.com>
6001
6002         * ifcvt.c (struct noce_if_info): Add test_bb.
6003         (noce_get_alt_condition): New.
6004         (noce_try_minmax, noce_try_abs): New.
6005         (noce_operand_ok): New.
6006         (noce_process_if_block): Use them.
6007         * rtlanal.c (may_trap_p): NEG and ABS can never trap.
6008
6009 Sun Feb 25 14:26:17 2001  Christopher Faylor <cgf@cygnus.com>
6010
6011         * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
6012         include.
6013
6014 2001-02-25  Zack Weinberg  <zackw@stanford.edu>
6015
6016         * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
6017         * config/mips/mips.c (mips_make_temp_file): Set temp_filename
6018         properly.
6019         (mips_asm_file_end): Free temp_filename here.
6020
6021 Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6022
6023         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
6024         * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
6025
6026         * config/i386/i386.md (movstrsi): Handle FAIL case.
6027
6028 2001-02-25  Neil Booth  <neil@daikokuya.demon.co.uk>
6029
6030         * cppinit.c (builtin_array): Update.
6031         (init_builtins): Flag builtins to warn if redefined or
6032         undefined.  Define __GXX_WEAK as a normal macro.
6033         * cpplib.c (do_undef): Warn if flagged NODE_WARN.
6034         * cpplib.h (NODE_WARN): New flag.
6035         * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
6036         Handle __STDC__ as a builtin only on Solaris.
6037         (warn_of_redefinition): Renamed from check_macro_definition.
6038         Reverse sense of test.  Always warn if NODE_WARN.
6039         (_cpp_create_definition): Use warn_of_redefinition.  Flag
6040         any macro beginning with "__STDC_" to require a mandatory
6041         warning if redefined or undefined.
6042
6043 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
6044
6045         * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
6046         i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
6047         i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
6048         i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
6049         m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
6050         mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
6051         Don't define any of:
6052         USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
6053         P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
6054         NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
6055         index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
6056         STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
6057
6058         * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
6059         fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
6060         definitions.
6061
6062         * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
6063         Delete now-empty file.
6064
6065         * alpha/vms.h: Define NEED_ATEXIT here...
6066         * alpha/xm-vms.h: ...not here.
6067
6068         * i386/cygwin.h: Don't define PARAMS.
6069         * mips/mips.c: Don't prototype mktemp.  Don't define
6070         P_tmpdir.  Use make_temp_file to create temporary files.
6071         Don't be clever and delete temporary files early.
6072         * config.gcc: Drop references to deleted files.  Don't define
6073         FULL_PROTOTYPES.
6074         * gcc.texi: Don't mention USE_PROTOTYPES.
6075
6076 Sat Feb 24 20:25:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6077
6078         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
6079         (ix86_set_move_mem_attrs_1): Likewise.
6080         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
6081         * config/i386/i386.md (movstrsi): Call it.
6082
6083 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
6084
6085         * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
6086         x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
6087         ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
6088         rs6000/x-aix41-gld.  These are nonexistent, empty, or obsolete.
6089
6090         (i750a-*-*): Error here if hosting on i750a.
6091         (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
6092
6093         * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
6094         Remove (empty modulo comments).
6095
6096         * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
6097         alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
6098         i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
6099         i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
6100         mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
6101         rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
6102
6103         * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
6104         Remove reference to winnt.h in comment.
6105         * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
6106
6107 2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6108
6109         * loop.c (check_dbra_loop): A biv has uses besides counting if it is
6110         used to set another biv.
6111
6112 Sat Feb 24 06:45:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6113
6114         * tree.h (BLOCK_DEAD): New macro.
6115         (struct tree_block): New flag, dead_flag.
6116         * print-tree.c (print_node, case 'b'): Print missing fields.
6117         * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
6118         * function.c (identify_blocks): Enable test for misplaced notes.
6119         (all_blocks): Skip BLOCK_DEAD blocks.
6120         * integrate.c (integrate_decl_tree): Likewise.
6121
6122         * errors.c (internal_error, trim_filename): New functions.
6123         (fancy_abort): Call internal_error.
6124         * errors.h (internal_error, trim_filename): New declarations.
6125
6126 2001-02-24  Alexandre Oliva  <aoliva@redhat.com>
6127
6128         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
6129         2000-08-26's patch.
6130         (EXTRA_CONSTRAINT): Formatting changes.
6131
6132 2001-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6133
6134         * rtl.c (rtl_check_failed_code2): Fix typo in last change.
6135
6136 2001-02-23  Per Bothner  <per@bothner.com>
6137
6138         * gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
6139         so they can be called from java/jvspec.c.
6140         * gcc.h (record_temp_file, pfatal_with_name, error):  Declare.
6141
6142 Sat Feb 24 03:32:50 CET 2001  Jan Hubicka  <jh@suse.cz>
6143
6144         * i386.c (ix86_frame): New structure.
6145         (ix86_compute_frame_size): Kill.
6146         (ix86_compute_frame_layout): New.
6147         (ix86_save_reg): New.
6148         (ix86_can_use_return_insn_p): Use frame layout stuff.
6149         (ix86_expand_prologue): Likewise.
6150         (ix86_expand_epilogue): Likewise.
6151         (ix86_initial_elimination_offset): Likewise.
6152         (ix86_nsaved_regs): Use ix86_save_reg.
6153         (ix86_emit_save_regs): Likewise.
6154
6155 Sat Feb 24 03:30:38 CET 2001  Jan Hubicka  <jh@suse.cz>
6156
6157         * flow.c (find_sub_basic_blocks): New function.
6158         (split_block): Be ready for basic block introduced by CODE_LABEL.
6159         (commit_one_edge_insertion): Call find_sub_basic_block.
6160
6161         * flow.c (make_edges): Add edge from entry for blocks starting with
6162         label having ALTERNATE_NAME
6163
6164 Sat Feb 24 03:19:42 CET 2001  Jan Hubicka  <jh@suse.cz>
6165
6166         * function.c (epilogue_done): Be ready for first basic block not
6167         containing PROLOGUE_END note.
6168         (reposition_prologue_and_epilogue_notes): Avoid placing
6169         PROLOGUE_END note between BASIC_BLOCK.
6170
6171 Sat Feb 24 03:17:09 CET 2001  Jan Hubicka  <jh@suse.cz>
6172
6173         * loop.c (canonicalize_condition): Move to reversed_comparison_code.
6174
6175 2001-02-21  DJ Delorie  <dj@redhat.com>
6176
6177         * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
6178         check for current_function_has_nonlocal_goto from 1999-11-12.
6179
6180 Fri Feb 23 15:28:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6181
6182         * diagnostic.c (trim_filename): No longer static.
6183         * toplev.h (trim_filename): Declare.
6184         * rtl.c (rtl_check_failed_bounds): Call internal_error.
6185         (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
6186         (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
6187         (rtvec_check_failed_bounds): Likewise.
6188         * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
6189
6190         * convert.c (convert_to_integer): Don't do unsigned unless result or
6191         both inputs are unsigned.
6192
6193         * fold-const.c (fold_convert): Don't call size_int_type_wide if
6194         input overflows.
6195
6196         * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
6197
6198         * varasm.c (output_constant): Recompute CODE after lang-specific fn.
6199
6200 2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>
6201
6202         * Makefile.in (resource.o): Add params.h dependence.
6203         * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
6204         * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
6205         * resource.c: Add dependence on params.h.
6206         (current_live_regs): Fix explanatory comment.
6207         (find_basic_block): Add new parameter to permit limiting search
6208         for a BARRIER.
6209         (mark_target_live_regs): Add new argument to find_basic_block call.
6210         (incr_ticks_for_insn): Likewise.
6211
6212 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6213
6214         * diagnostic.c (output_to_stream): Rename to
6215         output_buffer_to_stream. Loses the stream parameter.
6216         (init_output_buffer): Set diagnosic_buffer's stream.
6217         (flush_diagnostic_buffer): Adjust.
6218         (default_print_error_function): Likewise.
6219         (finish_diagnostic): Likewise.
6220         (verbatim): Likewise.
6221
6222         * diagnostic.h (struct output_buffer): Add `stream' field.
6223         (output_buffer_attached_stream): New macro.
6224
6225 2001-02-23  Jakub Jelinek  <jakub@redhat.com>
6226
6227         * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
6228         check if either operand is divisible by C.
6229         (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
6230         If type is signed, consider negative numbers as well.
6231
6232 2001-02-22  Richard Henderson  <rth@redhat.com>
6233
6234         * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
6235         reach .text instead of gp-relative relocs.
6236         * config/ia64/crtend.asm (.init): Likewise.
6237
6238 2001-02-22  Andreas Jaeger  <aj@suse.de>
6239
6240         * extend.texi (C++ Attributes): Fix typo.
6241
6242 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
6243
6244         * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
6245         functions, drop current_function_args_info.words test.
6246         (ia64_compute_frame_size): Mark syscall_linkage functions as
6247         using eight input registers.
6248
6249 2001-02-21  Loren J. Rittle  <ljrittle@acm.org>
6250         Bruce Korb  <bkorb@gnu.org>
6251
6252         * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
6253         * fixinc/README: Document how to convert sed substitutions
6254         to format style c_fix-es.
6255         * fixinc/fixincl.x: regen
6256
6257 2001-02-21  Jeffrey D. Oldham  <oldham@codesourcery.com>
6258
6259         * gcc.c: Add comment explaining how to add a command-line option.
6260         Add title to specs language comment.
6261
6262 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
6263
6264         * gcc.c (cc1_options): Add "-param".
6265         (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
6266         (option_map): Likewise.
6267         * toplev.c (display_help): Add entry for "--param".
6268         (independent_decode_option): Fix typographical error.
6269
6270 Wed Feb 21 18:57:28 CET 2001  Catherine Moore  <clm@redhat.com>
6271                               Bernd Schmidt  <bernds@redhat.com>
6272                               Jan Hubicka  <jh@suse.cz>
6273
6274         * i386.c (function_arg_advance):  Pass SSE arguments in registers.
6275         (function_arg): Likewise.
6276
6277 Wed Feb 21 18:12:41 CET 2001  Jan Hubicka  <jh@suse.cz>
6278
6279         * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
6280
6281 2001-02-21  Kazu Hirata  <kazu@hxi.com>
6282
6283         * config/h8300/h8300.md (iorsi3): Do not output an extra newline
6284         character.
6285         (xorsi3): Likewise.
6286
6287 Wed Feb 21 17:35:24 CET 2001  Jan Hubicka  <jh@suse.cz>
6288
6289         * flow.c (init_propagate_block_info): Canon address and use single_set
6290         for killing dead memory stores.
6291
6292 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
6293
6294         * Makefile.in (reorg.o): Add params.h dependence.
6295         * params.def: Fix typographical error in comment.
6296         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
6297         * params.h: Modify introductory comment.
6298         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
6299         * reorg.c: Add dependence on params.h.
6300         (redundant_insn): Add parameterized throttle for search.
6301         (fill_simple_delay_slots): Add a comment explaining a variable.
6302         Move conditional out of loop, simplifying code.
6303         (fill_eager_delay_slots): Fix typographical error in comment.
6304
6305 2001-02-20  Aldy Hernandez  <aldyh@redhat.com>
6306
6307         * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
6308
6309         * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
6310         (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
6311
6312 2001-02-21  Jason Merrill  <jason@redhat.com>
6313
6314         * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
6315         (struct tree_decl): Add uninlinable bitfield.
6316         * c-decl.c (duplicate_decls): Set it.
6317         * integrate.c (function_cannot_inline_p): Check it.
6318
6319         * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
6320         DW_AT_MIPS_linkage_name to abstract methods.
6321         (dwarf2out_abstract_function): Emit class context before calling
6322         set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
6323         (gen_subprogram_die): Remove obsolete code.
6324         (gen_member_die): Don't include clones in the member list.
6325         (gen_decl_die): Emit abstract info for clone origin.
6326         * dwarfout.c (output_type): Don't include clones in the member list.
6327         * dbxout.c (dbxout_type_methods): Ignore abstract methods.
6328         * toplev.c (note_deferral_of_defined_inline_function): Don't clear
6329         DECL_ABSTRACT on a function that already has it set.
6330
6331         * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
6332         (get_subprogram_die): Pass it in.
6333
6334 2001-02-21  Richard Earnshaw  <rearnsha@arm.com>
6335
6336         * flow.c (mark_set_1): Make not_dead unsigned long.  For
6337         non-pseudos, use it as a bitmask of the hard regs that
6338         don't die.
6339
6340 2001-02-21  Neil Booth  <neil@daikokuya.demon.co.uk>
6341
6342         * cppfiles.c: Update comments.
6343         (_cpp_read_file): Don't check for NULL filenames any more.
6344         * cppinit.c (cpp_start_read): Don't do canonicalization of
6345         in_fname and out_fname.  Use the passed file name exclusively.
6346         (_cpp_handle_options): Don't treat "-" as a command line option,
6347         but as a normal filename.
6348         (_cpp_post_options): Canonicalize in_fname and out_fname.
6349         * cppmain.c (printer_init): Don't check out_fname for NULL.
6350         * c-lex.c (orig_filename): Rename cpp_filename for clarity.
6351         (init_c_lex): Update, and use "" to represent stdin to CPP.
6352         (yyparse): Update.
6353
6354 2001-02-20  Will Cohen  <wcohen@redhat.com>
6355
6356         * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
6357         * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
6358         (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
6359         fixunstfsi_libfunc.
6360
6361 2001-02-20  Stan Shebs  <shebs@apple.com>
6362
6363         * config/rs6000/rs6000.c (output_cbranch): Output branches
6364         on separate lines instead of using ';' to separate.
6365
6366 2001-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
6367
6368         * cppinit.c (set_lang):  Move builtin handling to...
6369         (init_builtins): ...here.
6370         (_cpp_create_reader): Move call to set_lang.
6371
6372 2001-02-20  Mark Mitchell  <mark@codesourcery.com>
6373
6374         * stmt.c (expand_return): If an attempt is made to return the
6375         error_mar_node, treat the return like a return without a value.
6376
6377 2001-02-19  Zack Weinberg  <zackw@stanford.edu>
6378
6379         * sibcall.c (skip_copy_to_return_value): Call
6380         identify_call_return_value here, and return orig_insn if it
6381         returns zero.  Hardret and softret arguments now unnecessary.
6382         (call_ends_block_p): Don't call identify_call_return_value here.
6383
6384         * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
6385         's' slots in RTXen.
6386         * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
6387         * ggc.h (ggc_mark_if_gcable): Delete prototype.
6388
6389 Mon Feb 19 20:30:16 2001  Jeffrey A Law  (law@cygnus.com)
6390
6391         * pa.c (move_operand): Accept code to load the address of a
6392         symbol out of the DLT as a valid move operand.
6393         (print_operand, case 'A'): New to handle generating a DLT
6394         reference for a LO_SUM expression.
6395         * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
6396         * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
6397
6398 2001-02-19  Joseph S. Myers  <jsm28@cam.ac.uk>
6399
6400         * README, cpp.texi, gcc.texi, version.c: Update version number to
6401         3.1.
6402         * cpp.1, gcov.1, gcc.1: Regenerate.
6403
6404 2001-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
6405
6406         * cppfiles.c (stack_include_file): Generate dependencies
6407         here, and manage include_count here too.
6408         (PRINT_THIS_DEP): Delete.
6409         (_cpp_execute_include): Do not generate dependencies here,
6410         apart from the case of a missing header.  Do not manage
6411         include_count.
6412         (_cpp_read_file): Leave dependency generation to
6413         stack_include_file.
6414
6415 Mon Feb 19 10:17:47 2001  Jeffrey A Law  (law@cygnus.com)
6416
6417         * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
6418         target_cpu_default.  Remove dead assignment to
6419         target_cpu_default.
6420
6421 Mon Feb 19 16:47:39 CET 2001  Jan Hubicka  <jh@suse.cz>
6422
6423         * regclass.c (contains_reg_of_mode): Make global.
6424         (init_reg_sets): Remove contains_reg_of_mode; take into account
6425         CLASS_MAX_NREGS when looking for the proper mode.
6426         (dump_regclass): Dump only classes considered for the pseudo.
6427         (regclass): Use contains_reg_of_mode.
6428
6429 Mon Feb 19 16:45:42 CET 2001  Jan Hubicka  <jh@suse.cz>
6430
6431         * gcc.c (do_spec_1): 'n' for printing notices.
6432         * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
6433
6434 Mon Feb 19 15:51:30 CET 2001  Jan Hubicka  <jh@suse.cz>
6435
6436         * reg-stack.c (next_flags_user): Use current_block->end
6437         (swap_rtx_condition): Look for next user if flags don't die;
6438         give up on CALL_INSNs; use current_block->end.
6439
6440 Mon Feb 19 08:27:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6441
6442         * sibcall.c (call_ends_block_p): New function.
6443         (optimize_sibling_and_tail_recursive_call): Use it.
6444
6445 2001-02-18  Kazu Hirata  <kazu@hxi.com>
6446
6447         * config/h8300/h8300.md: Update copyright.
6448         (andsi3): Do not output an extra newline character.
6449
6450 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6451
6452         * toplev.c (note_deferral_of_defined_inlined_function): Argument
6453         FNDECL may be unused.
6454
6455         * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
6456         follow jumps after first run.
6457         If -fexpensive-optimizations rerun CSE after GCSE and iterate until
6458         it doesn't change any jumps.
6459
6460 Sun Feb 18 17:05:50 2001  Jeffrey A Law  (law@cygnus.com)
6461
6462         * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
6463         ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
6464         (mostlyclean): Corresponding changes.
6465         * rtlanal.c (hard-reg-set.h): Include.
6466         (rtx_unstable_p): Do not treat the argument pointer specially
6467         if it is not a fixed register.
6468         (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
6469
6470 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6471
6472         * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
6473         against last real insn in basic block.
6474         Rework to avoid gotos.
6475
6476         * Makefile.in (gcse.o): Now includes ggc.h.
6477         * gcse.c: Include ggc.h.
6478         (want_to_gcse_p): Verify expression can be in SET as valid insn.
6479         (try_replace_reg): Remove warning of uninitialize variable.
6480         (process_insert_insn): Call invalid_insn_p to validate insn.
6481         * recog.c (insn_invalid_p): Now global.
6482         See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
6483         * recog.h (insn_invalid_p): New declaration.
6484
6485         * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
6486
6487         * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
6488         assignments from FP constants since 'Y' output code can't handle it.
6489         (eligible_for_sibcall_delay): Likewise.
6490
6491         * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
6492         Call fancy_abort directly, passing args.
6493         (print_rtl_and_abort): Now a macro, like fancy_abort.
6494
6495         * final.c (output_operand_lossage): Use internal_error, not error.
6496
6497 2001-02-18  Shane Nay  <shane@agendacomputing.com>
6498
6499         * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
6500         structure shift insns.
6501
6502 2001-02-18  Mark Mitchell  <mark@codesourcery.com>
6503
6504         * invoke.texi (-fsquangle): Remove documentation.
6505         (-fname-mangling-version): Likewise.
6506
6507 2001-02-18  Lars Brinkhoff  <lars@nocrew.org>
6508
6509         * optabs.c (expand_abs): Remove reference to
6510         HAVE_contitional_arithmetic.
6511         * combine.c (simplify_set): Likewise.
6512
6513 2001-02-18  Richard Henderson  <rth@redhat.com>
6514
6515         * ifcvt.c (dead_or_predicable): Don't move code if eh regions
6516         would be disrupted.
6517
6518 2001-02-18  Richard Henderson  <rth@redhat.com>
6519
6520         * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
6521
6522         * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
6523
6524         * reload1.c (reload_cse_simplify_set): Fix typo.
6525
6526 Sun Feb 18 09:30:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6527
6528         * diagnostic.c (_fatal_insn): Decrement errorcount.
6529
6530         * invoke.texi (-I): Add note avoiding use for system header files.
6531
6532         * rtl.h (add_clobbers): Remove duplicate declaration.
6533         * recog.h (added_clobbers_hard_reg_p): New declaration.
6534         * genemit.c (struct clobber_pat): New field has_hard_reg.
6535         (gen_insn): Record if added clobbers clobber hard reg.
6536         (gen_split): Avoid unused warning if number of operands is 0.
6537         (output_added_clobbers_hard_reg_p): New function.
6538         (main): Call it.
6539
6540 2001-02-18  Alan Modra <alan@linuxcare.com.au>
6541
6542         * pa.c (hppa_expand_prologue): Simplify code storing return
6543         pointer.  For large (>=8k) frames with a post_store, adjust stack
6544         pointer by 8k-64 first rather than by 64.  When testing with
6545         VAL_14_BITS_P, always use the actual value rather than the value
6546         negated.  Add blockage to prevent scheduling of spills before
6547         stack frame has been created.
6548         (hppa_expand_epilogue): Simplify code loading return pointer.
6549         Allow a slightly larger range for merge_sp_adjust_with_load case.
6550         When testing with VAL_14_BITS_P, always use the actual value.
6551
6552         * pa.c (pa_adjust_insn_length): Check that block move
6553         pattern is a set before looking at operands.
6554
6555 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
6556
6557         * fold-const.c (fold_binary_op_with_conditional_arg): New
6558         function, split out from ...
6559         (fold): ... here.
6560         * tree.def (COND_EXPR): Document the use of VOID_TYPE for
6561         conditional arms that throw exceptions.
6562
6563         * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
6564         looking at a BLOCK.
6565
6566 2001-02-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6567
6568         * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
6569         define HAVE_DECL_* to 1 to mask potential backup declarations.
6570         * configure: Regenerated.
6571
6572 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
6573
6574         * invoke.texi (-Woverloaded-virtual): Clarify documentation.
6575
6576 2001-02-17  Richard Henderson  <rth@redhat.com>
6577
6578         * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
6579         when replacing a memory load with a register.
6580
6581 Sat Feb 17 14:48:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6582                           Jan Hubicka  <jh@suse.cz>
6583
6584         * recog.c (validate_replace_src_1): New.
6585         (validate_replace_src_data): Likewise.
6586         (validate_replace_src): Use note_uses.
6587         * rtl.h (note_uses): Declare.
6588         * rtlanal.c (note_uses): New.
6589
6590 Sat Feb 17 10:52:34 CET 2001  Jan Hubicka  <jh@suse.cz>
6591
6592         * reg-stack.c (stack_def): Make field reg unsigned.
6593         (remove_regno_note): Unsignetize parameter.
6594
6595 2001-02-16  Jes Sorensen  <jes@linuxcare.com>
6596
6597         * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
6598         shladd_operand() call.
6599
6600 2001-02-16  Bruce Korb  <bkorb@gnu.org>
6601             Rodney Brown  <RodneyBrown@mynd.com>
6602
6603         * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
6604         * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
6605         machine restrictions
6606         * fixinc/fixincl.x: regen
6607
6608 Fri Feb 16 12:41:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6609
6610         * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
6611         Don't CSE a nop.
6612         (hash_scan_insn): Clean up calls to hash_scan_set.
6613         (compute_kill_rd): REGNO now unsigned.
6614         (try_replace_reg): Rework to use simplify_replace_rtx.
6615         (cprop_jump, cprop_cc0_jump): Likewise.
6616         (cprop_insn): Call find_reg_equal_equiv_note.
6617         Reflect changes to cprop_jump and cprop_cc0_jump.
6618
6619         * recog.c (validate_replace_src): Replace in operands of
6620         ZERO_EXTRACT in SET_DEST.
6621
6622         * cse.c (new_label_ref): New variable.
6623         (insert): Set it instead of recorded_label_ref.
6624         (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
6625         CODE_LABEL for this function, and not already in REG_LABEL note.
6626
6627 2001-02-16  Jeffrey Oldham  <oldham@codesourcery.com>
6628
6629         * resource.c (mark_referenced_resources): Fix typo in introductory
6630         comment.
6631         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
6632         string constant.
6633
6634 2001-02-16  Jason Merrill  <jason@redhat.com>
6635
6636         * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
6637         NULL.
6638         (gen_subprogram_die): Don't abort on seeing a second definition if
6639         the previous one was abstract.  Don't replace an abstract instance
6640         in the lookup table.
6641
6642         * dwarf2out.c (dwarf2out_abstract_function): Rename from
6643         gen_abstract_function.
6644         * dwarf2out.h: Declare it.
6645         * toplev.c (note_outlining_of_inline_function): New fn.
6646         * toplev.h: Declare it.
6647         * integrate.c (output_inline_function): Call it.
6648         * c-decl.c (duplicate_decls): Call it when redefining an extern
6649         inline.  Don't inline the new defn.
6650
6651         * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
6652
6653 2001-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6654
6655         * .gdbinit: Rename to gdbinit.in.
6656         * gdbinit.in: New file,
6657         * configure.in: Generate .gdbinit from gdbinit.in.
6658         * configure: Regenerated.
6659         * Makefile.in (distclean): Always remove .gdbinit.
6660
6661 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
6662
6663         * objc/objc-act.c (start_class): Register implemented_classes with
6664         GC.
6665
6666 2001-02-16  Neil Booth  <neil@daikokuya.demon.co.uk>
6667
6668         * cppfiles.c (_cpp_make_system_header): Generate a file
6669         change callback.
6670
6671 2001-02-15  Jim Meyering  <meyering@lucent.com>
6672
6673         * Makefile.in (install-common): Don't depend on installdirs here.
6674         Instead, make each of the lang.install-common targets (e.g.,
6675         c++.install-common in cp/Make-lang.in) depend on it.
6676         (install-driver): Depend on installdirs.
6677
6678 Thu Feb 15 21:30:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6679
6680         * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
6681
6682         * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
6683         do in memory.
6684
6685 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
6686
6687         * invoke.texi (--param): Document.
6688
6689 Thu Feb 15 15:16:38 2001  Alexandre Oliva  <aoliva@redhat.com>
6690
6691         * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
6692
6693 Thu Feb 15 10:52:31 CET 2001  Jan Hubicka  <jh@suse.cz>
6694
6695         * i386.md (extendsfdf2_2): Fix constraints.
6696
6697 Thu Feb 15 09:46:21 CET 2001  Jan Hubicka  <jh@suse.cz>
6698
6699         * i386.md (fop_df_3 splitter): Fix operand number.
6700
6701 Wed Feb 14 12:37:37 CET 2001  Jan Hubicka  <jh@suse.cz>
6702
6703         * invoke.texi (-mreg-alloc): Nuke.
6704         * i386.c (ix86_reg_alloc_order, regs_allocated,
6705         order_regs_for_local_alloc): Nuke.
6706         (override_options): Kill reg_alloc code.
6707         * i386.h (TARGET_OPTIONS): Kill reg-alloc.
6708         (REG_ALLOC_ORDER): SSE goes before I387.
6709         (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
6710         (ix86_reg_alloc_order): Likewise.
6711         * i386-protos.h (ix86_reg_alloc_order): Kill.
6712
6713 2001-02-14  Richard Henderson  <rth@redhat.com>
6714
6715         * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
6716
6717 Wed Feb 14 11:59:58 CET 2001  Jan Hubicka  <jh@suse.cz>
6718
6719         * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
6720
6721 Wed Feb 14 11:12:38 CET 2001  Jan Hubicka  <jh@suse.cz>
6722
6723         * i386-protos.h (ix86_memory_move_cost): Move offline.
6724         * i386.c (ix86_register_move_cost): Compute properly cost of
6725         SSE, MMX and i387 instructions.
6726         (*_cost): Add costs of SSE/MMX moves.
6727         (ix86_memory_move_cost): Move offline from ....; Likewise.
6728         * i386.h (MEMORY_MOVE_COST): .... here;
6729         (struct processor costs): Add new fields to represent costs
6730         of SSE/MMX moves.
6731
6732 Wed Feb 14 10:08:26 CET 2001  Jan Hubicka  <jh@suse.cz>
6733
6734         * regclass.c (init_reg_sets_1): Reinstall the optimization of
6735         move_cost together with Matt Kraai's fix.
6736
6737 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
6738
6739         * Makefile.in (OBJS): Add params.o.
6740
6741 2001-02-14  Richard Henderson  <rth@redhat.com>
6742             DJ Delorie  <dj@redhat.com>
6743
6744         * jump.c (jump_optimize_1): When we delete a conditional jump
6745         preceeding a non-conditional jump to effectively the same place,
6746         make sure that the combined jump skips any clobber insns between
6747         the two labels.
6748
6749 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
6750
6751         * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
6752
6753 2001-02-14  Mark Mitchell  <mark@codesourcery.com>
6754
6755         * Makefile.in (toplev.o): Depend on params.h.
6756         (intergate.o): Likewise.
6757         (params.o): New target.
6758         * flags.h (inline_max_insns): Remove.
6759         * integrate.c: Include params.h.
6760         Use MAX_INLINE_INSNS instead of inline_max_insns.
6761         * params.c: New file.
6762         * params.h: Likewise.
6763         * params.def: Likewise.
6764         * toplev.c: Include params.h.
6765         (lang_independent_params): New variable.
6766         (decode_f_option): Use the param machinery instead of setting
6767         max_inline_insns.
6768         (independent_decode_option): Handle "--param name=value".
6769         (main): Register language-independent parameters.
6770
6771 Wed Feb 14 11:13:45 CET 2001  Jan Hubicka  <jh@suse.cz>
6772
6773         * i386.md (pushsf, pushdf_nointeger): Fix constraint.
6774
6775 2001-02-14  Richard Henderson  <rth@redhat.com>
6776
6777         * regclass.c (init_reg_sets_1): Revert last two changes.
6778
6779 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
6780
6781         * stor-layout.c (is_pending_size, put_pending_size): New functions.
6782         (variable_size): Call put_pending_size.
6783         * tree.h (is_pending_size, put_pending_size): Add prototypes.
6784         * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
6785         sizes list, put newly created SAVE_EXPR there as well.
6786
6787 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
6788
6789         * config/ia64/ia64.c (last_group): Only 2 entries are needed.
6790         (errata_find_address_regs): load_group has only 2 entries.
6791         (errata_emit_nops): Likewise.  shladd is not problematic.
6792         Clear last_group if nop was emitted.
6793         (fixup_errata): load_group has only 2 entries.
6794         Optimize.
6795
6796 2001-02-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6797
6798         * c-lex.c (lex_number): Only warn traditionally for U suffix
6799         outside system macros.
6800         * cppexp.c (parse_number): Similarly.
6801         * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
6802         * cppmacro.c (struct cpp_macro): New member node.
6803         (parse_args): Only warn about missing rest args if not
6804         a system macro.
6805         (funlike_invocation_p): Similarly for uninvoked funlike macros.
6806         (cpp_sys_objmacro_p): New.
6807         (_cpp_create_definition): Store the node with the macro defn.
6808         Remember if the macro is defined in a system header.
6809
6810 2001-02-13  DJ Delorie  <dj@redhat.com>
6811
6812         * configure.in (check_languages): determine languages to check
6813         * Makefile.in (check-c++): alias for check-g++
6814         (check-f77): alias for check-g77
6815         (CHECK_TARGETS): depend on configured languages
6816
6817 Wed Feb 14 01:13:59 CET 2001  Jan Hubicka  <jh@suse.cz>
6818
6819         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
6820         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
6821         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
6822         (sqrtextendsfdf2): Disable for SSE2.
6823
6824 Wed Feb 14 00:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
6825
6826         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
6827         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
6828         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
6829         (sqrtextendsfdf2): Disable for SSE2.
6830
6831 Wed Feb 14 00:11:20 CET 2001  Jan Hubicka  <jh@suse.cz>
6832
6833         * i386.md (movsfcc_1): Support integer cmove instruction.
6834         (movdfcc_1): Likewise; new splitter.
6835
6836 Tue Feb 13 23:19:27 CET 2001  Jan Hubicka  <jh@suse.cz>
6837
6838         * i386.c (output_fp_compare): Support SSE.
6839         (prepare_fp_compare_args): SSE comparisons always support memory.
6840         * i386.h (TARGET_CMOVE): SSE imply cmove.
6841         * i386.md (cmp?f2): Enable for SSE too.
6842         (cmpfp_i*): Support SSE.
6843         (cmpfp_i_sse): New.
6844         (cmpfp_i_sse_only): New.
6845         (s*, b* fp expanters): Enable for SSE too.
6846         (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
6847         New patterns.
6848
6849 Tue Feb 13 23:05:42 CET 2001  Jan Hubicka  <jh@suse.cz>
6850
6851         * regclass.c (init_reg_sets_1): Silence warning.
6852
6853 Tue Feb 13 22:03:07 CET 2001  Jan Hubicka  <jh@suse.cz>
6854
6855         * i386.md (sqrt?f2): Change to expander.
6856         (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
6857
6858 Tue Feb 13 15:42:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6859
6860         * rtlanal.c (find_reg_equal_equiv_note): New function.
6861         * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
6862         (simplify_gen_relational, simplify_replace_rtx): Likewise.
6863         * rtl.h: Add declarations for above functions.
6864
6865 Tue Feb 13 21:09:11 CET 2001  Jan Hubicka  <jh@suse.cz>
6866
6867         * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
6868         conditionals.
6869         * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
6870         * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
6871         * flow.c (mark_regs_live_at_end): Likewise.
6872         (calculate_global_regs_live): Likewise.
6873         * gcse.c (compute_hash_table): Likewise.
6874         (compute_kill_rd): Likewise.
6875         * resource.c (mark_target_live_regs): Likewise.
6876         * rtl.h (INVALID_REGNUM): New macro.
6877
6878 Tue Feb 13 20:59:22 CET 2001  Jan Hubicka  <jh@suse.cz>
6879
6880         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
6881
6882 Tue Feb 13 16:32:20 CET 2001  Jan Hubicka  <jh@suse.cz>
6883
6884         * i386.md (fixsfsi2, fixdfdi2): Force operand to register
6885         for SSE.
6886
6887 Tue Feb 13 14:53:16 CET 2001  Jan Hubicka  <jh@suse.cz>
6888
6889         * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
6890         too.
6891         (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
6892         (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
6893         (fop_sf_1_sse, fop_df_1_sse): New patterns
6894         (fop_*): Disable float_extend and float patterns for SSE compilation.
6895         * i386.c (output_387_binary_op): Support SSE.
6896
6897 Tue Feb 13 14:16:34 CET 2001  Jan Hubicka  <jh@suse.cz>
6898
6899         * i386.md (dummy_extendsfdf2): Support SSE2
6900         (extendsfdf2): Enable if 80387 or SSE2.
6901         (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
6902         and no MIX_I387_SSE2
6903         (extendsfdf2_1_sse_only): New pattern.
6904         (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
6905         of SSE.
6906         (truncdfsf2_1): Support SSE.
6907         (truncdfsf2_2): Support SSE.
6908         (truncdfsf2_2_1_sse): New pattern.
6909         (fixtruncsfsi2): Always use SSE if available.
6910         (fix_truncsfsi_sse): New pattern.
6911         (fix_truncdfsi_sse): New pattern.
6912         (floatsis?f2): Support SSE.
6913         (floatsidf2_i387): New pattern.
6914         (floatsidf2_sse): Likewise.
6915
6916 Tue Feb 13 07:52:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6917
6918         * configure.in: Use "have_gnat" variable, not "gnat".
6919         * configure: Regenerated.
6920
6921         * config/sparc/sparc.c (function_value): Treat all non-record
6922         aggregate types like used to treat UNION_TYPE.
6923
6924 Tue Feb 13 13:31:33 CET 2001  Jan Hubicka  <jh@suse.cz>
6925
6926         * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
6927         * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
6928         (MASK_SSE2): New.
6929         (MASK_MIX_SSE_I387): New.
6930         (TARGET_SSE): SSE2 imply SSE.
6931         (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
6932         (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
6933         (enum reg_class): Add new classes.
6934         (REG_CLASS_NAMES): Likewise.
6935         (REG_CLASS_CONTENTS): Likewise.
6936         (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
6937         (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
6938         supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
6939         (CLASS_MAX_NREGS): Use new macros.
6940         (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
6941         * i386.md (pushsf, movsf): Support SSE.
6942         (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
6943         splitters to use ANY_FP_REGNO_P.
6944         (movdf_nointeger, movdf_integer): Likewise.
6945
6946 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
6947
6948         * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
6949         (try_combine): Use it.
6950
6951 Tue Feb 13 11:37:06 CET 2001  Jan Hubicka  <jh@suse.cz>
6952
6953         * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
6954         MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
6955         (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
6956         (REGISTER_MOVE_COST): Likewise.
6957         * i386-protos.h (ix86_secondary_memory_needed,
6958         ix86_preferred_reload_class, ix86_register_move_cost): Declare.
6959         * i386.c (ix86_secondary_memory_needed,
6960         ix86_preferred_reload_class, ix86_register_move_cost): New function.
6961
6962 Die Feb 13 11:04:25 CET 2001  Jan Hubicka  <jh@suse.cz>
6963
6964         * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
6965         (HARD_REGNO_MODE_OK): Move offline to ....
6966         * i386.c (ix86_hard_regno_mode_ok) ... here;
6967         refuse all incorrect modes.
6968         * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
6969
6970 2001-02-13  Richard Henderson  <rth@redhat.com>
6971
6972         * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
6973         entire operator; replicate that and match_dup the operands.
6974         (cmp_ccx_arith_op_set): Likewise.
6975         (cmp_cc_arith_op_not_set): Likewise.
6976         (cmp_ccx_arith_op_not_set): Likewise.
6977
6978 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
6979
6980         * explow.c (trunc_int_for_mode): Sign-extend value to mode.
6981
6982 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
6983
6984         * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
6985         (TARGET_NO_BITFIELD_WORD): New macro.
6986         (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
6987         (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
6988
6989 Mon Feb 12 18:13:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6990
6991         * cselib.c: New file, from simplify-rtx.c.
6992         * simplify-rtx.c: Remove cselib parts.
6993         * Makefile.in: Add cselib.o.
6994
6995 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
6996
6997         * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
6998         (setup_incoming_varargs): Remove warning.
6999
7000         * config/rs6000/rs6000.c (validate_condition_mode): When
7001         flag_fast_math, allow floating-point conditionals to be reversed.
7002         (rs6000_generate_compare): When flag_fast_math, don't generate
7003         cror operations for FP conditionals.
7004
7005         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
7006         -mcall-i960.
7007         (ASM_SPEC): Likewise.
7008         (CC1_ENDIAN_LITTLE_SPEC): Likewise.
7009         (CC1_SPEC): Likewise.
7010         (LINK_TARGET_SPEC): Likewise.
7011         (CPP_ENDIAN_SPEC): Likewise.
7012         * Makefile.in (check-consistency): New target.
7013
7014 2001-02-12  Joseph S. Myers  <jsm28@cam.ac.uk>
7015
7016         * c-decl.c (grokdeclarator): In C99 mode, give the more specific
7017         "return type defaults" warning for functions with return type
7018         defaulting to int.
7019         * c-lang.c (c_init): In C99 mode, enable warnings for implicit
7020         function declarations by default rather than only when pedantic.
7021
7022 Mon Feb 12 17:28:48 CET 2001  Jan Hubicka  <jh@suse.cz>
7023
7024         * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
7025         arrays.
7026
7027 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
7028
7029         * extend.texi (Deprecated): Deprecate new initializer lists.
7030
7031 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
7032
7033         * mkdeps.c (deps_add_default_target): Robustify. Add
7034         basename component only.
7035         * cpp.texi (-M): Describe how default target is generated.
7036         * invoke.texi (-M): Likewise.
7037
7038 2001-02-12  Kazu Hirata  <kazu@hxi.com>
7039
7040         * toplev.c (push_float_handler): Remove.
7041         (pop_float_handler): Remove.
7042         * toplev.h: Remove prototypes for the above functions.
7043
7044 2001-02-12  Jakub Jelinek  <jakub@redhat.com>
7045
7046         * c-common.c (constant_fits_type_p): New function.
7047         (convert_and_check): Use it.
7048
7049 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
7050
7051         * Makefile.in (GXX_ABI_FLAG): Don't define.
7052         * configure.in (--enable-new-gxx-abi): Remove option.
7053         * config.in: Regenerated.
7054         * configure: Likewise.
7055
7056 2001-02-12  Alexandre Oliva  <aoliva@redhat.com>
7057
7058         * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
7059         basic block.
7060         (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
7061         regular basic block, and arrange for all edges into it to switch
7062         to normal mode.
7063
7064 2001-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7065
7066         * Makefile.in (distclean): Do not remove .gdbinit.
7067
7068 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
7069
7070         * Makefile.in (gcc.o): Fix typos.
7071         (protize.o): Likewise.
7072         (unprotoize.o): Likewise.
7073
7074 2001-02-11  Richard Henderson  <rth@redhat.com>
7075
7076         * tree.c (build1): Check for null operand in last change.
7077
7078 2001-02-11  Richard Henderson  <rth@redhat.com>
7079
7080         * fold-const.c (split_tree): Don't assume a constant isn't splittable.
7081         (fold): Don't assume a constant isn't foldable.
7082         * tree.c (build): Set TREE_CONSTANT for an expression with no
7083         side-effects and constant operands.
7084         (build1): Likewise.
7085
7086 2001-02-10  Richard Henderson  <rth@redhat.com>
7087
7088         * jump.c (squeeze_notes): Revert 2000-05-12 change.
7089
7090 2001-02-10  Anthony Green  <green@redhat.com>
7091
7092         * cpp.texi (Standard Predefined): Add documentation for
7093         __OPTIMIZE_SIZE__.
7094
7095         * c-common.c (combine_strings): Improve warning message.
7096
7097 2001-02-10  Geoffrey Keating  <geoffk@redhat.com>
7098
7099         * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
7100         --oformat.
7101         * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
7102
7103 Fri Feb  9 15:05:27 2001  Christopher Faylor <cgf@cygnus.com>
7104
7105         * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
7106         CYGWIN_CROSS_DIR.
7107
7108 2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
7109
7110         * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
7111         fp_mode attribute.
7112
7113 2001-02-09  Nick Clifton  <nickc@redhat.com>
7114
7115         * config/arm/arm.md: Change output contraint on post inc
7116         load/store multiple patterns to be a read/write contraint.
7117
7118 2001-02-09  Neil Booth  <neil@daikokuya.demon.co.uk>
7119
7120         * gcc.c (cpp_options): Delete .d files on error.  Don't delete
7121         .o files when using the -M options.
7122
7123 2001-02-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7124             David Edelsohn  <edelsohn@gnu.org>
7125
7126         * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
7127         handle DImode constants.  Use one TOC entry for SImode and smaller
7128         constants, aligned properly.
7129
7130 2001-02-08  Jason Merrill  <jason@redhat.com>
7131
7132         * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
7133         about the SP adjustment for saving the static chain pointer.
7134         * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
7135         offset when setting a temporary CFA register.
7136
7137 2001-02-08  Chandrakala Chavva  <cchavva@redhat.com>
7138
7139         * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
7140         powerpc-*-chorusos* .
7141         * config/rs6000/chorus.h : New file.
7142         * config/i386/chorus.h : New file.
7143         * config/sparc/chorus.h : New file.
7144         * config/sparc/t-chorus-elf : New file.
7145
7146 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
7147
7148         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
7149         * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
7150         * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
7151         (__WCHAR_TYPE__): Correct macro name.
7152
7153 2001-02-08  Richard Henderson  <rth@redhat.com>
7154
7155         * config/i386/i386.c (ix86_frame_pointer_required): New.
7156         (ix86_setup_frame_addresses): New.
7157         (struct machine_funciton): Add accesses_prev_frame.
7158         * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
7159         ix86_frame_pointer_required.
7160         (SUBTARGET_FRAME_POINTER_REQUIRED): New.
7161         (SETUP_FRAME_ADDRESSES): New.
7162         * config/i386/i386-protos.h: Update.
7163         * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
7164         from FRAME_POINTER_REQUIRED.
7165         * config/i386/svr3gas.h: Likewise.
7166         * config/i386/sysv3.h: Likewise.
7167         * config/i386/v3gas.h: Likewise.
7168
7169 2001-02-08  Richard Henderson  <rth@redhat.com>
7170
7171         * config/sparc/sparc.c (function_arg_record_value_3): Fix
7172         calculation of the number of integer registers required.
7173         (function_arg_record_value): Likewise.
7174
7175 2001-02-08  Jason Merrill  <jason@redhat.com>
7176
7177         * diagnostic.c (internal_error): Say "confused" after 1 error, not
7178         two.  Print file and line with "confused" message.
7179
7180         * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
7181
7182 Thu Feb  8 11:21:28 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7183
7184         * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
7185
7186 2001-02-08  Bernd Schmidt  <bernds@redhat.com>
7187
7188         * final.c (cleanup_subreg_operands): The address of a MEM can
7189         contain SUBREGs.
7190
7191         * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
7192         for asms, too.
7193
7194 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
7195
7196         * gcc.texi (Incompatibilities): Update documentation of
7197         preprocessing numbers.
7198
7199 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
7200
7201         * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
7202
7203 2001-02-07  Mark Mitchell  <mark@codesourcery.com>
7204
7205         * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
7206
7207         * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
7208         * gcc.c (struct compiler): Add cpp_spec field.
7209         (input_file_compiler): New variable.
7210         (do_spec_1): Allow a particular compiler to handle `%C'
7211         specially.
7212         (main): Store the current compiler in input_file_compiler.
7213         * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
7214
7215 2001-02-07  Zack Weinberg  <zack@wolery.stanford.edu>
7216
7217         * cpphash.h (struct spec_nodes): Add n_true and n_false.
7218         * cppinit.c (cpp_create_reader): Initialize them.
7219         (append_include_chain): cxx_aware arg might be unused.
7220         * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
7221         keywords and give them their phase 7 meaning.  Pedwarn about
7222         this unless '__bool_true_false_are_defined' is defined.
7223
7224 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
7225
7226         * lcm.c (optimize_mode_switching): Emit mode_set before the
7227         JUMP_INSN of an abnormal edge.
7228
7229 2001-02-07  Bernd Schmidt  <bernds@redhat.com>
7230
7231         * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
7232         a scheduling barrier at the end.
7233
7234         * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
7235
7236 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
7237
7238         * config/sh/sh.md (reload_outsf): Removed.
7239         (movsf_ie): Introduce constraints for FPUL loads and stores.
7240         (reload_insf): Broaden the output constraint.
7241
7242         * config/elfos.h (INT_ASM_OP): Don't define it if it's already
7243         defined.
7244         * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
7245         ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
7246
7247 2001-02-06  Chandrakala Chavva  <cchavva@redhat.com>
7248
7249         * final.c: Revert my previous changes.
7250         * output.h: Make profile_label_no extern.
7251         * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
7252         for generating label.
7253
7254 2001-02-06  Laurynas Biveinis  <lauras@softhome.net>
7255
7256         * config/i386/djgpp.h: Add comments about standard paths.
7257         (MD_EXEC_PREFIX): Undefine before defining.
7258         (MD_STARTFILE_PREFIX): New.
7259
7260 2001-01-30  Bruce Korb  <bkorb@gnu.org>
7261
7262         fixinc/fixincl.c(process):  Emit error message only if appropriate :)
7263         (load_file): do not rely on load_file_data() to close file pointer
7264         fixinc/fixlib.c(load_file_data): do not close passed in file pointer
7265         fixinc/inclhack.def(irix_limits_const): add test_text
7266
7267 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
7268
7269         * cppexp.c (parse_defined): Improve diagnostics for invalid
7270         syntax.
7271
7272 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
7273
7274         * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
7275
7276 2001-02-06  Mark Mitchell  <mark@codesourcery.com>
7277
7278         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
7279         * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
7280         * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
7281         (rs6000_output_symbol_ref): New function.
7282         (output_toc): Use VTABLE_NAME_P.
7283
7284 Tue Feb  6 07:54:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7285
7286         * print-tree.c (print_node, case PARM_DECL):
7287         Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
7288
7289         * stor-layout.c (reference_types_internal): New variable.
7290         (internal_reference_types): New function.
7291         (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
7292         * tree.h (internal_reference_types): New declaration.
7293
7294         * cse.c (find_best_addr): Fix typo in computing cost.
7295
7296 Mon Feb  5 21:56:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7297
7298         * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
7299         and this is the sum of a pointer and a constant, we know the result
7300         did not overflow.
7301         (num_sign_bit_copies, case PLUS): Likewise.
7302         * explow.c (convert_memory_address): Remove opposite SUBREG.
7303         * function.c (instantiate_new_reg): New function (from common code).
7304         (instantiate_virtual_regs_1): Call it.
7305         For PLUS, handle if (plus (subreg (virt-reg) (const_int))
7306         if pointers sign- or zero-extend.
7307         * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
7308         If pointers extend unsigned, use inside of SUBREG.
7309         (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
7310
7311 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
7312
7313         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
7314         subdir of gcc_gxx_include_dir.
7315         (gcc_gxx_target_include_dir): Remove.
7316
7317 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
7318
7319         * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
7320         (dwarf2out_frame_debug_expr): Revise introductory comments to add
7321         a high-level description.
7322
7323 2001-02-05  Chandrakala Chavva  <cchavva@redhat.com>
7324
7325         * final.c: Move the declaration of profile_label_no to ...
7326         * output.h: ... here.
7327         * function.c (expand_function_start): Call PROFILE_HOOK.
7328         * config/rs6000/aix.h: Define PROFILE_HOOK.
7329         * config/rs6000/rs6000-protos.h: output_profile_hook new.
7330         * config/rs6000/rs6000.c (output_profile_hook): Define.
7331         (output_prolog): Do nothing for ABI_AIX as it is taken care by
7332         output_profile_hook.
7333         tm.texi : Explain new macro PROFILE_HOOK.
7334
7335 2001-02-06  Hans-Peter Nilsson  <hp@axis.com>
7336
7337         * extend.texi (Extended Asm): Do not say that semicolon is always
7338         a valid line-breaking character for GNU assemblers.  Use
7339         newline-tab as the most commonly supported syntax.  Use
7340         newline-tab rather than semicolon in multi-insn examples.
7341
7342 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7343
7344         * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
7345
7346 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7347             David Edelsohn  <edelsohn@gnu.org>
7348
7349         * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
7350         code for AIX, even without flag_pic.
7351
7352 2001-02-05  Jakub Jelinek  <jakub@redhat.com>
7353
7354         * c-typeck.c (common_type): push and pop binding level around
7355         calling common_type on function parameters.
7356
7357 Mon Feb  5 14:30:37 2001  Christopher Faylor <cgf@cygnus.com>
7358
7359         * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
7360
7361 Mon Feb  5 11:23:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7362
7363         * config/mips/mips.c (override_options): Fix typo in last change.
7364         (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
7365         (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
7366
7367 2001-02-05  Nathan Sidwell  <nathan@codesourcery.com>
7368
7369         * invoke.texi (-fdump-class-layout): Document.
7370         (-fdump-translation-unit): Use `=' as filename separator.
7371
7372 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
7373
7374         * Makefile.in (s-mlib): Don't build multilibs if
7375         --disable-multilib.
7376         (DRIVER_DEFINES): Adjust accordingly.
7377         (gcc.o): Likewise.
7378         (protoize.o): Likewise.
7379         (unprotoize.o): Likewise.
7380         * configure.in: Recognize --enable-multilib.
7381
7382 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
7383
7384         * Makefile.in (DRIVER_DEFINES): Fix quoting.
7385
7386         * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
7387         * configure.in: Remove --enable-libstdcxx_v3 support.
7388         * configure: Regenerated.
7389
7390 Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7391
7392         * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
7393         Call abort instead of fatal.
7394         (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
7395         * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
7396         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
7397         (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
7398         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
7399         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
7400
7401         * diagnostic.h (set_internal_error_function): Renamed.
7402         * toplev.h (internal_error): Renamed from fatal.
7403         (pfatal_with_name): Deleted.
7404         (fatal_io_error): Now has printf-style arguments.
7405         * diagnostic.c (pfatal_with_name): Deleted.
7406         (fatal_io_error): Rework to have args in printf-style.
7407         (set_internal_error_function): Renamed from set_fatal_function.
7408         (internal_error): Renamed from fatal.
7409         (error_recursion, fancy_abort): Call internal_error instead of fatal.
7410         * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
7411         * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
7412         * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
7413         * flow.c (verify_flow_info): Likewise.
7414         * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
7415         * config/mips/mips.c (save_restore_insns): Likewise.
7416
7417         * except.c (duplicate_eh_handlers): Call abort instead of fatal.
7418         * flow.c (verify_flow_info): Likewise.
7419         * config/arm/arm.c (thumb_load_double_from_address): Likewise.
7420         * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
7421         (avr_normalize_condition): Likewise.
7422         * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
7423         * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
7424         (limit_reload_class, double_reg_to_memory): Likewise.
7425         (print_operand_address, emit_1600_code_shift): Likewise.
7426         (gen_tst_reg, gen_compare_reg): Likewise.
7427         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
7428         * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
7429         Deleted.
7430         * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
7431
7432         * c-parse.in (methoddef): Call fatal_error instead of fatal.
7433         * objc/objc-act.c (build_ivar_chain): Likewise.
7434         * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
7435         pfatal_with_name.
7436         * graph.c (clean_graph_dump_file): Likewise.
7437         * profile.c (init_branch_prob): Likewise.
7438         * objc/objc-act.c (objc_init): Likewise.
7439
7440         * config/arm/arm.c (arm_override_options): Make errors non-fatal.
7441         * config/avr/avr.c (avr_override_options): Likewise.
7442         * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
7443         * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
7444         * config/h8300/h8300.c (h8300_init_once): Likewise.
7445         * config/mips/mips.c (override_options): Likewise.
7446         * config/i386/i386.c (override_options): Likewise, rework.
7447         * config/m68k/m68k.c (override_options): Likewise.
7448
7449         * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
7450         instead of fatal.
7451         * config/mips/mips.c (print_operand): Likewise.
7452         * hash.c (hash_allocate): Don't check for failure returns from
7453         obstack functions that can't fail.
7454         (hash_table_init_n, hash_table_init): Likewise; also now return void.
7455         * hash.h (hash_table_init_n, hash_table_init): Now return void.
7456         * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
7457         (get_object_reference): Likewise.
7458
7459 2001-02-04  Nick Clifton  <nickc@redhat.com>
7460
7461         * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
7462         StrongARM1110, 10TDMI, and 1020T.
7463
7464 2001-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7465
7466         * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
7467
7468 2001-02-04  Alexandre Oliva  <aoliva@redhat.com>
7469
7470         * config/sh/sh.md (movdf load split): Pass register number to
7471         FP_OR_XD_REGISTER_P.
7472
7473 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
7474
7475         * cppinit.c (BC): New macro.
7476         (builtin_array): Add __GXX_WEAK__.
7477         * cpplib.h (builtin_type): Add BT_WEAK.
7478         * cppmacro.c (builtin_macro): Handle BT_WEAK.
7479         * defaults.h (SUPPORTS_ONE_ONLY): Define.
7480         * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
7481
7482 2001-02-03  Jakub Jelinek  <jakub@redhat.com>
7483
7484         * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
7485
7486 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
7487
7488         * cpphash.h: Rename _ALIGN POOL_ALIGN.
7489         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
7490
7491 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
7492
7493         * cpphash.h: Rename ALIGN _ALIGN.
7494         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
7495
7496 Fri Feb  2 23:15:29 2001  Christopher Faylor <cgf@cygnus.com>
7497
7498         * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
7499         compilation environment.
7500         * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
7501         control over location of cygwin includes and libs.
7502
7503 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
7504
7505         * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
7506
7507 2001-02-02  lars brinkhoff  <lars@nocrew.org>
7508
7509         * md.texi (Standard Names): remove reference to spur.md.
7510
7511 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
7512
7513         * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
7514         (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
7515         (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
7516         * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
7517         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
7518
7519 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7520
7521         * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
7522         c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
7523         number before reload.
7524         (c4x_adjust_cost): Return zero before reload.
7525         * c4x.md (load_immed_address+1, load_immed_address+2): Do not
7526         split before reload.
7527
7528 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7529
7530         * c4x.c (c4x_hard_regno_rename_ok): New.
7531         * c4x-protos.h (c4x_hard_regno_rename_ok): New.
7532         * c4x.h (HARD_REGNO_RENAME_OK): Define.
7533
7534 Fri Feb  2 20:03:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7535
7536         * diagnostic.h: Add missing "extern" in all declarations.
7537
7538 2001-02-02  Alex Samuel  <samuel@codesourcery.com>
7539
7540         * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
7541         as for gcc_gxx_include_dir.
7542
7543 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
7544
7545         * cpp.texi, invoke.texi: Update -Wtraditional documentation.
7546
7547 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
7548
7549         * config/sh/sh.c (output_far_jump): Don't use braf on SH1.  Emit
7550         label before alignment to be used as the braf base address.
7551         * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
7552         branches.
7553         (casesi_jump_2): Require at least TARGET_SH2.
7554
7555         * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
7556         truncation to 32-bit doubles on -m3e and -m4-single-only.
7557
7558 2001-02-02  Mark Mitchell  <mark@codesourcery.com>
7559
7560         * gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
7561         the default when building a shared object.
7562         (init_spec): Use it.
7563         * testsuite/lib/g++.exp: Include the directory where libgcc
7564         is located to the LD_LIBRARY_PATH list.
7565         * invoke.texi (-shared-libgcc): Document the cases in which
7566         GCC defaults to using the shared libgcc.
7567
7568 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
7569
7570         * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
7571         unsigned is wide enough.
7572         (BITS_PER_SI): New.
7573         * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
7574         (si_to_float): Likewise.
7575         (float_to_si, float_to_usi): Use BITS_PER_SI.
7576
7577 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
7578
7579         * dwarf2out.c: Added explanation of abbreviations.
7580         (def_cfa_1): Added comments listing DWARF2 instructions.
7581         (cfa_temp_reg): Removed in favor of cfa_temp.
7582         (cfa_temp_value): Removed in favor of cfa_temp.
7583         (cfa_temp): New global variable.
7584         (dwarf2out_frame_debug_expr): Added extensive introductory
7585         comments explaining the function's transformations.  Revised to
7586         use cfa_temp.  Added some rtx checking.  Generalize IOR case.
7587         (dwarf2out_frame_debug): Revised to use cfa_temp.
7588         (output_aranges): Cast as "unsigned" to avoid warning.
7589         * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
7590         explain which instructions must be marked.
7591
7592 2001-02-01  Richard Henderson  <rth@redhat.com>
7593
7594         * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
7595         new instruction.
7596
7597 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
7598
7599         * config/sh/crt1.asm (main_k): Modified so that start calls
7600         ___setup_argv_and_call_main.
7601
7602 2001-02-01  Neil Booth  <neil@daikokuya.demon.co.uk>
7603
7604         * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
7605         * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
7606         and AVOID_LPASTE is cleared on meeting an unescaped newline.
7607         * cppmacro.c (builtin_macro): Set builtin flags here.
7608         (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
7609         (replace_args): Clarify intent.
7610         (cpp_get_token): Macro expansion tokens get the saved flags.
7611         Update.
7612         * cppmain.c (scan_buffer): Remove now-redundant print.printed
7613         check.
7614
7615 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
7616
7617         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
7618         2001-Jan-29.
7619
7620 Thu Feb  1 07:22:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7621
7622         * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
7623         returns Pmode pseudo, but we need ptr_mode.
7624         * explow.c (allocate_dynamic_stack_space): Use plus_constant.
7625         Remove bogus conversions; use HOST_WIDE_INT for size.
7626         Don't use TARGET if wrong mode.
7627
7628         * config/i386/i386.c (ix86_compute_frame_size): Allow
7629         stack_alignment_needed to be non-default even if size is zero.
7630
7631 2001-01-31  Alan Modra <alan@linuxcare.com.au>
7632
7633         * pa.c (hppa_init_pic_save): New function.
7634         * pa.h (hppa_init_pic_save): Declare.
7635         * pa.md (call, call_value, sibcall, sibcall_value): Use
7636         the above instead of duplicated code.
7637
7638         * pa.c (hppa_encode_label): Correct size of alloca buffer
7639         so we don't overrun it.  Correct leading `*' case.
7640         * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
7641         need to handle `*@'.
7642         (FUNCTION_NAME_P): Likewise.
7643
7644 2001-01-31  Richard Henderson  <rth@redhat.com>
7645
7646         * config.gcc (alpha-osf5): Use float-i128.h.
7647
7648         * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
7649         * config/float-i32.h: Likewise.
7650         * config/float-i64.h: Likewise.
7651         * config/float-sh.h: Likewise.
7652         * config/float-sparc.h: Likewise.
7653
7654 2001-01-31  DJ Delorie  <dj@redhat.com>
7655
7656         * expmed.c (extract_bit_field): allow non-integral modes if we
7657         want to extract a whole register from itself.
7658
7659 2001-01-31  Jakub Jelinek  <jakub@redhat.com>
7660
7661         * c-typeck.c (set_init_index): If first is equal to last, assume as
7662         if it was not a range at all.
7663
7664 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
7665
7666         * config/fp-bit.c: Include tm.h.
7667         (float_to_si): Don't assume SImode is 32-bits wide.
7668         (float_to_usi): Likewise.
7669
7670 2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
7671
7672         * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
7673         incomplete type.
7674         (typename): Call pending_xref_error after parsing typed_typespecs.
7675         * c-decl.c (lookup_tag): Give error immediately rather than
7676         leaving it pending if the tag of the wrong type is in the same
7677         binding level.
7678         (xref_tag): Don't pedwarn for forward declarations of enum types
7679         here.
7680         * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
7681         and enum tags.
7682
7683 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
7684
7685         * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
7686
7687 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
7688
7689         * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
7690         (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
7691
7692 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
7693
7694         * cpphash.h (struct cpp_reader): New saved_flags.
7695         * cppmacro.c (cpp_get_token): Use saved_flags to remember
7696         to avoid a paste after a pasted token.
7697
7698 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
7699
7700         * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
7701         * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
7702         Wtype_MIN instead of LONG_MIN.
7703
7704 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
7705
7706         * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
7707         README file.
7708         * fixinc/fixincl.x: Regenerated.
7709         * fixinc/inclhack.def (irix_limits_const): New definition to
7710         convert "const" to "__const" in limits.h.
7711
7712 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
7713
7714         * fixinc/genfixes (AG): Fix "autogen4" thinko.
7715
7716 2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
7717
7718         * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
7719         when register dies in the insn.
7720
7721 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
7722
7723         * diagnostic.c (fatal): Fix word wrap.
7724
7725 2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
7726
7727         * combine.c (try_combine): Fix SUBREG setting for
7728         HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
7729
7730 2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7731
7732         * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
7733         comparison codes.
7734
7735 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
7736
7737         * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
7738         is not NULL.
7739         * toplev.c (decode_W_option): Update warn_larger_than
7740         unconditionally for each processed switch.
7741
7742 2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7743
7744         * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
7745         to NULL_RTX.
7746         (hppa_expand_prologue): Delete code to save pic offset table register
7747         in the function prologue.
7748         * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
7749         * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
7750         table register at the beginning of the function after the prologue.
7751
7752 2001-01-29  lars brinkhoff  <lars@nocrew.org>
7753
7754         * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
7755
7756 2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7757             Jeff Law <law@redhat.com>
7758
7759         * pa.md (return): Revise comment for trivial return.
7760         (return_internal): Non-trivial return pattern for non-PIC code.
7761         (return_internal_pic): Non-trivial return pattern for PIC code.
7762         It uses the PIC register to ensure it is restored after
7763         function calls.
7764         (epilogue): Generate appropriate return for PIC and non-PIC code.
7765
7766 Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
7767
7768         * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
7769
7770 2001-01-29  DJ Delorie  <dj@redhat.com>
7771
7772         * combine.c (if_then_else_cond): Pass the correct mode to
7773         operand_subword() for constants.
7774
7775 Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
7776
7777         * config/i386/cygwin.h: Add w32api to include search.  Search different
7778         directories in a cross-build environment.
7779
7780 2001-11-29  Tim Josling  <tej@melbpc.org.au>
7781
7782         * tree.h (TYPE_STUB_DECL): Add documentation.
7783
7784 2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
7785
7786         * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
7787         (sdbout_field_types): Likwise.  Fix use of host_integerp.
7788
7789 2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
7790
7791         * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
7792         cygwin.h.
7793
7794 2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
7795
7796         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
7797         to use flag_gnu_linker.
7798
7799 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
7800
7801         * cpplib.c (T_BAD_DIRECTIVE): Remove.
7802         (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
7803
7804 2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
7805
7806         * tree.c, tree.h (build_parse_node): Remove; was identical to
7807         build_nt.
7808         * c-lang.c (start_cdtor), objc/objc-act.c
7809         (build_module_descriptor): Use build_nt instead of
7810         build_parse_node.
7811
7812 2001-01-29  Jakub Jelinek  <jakub@redhat.com>
7813
7814         * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
7815         (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
7816         not have any upper bits set.
7817
7818 2001-01-29  Phil Edwards  <pme@sources.redhat.com>
7819
7820         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
7821
7822 2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7823
7824         * stmt.c (estimate_case_costs): Use integer_minus_one_node.
7825
7826         * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
7827
7828         * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
7829         (integer_minus_one_node): Define.
7830
7831 2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
7832
7833         * Makefile.in (bootstrap2-lean): Fix typo.
7834
7835 2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
7836
7837         * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
7838         : Don't set fe_value.
7839         * cpplib.h (AVOID_LPASTE): New flag.
7840         (struct cpp_hashnode): Remove fe_value.
7841         * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
7842         * cppmacro.c (builtin_macro): Don't set flags here.
7843         (replace_args): Set AVOID_LPASTE flag on first token of an
7844         argument, and the token following it.
7845         (cpp_get_token): Set AVOID_LPASTE flag on first token of a
7846         macro expansion, and on the token following it.  Do it for
7847         builtins too.
7848         * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
7849
7850 2001-01-27  Richard Henderson  <rth@redhat.com>
7851
7852         * config/alpha/t-ieee: Remove multilibbing.
7853         (TARGET_LIBGCC2_CFLAGS): Add -mieee.
7854
7855 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7856
7857         * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
7858
7859         * Makefile.in: Remove all dependencies on defaults.h.
7860         * builtins.c: Don't include defaults.h.
7861         * c-common.c: Likewise.
7862         * c-decl.c: Likewise.
7863         * c-pragma.c: Likewise.
7864         * c-typeck.c: Likewise.
7865         * combine.c: Likewise.
7866         * i386.c: Likewise.
7867         * frame-ia64.c: Likewise.
7868         * cppexp.c: Likewise.
7869         * crtstuff.c: Likewise.
7870         * dbxout.c: Likewise.
7871         * dwarf2out.c: Likewise.
7872         * dwarfout.c: Likewise.
7873         * emit-rtl.c: Likewise.
7874         * except.c: Likewise.
7875         * expr.c: Likewise.
7876         * final.c: Likewise.
7877         * frame-dwarf2.c: Likewise.
7878         * libgcc2.c: Likewise.
7879         * optabs.c: Likewise.
7880         * profile.c: Likewise.
7881         * sdbout.c: Likewise.
7882         * toplev.c: Likewise.
7883         * tradcif.y: Likewise.
7884         * tree.c: Likewise.
7885         * varasm.c: Likewise.
7886
7887 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7888
7889         * builtins.c (expand_builtin_fputs): Use size_one_node when
7890         transforming into fwrite.
7891
7892 2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
7893
7894         * extend.texi (Attribute Syntax): New section.
7895
7896 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
7897
7898         * fixproto: Correctly install synthesised unistd.h and stdlib.h when
7899         they didn't need fixing.
7900
7901 2001-01-27  Janis Johnson <janis@us.ibm.com>
7902
7903         * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
7904         if appropriate.
7905         * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
7906         to remove macro definitions that are duplicated from elfos.h.
7907
7908 2001-01-27  Richard Henderson  <rth@redhat.com>
7909
7910         * config/i386/sco5gas.h: Move ...
7911         * config/usegas.h: ... here.
7912         * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
7913
7914 2001-01-27  Jakub Jelinek  <jakub@redhat.com>
7915
7916         * c-typeck.c (struct constructor_stack): Add range_stack member.
7917         (really_start_incremental_init): Clear it.
7918         (push_init_level): Save constructor_range_stack and clear it if
7919         pushing explicit braces.
7920         (pop_init_level): abort if constructor_range_stack is non-zero at
7921         explicit closing brace.  Restore saved constructor_range_stack if
7922         not implicit.
7923
7924 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
7925
7926         * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
7927         into register was forced into memory.
7928
7929 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
7930
7931         * Makefile.in: Remove uses of + before $(MAKE).
7932
7933 2001-01-26  Richard Henderson  <rth@redhat.com>
7934
7935         * stmt.c (cost_table): Remove.
7936         (COST_TABLE, cost_table_initialized): New.
7937         (estimate_case_costs): Use the later instead of the former.
7938         (balance_case_nodes): Likewise.
7939
7940 2001-01-26  Richard Henderson  <rth@redhat.com>
7941
7942         * alias.c (objects_must_conflict_p): Read-only slots may not
7943         conflict despite having the same type.
7944
7945 2001-01-27  Michael Hayes  <mhayes@redhat.com>
7946
7947         * loop.c (loop_giv_reduce_benefit): Copy mode size into
7948         int variable.
7949         (check_ext_dependant_givs): Initialise u_start_val and
7950         u_end_val.
7951         (load_mems): Make last_max_reg unsigned.
7952         (try_swap_copy_prop): Use INSN_P and initialise set.
7953
7954 Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
7955
7956         * README.AVR : Removed.
7957
7958 Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
7959
7960         * pa-64.h (text_section): Remove declaration.
7961
7962         * pa.md (return_internal): Remove mode on PIC register use.
7963
7964 2001-01-25  lars brinkhoff  <lars@nocrew.org>
7965
7966         * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
7967         ASM_CLOSE_PAREN): fix typos.
7968
7969 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
7970
7971         * acconfig.h: Define `const' to the empty string if neither
7972         __STDC__ nor __cplusplus is defined.
7973         * config.in: Regenerated.
7974
7975 2001-01-25  David Edelsohn  <edelsohn@gnu.org>
7976
7977         * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
7978         * collect2.c (main): Delete importf.  Add ".obj" file extension.
7979         (GCC_CHECK_HDR): Handle AIX V5 new magic number.
7980         (aix_std_libs): Add additional AIX libraries to skip.
7981         * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
7982         * config/rs6000/aix51.h: New file.
7983
7984 2001-01-25  Michael Hayes  <mhayes@redhat.com>
7985
7986         * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
7987         (loop_insn_emit_before): No longer static.
7988         (move_movables): Replace emit_insn_after with loop_insn_emit_after.
7989         (loop_givs_rescan, load_mems): Likewise.
7990         (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
7991         (maybe_eliminate_biv_1):
7992         (move_movables): Replace emit_call_insn_before with
7993         loop_call_insn_hoist.
7994         * loop.h (loop_insn_emit_before): Add.
7995         * unroll.c (copy_loop_body): Replace emit_insn_before with
7996         loop_insn_emit_before.
7997
7998 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
7999
8000         * diagnostic.c (fatal): Request preprocessed source.
8001
8002 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
8003
8004         * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
8005         olddecl has argument types and newdecl has none, use the argument
8006         types from olddecl.
8007
8008 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
8009
8010         * dwarf2out.c (prefix_of): New function.  Determine longest common
8011         prefix of the two arguments.  The units are whole path components.
8012         (output_file_names): When adding a new directory find the one entry
8013         with the longest common prefix already in the list.  Artificially
8014         generate entry if there is none for this prefix.
8015         Fix test to check whether the zeroth directory entry is used.
8016
8017 Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
8018
8019         * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
8020         Changed all callers.  Take it into account when deciding if a
8021         previously loaded value matches.
8022
8023 2001-01-24  Richard Henderson  <rth@redhat.com>
8024
8025         * reload.c (find_reloads_subreg_address): Fail the substitution
8026         if the resulting address is insufficiently aligned.
8027
8028 2001-01-24  DJ Delorie  <dj@redhat.com>
8029
8030         * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
8031         check the original operand's mode also.
8032         * simplify-rtx.c (simplify_ternary_operation): Ditto.
8033
8034 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
8035
8036         * c-parse.in (cast_expr): Move compound literals from here ...
8037         (primary): ... to here.  Use standard terminology "compound
8038         literal" instead of "constructor expression".
8039
8040 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
8041
8042         * gcc.1, cpp.1: Regenerate.
8043
8044 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
8045
8046         * calls.c (emit_library_call_value_1): Memory slot for
8047         pass-by-reference argument should have the mode of the argument,
8048         not of the pointer to it.
8049
8050 2001-01-24  Tom Tromey  <tromey@redhat.com>
8051
8052         * gcc.texi (G++ and GCC): Mention gcj manual.
8053         (Standards): Link to section of manual mentioning gcj/Java
8054         compatibility.
8055
8056 2001-01-24  Jakub Jelinek  <jakub@redhat.com>
8057
8058         * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
8059         * cppinit.c (cpp_start_read): Remove deps_add_dep call.
8060         * tradcpp.c (main): Add -imacros or -include'd dependencies
8061         for -M*.
8062         * cpp.texi (-M, -MM): Document -M -include behaviour.
8063
8064 2001-01-24  Roger Collins <roger@ProProject.com>
8065
8066         * config/i386/xm-i386.h: Make __i386__ a boolean macro.
8067
8068 2001-01-24  Will Cohen  <wcohen@redhat.com>
8069
8070         * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
8071         whether registers are 32 bits or 64 bits in size.
8072
8073 2001-01-24  Ben Elliston  <bje@redhat.com>
8074
8075         * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
8076
8077 2001-01-24  Richard Henderson  <rth@redhat.com>
8078
8079         * config/alpha/alpha.md (builtin_longjmp_internal): New.
8080         (builtin_longjmp): Use it instead of emit_indirect_jump.
8081
8082 2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8083
8084         * bb-reorder.c (make_reorder_chain_1): Handle case where
8085         jump edge goes to the same block as the fallthru edge.
8086
8087 2001-01-23  Jim Wilson  <wilson@redhat.com>
8088
8089         * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
8090         * frame.h (__ia64_personality_v1): Add prototype.
8091         * libgcc2.c (ia64_throw_helper): Change personality declaration to
8092         prototype form.  Add void * cast to first argument to personality
8093         call.
8094         * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
8095         (asctoe113): Likewise.
8096         * config/ia64/frame-ia64.c: Include eh-common.h.
8097         * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
8098         prototypes.
8099         * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
8100         to dump parameter.
8101         (itanium_split_issue): Add prototype.
8102         (gen_nop_type): Ifdef out.
8103         (find_best_packet): Initialize best_packet.
8104         (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
8105         result.
8106         * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
8107         * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
8108         (flushrs): Add explicit stop bit at end.
8109         * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
8110         trailing \ to >.
8111
8112 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
8113
8114         * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
8115         of EH symbols.
8116         * libgcc2.c (__terminate_func): Make variable static.
8117         (__terminate_set_func): New function to set __terminate_func.
8118         * libgcc2.h (__terminate_func_ptr): New typedef.
8119         (__terminate_set_func): New function.
8120
8121 2001-01-23  Richard Henderson  <rth@redhat.com>
8122
8123         * flow.c (init_propagate_block_info): Don't consider unchanging
8124         memories for dead frame store elimination.
8125
8126 2001-01-23  Richard Henderson  <rth@redhat.com>
8127
8128         * varasm.c (UNIQUE_SECTION): Move default implementation ...
8129         * defaults.h: ... here.
8130
8131 2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8132
8133         * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
8134
8135 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
8136
8137         * c-lex.c (lex_charconst): Fix typo: s/p/str.
8138
8139 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8140
8141         * rs6000.h (rs6000_return_addr): Move prototype from here...
8142         * rs6000-protos.h (rs6000_return_addr): ...to here.
8143         (rs6000_init_expanders): Delete prototype.
8144
8145 2001-01-23  Nick Clifton  <nickc@redhat.com>
8146
8147         * invoke.texi: Replace , with \, inside @gccoptlist macros.
8148         (Spec Files): Document %B and %j and %. and %v3 and %M and
8149         %{S*&T} spec switches.
8150
8151 2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8152
8153         * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
8154
8155 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
8156             Neil Booth  <neil@daikokuya.demon.co.uk>
8157
8158         * cpperror.c: Merge handlers of PEDWARN and WARNING.
8159         Have -Werror make pedantic warnings errors, like the
8160         rest of GCC.
8161
8162 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
8163
8164         * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
8165
8166 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
8167
8168         * integrate.h (struct inline_remap): Add compare_src, compare_mode.
8169         * integrate.c (expand_inline_function): Initialize them.
8170         (subst_constants): If changing COMPARE so that both its arguments
8171         will be VOIDmode and the comparison mode will be lost, note
8172         compare_mode.  Use the recorded compare_mode to optimize
8173         IF_THEN_ELSE.
8174
8175 2001-01-23  Jason Merrill  <jason@redhat.com>
8176
8177         * dwarf2out.c (new_die): Use xcalloc.
8178         (output_die): Abort rather than emit a local reference to offset 0.
8179
8180 2001-01-17  Andrew Haley  <aph@redhat.com>
8181
8182         * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
8183         of a saved register; return NULL instead.
8184         (copy_reg): Take a pointer to a source register rather than a
8185         frame_state.
8186         (next_stack_level): Remember the address in the stack frame of all
8187         saved registers.
8188         Use the saved register pointer array as the source of the CFA.
8189         (throw_helper): Rewrite.  Unwind once rather than twice and keep
8190         track of saved registers as we go.
8191
8192 2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8193
8194         * c4x-protos.h (c4x_legitimize_reload_address): Remove.
8195         * c4x.c (c4x_legitimize_reload_address): Remove.
8196         * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
8197         reload address for ldp(k) insn.
8198
8199 Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
8200
8201         * pa.md (return_internal): Add a USE of the PIC register to ensure
8202         it is restored after each call.
8203         (return expander): Corresponding changes.
8204
8205 2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8206
8207         * rs6000.h (INIT_EXPANDERS): Delete.
8208         (RETURN_ADDR_RTX): Call rs6000_return_addr().
8209         * rs6000.c (rs6000_override_options): Call *_machine_status from
8210         here...
8211         (rs6000_init_expanders): ...instead of here. Delete.
8212         (rs6000_mark_machine_status): New function.
8213         (rs6000_init_machine_status): Use xcalloc.
8214         (rs6000_return_addr): Generate RTX for the return address.
8215         (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
8216         (rs6000_stack_info): Use it.
8217
8218 2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
8219
8220         * gthr-win32.h: Include errno.h to get a declaration for
8221         EINVAL and _mingw.h if the target is mingw32.
8222
8223 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
8224
8225         * cpp.texi: Correct typos.
8226
8227 Mon Jan 22 13:59:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8228
8229         * explow.c (probe_stack_range): Ensure value passed to
8230         stack_check_libfunc is ptr_mode, not Pmode.
8231
8232 Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
8233
8234         * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
8235         case, don't use operand_subword to calculate a SUBREG that is
8236         wider than a word.
8237
8238         * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
8239
8240 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8241
8242         * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
8243         (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
8244         valid.  If not replace it by equivalent insns.
8245
8246 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8247
8248         * c4x.c (c4x_check_legit_addr): Only check CONST.  Not if CONST
8249         contains SYMBOL_REF, LABEL_REF and CONST_INT.
8250         (c4x_U_constraint, symbolic_address_operand): Likewise.
8251         (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
8252         memory.
8253         (c4x_r11_set_p, c4x_check_laj_p): New functions.
8254         * c4x-protos.h (c4x_check_laj_p): Add prototype.
8255         * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
8256         anulling slot because of silicon bug.
8257         (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
8258
8259 2001-01-22  Alan Modra <alan@linuxcare.com.au>
8260
8261         * cppexp.c (parse_charconst):  Change `mask' type to agree
8262         with parse_escape.
8263
8264 2001-01-21  Richard Henderson  <rth@redhat.com>
8265
8266         * config/i386/i386.c (ix86_asm_file_end): Disable putting
8267         pic_label_name in a linkonce section.
8268
8269 2001-01-17  Philipp Thomas  <pthomas@suse.de>
8270
8271         * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
8272         found in libintl.
8273         * configure: Regenerate.
8274
8275 Sun Jan 21 02:38:56 2001  J"orn Rennecke <amylaar@redhat.com>
8276
8277         * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
8278         uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
8279
8280 Sun Jan 21 09:44:17 2001  Denis Chertykov  <denisc@overta.ru>
8281
8282         * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
8283         If REVERSE nonzero then condition code in X must be reversed.
8284         (encode_section_info): Optimise if/else.
8285         (avr_function_value): Fix formatting.
8286
8287         * config/avr/avr.md (branch): Call to ret_cond_branch changed.
8288         (difficult_branch): Likewise.
8289         (rvbranch): Likewise.
8290         (difficult_rvbranch): Likewise.
8291
8292         * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
8293
8294         * config/avr/libgcc.S: Fix comment.
8295
8296 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
8297
8298         * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
8299
8300 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
8301
8302         * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
8303
8304 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
8305
8306         * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
8307         * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
8308         * configure, config.in: Regenerate.
8309         * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
8310         (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
8311         (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
8312         (doprint.o): New rule.
8313
8314 2001-01-20  Joseph S. Myers  <jsm28@cam.ac.uk>
8315
8316         * c-typeck.c (digest_init): Handle boolean types as scalars.
8317
8318 Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8319
8320         * stmt.c (expand_return): Don't return anything if size is zero.
8321         Delete redundant assignment to BYTES.
8322         * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
8323
8324 2001-01-20  Marek Michalkiewicz  <marekm@linux.org.pl>
8325
8326         * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
8327         the same as the default library function names.
8328         * config/avr/avr.md: Document special characters after '%'.
8329         (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
8330         knowing which of the call-used registers are really clobbered.
8331         (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
8332         New.  Both quotient and remainder from one libgcc.S call.
8333         * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
8334         clobber as few registers as possible.
8335         * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
8336
8337 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
8338
8339         * cppmacro.c (funlike_invocation_p): Don't move back up to the
8340         context of the top of the stack.
8341
8342 2001-01-20  Jakub Jelinek  <jakub@redhat.com>
8343
8344         * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
8345         (fixup_var_refs_insns): ...here.
8346
8347 2001-01-20  Zack Weinberg  <zack@wolery.stanford.edu>
8348
8349         * function.c (fixup_var_refs_insns): Break up into
8350         fixup_var_refs_insn [body of loop], fixup_var_refs_insns
8351         [loop over entire insn list], and fixup_var_refs_insns_with_hash
8352         [loop over hash table entries].
8353         (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
8354         fixup_var_refs_insns_with_hash, to match above changes.
8355
8356 2001-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8357
8358         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
8359         (libgcc.a): Likewise.
8360         (stmp-multilib): Likewise.
8361         (STAGE2_FLAGS_TO_PASS): Likewise.
8362
8363 2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
8364
8365         * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
8366         temporary if no_new_pseudos.
8367
8368 2001-01-19  Neil Booth  <neil@daikokuya.demon.co.uk>
8369
8370         * cppinternals.texi: Update.
8371
8372 2001-01-19  Richard Earnshaw  <rearnsha@arm.com>
8373
8374         * arm.c (arm_init_builtins): Re-enable builtins.
8375
8376 Fri Jan 19 13:02:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8377
8378         * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
8379         * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
8380         element to be null, and always expect an EXPR_LIST.
8381         * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
8382         * sched-deps.c (sched_analyze_1): Likewise.
8383         * sched-rgn.c (check_live_1, update_live_1): Likewise.
8384
8385         * regclass.c (max_set_parallel): New variable.
8386         (reg_scan): Take it into account in computation of max_parallel.
8387         (reg_scan_mark_refs, case SET): Compute it.
8388
8389         * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
8390         args are REG.
8391         * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
8392         * function.c (assign_parms): Use INTVAL for a CONST_INT.
8393
8394 2001-01-19  Jason Merrill  <jason@redhat.com>
8395
8396         * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
8397         for the abstract instance of an inline function.
8398
8399 Fri Jan 19 14:31:35 2001  Alexandre Oliva  <aoliva@redhat.com>
8400                           J"orn Rennecke <amylaar@redhat.com>
8401
8402         * reload1.c (move2add_note_store): Treat all registers directly or
8403         indirectly derived from a base register as members of the same set
8404         of values.
8405         (reload_cse_move2add): Adjust accordingly.  Take mode and offset
8406         of base register into account.
8407
8408 Fri Jan 19 09:18:42 2001  J"orn Rennecke <amylaar@redhat.com>
8409
8410         * alias.c (find_base_value): Recognize TRUNCATE.
8411         (record_set): In PLUS case, invalidate if other summand is also a
8412         base value.
8413
8414 Thu Jan 18 06:43:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8415
8416         * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
8417         entry to be EXPR_LIST.
8418         * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
8419         be an EXPR_LIST (but not null, which other code doesn't allow).
8420         (note_stores): Properly handle PARALLEL in SET.
8421         Recursively call for top-level PARALLEL.
8422         * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
8423         * sched-rgn.c (check_live_1, update_live_1): Likewise.
8424
8425         * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
8426
8427 2001-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
8428
8429         * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
8430         not pfile->skipping (== 0).
8431
8432 2001-01-17  Nick Clifton  <nickc@redhat.com>
8433
8434         * config/rs6000/rs6000.c: Add prototypes for {init|free}_
8435         machine_status.
8436
8437 2001-01-17  Jim Wilson  <wilson@redhat.com>
8438
8439         * invoke.texi (IA-64 options): Improve.
8440
8441 2001-01-17  Tom Tromey  <tromey@redhat.com>
8442
8443         * invoke.texi (Optimize Options): Use `{}' to around @samp
8444         argument.
8445
8446 2001-01-17  Aldy Hernandez  <aldyh@redhat.com>
8447
8448         * invoke.texi (-fno-guess-branch-probability): New option.
8449
8450 Wed Jan 17 13:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8451
8452         * combine.c (try_combine): Don't set i3_subst_into_i2 for
8453         case of making new double-word constant.
8454         Revert last change: instead just test i3_subst_into_i2.
8455
8456 2001-01-17  Jakub Jelinek  <jakub@redhat.com>
8457
8458         * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
8459         Use q constraints instead of r.
8460
8461 Tue Jan 16 22:23:04 2001  Alan Modra (alan@linuxcare.com.au)
8462
8463         * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
8464         (machine_function): Define.
8465         (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
8466         * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
8467         pa_free_machine_status): New functions.
8468         (override_options): Set {init,mark,free}_machine_status to above.
8469         (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
8470         PIC_OFFSET_TABLE_REGNUM_SAVED.
8471         * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
8472         PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
8473         * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
8474         references to PIC_OFFSET_TABLE_REGNUM_SAVED.
8475         * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
8476
8477 2001-01-15  DJ Delorie  <dj@redhat.com>
8478
8479         * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
8480         (cpp.1): Ditto.
8481         (gcc.1): Ditto.
8482
8483 Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8484
8485         * flow.c (propagate_on_insn): Make trying to delete a prologue
8486         or epilogue insn an ICE, not a warning.  Allow doing this if
8487         the current function returns with stack pointer depressed.
8488
8489         * combine.c (try_combine): If i3_subst_into_i2, properly check for
8490         I3 having more than one SET.
8491
8492 2001-01-16  Jim Wilson  <wilson@redhat.com>
8493
8494         * invoke.texi: Document IA-64 options.
8495
8496         * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
8497         (fixup_errata): Delete TARGET_A_STEP use.
8498         * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
8499         (TARGET_SWITCHES): Delete -ma-step option.
8500         * config/ia64/ia64.md (all FP patterns): Delete %B0.
8501         (movqicc_astep, movqi_internal_astep, movhicc_astep,
8502         movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
8503         movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
8504         movdfcc_astep, movdf_internal_astep, movtfcc_astep,
8505         movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
8506         Delete.
8507         (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
8508         movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
8509         cmovsi_internal): Delete ! TARGET_A_STEP check.
8510
8511 2001-01-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8512
8513         * gcc.texi (Bug Lists): Do not mention newsgroups nor the
8514         possibility to report bugs via postal mail. Change a URL and
8515         merge in a nearly duplicate statement...
8516         (Bug Reporting): ...from here.
8517         (Service): Refer to the Bug Reporting section instead of
8518         duplicating an URL.
8519         (Contributing): Remove trivial explanations concerning snapshots.
8520
8521 2001-01-16  Alan Modra <alan@linuxcare.com.au>
8522
8523         * cppmain.c (general_init): Don't use ANSI prototype.
8524
8525 2001-01-16  Tom Tromey  <tromey@redhat.com>
8526
8527         * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
8528
8529 2001-01-16  Richard Henderson  <rth@redhat.com>
8530
8531         * config/i386/i386.h: Fix comment typo.
8532         * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
8533         (ashr+compare patterns): Match CCGOCmode not CCNOmode.
8534
8535 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
8536
8537         * gcc.c:  Revert previous -fsyntax-only-related change; move
8538         to cp/g++spec.c.
8539
8540 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
8541
8542         * config/i386/i386.c (fcmov_comparison_operator): Only initialize
8543         inmode after checking GET_CODE (op).
8544
8545 2001-01-16  Richard Henderson  <rth@redhat.com>
8546
8547         * flow.c (struct propagate_block_info): Add mem_set_list_len.
8548         (MAX_MEM_SET_LIST_LEN): New.
8549         (propagate_one_insn): Update mem_set_list_len.
8550         (invalidate_mems_from_autoinc): Likewise.
8551         (invalidate_mems_from_set): Likewise.
8552         (mark_used_regs): Likewise.
8553         (init_propagate_block_info): Likewise.  Stop collecting memories
8554         when we reach MAX_MEM_SET_LIST_LEN.
8555         (mark_set_1): Likewise.
8556
8557 2001-01-16  Richard Henderson  <rth@redhat.com>
8558
8559         * unroll.c (precondition_loop_p): Fail if no iteration
8560         variable found.
8561
8562 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
8563
8564         * gcc.c:  When -fsyntax-only is given, do not complain about
8565         unused libraries.
8566
8567 2001-01-15  Richard Henderson  <rth@redhat.com>
8568
8569         * config/i386/i386.c (asm_output_function_prefix): Remove.
8570         (ix86_asm_file_end): New.
8571         (load_pic_register): Generate pic_label_name into a
8572         staticly allocated buffer.
8573         * config/i386/i386-protos.h: Update.
8574         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
8575         (ASM_FILE_END): New.
8576         * config/i386/i386afe.h: New file.
8577         * config.gcc (i?86-*-elf) [tm_file]: Use it.
8578         (i?86-*-{freebsd,linux*,moss*}): Likewise.
8579         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
8580         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
8581         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
8582         * config/i386/sco5.h (ASM_FILE_END): Likewise.
8583         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
8584
8585 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
8586
8587         * Makefile.in (install-man): Remove explicit dependency on
8588         $(srcdir)/gcc.1.
8589
8590         * configure.in, configure: Revert previous patch requiring perl
8591         5.6.0.
8592
8593 2001-01-12  Aldy Hernandez  <aldyh@redhat.com>
8594
8595         * toplev.c (flag_guess_branch_prob): New.
8596         (f_options): Add guess-branch-probability option.
8597         (rest_of_decl_compilation): Only estimate branch probability if
8598         flag set.
8599         (main): set flag_guess_branch_prob.
8600
8601         * flags.h (flag_guess_branch_prob): New.
8602
8603 2001-01-15  DJ Delorie  <dj@redhat.com>
8604
8605         * gcc.texi (Makefile): Add documentation for Makefile targets.
8606
8607 2001-01-15  Philip Blundell  <philb@gnu.org>
8608
8609         * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
8610         (is_pic): Delete.
8611         * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
8612         (is_pic): Delete declaration.
8613         * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
8614         (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
8615         * config/arm/arm.md (builtin_setjmp_receiver): New.
8616
8617 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
8618
8619         * arm.c (use_return_insn): Don't try to determine the function type
8620         until after reload has completed.
8621         (arm_output_epilogue): Don't adjust the sp value recovered from the
8622         stack.
8623         (emit_multi_reg_push): Don't record dwarf information for the pc.
8624         * arm.md (eh_epilogue): The function type may have changed, so it
8625         needs to be recalculated.
8626         * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete.  Can now use dwarf2
8627         unwind tables on arm/netbsd.
8628
8629 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
8630
8631         * arm.md (cbranchsi4): Correct calculation of branch ranges.
8632         (negated_cbranchsi4): Likewise.
8633
8634 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
8635
8636         * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
8637         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
8638         (ASM_SPEC): Call subtarget_extra_asm_spec.  Don't
8639         pass -mapcs-* options to assembler.
8640         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
8641         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
8642         (ASM_SPEC): Call subtarget_extra_asm_spec.
8643
8644 2001-01-15  Andreas Jaeger  <aj@suse.de>
8645
8646         * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
8647         warnings.
8648         (ix86_expand_builtin): Likewise.
8649
8650         * gencodes.c (output_predicate_decls): Make i size_t to avoid
8651         warning about comparison between signed and unsigned.
8652
8653 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
8654
8655         * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
8656
8657 2001-01-14  Ralf Baechle <ralf@gnu.org>
8658
8659         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
8660         SUBTARGET_CPP_SPEC apropriatly.
8661
8662 2001-01-12  Mark Mitchell  <mark@codesourcery.com>
8663
8664         * varasm.c (make_decl_rtl): Fix typo in last change.
8665
8666 2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>
8667
8668         * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
8669         linker supports the init_priority C++ attribute.
8670         * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
8671         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
8672         linker does not support init_priority C++ attribute.
8673
8674 Sun Jan 14 22:31:30 2001  J"orn Rennecke <amylaar@redhat.com>
8675
8676         * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
8677
8678 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8679
8680         * c-parse.in (finish_parse): Add comment about cpp_destroy.
8681         * cp/lex.c (finish_parse): Similarly.
8682         * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
8683         Return the number of errors encountered.
8684         * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
8685         * cppmain.c (main): Don't call cpp_destroy.
8686
8687 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
8688
8689         * configure.in: Require at least perl 5.6.0 to regenerate
8690         manpages.
8691         * configure: Regenerate.
8692
8693 2001-01-14  Richard Henderson  <rth@redhat.com>
8694
8695         * genrecog.c (DT_veclen_ge): New.
8696         (add_to_sequence) [MATCH_PARALLEL]: Generate one.
8697         (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
8698         (nodes_identical_1): Handle DT_veclen_ge.
8699         (write_cond, debug_decision_2): Likewise.
8700
8701 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
8702
8703         * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
8704         with ...
8705         (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
8706
8707 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8708
8709         * cppmain.c (do_preprocessing): New function; most of the old
8710         main.
8711         (main): Call it to do most of the work.
8712         (cb): Move from global scope to set_callbacks ().
8713         (setup_callbacks): Get the callback pointer.
8714         (general_init, printer_init): Clean up code and comments.
8715
8716 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
8717
8718         * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
8719         compiling PIC.
8720
8721 2001-01-14  Kazu Hirata  <kazu@hxi.com>
8722
8723         * config/h8300/h8300.c (get_shift_alg): Update comments.
8724
8725 Sun Jan 14 06:20:49 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8726
8727         * ggc-page.c (alloc_annon): Call perror and correctly call exit.
8728         (alloc_page, ggc_alloc): Add casts to remove warnings.
8729
8730 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
8731
8732         * combine.c (simplify_comparison): Don't change `code' when
8733         can't reverse comparison.
8734
8735 2001-01-14  Richard Henderson  <rth@redhat.com>
8736
8737         * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
8738         update all call sites.  Return true for all non-label constants.
8739
8740 Sun Jan 14 10:09:48 MET 2001  Jan hubicka  <jh@suse.cz>
8741
8742         * i386.c (ix86_expand_compare): Add bypass_test and second_test
8743         parameters.
8744         (ix86_expand_branch): Update.
8745         (ix86_expand_setcc): Update to handle multiple test conditions.
8746         (expand_int_movcc): Likewise.
8747         (expand_fp_movcc): Likewise.
8748         * i386-protos.h (ix86_expand_compare): New.
8749         * i386.md (andqi_?_slp, orqi_?_slp): New.
8750         (conditional trap expander): Update call to ix86_expand_compare.
8751
8752 2001-01-14  Richard Henderson  <rth@redhat.com>
8753
8754         * config/vax/vax.md: Use nonimmediate_operand instead of
8755         general_operand in destinations.
8756
8757         * config/vax/vax.md (indirect_jump): Use register_operand.
8758
8759         * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
8760         * config/vax/vax.md (call_pop): Turn into an expander.
8761         (call_value_pop): Likewise.
8762         (call, call_value): New.
8763
8764 2001-01-14  Andreas Jaeger  <aj@suse.de>
8765
8766         * config/i386/i386.c (ix86_split_fp_branch): Remove unused
8767         variables.
8768         (ix86_fp_compare_mode): Add unused attribute.
8769         (ix86_expand_fp_movcc): Remove unused variable.
8770         (ix86_expand_builtin): Make fcode unsigned.
8771
8772         * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
8773         (expand_expr): Add cast to avoid signed warning.
8774         (store_field): Likewise.
8775         (store_constructor_field): Likewise.
8776         (store_constructor): Likewise.
8777         (store_expr): Likewise.
8778         (clear_storage): Likewise.
8779         (emit_group_store): Likewise.
8780         (emit_group_load): Likewise.
8781
8782 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
8783
8784         * c-common.c: Move format checking code to ...
8785         * c-format.c: ... here.  New file.  Reorder some functions and
8786         declarations.
8787         (decl_handle_format_attribute, decl_handle_format_arg_attribute):
8788         New functions.
8789         * c-common.h (decl_handle_format_attribute,
8790         decl_handle_format_arg_attribute): Declare.
8791         * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
8792         (c-common.o): Adjust dependencies.
8793         (c-format.o): New list of dependencies.
8794
8795 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
8796
8797         * unroll.c (loop_iterations): If we cannot prove iteration variable
8798         is set once in each iteration, punt.
8799
8800 Sun Jan 14 00:23:15 2001  Denis Chertykov  <denisc@overta.ru>
8801
8802         * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
8803         (*strlenhi): Remove clobber (which was buggy) of output address.
8804
8805 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
8806
8807         * Makefile.in (generated-manpages): Add gcc.1
8808         ($(srcdir)/gcc.1): New target.
8809         (maintainer-clean): Delete $(srcdir)/gcc.1.
8810         * gcc.texi: Add macros @gccoptlist and @gol.
8811         * invoke.texi: Include option summary in manpage.  Mark up option
8812         summary with @gccoptlist and @gol.  Use @r in one place where
8813         appropriate.
8814         * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
8815         * gcc.1: Generate from invoke.texi.
8816
8817 2001-01-13  Richard Henderson  <rth@redhat.com>
8818
8819         * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
8820         (struct page_entry): Add group member.
8821         (struct page_group): New.
8822         (struct globals): Add page_groups member.
8823         (alloc_anon): Only define for using mmap; remove valloc call.
8824         (page_group_index): New.
8825         (set_page_group_in_use): New.
8826         (clear_page_group_in_use): New.
8827         (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
8828         (free_page, release_pages): Likewise.
8829         * configure.in (with-gc): Default to ggc-page always.
8830
8831 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
8832
8833         * reload1.c (replace_pseudos_in_call_usage): Use
8834         reg_equiv_constant and reg_equiv_address, and don't try
8835         regno_reg_rtx first.
8836
8837 2001-01-13  Richard Henderson  <rth@redhat.com>
8838
8839         * ggc-page.c (alloc_page): Round up allocation size to one page.
8840         Set e->order on extra pages.
8841
8842 2001-01-13  Richard Henderson  <rth@redhat.com>
8843
8844         * genrecog.c (nodes_identical): Expand commentary.
8845         (write_switch): Watch out for identical nodes.
8846
8847 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8848
8849         * cppfiles.c (_cpp_fake_include): New function.
8850         * cpphash.h (_cpp_fake_include): New.
8851         * cpplib.c (do_line): Call _cpp_fake_include when entering
8852         header files in preprocessed input.
8853         * cppmain.c (cb_pragma_implementation): Remove handling.
8854         (setup_callbacks): Don't register pragmas.
8855
8856 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8857
8858         * extend.texi: Udate for CPP.
8859
8860 2001-01-13  Andreas Jaeger  <aj@suse.de>
8861
8862         * reload1.c: Add prototype for replace_pseudos_in_call_usage.
8863
8864         * regmove.c: Add prototype for replace_in_call_usage.
8865
8866 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8867
8868         * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
8869         struct cpp_chunk, struct htab, struct toklist,
8870         struct cpp_context, CPP_STACK_MAX, struct lexer_state,
8871         struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
8872         CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
8873         ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
8874         (struct macro_args): Delete.
8875         * cpphash.h: See above.
8876
8877 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8878
8879         * cppmain.c (struct printer): Remove no_line_dirs.
8880         (options, cb): New.
8881         (main, setup_callbacks, scan_buffer, printer_init, cb_define)
8882         : Use options rather than CPP_OPTION.
8883         (setup_callbacks): Use cb rather than pfile->cb.
8884         (main): No need to check for a buffer.  Use cpp_errors.
8885         (printer_init): Don't set no_line_dirs.
8886         (maybe_print_line): Use options not no_line_dirs.
8887         (cb_file_change): Don't call print_line if -P.
8888
8889 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8890
8891         * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
8892         callbacks.
8893         * c-parse.in (finish_parse): Use cpp_errors.
8894         (__yylex): Use return value of cpp_pop_buffer.
8895         * cp/lex.c (finish_parse): Use cpp_errors.
8896         * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
8897
8898 Sat Jan 13 16:57:40 2001  Denis Chertykov  <denisc@overta.ru>
8899
8900         * README.AVR: URLs corrected.
8901
8902 Sat Jan 13 07:30:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8903
8904         * c-decl.c (start_function): Don't warn if old prototype is builtin
8905         that's not in C's namespace.
8906         * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
8907         (_bb): Add prototype for ctime.
8908         * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
8909
8910 Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
8911
8912         * i386.c (ix86_fp_comparison_arithmetics_cost,
8913         ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
8914         ix86_fp_comparison_cost): New functions.
8915         (ix86_expand_fp_compare): Use the costs to choose best bethod; add
8916         two new parameters SECOND_TEST and BYPASS_TEST; allow generating
8917         two-branch sequences; make static.
8918         (ix86_use_fcomi_compare): Do decision according to the costs.
8919         (split_fp_branch): New.
8920         * i386.md (compare-and-branch patterns): Use split_fp_branch.
8921         * i386-protos.h (ix86_expand_fp_compare): Remove
8922         (ix86_split_fp_branch): Declare.
8923
8924         * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
8925         and ix86_comparison_operator.
8926
8927         * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
8928         to make it cheaper.
8929
8930         * i386.c (put_condition_code): Output properly the unordered/ordered
8931         compares in fp case.
8932         (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
8933
8934         * tm.texi (REVERSE_CONDITION): Document.
8935         * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
8936         in -ffast-math mode.
8937         * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
8938
8939 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
8940
8941         * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
8942
8943         * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
8944         optimized away.
8945
8946         * config/sh/sh.c (mova_p): Fix test for mova_const.
8947
8948 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8949
8950         * fix-header.c (read_scan_file): Use cpp_get_callbacks and
8951         cpp_get_options rather than dereferencing pfile and using
8952         CPP_OPTION.
8953         * scan-decls.c (scan_decls): Use return value of
8954         cpp_pop_buffer rather than CPP_BUFFER.
8955
8956 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8957
8958         * cppinit.c (cpp_handle_option): help_only is now part of the
8959         cpp_options structure.
8960         * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
8961         cpp_set_callbacks): New functions.
8962         * cpplib.h (cpp_callbacks): Break out as a named structure.
8963         (cpp_options): Move help_only here from cpp_reader.
8964         (CPP_FATAL_ERRORS): Update to use cpp_errors.
8965         (cpp_errors, cpp_get_options, cpp_get_callbacks,
8966         cpp_set_callbacks): New prototypes.
8967         * cppmain.c (main): Update for help_only.
8968
8969 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
8970
8971         * Makefile.in (info, maintainer-clean, install-info, uninstall):
8972         Also build and remove and install and uninstall c-tree.info and
8973         cppinternals.info.
8974         ($(srcdir)/gcc.info): Add dependency on contrib.texi.
8975         ($(srcdir)/cppinternals.info): New target.
8976         * c-tree.texi: Change file name used when makeinfo used without -o
8977         from ir.info to c-tree.info.  Add info directory entry.
8978         * cppinternals.texi: Add info directory entry.
8979         * .cvsignore: Update.
8980
8981 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
8982
8983         * c-typeck.c (store_init_value): Don't require constant initializer
8984         elements with -pedantic -std=c99.
8985         (digest_init): Change error about non-constant initializer elements
8986         into pedwarn.
8987         (constructor_range_end): Remove.
8988         (constructor_incremental, designator_depth,
8989         designator_errorneous): New variables.
8990         (struct constructor_stack): Remove range_end, add incremental.
8991         (struct constructor_range_stack, constructor_range_stack): New.
8992         (struct initializer_stack): Add constructor_range_stack.
8993         (finish_init): Set it.
8994         (start_init): Likewise.  require_constant_elements for non-static
8995         trees only if not flag_isoc99.
8996         (really_start_incremental_init): Remove constructor_range_end, add
8997         constructor_incremental.
8998         (pop_init_level): Likewise.
8999         (push_init_level): Likewise.  If implicit and the subobject had some
9000         value set already, preinitialize the level with it.
9001         Warn about missing braces only if not pushing due to designators.
9002         (set_designator, push_range_stack): New functions.
9003         (set_init_label): Use them.
9004         (set_init_index): Likewise.  Remove constructor_range_end.
9005         Error if designator index is outside of array bounds.
9006         (add_pending_init): Compare values of purpose index trees, not the
9007         trees themselves.  Allow overwriting of already initialized element.
9008         Issue a warning if it had side-effects.
9009         (set_nonincremental_init, set_nonincremental_init_from_string): New
9010         functions.
9011         (pending_init_member): Rename to...
9012         (find_init_member): ...this function.  Call set_nonincremental_init
9013         if necessary.  Compare values of purpose index trees, not the trees
9014         themselves.  Return the actual value, not just non-zero if something
9015         is found.
9016         (output_init_element): Remove checks for duplicates.
9017         If field has zero size, only check the initializer for correctness.
9018         Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
9019         if constructor_incremental is zero.  Change error about initializers
9020         not computable at load time into pedwarn.
9021         (output_pending_init_elements): Compare bit positions, not
9022         FIELD_DECLs to take into account zero-sized fields.
9023         (process_init_element): Use constructor_range_stack to fill all
9024         ranges in the designator lists from current level up.
9025         * extend.texi: Update documentation for labeled elements.
9026
9027 2001-01-12  Alexandre Oliva  <aoliva@redhat.com>
9028
9029         * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
9030         to function usage for arguments passed by reference.  Optimize
9031         callee-copied arguments.
9032         * regmove.c (replace_in_call_usage): New function.
9033         (fixup_match_1): Call it.
9034         * cse.c (cse_insn): Canonicalize registers in function usage.
9035         * reload1.c (replace_pseudos_in_call_usage): New function.
9036         (reload): Call it.
9037
9038         * Makefile.in: Reverted yesterday's wrong patch.  Installed the
9039         right version.
9040
9041 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
9042
9043         * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
9044         not XEXP (tmp, 0).
9045
9046 2001-01-12  DJ Delorie  <dj@redhat.com>
9047
9048         * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
9049         restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
9050         targets.
9051
9052 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
9053
9054         * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
9055         tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
9056         -std options alongside references to -ansi.  Update some
9057         documentation for C99.
9058         * cpp.1: Regenerate.
9059
9060 2001-01-12  Andreas Jaeger  <aj@suse.de>
9061
9062         * haifa-sched.c (restore_line_notes): Remove argument block B
9063         since it's unused.
9064         * sched-ebb.c (schedule_ebb): Change caller.
9065         * sched-rgn.c (schedule_region): Likewise.
9066         * sched-int.h (restore_line_notes): Adjust prototype.
9067
9068         * loop.h: Remove wrong declaration of doloop_condition_get.
9069
9070 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
9071
9072         * extend.texi:  Move C++-extension-related node from the C section
9073         into the C++ section.
9074
9075 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
9076
9077         * extend.texi: Refer to an array of pointers to functions instead
9078         of one of functions.
9079
9080 Fri Jan 12 12:08:12 MET 2001  Andreas Jaeger  <aj@suse.de>
9081                               Jan Hubicka  <jh@suse.cz>
9082
9083         * combine.c (reversed_comparison): Fix typo in last patch.
9084         Check X for NULL.
9085         (combine_reversed_comparison_code): Make static to follow
9086         prototype declaration.
9087
9088 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
9089
9090         * install.texi:  Remove misplaced duplicate entry.
9091
9092 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
9093
9094         * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
9095
9096 Thu Jan 11 17:06:30 EST 2001  John Wehle  (john@feith.com)
9097
9098         * final.c: (leaf_function_p): Fix typo.
9099
9100 2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>
9101
9102         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
9103         Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
9104         which you have.
9105         (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
9106         * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
9107         mmap_anon, and valloc is available.
9108         * ggc-page.c: Restructure ifdef logic to match new autoconf
9109         spec.  Don't throw away the test page in init_ggc.
9110
9111         * configure, config.in: Regenerate.
9112
9113 2001-01-12  Michael Hayes  <mhayes@redhat.com>
9114
9115         * loop.h (total_biv_increment): Constify iv_class pointer.
9116         (struct induction): Replace `mem_mode' with `mem' rtx.
9117         * unroll.c (total_biv_increment): Constify iv_class pointer.
9118         * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
9119         (find_mem_givs, combine_givs_p): Likewise.
9120         (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
9121
9122 2001-01-10  Thomas Pfaff <tpfaff@gmx.net>
9123
9124         * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
9125         LastError.
9126         (__gthread_getspecific): Ditto.
9127
9128 Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
9129
9130         * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
9131         put_condition_code): Convert fp comparison codes to integer
9132         before handling.
9133         (ix86_expand_fp_compare): Postnote the fp comparison code converison
9134         to final.
9135
9136         * i386.c (unsigned_comparison, no_comparison_operator): Kill.
9137         * i386-protos.h (no_comparison_operator): Kill.
9138
9139         * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
9140
9141         * combine.c (REVERSIBLE_CC_MODE): Remove.
9142         (reversible_comparison_p): Remove.
9143         (combine_reversed_comparison_code): New.
9144         (reversed_comparison): New.
9145         (combine_simplify_rtx): Use
9146         combine_reversed_comparison_code/reversed_comparison instead
9147         of reversible_comparison_p.
9148         (simplify_if_then_else): Likewise.
9149         (simplify_set): Likewise.
9150         (simplify_logical): Likewise.
9151         (if_then_else_cond): Likewise.
9152         (known_cond): Likewise.
9153         (simplify_comparison): Likewise.
9154
9155 2001-01-11  Alan Lehotsky  <lehotsky@tiac.net>
9156
9157         * builtins.c (std_expand_builtin_va_start): Handle varargs when
9158         sizeof (int) is larger than sizeof(__word__).
9159
9160 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9161
9162         * cppinit.c (do_includes): Fix typo.
9163
9164 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9165
9166         * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
9167         in S_REGS does not occur because not all sources are possible
9168         when a S_REGS is a destination (sometimes needs a clobber).
9169         (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
9170         (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
9171         (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
9172         (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
9173         (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
9174         (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
9175         (lshrdi_const1, lshrsi3_const16): Likewise.
9176         (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
9177         (*movhi_68hc12, *movqi_68hc12): Likewise.
9178         (movstrictqi): Make sure reloading in D_REGS as a destination
9179         does not happen.
9180
9181 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9182
9183         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
9184
9185 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9186
9187         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
9188         -D, -U and -A, and don't initialize the builtins.
9189         (do_includes): Error if -include or -imacros with -fpreprocessed.
9190         * cppmain.c (cb_define, cb_undef): Unconditionally process
9191         the callback.
9192         * tradcpp.c (main): Fix typo.
9193
9194 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
9195
9196         * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
9197         (read_name_map): Use IS_ABSOLUTE_PATH.
9198         * tradcpp.c (get_filename): Likewise.
9199
9200 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9201
9202         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
9203         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
9204         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
9205         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
9206         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
9207         (cmphi_z_used): Don't use '@' for the output.
9208         (tstqi_z_used): Likewise.
9209         (cmpqi_z_used): Likewise.
9210         (one_cmplsi2): Likewise.
9211
9212 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
9213
9214         * config/sh/sh.c (barrier_align): Recognize branch around far
9215         branch and redundant insn.
9216
9217 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9218
9219         * invoke.texi: Restore documentation of the drivers' switches -MD
9220         and -MMD.
9221
9222 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
9223
9224         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
9225
9226         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
9227         check-objc//%): Support parallel testing of multilibs.
9228         (TESTSUITEDIR): Set to testsuite by default, but override for
9229         parallel testing.
9230         (check-gcc, check-g++, check-g77, check-objc): Enter
9231         $(TESTSUITEDIR).
9232
9233 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
9234
9235         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
9236         * sched-deps.c (deps_may_trap_p): Likewise.
9237         * basic-block.h: Remove a comment.
9238         * flow.c (PROP_POSTRELOAD): Remove.
9239         (update_life_info): Don't add it to prop_flags.
9240         (mark_set_1): Lose the code that was enabled by it.
9241
9242 2001-01-11  Michael Hayes  <mhayes@redhat.com>
9243
9244         * flow.c (flow_call_edges_add): New.
9245         * basic_block.h (flow_call_edges_add): New.
9246
9247 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
9248
9249         * reload1.c (move2add_note_store): Update reg_set_luid even if
9250         base reg remains the same.
9251
9252 2001-01-10  Nick Clifton  <nickc@redhat.com>
9253
9254         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
9255         machine_function structure to zero.
9256         Add prototypes for machine_status functions.
9257
9258 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
9259
9260         * c-common.h (CTI_VOID_LIST): Remove.
9261         (void_list_node): Likewise.
9262         * tree.h (TI_VOID_LIST_NODE): New enumeral.
9263         (void_list_node): New macro.
9264         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
9265         * config/i386/i386.c (ix86_init_builtins): Likewise.
9266         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
9267
9268 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
9269
9270         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
9271         * cppinit.c (cpp_start_read): Update comment, remove unneeded
9272         if statement.
9273         * tradcpp.c: Include mkdeps.h.
9274         (deps, print_deps_phony_targets, deps_append, output_deps,
9275         init_dependency_output, output_deps): New.
9276         (deps_buffer, deps_allocated_size, deps_size, deps_column,
9277         deps_output): Delete.
9278         (print_deps_missing_files): Rename deps_missing_files.
9279         (inhibit_output): Make global.
9280         (main): Delete inhibit_output, deps_stream, deps_target.
9281         Use mkdeps functionality in the same way as cpplib.  Remove
9282         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
9283         -M and -MM.  Remove old handling of deps via deps_out, and
9284         old reading of environment variables.
9285         (get_filename): Update to use deps_add_dep.
9286
9287 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
9288
9289         * output.h (make_function_rtl): Remove prototype.
9290         (make_decl_rtl): Likewise.
9291         * varasm.c (make_function_rtl): Remove.
9292         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
9293         than from a third parameter.
9294         * tree.h (make_decl_rtl): Remove last parameter.
9295         * c-decl.c (builtin_function): Remove last argument in call to
9296         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
9297         (start_function): Likewise.
9298         * except.c (call_get_eh_context): Likewise.
9299         * expr.c (emit_block_move): Likewise.
9300         (clear_storage): Likewise.
9301         * profile.c (output_func_start_profiler): Likewise.
9302         * toplev.c (rest_of_decl_compilation): Likewise.
9303         * objc/objc-act.c (create_builtin_decl): Likewise.
9304         (synth_module_prologue): Likewise.
9305         (generate_static_reference): Likewise.
9306         (build_selector_reference_decl): Likewise.
9307         (build_class_reference_decl): Likewise.
9308         (build_objc_string_decl): Likewise.
9309         (build_protocol_reference): Likewise.
9310
9311 2001-01-10  Richard Henderson  <rth@redhat.com>
9312
9313         * hwint.h: Revert yesterday's change.
9314
9315 2001-01-10  Nick Clifton  <nickc@redhat.com>
9316
9317         * function.h (save_machine_status): Delete.
9318         (restore_machine_status): Delete.
9319         Amend comment describing {init|mark|free}_machine_status.
9320
9321         * function.c (save_machine_status): Delete.
9322         (restore_machine_status): Delete.
9323         Amend comment describing {init|mark|free}_machine_status.
9324         (push_function_context_to): Remove invocation of
9325         save_machine_status.
9326         (pop_function_context_from): Remove invocation of
9327         restore_machine_status.
9328
9329         * emit-rtl.c (init_emit_once): Amend comment describing
9330         {init|mark|free}_machine_status.
9331
9332         * tm.texi (Per-Function Data): New node.  Describe the
9333         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
9334         function pointers.
9335
9336 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
9337
9338         * cppinit.c (OPT_g): Remove.
9339         (cpp_handle_option): Update for removed -g3.
9340         (print_help): Update.
9341         * cpplib.h (struct cpp_options): Remove debug_output.
9342         * cppmain.c (setup_callbacks, cb_define): Update.
9343         * gcc.c (cpp_options): Translate -g3 to -dD.
9344
9345 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
9346
9347         * config/i960/i960.md: Change modifier to + on the zero_extract
9348         pattern after the (rotate -2 reg) canonicalization pattern.
9349
9350 2001-01-10  Richard Henderson  <rth@redhat.com>
9351
9352         * config/alpha/alpha.c (alpha_free_machine_status): New.
9353         (override_options): Install it.
9354         (alpha_mark_machine_status): Verify machine non-null.
9355         * config/i386/i386.c (ix86_free_machine_status): New.
9356         (override_options): Install it.
9357         (ix86_init_machine_status): Use xcalloc.
9358         (ix86_mark_machine_status): Verify machine non-null.
9359         * config/ia64/ia64.c (ia64_free_machine_status): New.
9360         (ia64_override_options): Install it.
9361         (ia64_mark_machine_status): Verify machine non-null.
9362
9363 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
9364
9365         * function.c (instantiate_virtual_regs): Instantiate virtual
9366         registers found in CALL_INSN_FUNCTION_USAGE.
9367
9368 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
9369
9370         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
9371         equivalent to -ansi in disabling -Di386.
9372
9373 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
9374
9375         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
9376         new functions.
9377         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
9378
9379 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
9380
9381         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
9382
9383 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
9384
9385         * invoke.texi: Document that -fcond-mismatch isn't supported for
9386         C++.
9387
9388 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
9389
9390         * gcc.texi: Define macro gcctabopt.
9391         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
9392         @command, @env and @option in some places where appropriate.  Use
9393         @gcctabopt where appropriate.  Put URLs and email addresses inside
9394         @w.
9395
9396 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
9397
9398         * gcc.c (cpp_options): Set MD file name from output
9399         filename, if specified.
9400         (suffix_subst): New static variable.
9401         (do_spec): Clear it.
9402         (do_spec_1, case '.'): Handle new `%.suffix' spec.
9403         Clear it.
9404         (give_switch): Handle suffix_subst.
9405
9406 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
9407
9408         * invoke.texi:  Fix another typo.
9409
9410 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
9411
9412         * invoke.texi:  Fix typo.
9413
9414 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
9415
9416         * c-lang.c (lang_hooks): Update.
9417         (lang_decode_option): Remove.
9418         (lang_init_options): Rename c_init_options.
9419         * toplev.c (main): Use lang_hooks for lang_init_options
9420         and lang_decode_option.
9421         * toplev.h (lang_hooks): Add 2 new hooks.
9422         * tree.h: Remove lang_init_options and lang_decode_option.
9423         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
9424         * cp/decl2.c: Similarly.
9425         * cp/lex.c (lang_init_options): Rename cxx_init_options.
9426         (lang_hooks): Update.
9427         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
9428         for consistency.
9429         (lang_init_options): Rename ffe_init_options.
9430         (lang_hooks): Update.
9431         (lang_decode_option): Remove.
9432         * java/lang.c (lang_init_options): Rename java_init_options.
9433         (lang_decode_option): Rename java_decode_option.
9434         (lang_hooks): Update.
9435         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
9436         (lang_decode_option): Rename objc_decode_option.
9437         (lang_hooks): Update.
9438
9439 2001-01-09  Nick Clifton  <nickc@redhat.com>
9440
9441         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
9442         (d30v_return_addr_rtx): Delete.
9443         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
9444         cfun->machine structure.
9445         (struct machine_function): Move to d30v.h
9446         (d30v_save_machine_status): Delete.
9447         (d30v_restore_machine_status): Delete.
9448         (d30v_init_machine_status): New Function.
9449         (d30v_mark_machine_status): New Function.
9450         (d30v_free_machine_status): New Function.
9451         (d30v_init_expanders): Use new functions.
9452         (d30v_return_addr): Use ra_rtx field in cfun->machine.
9453         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
9454         d30v_return_addr_rtx.
9455
9456         * config/d30v/d30v.h (struct_machine): Move here.
9457         Add eh_epilogue_sp_ofs field.
9458
9459         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
9460         field in cfun->machine structure.
9461
9462 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9463
9464         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
9465         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
9466         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
9467
9468 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
9469
9470         * objc/lang-options.h: Remove bogus reference to
9471         Java trademark.
9472
9473 2001-01-09  Kazu Hirata  <kazu@hxi.com>
9474
9475         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
9476         return the result.
9477
9478 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
9479
9480         * reload.c (find_reloads_address): Check for eliminable registers
9481         when substituting a constant expression for a pseudo.
9482
9483 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
9484
9485         * c-common.c (enum format_type): Add format_type_error.
9486         (decode_format_type): New function.
9487         (decl_attributes): Use it.
9488         (format_kind_info): Adjust comment.
9489
9490 2001-01-09  David O'Brien  <obrien@BSDi.com>
9491
9492         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
9493         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
9494         files in tm_file.
9495         * config/i386/gnu.h: Don't include required platform specific .h files,
9496         tm.h will do it instead.
9497         * config/i386/i386elf.h: Likewise.
9498         * config/i386/linux.h: Likewise.
9499         * config/i386/moss.h: Likewise.
9500         * config/mips/gnu.h: Likewise.
9501
9502 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9503
9504         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
9505         (rs6000-ibm-aix3.[01]*): Likewise.
9506         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
9507         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
9508         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
9509         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9510         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
9511         (powerpc-*-eabiaix*): Likewise.
9512         (powerpc-*-eabisim*): Likewise.
9513         (powerpc-*-elf*): Likewise.
9514         (powerpc-*-eabi*): Likewise.
9515         (powerpc-*-rtems*): Likewise.
9516         (powerpc-*-linux*libc1): Likewise.
9517         (powerpc-*-linux*): Likewise.
9518         (powerpc-wrs-vxworks*): Likewise.
9519         (powerpcle-wrs-vxworks*): Likewise.
9520         (powerpcle-*-sysv*): Likewise.
9521         (powerpcle-*-elf*): Likewise.
9522         (powerpcle-*-eabisim*): Likewise.
9523         (powerpcle-*-eabi*): Likewise.
9524         (powerpcle-*-solaris2*): Likewise.
9525         * config/rs6000/aix31.h: Delete includes.
9526         * config/rs6000/aix3newas.h: Likewise.
9527         * config/rs6000/aix41.h: Likewise.
9528         * config/rs6000/aix43.h: Likewise.
9529         * config/rs6000/beos.h: Likewise.
9530         * config/rs6000/rtems.h: Likewise.
9531         * config/rs6000/sysv4.h: Likewise.
9532
9533 2001-01-09  Kazu Hirata  <kazu@hxi.com>
9534
9535         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
9536         Change an argument mode of machine_mode to shift_mode of
9537         shift_mode.  Remove an extra error check.
9538         (emit_a_shift): Adopt to the new calling prototype of
9539         get_shift_alg.
9540         (function_prologue): Fix code for a monitor
9541         function.  Support H8/S.
9542         (function_epilogue): Do not output pop for a monitor function.
9543
9544 2001-01-09  Nick Clifton  <nickc@redhat.com>
9545
9546         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
9547         (setup_incoming_varargs): Use sysv_varargs_p field of the
9548         cfun->machine structure.
9549         (struct machine_function): Move to rs6000.h
9550         (rs6000_save_machine_status): Delete.
9551         (rs6000_restore_machine_status): Delete.
9552         (rs6000_init_machine_status): New Function.
9553         (rs6000_free_machine_status): New Function.
9554         (rs6000_init_expanders): Use new functions.
9555
9556         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
9557         export.
9558         (struct machine_function): Move here.
9559
9560         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
9561         sysv_varargs_p field of the cfun->machine structure.
9562
9563         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
9564         Remove prototype.
9565         (rs6000_restore_machine_status): Remove prototype.
9566
9567 2001-01-09  Richard Henderson  <rth@redhat.com>
9568
9569         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
9570         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
9571         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
9572         (sched_analyze_2, sched_analyze_insn): Likewise.
9573         (sched_analyze, init_deps): Likewise.
9574         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
9575         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
9576         (compute_block_backward_dependences): Update propagate_deps call.
9577
9578 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
9579
9580         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
9581
9582 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
9583
9584         * cppinit.c (OPT_MD, OPT_MMD): Restore.
9585         (cpp_handle_option): Handle them.
9586         (cpp_post_options): Ensure one of -M or -MM is specified with
9587         any other -M? option.
9588         (init_dependency_output): Suppress output with -MG.
9589
9590 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
9591
9592         * cpp.texi: Update.
9593         * invoke.texi: Update.
9594
9595 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
9596
9597         * sh.md (reload_outsf): Generate recognizable patterns for
9598         TARGET_SH3E.
9599
9600 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
9601
9602         * c-lang.c (lang_hooks): Update.
9603         (lang_init): Rename c_init.
9604         (lang_finish): Remove.
9605         * toplev.c (compile_file): Use lang_hooks for lang_init ()
9606         and lang_finish ().
9607         * toplev.h (lang_hooks): Add init () and finish ().
9608         * tree.h (lang_init, lang_finish): Remove.
9609         * cp/tree.h (lang_init, lang_finish): Remove.
9610         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
9611         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
9612         lang_hooks): New.
9613         (lang_init, lang_finish): Remove.
9614         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
9615         (lang_hooks): Update.
9616         * java/lang.c (lang_init): Rename java_init.
9617         (lang_finish): Remove.
9618         (lang_hooks): Update.
9619         * objc/objc-act.c (lang_init): Rename objc_init.
9620         (lang_finish): Remove.
9621         (lang_hoooks): Update.
9622
9623 20001-01-09  Graham Stott  <grahams@redhat.com>
9624
9625         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
9626         after `ptr` is initialised.
9627
9628 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
9629
9630         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
9631         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
9632         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
9633         stack adjusts, instead of r3.
9634
9635 2001-01-09  Michael Hayes  <mhayes@redhat.com>
9636
9637         * flow.c (flow_loop_scan): Break out of ...
9638         (flow_loops_find) ... here.
9639         * basic-block.h (flow_loop_scan): New.
9640         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
9641         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
9642
9643 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
9644
9645         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
9646         macro_buffer_len.
9647         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
9648         realloc()ing macro_buffer.
9649
9650         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
9651         if it's wider than long and the target's long is wider than the
9652         host's.
9653
9654 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
9655
9656         Remove support for using UWIN as a host machine.
9657         * configure.in: Issue an error message.
9658         * configure: Regenerated.
9659         * config.gcc: Remove xm_* UWIN configury.
9660         * config/i386/xm-uwin.h: Remove.
9661
9662 2001-01-08  Nick Clifton  <nickc@redhat.com>
9663
9664         * config/v850/v850.c (ra_rtx): Delete.
9665         (v850_save_machine_status): Delete.
9666         (v850_restore_machine_status): Delete.
9667         (v850_init_machine_status): New function.
9668         (v850_mark_machine_status): New function.
9669         (v850_free_machine_status): New function.
9670         (v850_return_addr): Use ra_rtx field in machine structure.
9671         (v850_init_expanders): Use new functions.
9672
9673         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
9674         * config/v850/v850.c: Change arguments to v850_output+* functions
9675         to take a const char *, to avoid compile time warning.
9676         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
9677         (USER_LABEL_PREFIX): Redefine.
9678
9679 2000-01-08  Jim Wilson  <wilson@redhat.com>
9680
9681         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
9682         1 to unsigned HOST_WIDE_INT before left shift.
9683
9684 2001-01-08  Nick Clifton  <nickc@redhat.com>
9685
9686         * config/arm/arm.c (arm_mark_machine_status): Check to see if
9687         the machine structure has been allocated.
9688         (arm_free_machine_status): New function: Free the machine
9689         specific function structure.
9690
9691 2001-01-08  Richard Henderson  <rth@redhat.com>
9692
9693         * jump.c (simplejump_p): Revert last change.
9694
9695 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
9696
9697         * cppinit.c (init): Rename init_library.
9698         (cpp_create_reader): Update.
9699         * gcc.c (cpp_options): If -o given, use it as the target of
9700         any -M options.
9701
9702 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
9703
9704         * arm.c (arm_arch5e): New variable.
9705         (all_cores): XScale is a 5TE device.
9706         (arm_override_options): Set arm_arch5e.
9707         (arm_init_builtins): __builtin_prefetch is in arch5e.
9708         * arm.h (arm_arch5e): Declare it.
9709
9710         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
9711
9712         * arm.md (define_constants): Add defines for UNSPEC and
9713         UNSPEC_VOLATILE insns.  Update all users.
9714         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
9715         * arm.c (multi_register_push, note_invalid_constants)
9716         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
9717         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
9718         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
9719
9720 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
9721
9722         * jump.c (jump_optimize_1): Use reversed_comparison_code
9723         instead of can_reverse_comparison_p.
9724         (jump_back_p): Likewise.
9725         (invert_exp_1): Likewise.
9726         (thread_jumps): Likewise.
9727         * simplify-rtx.c (simplify_unary_operation): Likewise.
9728         (simplify_ternary_operation): Likewise.
9729         * cse.c (find_comparison_args): Convert to use
9730         can_reverse_comparison_p.
9731         (record_jump_equiv): Likewise.
9732
9733 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
9734
9735         * arm.h (HARD_REGNO_RENAME_OK): Delete.
9736         (EPILOGUE_USES): Define.
9737         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
9738         automatically stack the LR if it isn't live.
9739
9740 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
9741
9742         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
9743         properly.
9744
9745 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
9746
9747         * ggc-page.c (max_alignment): New structure.
9748         (MAX_ALIGNMENT): New macro.
9749         (init_ggc): Use it to round up the sizes in the
9750         extra_order_size_table.
9751
9752 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9753
9754         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
9755         after reload.
9756
9757 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9758
9759         * builtins.def (BUILT_IN_FPRINTF): New entry.
9760
9761         * c-common.c (c_expand_builtin_fprintf): New function.
9762         (init_function_format_info): Handle __builtin_fprintf.
9763         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
9764         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
9765
9766         * c-decl.c (duplicate_decls): Adjust comment.
9767
9768         * extend.texi (fprintf): Document new builtin.
9769
9770 2001-01-07  Richard Henderson  <rth@redhat.com>
9771
9772         * jump.c (simplejump_p): Recognize any single_set jump
9773         of the proper form.
9774
9775 2001-01-07  Richard Henderson  <rth@redhat.com>
9776
9777         * configure.in (slibdir): Accept an --with-slibdir option.
9778         Use "test" not "[" in configure.  Default to $(libdir).
9779
9780         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
9781         fix typo in rm -f.
9782         * config/t-aix43 (SHLIB_INSTALL): Likewise.
9783         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
9784         (SHLIB_LINK): Create links for the soname.
9785         * config/mips/t-iris6: Likewise.
9786         * config/sparc/t-slibgcc: Likewise.
9787         * config/sparc/t-slibgcc-sld: Likewise.
9788
9789 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
9790
9791         * config/i386/i386.c (constant_call_address_operand): Accept
9792         (const (plus (symbol_ref) (const_int))).
9793         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
9794         constant_call_address_operand.
9795
9796 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9797
9798         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
9799         and LONG_LONG_TYPE_SIZE > 32.
9800
9801 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9802
9803         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
9804         the previous change.
9805
9806 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
9807
9808         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
9809         New.
9810         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
9811         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
9812         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
9813         Declare.
9814
9815 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9816
9817         * fix-header.c (read_scan_file): s/pfile/scan_in/.
9818
9819 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9820
9821         * c-lang.c (c_post_options): Call cpp_post_options.
9822         * objc/objc-act.c (objc_post_options): Similarly.
9823         * cppmain.c (main): Similarly.
9824         * fix-header.c (read_scan_file): Similarly.
9825         * cppinit.c (cpp_start_read): Move option consistency checks
9826         to cpp_post_options.  Don't call init_dependency_output.
9827         If needed, add default target and main file dependency.
9828         (OPT_MD, OPT_MMD): Remove.
9829         (OPT_MF): New.
9830         (cpp_handle_option): Update for OPT_* changes.
9831         (cpp_post_options): New.
9832         (init_dependency_output): Command line -MF overrides environment
9833         variables.  Don't set default target etc.  Suppress output
9834         if dependencies are going to stdout.
9835         (print_help): Update.
9836         * cpplib.h (cpp_post_options): New.
9837         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
9838
9839 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
9840
9841         * jump.c (comparison_dominates_p): Support unordered compares.
9842
9843 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
9844
9845         * simplify-rtx.c (simplify_relational_operation): Always simplify
9846         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
9847         and UNGE.
9848
9849 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
9850
9851         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
9852         (nonzero_bits): Likewise.
9853         (simplify_comparison): Likewise.
9854         (num_sign_bit_copies): Likewise; return more sane value depending
9855         on STORE_FLAG_VALUE.
9856         (known_cond): Do not assume EQ to be always true for equivalent
9857         operands.
9858
9859 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
9860
9861         * cse.c (fold_rtx): Handle unordered comparisons.
9862
9863 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
9864
9865         * rtlanal.c (set_of_1): New static function.
9866         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
9867          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
9868          reg_set_last_last_regno): Remove.
9869         (set_of): New global function.
9870         (set_of_data): New structure.
9871         (reg_set_p, reg_set_last): Revamp for set_of.
9872         * rtl.h (set_of): New.
9873
9874 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
9875
9876         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
9877         * extend.texi: Document _Exit builtin.
9878
9879 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9880
9881         * (initialize, initialize_builtins,
9882         initialize_dependency_output, initialize_standard_includes):
9883         Rename s/initialize/init. Update.
9884         (init_dependency_output): Move to after
9885         cpp_handle_options, the correct location temporally at least.
9886         (opt_comp): Move next to init (), its caller.  Fix prototype.
9887         (init): Make "initialized" local scope.
9888         (cpp_create_reader): Always call init ().
9889         (cpp_start_read): Update.
9890         (output_deps): New function, broken out of cpp_finish.
9891         (cpp_finish): Break out output_deps.
9892
9893 2001-01-07  Richard Henderson  <rth@redhat.com>
9894
9895         * collect2.c (COFF specific stuff): Revert 12-06 patch
9896         to prototype system functions.
9897
9898 2001-01-07  Michael Hayes  <mhayes@redhat.com>
9899
9900         * hard-reg-set.h: Add multiple include guard.
9901         * basic-block.h (struct loop): Add `sink' field.
9902         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
9903         (emit_iv_add_mult): Delete.
9904         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
9905         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
9906         (unroll_loop): Remove end_insert_before argument.
9907         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
9908         (maybe_eliminate_biv_1): Likewise.
9909         (emit_iv_add_mult): Delete.
9910         (gen_add_mult, loop_regs_update): New.
9911         (loop_insn_emit_after, loop_insn_emit_before): New.
9912         (loop_insn_sink, loop_insn_sink_or_swim): New.
9913         (emit_iv_add_mult): Delete.
9914         (scan_loop): Set loop->sink.
9915         (loop_givs_reduce): Use loop_insn_sink and its ilk.
9916         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
9917         (maybe_eliminate_biv_1): Likewise.
9918         (maybe_eliminate_biv_1): Add basic block argument.
9919         * unroll.c (unroll_loop): Remove end_insert_before argument.
9920         (find_splittable_regs): Likewise.
9921         (find_splittable_regs): Use loop_insn_sink and its ilk.
9922         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
9923
9924 2001-01-07  Michael Hayes  <mhayes@redhat.com>
9925
9926         * loop.h (loop_insn_hoist): New prototype.
9927         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
9928         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
9929         (check_dbra_loop, load_mems): Likewise.
9930         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
9931         (find_splittable_givs): Likewise.
9932
9933 2001-01-07  Michael Hayes  <mhayes@redhat.com>
9934
9935         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
9936
9937 2001-01-07  Richard Henderson  <rth@redhat.com>
9938
9939         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
9940
9941 2001-01-07  Richard Henderson  <rth@redhat.com>
9942
9943         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
9944         NO_SHARED_LIBGCC_MULTILIB as required for the target.
9945         * gcc.c (init_spec): Massage the existing libgcc_spec into a
9946         variant that handles a shared libgcc.
9947         (process_command): Always validate -{static,shared}-libgcc.
9948         (do_spec_1): New 'M' case.
9949         * invoke.text (Link Options): Document -{static,shared}-libgcc.
9950
9951 2001-01-07  Richard Henderson  <rth@redhat.com>
9952
9953         * Makefile.in (slibdir): New variable.
9954         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
9955         (installdirs): Create slibdir.
9956         (install-libgcc, install-multilib): Defer to libgcc.mk.
9957         * configure.in (slibdir): Substitute.
9958         * mklibgcc.in (install): New target.
9959
9960         * config/t-linux (SHLIB_LINK): Create links for the soname.
9961         (SHLIB_INSTALL): New.
9962         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
9963         * config/mips/t-iris6 (SHLIB_INSTALL): New.
9964         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
9965         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
9966         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
9967
9968 2001-01-07  Richard Henderson  <rth@redhat.com>
9969
9970         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
9971         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
9972         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
9973
9974 2001-01-07  Michael Hayes  <mhayes@redhat.com>
9975
9976         * loop.c (count_loop_regs_set): Delete.
9977         (load_mems_and_recount_loop_regs_set): Delete.
9978         (loop_regs_scan): Merge common code from count_loop_regs_set,
9979         scan_loop, and load_mems_and_recount_loop_regs_set.
9980         (scan_loop): Call load_mems directly and loop_regs_scan
9981         again if new registers created.
9982
9983 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9984
9985         * toplev.c (main): Call the front-end specific post_options
9986         hook if one is given.
9987         * toplev.h (struct_lang_hooks, lang_hooks): New.
9988         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
9989         for the C front end.
9990         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
9991         lang_hooks for the C++ front end.
9992         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
9993         lang_hooks for the ObjC front end.
9994         * f/com.c (lang_hooks): Hooks for the Fortran front end.
9995         * java/lang.c (lang_hooks): Hooks for the Java front end.
9996
9997 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9998
9999         * c-lex.c (init_c_lex): Request #define / #undef callbacks
10000         for verbose DWARF[2] debugging.
10001         (cb_define, cb_undef): The new callbacks.
10002         * toplev.h (debug_define, debug_undef): Make const correct.
10003         * toplev.c (debug_define, debug_undef): Similarly.  Do not
10004         perform the verbosity tests here anymore.
10005
10006 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
10007
10008         * reload.c (subst_reloads): Take INSN argument.  When
10009         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
10010         * reload.h (subst_reloads): Adjust prototype.
10011         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
10012         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
10013         present in JUMP_INSNs and copy them to JUMP_LABEL.
10014         * flow.c (find_label_refs, find_basic_blocks_1): Skip
10015         JUMP_INSNs and insns with REG_LABELs that are followed by
10016         JUMP_INSNs with the same REG_LABEL.
10017         * sched-rgn.c (is_cfg_nonregular): Likewise.
10018         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
10019         note is available.
10020         * unroll.c (unroll_loop): Look for REG_LABEL notes in
10021         JUMP_INSNs too.
10022         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
10023
10024 2001-01-06  Richard Henderson  <rth@redhat.com>
10025
10026         * loop.c (scan_loop): Use xcalloc for the regs array.
10027         (load_mems_and_recount_loop_regs_set): Zero the new memory
10028         received from xrealloc.
10029
10030 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
10031
10032         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
10033
10034 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
10035
10036         * integrate.c (copy_rtx_and_substitute): When copying
10037         an ignored return value, strip REG_FUNCTION_VALUE_P.
10038
10039 2001-01-06  Michael Hayes  <mhayes@redhat.com>
10040
10041         * loop.c (debug_biv, debug_giv): New.
10042         (loop_biv_dump): Break out from ...
10043         (record_biv): ... here.
10044         (loop_giv_dump): Break out from ...
10045         (record_giv): ... here.
10046         (loop_bivs_check): Use print_simple_rtl.
10047         * unroll.c (loop_iterations): Use print_simple_rtl.
10048
10049 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10050
10051         * pa.md (return, return_internal): Modify patterns to prevent regrename
10052         mucking with the return pointer.
10053
10054 2001-01-05  Richard Henderson  <rth@redhat.com>
10055
10056         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
10057
10058 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
10059
10060         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
10061         version supplied by Matteo Frigo.
10062
10063 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
10064
10065         * cpp.texi: Update for -MQ.
10066         * cppinit.c (cpp_create_reader): Always create pfile->deps.
10067         (cpp_cleanup): Always free pfile->deps.
10068         (initialize_dependency_output): Don't create pfile->deps.
10069         (cpp_handle_option): Similarly.
10070         (OPT_MQ): New.
10071         * gcc.c (cpp_options): Handle -MQ.
10072         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
10073         * mkdeps.c (base_name): Remove.
10074         (deps_init): Don't allocate vector space until it's needed.
10075         (deps_free): Only free vectors if allocated.
10076         (deps_add_target, deps_add_dep): Update for initial allocation.
10077         (deps_add_default_target): Don't strip to the base_name.
10078
10079 2001-01-05  DJ Delorie <dj@redhat.com>
10080
10081         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
10082         (INIT_EXPANDERS): Define.
10083
10084         * config/v850/v850.c (struct machine_function): Define.
10085         (v850_save_machine_status): New function.
10086         (v850_restore_machine_status): New function.
10087         (v850_return_addr): New function.
10088         (v850_init_expanders): New function.
10089
10090         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
10091         and v850_init_expanders.
10092
10093 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
10094
10095         * cpplib.h (struct cpp_reader): Add help_only field.
10096         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
10097         (cpp_handle_option): Set pfile->help_only if we see -h,
10098         --help, -target-help, or --version.  Print version string but
10099         do not set help_only if we see -v or -version.  Make text
10100         printed by -v match that printed by (-)-version.
10101
10102         * cppmain.c (main): Exit after option parsing if
10103         pfile->help_only is true.
10104
10105         * toplev.c (independent_decode_option): Call print_version,
10106         then exit, if we see --version (but not -version).
10107         (print_version): Split lengthy message into two lines.
10108
10109 2001-01-05  Nick Clifton  <nickc@redhat.com>
10110
10111         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
10112         temporary string for initialisation before calling ggc_alloc_string.
10113
10114 2001-01-06  Michael Hayes  <mhayes@redhat.com>
10115
10116         * rtl.h (print_simple_rtl): New.
10117         * print-rtl.c (print_simple_rtl): New.
10118         (flag_simple): New.
10119         (print_rtx): Disable printing of flags and modes, etc.,
10120         if `flag_simple` nonzero.
10121
10122 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
10123
10124         * function.c (fixup_var_refs): Use push_to_full_sequence where
10125         possible.
10126
10127 2001-01-05  Michael Meissner  <meissner@redhat.com>
10128
10129         * flags.h (flag_reorder_blocks): Add declaration.
10130         (flag_rename_block): Ditto.
10131
10132 2001-01-05  DJ Delorie  <dj@redhat.com>
10133
10134         * function.c (reorder_blocks): Make sure the flags are all reset
10135         before using them to mark blocks, else a second invocation will
10136         corrupt the block chain.
10137         (reorder_blocks_0): New, resets the flags.
10138
10139 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
10140
10141         * cse.c (find_comparison_args): Stop if the argument is known to
10142         be constant.
10143
10144 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
10145
10146         * config/sh/sh.md (movdf): When splitting load into pair of
10147         registers, don't clobber the register used in the address too
10148         early.
10149
10150 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
10151
10152         * varasm.c (mark_constant_pool): Improve initial comments.
10153         (mark_constants): Move marking of constants to mark_constant.
10154         (mark_constant): New function to recursively mark all constants
10155         referred to by a constant.
10156
10157 2001-01-05  Catherine Moore  <clm@redhat.com>
10158
10159         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
10160
10161 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
10162
10163         * cp/lang-options.h:  Bring comment in line with reality.
10164         * f/lang-options.h:  Likewise.
10165         * java/lang-options.h:  Likewise.
10166         * objc/lang-options.h:  Likewise.
10167         * ch/lang-options.h:  Likewise.
10168         * f/g77.texi:  And update the manual.
10169
10170 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
10171             Denis Chertykov  <denisc@overta.ru>
10172
10173         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
10174         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
10175         * config/avr/avr.md (all peepholes that request a scratch register):
10176         Call it, FAIL the peephole if not safe (in interrupt functions).
10177
10178 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
10179
10180         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
10181
10182 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
10183
10184         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
10185         Define.
10186         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
10187         BUILT_IN_CREAL and BUILT_IN_CIMAG.
10188         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
10189         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
10190         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
10191         BUILT_IN_CIMAG.
10192         * extend.texi: Document these builtins.
10193
10194 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
10195
10196         * c-common.c (lang_get_alias_set): Say we know nothing of
10197         VECTOR_TYPE aliasing.
10198
10199         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
10200
10201 2001-01-05  Bruce Korb  <bkorb@gnu.org>
10202
10203         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
10204         their x* equivalent versions for atexit-less systems
10205         * fixinc/fixincl.c(main): do not return from main() on atexit-less
10206         systems (or any other system any more).
10207
10208 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
10209
10210         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
10211         output operands.  Use arm_hard_register_operand for operand 4.
10212         (stmsi_postinc): Similarly.
10213         (ldmsi): Use arm_hard_register_operand for opernand 2.
10214         (stmsi): Similarly.
10215         * arm.c (arm_hard_register_operand): New function.
10216         * arm-protos.h (arm_hard_register_operand): Prototype it.
10217
10218         * arm.h (HARD_REGNO_RENAME_OK): Define.
10219
10220 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
10221
10222         * simplify-rtx.c (cfc_args): add "unordered" field.
10223         (check_fold_consts): Set unordered field.
10224         (simplify_relational_operation): Simplify the unordered
10225         comparisons.
10226
10227         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
10228         is valid.
10229
10230         * emit-rtl.c (try_split): Fix code to mark labels.
10231         * jump.c (mark_jump_label): Make global.
10232         * rtl.h (mark_jump_label): Declare.
10233
10234         * predict.c (estimate_probability): Handle unordred comparisons.
10235
10236 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
10237
10238         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
10239         * cppinit.c (initialize_dependency_output):  Update.
10240         (cpp_finish): Output dummy targets for -MP.
10241         (OPT_MP): New.
10242         (cpp_handle_option): Handle -MP.  Don't quote -MT options.
10243         * cpplib.h (struct cpp_options): Add deps_phony_targets.
10244         * gcc.c (cpp_options): Update to handle -MP.
10245         * mkdeps.c (deps_add_target, deps_add_default_target): Update
10246         to quote only the default target.
10247         (deps_phony_targets): Insert a preceding newline.  Rename from
10248         deps_dummy_targets for consistency.
10249         * mkdeps.h: Update
10250
10251 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
10252
10253         * calls.c (emit_library_call_value_1): Support
10254         INIT_CUMULATIVE_LIBCALL_ARGS.
10255         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
10256
10257 2001-01-04  Richard Henderson  <rth@redhat.com>
10258
10259         * c-decl.c (finish_struct): Detect flexible array members
10260         used in an inappropriate context.
10261         * c-typeck.c (really_start_incremental_init): Special case
10262         constructor_max_index for zero length arrays.
10263         (pop_init_level): Allow initialization of flexible array
10264         members.  Deprecate initialization of zero length arrays.
10265         Don't issue missing initializer warning for flexible array
10266         members or zero length arrays.
10267         (process_init_element): Don't dereference null DECL_SIZE.
10268         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
10269         Don't abort for empty constructors.  Use size_binop
10270         (output_constructor): Add commentary regarding zero length
10271         array futures.  Abort if we try to initialize an array of
10272         unspecified length with a non-empty constructor in the middle
10273         of a structure.
10274
10275         * extend.texi (Zero Length): Update and clarify documentation
10276         on static initialization.
10277
10278 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10279
10280         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
10281         with more than 32767 words of local storage.
10282
10283 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10284
10285         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
10286         for 'abs', 'labs', and 'fabs'.
10287         (c4x_expand_builtin): Likewise.
10288         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
10289
10290 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
10291
10292         * config/sh/sh.md (prget, prset): New insn types.
10293         (return delay slot): Dont' allow prset.
10294         (call, sfunc delay slot): Don't allow prget.
10295         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
10296         for prset and prget.
10297
10298 2001-01-05  Michael Hayes  <mhayes@redhat.com>
10299
10300         * loop.h (struct loop_reg): New.
10301         (struct loop_regs): Change to use array of `struct loop_reg'.
10302         * loop.c: Replace assortment of varrays with single regs array.
10303         (count_one_set): Delete may_not_move array argument
10304         and use regs array instead.  All caller's changed.
10305         (count_loop_regs_set): Delete may_not_move and single_usage
10306         arguments and use regs array instead.  All caller's changed.
10307         (find_single_use_in_loop): Replace usage array argument with pointer
10308         to regs structure.  All caller's changed.
10309         (loop_optimize): Delete `moved_once' array.
10310
10311 2001-01-05  Michael Hayes  <mhayes@redhat.com>
10312
10313         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
10314         Use it instead of loop_info->has_call for scanning loop mems.
10315         (check_dbra_loop): Replace loop_info->has_call test with
10316         loop_info->has_nonconst_call.
10317
10318 2000-01-04  Matthew Hiller  <hiller@redhat.com>
10319
10320         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
10321         for TARGET_SH3E.
10322
10323 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
10324
10325         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
10326         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
10327
10328 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
10329
10330         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
10331         (flag_short_double, flag_short_wchar): Define.
10332         (c_common_nodes_and_builtins): Create many tree nodes shared
10333         between C and C++ here instead of in cp/decl.c and ...
10334         * c-decl.c (init_decl_processing): ... here.
10335         (SIZE_TYPE, WCHAR_TYPE): Don't define.
10336         (flag_short_double, flag_short_wchar): Don't define.
10337         (record_builtin_type): New function.
10338         (build_void_list_node): New function.
10339         * c-common.h (flag_short_double, flag_short_wchar,
10340         record_builtin_type, build_void_list_node): Declare.
10341
10342 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
10343
10344         * integrate.c (expand_inline_function): Don't put a virtual
10345         register into the reg map.
10346
10347         * function.c (fixup_var_refs_1): If force_operand didn't put
10348         the address into the target, move it there.
10349
10350 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
10351
10352         Special-case tree_decl/tree_list allocations.
10353         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
10354         (OBJECT_SIZE): New macro.
10355         (NUM_EXTRA_ORDER): Likewise.
10356         (extra_order_size_table): New variable.
10357         (NUM_ORDERS): New macro.
10358         (objects_per_page_table): New variable.
10359         (object_size_table): New variable.
10360         (G.pages): Use NUM_ORDERS to bound the array.
10361         (G.page_tails): Likewise.
10362         (DIV_ROUND_UP): Remove.
10363         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
10364         (alloc_page): Use OBJECT_SIZE.
10365         (size_lookup): Don't make it const.
10366         (ggc_alloc): Use OBJECT_SIZE.
10367         (ggc_set_mark): Likewise.
10368         (ggc_get_size): Likewise.
10369         (init_ggc): Set up the object_size_table, objects_per_page_table,
10370         and adjust size_lookup.
10371         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
10372         (ggc_pop_context): Use NUM_ORDERS.
10373         (clear_marks): Likewise.
10374         (sweep_pages): Likewise.
10375         (poison_pages): Likewise.
10376         (ggc_print_statistics): Use OBJECT_SIZE.
10377
10378 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10379
10380         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
10381         Only call array_size_for_constructor if last field and array type
10382         with no upper bound.
10383
10384 2001-01-04  Philip Blundell  <philb@gnu.org>
10385
10386         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
10387         from bit 31 downwards, if this requires no more insns.
10388         (count_insns_for_constant): New helper function for above.
10389
10390 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
10391
10392         * gencodes.c (output_predicate_decls): Remove empty initializer.
10393
10394 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
10395
10396         * tree.c (copy_node): Remove documentation about obstacks.
10397         (buidl1): Check that nobody tries to build 2-argument nodes this
10398         way.
10399
10400 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10401
10402         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
10403         fp_high_losum_p.
10404
10405         * gencodes.c (output_predicate_decls): Fill empty initializer
10406         braces.
10407
10408 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
10409
10410         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
10411         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
10412         or -MM.
10413         (do_include): Handle missing headers like cpp0.
10414         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
10415         paths with first include pathname.  Don't strcat to uninitialized
10416         string.
10417
10418 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
10419
10420         * regrename.c (regrename_optimize): Don't rename from frame pointer
10421         if frame_pointer_needed.
10422         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
10423         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
10424         (ia64_reorg): Use it instead of scheduling if ! optimize.
10425         (errata_emit_nops): Properly call asm_noperands.
10426         (ia64_sched_reorder): Finish cycle if we see an asm.
10427         (ia64_variable_issue): Clear scheduling state after asms.
10428
10429 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
10430
10431         * cpp.texi: Update for -MT.
10432         * cppinit.c (initialize_dependency_output): Add a default
10433         target if none has been given already.
10434         (no_tgt, OPT_MT): New.
10435         (cpp_handle_option): Handle -MT.  Update -M etc.
10436         * cpplib.h (struct cpp_options): Remove deps_target.
10437         * gcc.c (cpp_options): Handle -MT.
10438         * mkdeps.c (struct deps): Move from mkdeps.h.
10439         (deps_calc_target): Rename deps_add_default_target.  Add a
10440         default target if none has been specified already.
10441         * mkdeps.h (struct deps): Move to mkdeps.c.
10442         (deps_calc_target): Rename deps_add_default_target.
10443
10444 2000-01-03  Richard Henderson  <rth@redhat.com>
10445
10446         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
10447         Remove dead code.
10448         * c-typeck.c (push_init_level): Move checks for flexible array
10449         members and zero length arrays ...
10450         (pop_init_level): ... here.  Silently discard empty initializations.
10451         Remove dead code.
10452         * varasm.c (output_constructor): Update for sizeof change to
10453         zero-length arrays.
10454
10455         * extend.texi (Zero Length): Clarify semantics.
10456
10457 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
10458
10459         * configure.in (tm.h): Include isns-codes.h last.
10460         * configure: Rebuilt.
10461
10462 2001-01-03  Richard Henderson  <rth@redhat.com>
10463
10464         * config/alpha/alpha.md (addvsi3, addvdi3): New.
10465         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
10466
10467 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10468
10469         * tradcpp.c (main): Make sure finclude() is called with a valid
10470         indepth value while handling -include.
10471
10472 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
10473
10474         * gencodes.c (output_predicate_decls): New function.
10475         (main): Call it.
10476         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
10477         even if it is not the first time machmode.h is #included.
10478         * config/sh/sh.c (fpul_operand): Declare MODE argument.
10479         * tm.texi (PREDICATE_CODES): Document predicate declarations.
10480         * gcc.texi (Copyright): Added 2001.
10481
10482 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
10483
10484         * c-common.c (c_common_lang_init): New function.  Warn if format
10485         warning options which only have effects when used with -Wformat
10486         are used without -Wformat.
10487         * c-common.h (c_common_lang_init): Declare.
10488         * c-lang.c (lang_init): Call c_common_lang_init.
10489         * objc/objc-act.c (lang_init): Call c_common_lang_init.
10490
10491 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
10492
10493         * configure.in: Check for the mktemp command.
10494         * configure: Regenerate.
10495         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
10496         $TEMP.  Create temporary files with mktemp, if available at
10497         configure time; otherwise use set -C.  Remove temporary files
10498         before exit.
10499
10500 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
10501
10502         * configure.in: Require at least texinfo 4.0.  Check for whether
10503         Pod::Man is sufficiently recent to regenerate GCC manpages.
10504         * configure:  Regenerate.
10505         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
10506         on #!.
10507         (GENERATED_MANPAGES): Define.
10508         (generated-manpages): New target.  Depend on cpp.1 as well as
10509         gcov.1.
10510         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
10511         configure to generated-manpages or empty) rather than on the
10512         manpages directly.  Remove execute permission from installed
10513         gcov.1 as well as cpp.1.
10514         * cpp.1, gcov.1: Regenerate.
10515
10516 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10517
10518         * builtins.c (expand_builtin_strncmp): Use host_integerp and
10519         tree_low_cst.  Allow using cmpstrsi in more cases.
10520
10521 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10522
10523         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
10524         sized types.
10525
10526 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
10527
10528         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
10529         * Makefile.in (HOST_CFLAGS): Mention build-make.
10530
10531 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10532
10533         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
10534         as JUMP_INSN.
10535
10536 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
10537
10538         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
10539         a REG rtx.
10540
10541         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
10542         callers changed.
10543
10544         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
10545         reg_base_value and reg_known_value arrays.
10546         (init_alias_analysis): Add more cases to detect known values.
10547         * sched-deps.c (deps_may_trap_p): New function.
10548         (sched_analyze_2): Use it.
10549
10550 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
10551
10552         * combine.c (simplify_shift_const): Even if we're sign-extracting,
10553         don't discard an ASHIFTRT if we're shifting in a wider mode.
10554
10555 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10556
10557         * toplev.c (rest_of_compilation): Don't print basic block information
10558         when CFG isn't up to date.
10559
10560 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
10561
10562         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
10563         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
10564         (UNALIGNED_SHORT_ASM_OP): Define.
10565         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
10566
10567 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
10568
10569         * fold-const.c (fold_convert): Fix typo.
10570
10571 2001-01-02  Richard Henderson  <rth@redhat.com>
10572
10573         * c-common.h (ASM_INPUT_P): New.
10574         * c-parse.in (asm): Set it when needed.
10575         * c-semantics.c (genrtl_asm_stmt): Test it instead of the
10576         existance of an operand.
10577
10578 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
10579
10580         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
10581         (dwarf2out_frame_debug_expr): Likewise.
10582         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
10583
10584 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
10585
10586         * i386.c (ix86_split_to_parts): Return number of part required;
10587         handle TFmodes.
10588         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
10589         TFmodes.
10590         (ix86_split_long_move): Use number of part returned
10591         by ix86_split_to_parts
10592         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
10593         New macros.
10594         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
10595         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
10596         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
10597         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
10598         (ALIGN_MODE_128): Add TFmode.
10599         (IS_STACK_MODE): Likewise.
10600         (HARD_REGNO_NREGS): TFmode needs 3 registers.
10601         (HARD_REGNO_OK): Support TFmodes.
10602         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
10603         * i386.md (scheduler definitions): Use memory operand to determine
10604         fst/fld instructions; use mode attribute to determine real mode of
10605         the instruction.
10606         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
10607         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
10608
10609 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
10610
10611         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
10612
10613 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
10614
10615         * expr.c (store_constructor_field): Update ALIGN before calling
10616         store_constructor.
10617
10618 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
10619
10620         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
10621         host_integerp.
10622
10623 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
10624
10625         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
10626         incomplete type.
10627
10628 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
10629
10630         * c-decl.c (start_function): Don't warn on third parameter to main.
10631
10632 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10633
10634         * tsystem.h: Define HAVE_DECL_GETOPT.
10635
10636 2001-01-02  Philip Blundell  <pb@futuretv.com>
10637
10638         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
10639         of input operand.
10640
10641 2001-01-02  Richard Henderson  <rth@redhat.com>
10642
10643         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
10644
10645 2001-01-02  Andreas Jaeger  <aj@suse.de>
10646
10647         * c-decl.c (c_decode_option): Remove support of
10648         -Wmissing-noreturn.
10649
10650         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
10651         (W_options): Add -Wmissing-noreturn here.
10652
10653         * flow.c: Define lang_missing_noreturn_ok_p.
10654         (check_function_return_warnings): Use it.
10655
10656         * c-common.h: Declare lang_missing_noreturn_ok_p.
10657
10658         * c-lang.c (c_missing_noreturn_ok_p): New function.
10659         (lang_init): Set lang_missing_noreturn_ok_p.
10660
10661         * invoke.texi (Warning Options): Document this.
10662
10663 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
10664
10665         * extend.texi (C++ Extensions):  New node for C++ attributes;
10666         describe init_priority and com_interface.
10667         * invoke.texi:  Remove -finit-priority as it now has zero effect.
10668         * install.texi:  Fix xref syntax.
10669         * md.texi:  Likewise.
10670
10671 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10672
10673         * config.gcc (sparc64-wrs-vxworks*): New case.
10674         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
10675
10676         * config/sparc/sparc.c (sparc_override_options): Do support different
10677         pointer and architecture size.
10678         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
10679         (POINTERS_EXTEND_UNSIGNED): Define.
10680         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
10681         (FUNCTION_MODE): Define to be Pmode.
10682         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
10683
10684         * function.c (expand_function_end): Properly handle DECL_RESULT
10685         and copy when ptr_mode != Pmode.
10686         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
10687
10688 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10689
10690         * c-common.c (c_common_nodes_and_builtins): Set prototype
10691         parameters for __builtin_fputs, __builtin_fputc and
10692         __builtin_fwrite.  Don't declare plain fputc as a builtin.
10693
10694 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10695
10696         * loop.c (add_label_notes): Increment the label usage count when
10697         a note is added to an insn which refers to a CODE_LABEL.
10698         * gcse.c (add_label_notes): Likewise.
10699
10700 2001-01-01  Andreas Jaeger  <aj@suse.de>
10701
10702         * loop.c (scan_loop): Use xmalloc to allocate movables.
10703
10704 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
10705
10706         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
10707         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
10708         * reload1.c (REGISTER_MOVE_COST): Likewise.
10709         * regclass.c (REGISTER_MOVE_COST): Likewise.
10710         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
10711         dimension.  Adjust all users.
10712         (init_reg_sets_1): Iterate on all modes.
10713         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
10714         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
10715         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
10716         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
10717         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
10718         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
10719         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
10720         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
10721         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
10722         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
10723         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
10724         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
10725         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
10726         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
10727         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
10728         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
10729         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
10730         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
10731         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
10732         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
10733         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
10734         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
10735         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
10736         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
10737         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
10738         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
10739         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
10740
10741 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
10742
10743         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
10744         arg VARIES_P.  Call it with extra arg.
10745         (true_dependence): Likewise.
10746         * rtl.h (rtx_addr_can_trap_p): Declare.
10747         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
10748         prototypes.
10749         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
10750         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
10751         pic offset table register if it's zero.  All callers changed.
10752         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
10753
10754 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10755
10756         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
10757         STRING_POOL_ADDRESS_P.
10758
10759         * config/sparc/sparc.c (input_operand): Properly test for short op.
10760
10761         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
10762         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
10763         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
10764         * config/sparc/elf.h: No longer include sol2.h.
10765         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
10766         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
10767
10768         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
10769
10770 2001-01-01  Michael Hayes  <mhayes@redhat.com>
10771
10772         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
10773         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
10774         (record_initial): Likewise.
10775         * unroll.c (copy_loop_body, loop_iterations): Likewise.
10776         (remap_split_bivs): Likewise.
10777
10778 2001-01-01  Michael Hayes  <mhayes@redhat.com>
10779
10780         * loop.c (loop_ivs_free): New function.
10781         (strength_reduce): Break out from...
10782
10783 2001-01-01  Michael Hayes  <mhayes@redhat.com>
10784
10785         * loop.h (struct iv): New.
10786         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
10787         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
10788         'reg_biv_class' fields with 'regs' and 'n_regs'.
10789         (struct ivs): Rename 'loop_iv_list' field to 'list'.
10790         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
10791         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
10792
10793 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
10794
10795         * resource.c (mark_referenced_resources): Abort() before
10796         attempting to mark a pseudo register.
10797         (mark_set_resources): Likewise.
10798
10799 2001-01-01  Michael Hayes  <mhayes@redhat.com>
10800
10801         * loop.h (REG_IV_CLASS): New accessor macro.
10802         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
10803         * unroll.c (REG_IV_CLASS): Likewise.
10804
10805 See ChangeLog.4 for earlier changes.