OSDN Git Service

907c45c2f706930ec61e7f19fd20e6a6846c9516
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2
3         * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
4         strict_ansi_only): Don't run if stdc_0_in_system_headers.
5         * fixinc/fixincl.x: Regenerate.
6         * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
7         (FIX_TEST_TABLE): Declare it.
8         * fixinc/fixlib.h: Include config.h.
9
10 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11
12         * fixinc/inclhack.def (alpha___assert): Change char * args to
13         const char * on Tru64 UNIX to avoid excessive warnings from
14         assert.h.
15         * fixinc/fixincl.x: Regenerate.
16
17 2001-05-25  Geoff Keating  <geoffk@redhat.com>
18
19         * dbxout.c (dbxout_symbol): Invert previous patch, which was
20         outputting a tag only for variable-size records.
21
22 2001-05-25  Jeff Knaggs  <jknaggs@redhat.com>
23
24         * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
25         instead of rtx_equal_p for early clobber test.
26
27 2001-05-26  Mark Mitchell <mark@codesourcery.com>
28
29         * builtins.def: Encode additional information, such as names and
30         types, here.
31         * builtin-types.def: New file.
32         * builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
33         (built_in_decls): Likewise.  Don't explicitly initialize global
34         data to NULL.
35         (expand_builtin_mathfn): Handle float and long double variants of
36         math builtins.
37         (expand_builtin): Likewise.
38         * c-common.c (c_common_nodes_and_builtins): Make it table-driven.
39         (expand_tree_builtin): Handle long, long long, float, and long
40         double variants of math functions.
41         * c-common.h (c_tree_index): Remove some unused nodes.
42         (void_ftype): Remove.
43         (void_type_ptr): Likewise.
44         (int_ftype_int): Likewise.
45         (ptr_ftype_sizetype): Likewise.
46         * c-decl.c (init_decl_processing): Remove creation of DWARF
47         builtins.
48         * defaults.h (MD_INIT_BUILTINS): Provide default definition.
49         * tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
50         * Makefile.in (c-common.o): Depend on builtin-types.def.
51         
52 2001-05-25  Dale Johannesen  <dalej@apple.com>
53
54         * config/rs6000/t-darwin: Fix dependencies for darwin.o.
55
56 2001-05-25  Neil Booth  <neil@daikokuya.demon.co.uk>
57
58         * c-parse.in (notype_initdcl): Remove redundant line.
59
60 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
61
62         * aclocal.m4: Fixed typo.
63         (gcc_AC_HEADER_STDBOOL): Define.
64         (gcc_AC_C__BOOL): Define.
65         * configure.in: Use them.
66         (AC_CHECK_HEADERS): Remove stdbool.h
67         * configure, config.in: Regenerate.
68
69 2001-05-25  Richard Henderson  <rth@redhat.com>
70
71         * function.c (expand_function_start): Don't abort on PARALLEL
72         returns from hard_function_value.
73
74 2001-05-25  Richard Henderson  <rth@redhat.com>
75
76         * config/i386/i386.md: Revert previous change.  Do not apply
77         the peephole if the components do not die after the sequence.
78
79 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
80
81         * c-parse.in (array_declarator): New.  Handle C99 constructs.
82         Don't restrict [*] declarators to C only.
83         (after_type_declarator, parm_declarator_starttypename,
84         parm_declarator_nostarttypename, notype_declarator,
85         direct_absdcl1): Use it.
86         * c-decl.c (build_array_declarator, set_array_declarator_type):
87         New functions.  Warn that [*] isn't properly implemented; pedwarn
88         for [*] outside C99 mode if pedantic rather than giving a hard
89         error.
90         (grokdeclarator): Handle static and type qualifiers in parameter
91         array declarators.
92         * c-tree.h (build_array_declarator, set_array_declarator_type):
93         Declare.
94         * extend.texi (Attribute Syntax): Document attributes in parameter
95         array declarators.
96
97 2001-05-25  Mark Mitchell  <mark@codesourcery.com>
98
99         * config/i386/i386.md: Make sure cmpstr peepholes do not 
100         affect liveness information.
101
102 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
103
104         * c-typeck.c (digest_init): Issue error messages about 
105         invalid constants, not warnings.
106
107 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
108
109         * invoke.texi (-fno-builtin): Document that this is always on
110         in C++.
111
112 2001-05-24  Philip Blundell  <philb@gnu.org>
113
114         * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
115         required.
116
117 2001-05-24  Philip Blundell  <philb@gnu.org>
118
119         * config/arm/arm.c (output_return_instruction): Correctly handle
120         interworking and interrupt functions.
121
122 2001-05-24  Philip Blundell  <philb@gnu.org>
123
124         * config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
125         -m{no-}sched-prolog.  Fix typos and improve formatting.
126
127 2001-05-24  Philip Blundell  <philb@gnu.org>
128
129         * invoke.texi (ARM Options): Improve wording slightly.  Add
130         documentation for more options, including those for Thumb mode.
131         Don't mention options that don't exist or are unimplemented.
132         (Thumb Options): Delete; merged into above section.
133
134 2001-05-24  Geoff Keating  <geoffk@redhat.com>
135
136         * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
137         (MD_FALLBACK_FRAME_STATE_FOR): Use it.
138
139 Thu May 24 19:47:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
140
141         * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
142         fix hard register simplification.
143
144 Thu May 24 00:15:17 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
145
146         * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
147         of just copying CPP_CPU_SPEC.
148
149 Thu May 24 15:56:48 CEST 2001  Jan Hubicka  <jh@suse.cz>
150
151         * i386.c (incdec_operand): Accept only 1 and -1.
152
153 2001-05-23  Kelley Cook  <kelley.cook@home.com>
154
155         * Makefile.in: Move many of the *_H definitions eariler in the
156         file, so that rules in t-* files that use them for
157         dependencies will work in a parallel build.
158         * config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).
159
160 2001-05-23  Richard Henderson <rth@redhat.com>
161
162         * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
163
164 2001-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
165
166         * cpp.texi: Update for handling of charconsts.
167         * cpplex.c (maybe_read_ucs): Don't accept D800-DFFF.  Update
168         diagnostics.  Skip to the end if the UCS is too short.
169         (cpp_interpret_charconst): Long charconsts issue a warning
170         not an error.
171
172 2001-05-23  Richard Henderson  <rth@redhat.com>
173
174         * doc/install.texi (alpha-linux): Require binutils 2.11.
175
176 2001-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
177
178         * c-lex.c (read_escape, read_ucs): Delete.
179         (lex_string): Use cpp_parse_escape.
180         * cpplex.c (read_ucs): Rename maybe_read_ucs.  Do nothing
181         if not C++ or not C99.  Warn if traditional.
182         (parse_escape): Rename cpp_parse_escape.  Make the bitmask
183         unsigned.  Warn for out-of-range escape sequences here.
184         Update to use maybe_read_ucs.
185         (cpp_interpret_charconst):  Don't warn here.
186         * cpplib.h (cpp_parse_escape): New exported function.
187
188 2001-05-23  Joseph S. Myers  <jsm28@cam.ac.uk>
189
190         * extend.texi (Attribute Syntax): Clarify application of
191         attributes to parameters declared as functions or arrays.
192
193 2001-05-23  Jason Merrill  <jason_merrill@redhat.com>
194
195         * dbxout.c (dbxout_type_methods): Do still group methods by name.
196
197 2001-05-23  Zack Weinberg  <zackw@stanford.edu>
198
199         * diagnostic.c (vnotice): Kill.
200         (fnotice): Call vfprintf directly.
201         (diagnostic_for_decl, output_do_verbatim, output_verbatim,
202         verbatim, set_diagnostic_context): Rename string argument to
203         indicate that it is run through gettext.
204         (vbuild_message_string, build_message_string, output_do_printf):
205         Rename string argument to indicate that it is NOT run through
206         gettext.
207         (output_printf, diagnostic_for_decl, fatal_io_error, sorry,
208         output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
209         Run msgid argument through gettext.
210         (default_print_error_function): Run constant strings through
211         gettext when nothing else will.
212         (fatal_error, internal_error, error_recursion): Use fnotice.
213         Present complete sentences to gettext.
214
215 2001-05-23  Mark Mitchell  <mark@codesourcery.com>
216
217         * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
218
219 2001-05-23  Richard Henderson  <rth@redhat.com>
220
221         * function.c (expand_function_start): Always use a pseudo
222         for the function result value.
223
224 2001-05-22  Richard Henderson  <rth@redhat.com>
225
226         * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
227         section pointer alignment.
228
229         * doc/install.texi (alpha-linux): Require binutils >= 2.10.
230
231         * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
232         of __USER_LABEL_PREFIX__.
233
234 2001-05-22  Richard Henderson  <rth@redhat.com>
235
236         * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
237         (__deregister_frame_info_bases): New.
238         * unwind-dw2-fde.h: Declare it.
239         * libgcc-std.ver: Export it.
240         * crtstuff.c (__do_global_dtors_aux): Call it if we would have
241         called __register_frame_info_bases.
242
243 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
244
245         * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
246         instead of #elif (which is OK for this case but not in general).
247
248 2001-05-22  Andrew MacLeod  <amacleod@redhat.com>
249
250         * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
251         * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
252         parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
253         * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing 
254         "r2" to the assembly file. Only issue allocs with non-zero parameters.
255
256 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
257             David O'Brien  <obrien@freebsd.org>
258
259         * config/freebsd.h (LIB_SPEC): Key the exact setting to
260         configure-time options and target version of FreeBSD.  Set-up
261         to match architectural change in threading support.  Correctly
262         report when -pthread option is not supported by configure-time
263         options.
264         (FBSD_CPP_PREDEFINES): Move from architecture-specific files
265         and extend to encode target version number in run-time setting
266         of __FreeBSD__ macro to match the system compiler.
267         (CPP_PREDEFINES): Likewise.
268         (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
269
270         * config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
271         * config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
272
273 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
274             David O'Brien  <obrien@freebsd.org>
275
276         * config.gcc (the unlabeled system switch statement): Add
277         generic configuration section to handle *-*-freebsd*.  Also,
278         to match the system compiler, default to threading support (it
279         may be disabled with the standard --disable-threads
280         configuration-time switch).
281         (i[34567]86-*-freebsd* in machine-specific section): Use it.
282         (alpha*-*-freebsd* in machine-specific section): Likewise.
283
284         * config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
285         * config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
286         * config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
287         * config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
288         * config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
289
290 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
291             David O'Brien  <obrien@freebsd.org>
292
293         * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
294         * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
295         -pthread instead setting macro.
296
297 2001-05-22  Richard Henderson  <rth@redhat.com>
298
299         * crtstuff.c (__register_frame_info_bases): Declare.
300         (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
301         (__do_global_dtors_aux, __do_global_dtors): Streamline.
302
303         * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
304         (CRT_GET_RFIB_DATA): New.
305         * config/i386/sysv4.h: Likewise.
306         * config/i386/sco5.h: Likewise.
307         (ASM_PREFERRED_EH_DATA_FORMAT): New.
308
309 2001-05-22  Richard Henderson  <rth@redhat.com>
310
311         * rtl.c (read_string): Break out from ...
312         (read_rtx): ... here.
313
314 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
315
316         * doc/install.texi (Specific): Remove a bogus and duplicate part
317         copied from the end of the document.
318
319 2001-05-22  Bernd Schmidt  <bernds@redhat.com>
320
321         * Makefile.in (LIBGCC_DEPS): Correct LIB1ASMSRC dependency.
322
323 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
324
325         * install.texi: Remove obsolete information on SunOS as well as
326         i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
327         (Installing GNU CC on the Sun): Remove section.
328
329 2001-05-22  Alexandre Oliva  <aoliva@redhat.com>
330
331         * cppfiles.c (remove_component_p): Don't assume lstat/stat will
332         keep errno unchanged on success.
333
334 2001-05-22  Joseph S. Myers  <jsm28@cam.ac.uk>
335
336         * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
337         once for hexadecimal floats, whether or not they contain a decimal
338         point.  Don't let the setting of pedantic otherwise affect the
339         parsing of hexadecimal floats.
340
341 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
342
343         * README.ACORN: Remove obsolete file.
344
345 2001-05-22  Jan Hubicka  <jh@suse.cz>
346
347         * combine.c (gen_binary): Use swap_commutative_operands_p
348         (simplify_comparison): Likewise.
349         * expmed.c (emit_store_flag): Likewise.
350         * expr.c (compare_from_rtx): Likewise.
351         (do_compare_rtx_and_jump): Likewise.
352         * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
353         if not emitting a branch and operands want swapping.
354
355 2001-05-22  Neil Booth  <neil@daikokuya.demon.co.uk>
356
357         * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
358         * stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
359         (maybe_get_identifier): Update.
360         * tree.h (make_identifier): Delete.
361
362 2001-05-21  Richard Henderson  <rth@redhat.com>
363
364         * combine.c (subst): Do not substitute for a register as
365         a destination subreg/strict_low_part/zero_extract.
366
367         * combine.c (simplify_comparison): Update op1 after constant
368         extension.
369         * recog.c (const_int_operand): Accept only constants valid
370         for the given mode.
371         * genrecog.c: Update comments wrt const_int_operand.
372
373         * emit-rtl.c (init_emit_once): Zero unused memory in a
374         CONST_DOUBLE.
375
376 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
377
378         * tree.h (type_num_arguments): Declare it.
379         * tree.c (type_num_arguments): New function.
380
381 2001-05-21  Richard Henderson  <rth@redhat.com>
382
383         * dwarf2out.c (current_funcdef_number): Move outside dwarf2
384         conditional ifdef.
385
386 2001-05-21  Geoff Keating  <geoffk@redhat.com>
387
388         * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
389         (maxsf3+1): Delete.
390         (minsf3): Use rs6000_emit_minmax.
391         (minsf3+1): Generalize to handle both SMIN and SMAX.  Use
392         rs6000_emit_minmax.
393         (movsfcc): Use rs6000_emit_cmove.
394         (fselsfsf4): Don't compare a CONST_INT with a floating-point value.
395         Don't generate emit_fselsfsf4.
396         (fseldfsf4): Likewise.
397         (maxdf3): Use rs6000_emit_minmax.
398         (maxdf3+1): Delete.
399         (mindf3): Use rs6000_emit_minmax.
400         (mindf3+1): Generalize to handle both SMIN and SMAX.  Use
401         rs6000_emit_minmax.
402         (movdfcc): Use rs6000_emit_cmove.
403         (fseldfdf4): Don't compare a CONST_INT with a floating-point value.
404         Don't generate emit_fselsfsf4.
405         (fselsfdf4): Likewise.
406         * config/rs6000/rs6000.c (zero_fp_constant): New predicate.
407         (min_max_operator): New predicate.
408         (rs6000_emit_cmove): New function.
409         (rs6000_emit_minmax): New function.
410         * config/rs6000/rs6000-protos.h: Prototype new functions.
411         * config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
412         and min_max_operator.
413
414         * config/rs6000/rs6000.c (output_cbranch): Handle all
415         conditional types in the switch statement.
416
417 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
418
419         * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
420         non-register variables.
421         * extend.texi: Document that asm-specifications do not make sense
422         for non-static local variables.
423
424 2001-05-21  Jason Merrill  <jason_merrill@redhat.com>
425
426         * dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
427         (dbxout_type_fields): Lose minimal_debug support.
428         (dbxout_type_methods, dbxout_type): Likewise.
429
430 2001-05-17  Andrew Haley  <aph@redhat.com>
431
432         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
433
434 2001-05-21  Richard Henderson  <rth@redhat.com>
435
436         * dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
437         Update all users.
438
439 2001-05-20  Richard Henderson  <rth@redhat.com>
440
441         * dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
442         DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
443         DEBUG_STR_SECTION): Rename from s/DEBUG_//.  Update all users.
444         * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
445         DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
446         Likewise.
447         * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
448         DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
449         DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
450         (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
451         * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
452         DEBUG_PUBNAMES_SECTION): Rename as above.
453         (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
454
455 2001-05-20  Richard Henderson  <rth@redhat.com>
456
457         * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
458         operands unless the operation is commutative.
459
460 2001-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
461
462         * fold-const.c (tree_expr_nonnegative_p): Detect more non-negative
463         cases.
464
465 2001-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
466
467         * extend.texi: Clarify documentation of extensions included in ISO
468         C99.  Prefer C99 terminology and syntax to old GNU terminology and
469         syntax.  Add more index entries.  Document mixed declarations and
470         code as an extension in C89 mode.  Warn about future changes to
471         semantics of inline functions.  Fixes PR other/930.
472
473 Sun May 20 16:39:24 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
474
475         * expr.c (expand_expr, case ARRAY_REF): Don't fold constant
476         access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
477         (expand_expr, case COMPONENT_REF): Do copy if misaligned even
478         if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
479
480         * stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
481
482 2001-05-20  Richard Henderson  <rth@redhat.com>
483
484         * sched-deps.c (sched_analyze_insn): Force volatile memory reads
485         to be output before a branch.
486
487 2001-05-20  Richard Henderson  <rth@redhat.com>
488
489         * Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
490
491 2001-05-20  Richard Henderson  <rth@redhat.com>
492
493         * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
494         (ASM_DOUBLE): Remove.
495         * config/i386/bsd.h, config/i386/sco5.h: Likewise.
496         * config/i386/sun386.h: Likewise.
497
498         * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
499         (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
500         
501         * config/i386/cygwin.h (INT_ASM_OP): Remove.
502         * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
503         * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
504         * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
505         
506         * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
507         * config/i386/djgpp.h, config/i386/i386.h: Likewise.
508         * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
509         * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
510         * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
511         * config/i386/win32.h: Likewise.
512
513 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
514
515         * invoke.texi: Add more options to summary list.
516
517 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
518
519         * invoke.texi: Document meaning of -pedantic when -std=gnu* is
520         used.  Fixes PR c/2291.
521         * gcc.1: Regenerate.
522
523 2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
524
525         * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
526         the -fpic and -fPIC options, clear flag_pic.
527
528 2001-05-20  Neil Booth  <neil@daikokuya.demon.co.uk>
529
530         * hashtable.c (calc_hash): Fix HASHSTEP definition.
531         * stringpool.c (make_identifier): No statistics here anymore.
532         * objc-act.c (steup_string_decl): Remove redundant check.
533
534 2001-05-20  Neil Booth  <neil@daikokuya.demon.co.uk>
535
536         * Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
537         cpplib.o, cpphash.o, fix-header): Update.
538         (hashtable.o): New target.
539         * c-common.h: Include cpplib.h.  Define C_RID_CODE and
540         struct c_common_identifier here.
541         * c-lang.c (c_init_options): Update.  Call set_identifier_size.
542         * c-lex.c (c_lex): Update.
543         * c-pragma.h: Update.
544         * c-tree.h (struct lang_identifier): Contain c_common_identifier.
545         Delete rid_code.
546         (C_RID_CODE): Delete.
547         * cpphash.c: Rewrite to use hashtable.c.
548         * cpphash.h: Update include guards.
549         (struct cpp_reader): Remove hashtab.
550         hash_ob and buffer_ob are no longer pointers.  Add hash_table
551         and our_hashtable.
552         (HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
553         (_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
554         (_cpp_cleanup_stacks): Rename _cpp_init_directives.
555         * cppinit.c (cpp_create_reader): Update.
556         * cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
557         (cpp_interpret_charconst): Eliminate warning.
558         * cpplib.c (do_pragma, do_endif, push_conditional,
559         cpp_push_buffer, cpp_pop_buffer): Update.
560         (_cpp_init_stacks): Rename cpp_init_directives.
561         (_cpp_cleanup_stacks): Remove.
562         * cpplib.h: Update include guards.  Include tree-core.h and c-rid.h.
563         (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
564          cpp_forall_identifiers, cpp_create_reader): Update.
565         (C_RID_CODE, cpp_make_node): New.
566         (c_common_identifier): New identifier node for C front ends.
567         * cppmain.c (main): Update.
568         * fix-header.c (read_scan_file): Update.
569         * flags.h (id_clash_len): Make unsigned.
570         * ggc.h (ggc_mark_nonnull_tree): New.
571         * hashtable.c: New.
572         * hashtable.h: New.
573         * stringpool.c: Update comments and copyright.  Update to use
574         hashtable.c.
575         * toplev.c (approx_sqrt): Move to hashtable.c.
576         (id_clash_len): Make unsigned.
577         * toplev.h (ident_hash): New.
578         * tree.c (gcc_obstack_init): Move to hashtable.c.
579         * tree.h: Include hashtable.h.
580         (IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
581         (GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
582         (struct tree_identifier): Update.
583         (make_identifier): New.
584 cp:
585         * cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
586         (C_RID_CODE): Remove.
587         * lex.c (cxx_init_options): Call set_identifier_size.  Update.
588         (init_parse): Don't do it here.
589 objc:
590         * objc-act.c (objc_init_options): Call set_identifier_size. Update.
591
592 Sat May 19 18:23:04 2001  Richard Henderson <rth@redhat.com>
593
594         * except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
595         as ncessary.
596         (expand_eh_return): Convert between word_mode and Pmode.
597         * unwind-dw2.c (extract_cie_info): Do not assume words and pointers
598         are the same size.
599         (execute_stack_op): Likewise.
600         (execute_cfa_program): Likewise.
601         (uw_frame_state_for): Likewise.
602         (uw_update_context_1): Likewise.
603         * unwind.inc (_Unwind_Reason_Code): Likewise.
604         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
605         (EH_RETURN_STACKADJ_RTX): Likewise.
606         * config/mips/mips.c (compute_frame_size): Make space for saving
607         EH return registers.
608         (mips_expand_epilogue): Handle EH stack adjustments.
609         * config/mips/mips.md (eh_return): New pattern.
610         (eh_set_lr_si): Likewise.
611         (eh_set_lr_di): Likewise.
612         Add splitter to perform EH return after reload.
613                 
614 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
615
616         * jump.c (mark_jump_label): Tidy previous change.
617
618 2001-05-19  Bruce Korb  <bkorb@gnu.org>
619
620         * fixinc/genfixes: no need for two warnings
621         * fixinc/Makefile.in: open stdin for those building with a closed one.
622
623 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
624
625         * jump.c (jump_optimize_1): Tidy.
626         (mark_jump_label): When changing the label in a LABEL_REF, change
627         update any REG_EQUAL notes as well.
628
629 2001-05-19  Joseph S. Myers  <jsm28@cam.ac.uk>
630
631         * c-parse.in (parm_declarator): Split into
632         parm_declarator_starttypename and parm_declarator_nostarttypename.
633         (parm_declarator_starttypename, parm_declarator_nostarttypename):
634         New.  Allow parenthesised sub-declarators which don't begin with a
635         TYPENAME.  Fixes PR c/166.
636
637 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
638
639         * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
640         macro.
641         * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
642         Document it.
643         * toplev.c (main): If the target does not allow profiling without
644         a frame pointer, issue an error message.
645         * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): 
646         Define it to false.
647         
648 Sat May 19 07:53:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
649
650         * recog.c (general_operand): Modify last change to allow it if reload
651         has completed.
652
653 Sat May 19 10:23:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
654
655         * recog.c (general_operand): Prohibit nonzero subreg bytes on
656         subregs containing mem.
657
658 Sat May 19 09:40:45 2001  Denis Chertykov  <denisc@overta.ru>
659
660         * regrename.c (regrename_optimize): frame pointer register can
661         use a few hardregs.
662
663 2001-05-18  Jason Merrill  <jason_merrill@redhat.com>
664
665         * README.DWARF: Move into dwarfout.c.
666
667 2001-05-18  Dale Johannesen  <dalej@apple.com>
668
669         * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
670         specific misuse of r0 as a reload address.
671
672 Fri May 18 22:42:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
673
674         * combine.c (combine_simplify_rtx): Clear op0_mode if simplification
675         suceeded.
676
677 Fri May 18 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
678
679         * genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
680         (add_to_sequence): Make that decision type.
681         (maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
682         (write_switch, write_cond, debug_decision_2): Likewise.
683
684         * dbxout.c (dbxout_type): Use host_integerp and fix typo in testing
685         for INTEGER_TYPE.
686         (dbxout_symbol, case TYPE_DECL): Don't generate tag for records of
687         variable size.
688
689 2001-05-18  Stan Shebs  <shebs@apple.com>
690
691         * configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
692         * configure: Regenerate.
693
694 2001-05-18  Per Bothner  <per@bothner.com>
695
696         Changes needed for java/jvspec.c
697         * gcc.h (n_infiles, outfiles):  Add declarations.
698         * gcc.c (n_infiles, outfiles):  Mske no longer static.
699
700 Fri May 18 10:14:42 2001  Jeffrey A Law  (law@cygnus.com)
701
702         * config/pa/som.h (EXCEPTION_SECTION): Define.
703
704 2001-05-18  Daniel Berlin  <dan@cgsoftware.com>
705
706         * dwarf2out.c: Add dw_loc_list_ref, a reference to a location
707         list.
708         Add have_location_lists, a variable to determine whether we need a
709         .debug_loc section or not.
710         (enum dw_val_class): Add dw_val_class_loc_list.
711         (dw_val_struct): Add val_loc_list.
712         (dw_loc_list_struct): New structure, represents location lists.
713         (new_loc_list): New function, return a new location list, given
714         the range and location expression.
715         (add_loc_descr_to_loc_list): New function, add a location
716         expression to a location list, given the expression and range.
717         (output_loc_list): New function, output a location list.
718         (gen_internal_sym): Modified to take symbol prefix, so we can
719         reuse it for location list symbols.
720         (add_AT_loc_list): New function, add a location list to a DIE at
721         the named attribute.
722         (AT_loc_list): New function, return the location list reference
723         for a given attribute, if it's a location list.
724         (print_die): Handle dw_val_class_loc_list.
725         (size_of_die): Ditto.
726         (value_format): Ditto.
727         (output_die): Ditto.
728         (output_location_lists): New function, output all of the location
729         lists for a DIE and it's children.
730         (dwarf2out_finish): Call output_location_lists if we have location
731         lists.
732
733
734 Fri May 18 15:39:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
735
736         * gcse.c (try_replace_reg): First try global replace, later try to
737         simplify the expression.
738
739         * gcse.c (find_used_regs): Change calling convention; work via
740         note_uses.
741         (cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.
742
743 2001-05-18  Bernd Schmidt  <bernds@redhat.com>
744
745         Revert
746         2001-02-09  Nick Clifton  <nickc@redhat.com>
747         * config/arm/arm.md: Change output constraint on post inc
748         load/store multiple patterns to be a read/write constraint.
749
750 2001-05-18  Mark Mitchell  <mark@codesourcery.com>
751
752         * basic-block.h (struct basic_block_def): Add documentation about
753         what a basic block is, and what the various fields are used for.
754         * flow.c (calculate_globlal_regs_live): Add documentation about
755         how the algorithm works, and how we know that it will terminate.
756         Check that the the inductive assumption that guarantees
757         termination actually holds.
758         (mark_used_regs): Treat conditionally set registers as used.
759         (debug_regset): Add comment.
760         * rtl.texi (cond_exec): Add documentation.
761
762         * function.c (expand_function_start): Avoid creating BLKmode
763         pseudos.
764
765 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
766
767         * dwarf2out.c (output_comp_unit): Always output a compilation-unit
768         DIE, even if it has no children.
769         (dwarf2out_finish): Always output the line-number table, even if
770         it has no content.
771
772 2001-05-18  David Edelsohn  <edelsohn@gnu.org>
773
774         * rs6000.md (movsfcc,movdfcc): Remove NE case.
775
776 2001-05-17  Bruce Korb <bkorb@gnu.org>
777
778         * fixinc/fixincl.tpl: rewritten as an AutoGen version 5 template
779         * fixinc/genfixes: emit a warning if AutoGen is out of date
780
781 2001-05-17  Brendan Conoboy <blc@cygnus.com>
782             Bruce Korb <bkorb@gnu.org>
783
784         * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not
785         found in fixinc directory.  Facilitates binary distributions.
786
787 2001-05-17  Jeffrey Oldham  <oldham@codesourcery.com>
788
789         * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
790         COMPLEX_TYPE.
791
792 Thu May 17 19:42:39 2001  Mark Kettenis  <kettenis@wins.uva.nl>
793
794         * dwarf2out.c (modified_type_die): Equate qualified type to die.
795
796 Thu May 17 23:19:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
797
798         * integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
799         (simplify_subreg): Handle complex types represented as CONCAT.
800
801         * recog.c (validate_replace_rtx_1): Properly canonicalize expression
802         * rtl.h (swap_commutative_operands_p): Declare.
803         * rtlanal.c (swap_commutative_operands_p): New.
804         (operand_preference): New static function.
805
806         * combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
807         (gen_binary): Likewise.
808         * optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
809         * simplify-rtx.c (simplify_gen_binary,
810         simplify_gen_relational): Likewise.
811
812 Thu May 17 20:43:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
813
814         * cse.c (fold_rtx): Use simplify_subreg.
815
816         * simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
817         (simplify_gen_subreg): New.
818         (simplify_rtx): Use simplify_subreg.
819         * rtl.h (simplify_gen_subreg): Declare.
820
821 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
822
823         * doc/install.texi: Update Solaris information.
824
825         * except.h (protect_cleanup_actions): Remove it.
826         (lang_protect_cleanup_actions): Declare it.
827         * except.c (protect_cleanup_actions): Remove it.
828         (lang_protect_cleanup_actions): New variable.
829         (init_eh): Don't make protect_cleanup_actions a GC root.
830         (expand_eh_region_and_cleanup): Call
831         lang_protect_cleanup_actions.
832         (output_function_exception_table): Remove unused `align'
833         variable.
834         * varasm.c (assemble_external): Abort if we have not yet
835         opened the assembly output file.
836         
837 Thu May 17 11:54:50 2001  Jeffrey A Law  (law@cygnus.com)
838
839         * except.c (sjlj_emit_function_enter): Call assemble_external_libcall
840         for eh_personality_libfunc.
841
842 Thu May 17 19:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
843
844         * recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
845         when calling simplify_subreg.  This is needed to allow replacing
846         of expression of one mode by expression of different mode.
847
848 Thu May 17 19:40:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
849
850         * simplify-rtx.c  (simplify_subreg): Avoid creating of incorrect subregs.
851
852 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
853
854         * expr.c (protect_from_queue): Protect against subsequent calls to
855         emit_queue.
856         (expand_expr, case ADDR_EXPR): Prevent protect_from_queue from being
857         too clever.
858
859 Thu May 17 18:17:34 CEST 2001  Jan Hubicka  <jh@suse.cz>
860
861         * simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
862
863 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
864
865         * gccbug.in (CATEGORIES): Add "bootstrap".
866
867 Thu May 17 16:59:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
868
869         * simplify-rtx.c (simplify_subreg): Break out from ...
870         * combine.c (combine_splify_rtx) ... here and ...
871         * recog.c (validate_replace_rtx_1): ... here;
872         * rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
873         * emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
874         (subreg_lowpart_p): ... here.
875
876 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
877
878         * stmt.c (expand_asm_operands): For inout operands, make sure
879         the substitution of '=' for '+' makes it into the rtl.
880
881         * reload1.c (delete_output_reload): Call eliminate_regs on substed.
882         (reload_as_needed): Call update_eliminable_offsets a bit later.
883
884 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
885
886         * gcc.texi (gccbug): Refer to the web pages for detailed information
887         on GNATS.
888
889 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
890
891         * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
892
893         * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
894         OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
895         LIB1FUNCS, and LIB1FUNCS_EXTRA.  Delete rules: libgcc1-test,
896         libgcc1-test.o.  Clarify commentary now that libgcc1 no longer exists.
897         * cross-make: Don't set LIBGCC1.
898         * mklibgcc.in: Delete all code for building from libgcc1.c.
899         Always honor LIB1ASMFUNCS if set.
900
901         * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
902         config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
903         config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
904         config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
905         config/i386/uwin.asm, config/m68hc11/larith.asm,
906         config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
907         config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
908         config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
909         config/v850/lib1funcs.asm, config/c4x/libgcc.S:
910         Delete or update references to libgcc1 in commentary.
911
912         * config/t-libc-ok, config/t-linux, config/t-linux-aout,
913         config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
914         config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
915         config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
916         config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
917         config/arm/t-semi, config/arm/t-strongarm-coff,
918         config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
919         config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
920         config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
921         config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
922         config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
923         config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
924         config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
925         config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
926         config/m68k/t-m68kbare, config/m68k/t-m68kelf,
927         config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
928         config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
929         config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
930         config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
931         config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
932         config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
933         config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
934         config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
935         config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
936         config/mips/t-ultrix, config/mn10200/t-mn10200,
937         config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
938         config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
939         config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
940         config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
941         config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
942         config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
943         config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
944         config/sparc/t-sparclite, config/sparc/t-splet,
945         config/sparc/t-sunos41, config/sparc/t-vxsparc,
946         config/sparc/t-vxsparc64, config/v850/t-v850:
947         Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
948
949         * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h: 
950         Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
951         * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
952         FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
953         nongcc_SI_type, nongcc_word_type, or perform_*
954         * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
955
956         * config/i386/386bsd.h, config/i386/beos-elf.h,
957         config/i386/linux-aout.h, config/i386/linux-oldld.h,
958         config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
959         config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
960         Don't include i386/perform.h.
961
962         * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
963         config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
964         config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
965         config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
966         config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
967         config/vax/t-openbsd, config/vax/t-vax: Delete.
968
969         * config.gcc: Remove references to deleted files.
970         (arm-semi-aof): Use arm/t-semi for tmake_file.
971
972         * gcc.texi, install.texi, invoke.texi, tm.texi:
973         Delete or rewrite text which is no longer relevant now that
974         libgcc1 no longer exists.
975
976         * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
977         No need to set INSTALL_ASSERT_H.  (Missed in previous sweep.)
978
979 2001-05-16  Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
980         Bruce Korb <bkorb@gnu.org>
981
982         * fixinc/inclhack.def(solaris27_mutex_init):  Fix broken mutex
983         initializer
984
985 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
986
987         * i386.md: Add two peepholes to clean up code generated by
988         cmpstr* expanders.
989
990 2001-05-16  Richard Henderson  <rth@redhat.com>
991
992         * dwarf2asm.c (eh_data_format_name): Add names for "pointer size" 
993         variants of non-absolute encodings.
994
995         * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
996
997         * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
998         __register_frame_info_table_bases): Export.
999
1000 2001-05-16  Richard Henderson  <rth@redhat.com>
1001
1002         * except.c (eh_data_format_name): Move to ...
1003         * dwarf2asm.c: ... here.  Use designated initializers if available.
1004         (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
1005         * dwarf2asm.h: Update declarations.
1006         * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
1007         ASM_PREFERRED_EH_DATA_FORMAT.
1008         (output_call_frame_info): Likewise.  Use 'L' augmentation for
1009         the LSDA encoding.
1010
1011         * unwind-dw2-fde.h (struct fde_vector): New.
1012         (struct old_object): Rename from struct object.
1013         (struct object): New.
1014         (__register_frame_info_bases): Declare.
1015         (__register_frame_info_table_bases): Declare.
1016         (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
1017         * unwind-dw2-fde.c (objects): Remove.
1018         (unseen_objects, seen_objects): New.
1019         (__register_frame_info_bases): New.
1020         (__register_frame_info): Use it.
1021         (__register_frame_info_table_bases): New.
1022         (__register_frame_info_table): Use it.
1023         (__deregister_frame_info): Rewrite for changed object struct.
1024         (base_from_object, get_cie_encoding, get_fde_encoding): New.
1025         (fde_unencoded_compare): Rename from fde_compare; uninline.
1026         (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
1027         (start_fde_sort): Adjust for new definition of fde_vector.
1028         (fde_insert): Likewise.
1029         (end_fde_sort): Likewise.  Select comparison function based
1030         on properties of the object.
1031         (fde_split): Take object and fde_compare_t arguments.
1032         (frame_heapsort, fde_merge): Likewise.
1033         (classify_object_over_fdes): Rename from count_fdes.  Handle
1034         encoded pointers.  Collect encoding, mixed_encoding, and pc_begin
1035         for the object.
1036         (add_fdes): Handle encoded pointers.
1037         (init_object): Rename from frame_init.  Update for new struct object.
1038         (linear_search_fdes): Rename from search_fdes.  Handle encoded
1039         pointers.
1040         (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
1041         (binary_search_single_encoding_fdes): New.
1042         (binary_search_mixed_encoding_fdes): New.
1043         (search_object): New.
1044         (_Unwind_Find_FDE): Update for new struct object.  Fill in
1045         the dwarf_eh_bases.
1046         * unwind-dw2.c: Include unwind-pe.h.  Constify all pointers
1047         iterating over EH data.
1048         (_Unwind_FrameState): Remove saw_lsda, addr_encoding.  Add
1049         fde_encoding, lsda_encoding.
1050         (read_uleb128, read_sleb128): Remove.
1051         (read_encoded_pointer): Remove.  All callers use read_encoded_value.
1052         (extract_cie_info): Set lsda_encoding from 'L' augmentation.
1053         (uw_frame_state_for): Don't set bases.func.  Handle encoded fde
1054         pointers.
1055         * unwind-pe.h: Add "struct" to _Unwind_Context references.
1056
1057 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1058
1059         * cppexp.c (lex): Use NODE_NAME and NODE_LEN.
1060         * cpphash.c (_cpp_lookup_with_hash): Similarly.
1061         * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
1062         cpp_spell_token, cpp_output_token): Similarly.
1063         * cpplib.c (lex_macro_node, do_undef, do_pragma,
1064         do_pragma_poison, parse_assertion, do_assert): Similarly.
1065         * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
1066         save_parameter, _cpp_create_definition, check_trad_stringification,
1067         cpp_macro_definition): Similarly.
1068         * cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
1069         * c-lex.c (cb_undef, c_lex): Similarly.
1070         * fix-header.c (recognized_function): Similarly.
1071         * cpplib.h (NODE_LEN, NODE_NAME): New.
1072         (cpp_hashnode): Rename length len.
1073
1074 Wed May 16 13:41:10 2001  Jeffrey A Law  (law@cygnus.com)
1075
1076         * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
1077         GPRs.
1078
1079 2001-05-16  Andreas Jaeger  <aj@suse.de>
1080
1081         * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
1082
1083         * toplev.c: Include dwarf2asm.h for prototype of
1084         dw2_output_indirect_constants.
1085
1086 Wed May 16 19:53:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
1087
1088         * stmt.c (expand_asm_operands): Be able to offload addressof
1089         expression to memory. (PR optimization/185)
1090
1091 Wed May 16 18:53:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
1092
1093         * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
1094         applying distributive law.
1095
1096 2001-05-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1097
1098         * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
1099
1100         * gthr-dce.h (UNUSED): Attribute unused macro.
1101         (__gthread_key_dtor): Make arguments UNUSED.
1102         (__gthread_key_delete): Revise for compatibility with DRAFT4
1103         implementation.
1104
1105 2001-05-16  David Edelsohn  <edelsohn@gnu.org>
1106
1107         * doc/install.texi: Update AIX information.
1108         * README.RS6000: Remove obsolete file.
1109
1110 2001-05-16  Jakub Jelinek  <jakub@redhat.com>
1111             Nathan Sidwell  <nathan@codesourcery.com>
1112
1113         * gcc.c (give_switch): Don't write before start of string.
1114         Always append suffix.
1115
1116 2001-05-16  Nathan Sidwell  <nathan@codesourcery.com>
1117
1118         * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
1119         after stage3.
1120
1121 2001-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1122
1123         * README.ALTOS: Remove obsolete file.
1124
1125 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1126
1127         * c-lex.h (save_and_forget_protocol_qualifiers,
1128         forget_protocol_qualifiers, remember_protocol_qualifiers):
1129         Remove deleted functions' prototypes.
1130
1131 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1132
1133         * c-parse.in (methodtype): New production.
1134         (methoddef, methodproto): Collapse separate '-' and '+'
1135         handlers into 1.
1136
1137 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1138
1139         * c-common.h (RID_FIRST_PQ): New.
1140         * c-parse.in (objc_pq_context): New.
1141         (objc parser): Set objc_pq_context rather than calling
1142         remember_protocol_qualifiers and forget_protocol_qualifiers.
1143         Don't call save_and_forget_protocol_qualifiers.
1144         (yylexname): Handle objc protocol qualifiers here.
1145         * stringpool.c (struct str_header): Replace with sp_hashnode.
1146         (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
1147         (alloc_string): Rename alloc_ident.  Use the SP_ accessors.
1148         Allocate an IDENTIFIER_NODE for each identifier.
1149         (FORALL_STRINGS, set_identifier): Delete.
1150         (FORALL_IDS, expand_string_table, stringpool_statistics): Update.
1151         (ggc_alloc_string): Use an obstack.
1152         (get_identifier, maybe_get_identifier, mark_string_hash): Update.
1153         * tree.h: Update comments.
1154         (set_identifier): Delete.
1155         * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
1156         save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
1157         remember_protocol_qualifiers): Delete.
1158
1159 Tue May 15 22:14:09 2001  Jeffrey A Law  (law@cygnus.com)
1160
1161         * flow.c (life_analysis): After life analysis is complete, do
1162         an optional scan over insns looking for REG_LABEL notes that
1163         reference a deleted label.
1164         (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
1165         before peeking at LABEL_NUSES.
1166
1167 2001-05-15  Richard Henderson  <rth@redhat.com>
1168
1169         * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
1170         (_Unwind_GetTextRelBase): New.
1171
1172 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
1173
1174         * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
1175
1176 2001-05-15  Geoffrey Keating  <geoffk@redhat.com>
1177
1178         * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
1179         so that CHOOSE_SECTION gets used.
1180
1181         * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
1182         TARGET_RELOCATABLE like flag_pic for now.
1183
1184 2001-05-15  David Edelsohn  <edelsohn@gnu.org>
1185
1186         * rs6000.md (movdi splitter): Sign extend more efficiently.
1187         * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
1188         to "long long" valid on 32-bit and 64-bit hosts.
1189         (logical_operand): Cast trunc_int_for_mode return value.
1190         (rs6000_emit_move): Shift macro to encapsulate variable.
1191         (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
1192         (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
1193         plus_constant requires signed argument.
1194
1195 2001-05-15  Loren J. Rittle  <ljrittle@acm.org>
1196
1197         * gthr-posix.h: Make additional pthread-* functions weak.
1198
1199 Tue May 15 13:51:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
1200
1201         * recog.c (apply_change_group): Avoid unneeded validating.
1202
1203 2001-05-14  David Edelsohn  <edelsohn@gnu.org>
1204
1205         * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
1206         (num_insns_constant): CONST_INT can be 64-bits.
1207
1208 2001-05-14  Stan Shebs  <shebs@apple.com>
1209
1210         * config/darwin.h (LIB_SPEC): Just use -lSystem.
1211         (LIBGCC_SPEC): Don't define.
1212
1213 2001-05-14  Richard Henderson  <rth@redhat.com>
1214
1215         * configure.in (gcc_cv_as_eh_frame): New test.
1216         * config.in, configure: Rebuild.
1217         * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
1218
1219 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
1220
1221         * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
1222         extended precision divide.
1223
1224 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
1225
1226         * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
1227         for RETURNS as well.
1228
1229 Mon May 14 17:34:48 CEST 2001  Jan Hubicka  <jh@suse.cz>
1230
1231         * i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
1232         (CPP_CPU??_SIZE_TYPE): New.
1233         (CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
1234         (CPP_CPU_SPEC): ... here; support choosing of CPU.
1235         (EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
1236         (MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
1237         compiler.
1238         * i386.c (override_options): Add sorry about not suported modes.
1239
1240 Mon May 14 08:56:47 2001  Jeffrey A Law  (law@cygnus.com)
1241
1242         * config/pa/som.h (NM_FLAGS): Remove.
1243         (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
1244         (ASM_OUTPUT_SECTION_NAME): Remove.
1245         (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
1246
1247 2001-05-14  Mark Mitchell  <mark@codesourcery.com>
1248
1249         * regrename.c (regrename_optimize): Do not rename registers to
1250         leaf registers.
1251
1252 2001-05-14  Alexandre Oliva  <aoliva@redhat.com>
1253
1254         * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
1255         contain MEMs.  Remove useless distinction about clobbering
1256         registers.
1257
1258 2001-05-13  Geoff Keating  <geoffk@redhat.com>
1259
1260         * config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
1261         * config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
1262         * config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
1263         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1264         (EXCEPTION_SECTION): Define.
1265
1266 2001-05-13  Zack Weinberg  <zackw@stanford.edu>
1267
1268         * libgcc2.c, libgcc2.h: Restore __eprintf.  Label as used for
1269         binary backward compat only.
1270         * Makefile.in (LIB2FUNCS_ST): New.  Put _eprintf here, not
1271         in LIB2FUNCS.  Pass it to mklibgcc.
1272         * mklibgcc.in: Handle LIB2FUNCS_ST.
1273
1274         * Makefile.in (installdirs): Don't create $(gcc_tooldir).
1275
1276 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
1277
1278         * tm.texi (THREAD_MODEL_SPEC): Document it.
1279         * gcc.c (main): Use it.
1280         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
1281         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
1282
1283 2001-05-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1284
1285         * rtl.h (SYMBOL_REF_WEAK): New macro.
1286         * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
1287         * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
1288         * rtl.texi (SYMBOL_REF_WEAK): Document it.
1289         * gcc.texi: Remove wrong description.
1290
1291 2001-05-13  Mark Mitchell  <mark@codesourcery.com>
1292
1293         * Makefile.in (STAMP): New macro.
1294         Replace all uses of `touch' with $(STAMP).
1295         * fixinc/Makefile.in: Likewise.
1296
1297 Sun May 13 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1298
1299         * configure.in: ldopen is never in -lexc, so don't test for it.
1300         Add test for exc_resume in -lexc for Ada.
1301         * configure: Regenerated.
1302
1303 2001-05-12  Richard Henderson  <rth@redhat.com>
1304
1305         * dwarf2asm.c (size_of_encoded_value): New function.
1306         * dwarf2asm.h: Declare it.
1307         * except.c (output_function_exception_table): Align the TType
1308         array only as wide as the encoding.
1309
1310 2001-05-12  Zack Weinberg  <zackw@stanford.edu>
1311
1312         * extend.texi: Document #pragma GCC java_exceptions.
1313
1314 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1315
1316         * c-parse.in (bison parser, init_reswords): Remove uses of
1317         doing_objc_thang.
1318         * c-tree.h (doing_objc_thang): Remove.
1319
1320 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
1321
1322         * cpplex.c (_cpp_lex_token): Ensure we warn at most once
1323         about files not ending in newlines.
1324
1325 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1326
1327         * dwarfout.c (dwarfout_init): Add cast.
1328         * sched-deps.c (sched_analyze_insn): Remove unused vars.
1329         * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
1330 cp:
1331         * method.c (build_mangled_C99_name): Remove unused prototype.
1332
1333 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
1334
1335         * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
1336
1337 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
1338
1339         * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
1340         * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
1341
1342 2001-05-11  Richard Henderson  <rth@redhat.com>
1343
1344         * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1345         * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
1346         dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
1347         * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
1348         (dw2_output_indirect_constants): Prototype.
1349         * dwarf2out.c (dwarf2out_begin_prologue): Generate
1350         current_function_func_begin_label if we'll need it for EH.  Exit
1351         early for IA64_UNWIND_INFO.
1352         * except.c: Get DW_EH_PE_* defines from dwarf2.h.
1353         (eh_data_format_name): Update for indirect references.
1354         (output_function_exception_table): Care for IA64_UNWIND_INFO.
1355         Handle ASM_PREFERRED_EH_DATA_FORMAT.
1356         * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
1357         define HAVE_eh_return etc.
1358         * final.c (final_start_function): Always call dwarf2out_begin_prologue.
1359         (final_end_function): Don't call output_function_exception_table.
1360         * toplev.c (compile_file): Call dw2_output_indirect_constants.
1361         (rest_of_compilation): Invoke output_function_exception_table
1362         for ia64 before assemble_end_function.
1363         * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
1364         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
1365
1366         * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
1367         * unwind.h: Declare them.
1368         * libgcc-std.ver: Export them.
1369         * unwind-pe.h: New file.
1370
1371         * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1372
1373         * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
1374         instead of "fde".
1375         (find_fde_for_dso): Extract DT_PLTGOT.
1376         (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
1377         the segment and gp as well.
1378         * config/ia64/frame-ia64.c: Remove file.
1379         * config/ia64/frame-ia64.h: Remove file.
1380         * config/ia64/unwind-ia64.c: New file.
1381         * config/ia64/unwind-ia64.h: New file.
1382         * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
1383         (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
1384         (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
1385         (ASM_PREFERRED_EH_DATA_FORMAT): New.
1386         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
1387         (IA64_UNWIND_INFO): Re-enable.
1388         (HANDLER_SECTION): Remove.
1389         (EH_RETURN_DATA_REGNO): New.
1390         * config/ia64/ia64.md (exception_receiver): Remove.
1391         * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
1392         * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
1393
1394 2001-05-11  Richard Henderson  <rth@redhat.com>
1395
1396         * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
1397         calls and jumps to be bundled together.
1398         (ia64_reorg): Emit a break after a noreturn call that ends
1399         a function.
1400         * config/ia64/ia64.md (break_f): New.
1401
1402 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
1403
1404         * c-lex.c (lex_charconst): Convert into a simple wrapper
1405         around cpp_interpret_charconst, to which most of the code
1406         body is moved.
1407         * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
1408         MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
1409         MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
1410         (lex): Use cpp_interpret_charconst.
1411         * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
1412         hex_digit_value): New functions.
1413         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
1414         * cpplib.h (cpp_interpret_charconst): New prototype.
1415         * Makefile.in: Update.
1416
1417 2001-05-12  Dean Wakerley  <dean@wakerley.com>
1418
1419         * doc/install.texi: New file. Converted to texinfo from the HTML
1420         documentation in wwwdocs/htdocs/install.
1421
1422 Fri May 11 15:50:13 2001  Jeffrey A Law  (law@cygnus.com)
1423
1424         * gcse.c (insert_insn_end_bb): Do not search for assignments to
1425         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
1426
1427         * toplev.c (compile_file): Move comment for opening output
1428         file to just before the code that opens the output file.
1429
1430 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1431
1432         * regmove.c (regmove_optimize): Suppress the optimization for
1433         unchanging destination register.  Add comment above function.
1434
1435 2001-05-11  Zack Weinberg  <zackw@stanford.edu>
1436
1437         * Makefile.in: Exterminate all references to assert.h.
1438         * cross-make: Likewise.
1439         * assert.h: Delete.
1440         * configure.in: Correct commentary.
1441         * configure: Regenerate.
1442
1443         * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
1444         Remove __eprintf.
1445
1446         * config/t-freebsd, config/t-linux, config/t-linux-aout,
1447         config/t-netbsd, config/t-rtems, config/x-linux,
1448         config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
1449         No need to override INSTALL_ASSERT_H.
1450
1451         * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
1452         fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
1453         fixinc/fixincl.sh: Don't install assert.h into objdir/include.
1454
1455 2001-05-11  Graham Stott  <grahams@redhat.com>
1456
1457         * combine.c (simplify_comparison): Fix typo.
1458
1459 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
1460
1461         * loop.h (struct movables): Remove `num'.
1462         * loop.c (scan_loop): Don't set it.  Use count_insns_in_loop.
1463         Adjust call to strength_reduce.
1464         (num_unmoved_movables): New function.
1465         (move_movables): Don't set movables->num.
1466         (strength_reduce): Compute the number of instructions in the loop
1467         here, rather than in the caller.
1468         (check_dbra_loop): Always clear reversible_mem_store if there
1469         are any memory sets.
1470         (loop_regs_scan): Don't count instructions here.
1471         (count_insn_in_loop): New function.
1472
1473 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
1474
1475         * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
1476
1477 2001-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
1478
1479         * c-common.c (finish_label_expr): New function, lifted from
1480         from cp/semantics.c.
1481         * c-common.h (finish_label_expr, lookup_label): New prototypes.
1482         * c-parse.in: Move 3 blocks of parser code into new functions.
1483         * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
1484         * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
1485         (lookup_label): Remove.
1486
1487 2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
1488
1489         * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
1490         FLOAT_BIT_ORDER_MISMATCH.
1491
1492 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
1493
1494         * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
1495         bytes.  Reported by Kazu Hirata <kazu@hxi.com>.
1496
1497 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
1498
1499         * expr.c (emit_group_load): extract_bit_field requires a REG or
1500         MEM as an argument.
1501
1502 Thu May 10 14:45:44 2001  Jeffrey A Law  (law@cygnus.com)
1503
1504         * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
1505         a computed jump into an unconditional jump.
1506         In second hunk of code for collapsing computed and conditional jumps
1507         into unconditional jumps, reemit the jump in additional cases.
1508
1509         * jump.c (jump_optimize_1): Do not wrap the new jump target
1510         inside a LABEL_REF; gen_jump will do that automatically.
1511
1512 2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>
1513
1514         * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
1515         contents for a SYMBOL_REF in case of floating point constants.
1516
1517 2001-05-10  DJ Delorie  <dj@redhat.com>
1518
1519         * c-common.c (combine_strings): Widen strings in a
1520         host-endian-independent way.
1521
1522 2001-05-10  Joseph S. Myers  <jsm28@cam.ac.uk>
1523
1524         * c-parse.in: Remove many shift/reduce conflicts.  Update
1525         %expect values.
1526         (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
1527         declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
1528         declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
1529         declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
1530         declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
1531         declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
1532         declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
1533         declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
1534         declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
1535         declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
1536         maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
1537         typespec_reserved_nonattr, typespec_reserved_attr,
1538         typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
1539         structsp_nonattr, components_notype, component_notype_declarator,
1540         absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
1541         firstparm, setspecs_fp): New
1542         (typed_declspecs, reserved_declspecs, typed_typespecs,
1543         reserved_typespecquals, declmods, typespec, typespecqual_reserved,
1544         typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
1545         declmods_no_prefix_attr, nonempty_type_quals, structsp,
1546         type_quals): Remove.  Users updated.
1547         (initdecls, notype_initdecls, after_type_declarator,
1548         parm_declarator, notype_declarator, absdcl1, components, ivars):
1549         Don't allow attributes at the start of a declarator; include them
1550         in the production containing the declarator instead.  Always
1551         require type specifiers before trying to redeclare a typedef name.
1552         (typename): Allow for attributes but warn that they are ignored.
1553         (parmlist, firstparm, setspecs_fp): Include attributes in
1554         parmlist; suck them off the parser stack in firstparm using
1555         setspecs_fp.
1556
1557 Thu May 10 09:17:42 2001  Jeffrey A Law  (law@cygnus.com)
1558
1559         * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
1560         to determine if a block has an unconditional jump at its end.
1561
1562         * jump.c (jump_optimize_1): When converting a conditional jump
1563         to an unconditional jump, build the jump using gen_jump instead
1564         of just modify operands in-place.
1565
1566 2001-05-09  Zack Weinberg  <zackw@stanford.edu>
1567
1568         * cppinit.c (cpp_post_options): Shut off macro expansion if
1569         -fpreprocessed.
1570         * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
1571         IN_I directives only if the # is in column 1 and the directive
1572         name begins in column 2.
1573         * cppmain.c (scan_buffer): Insert a space between # and an
1574         identifier, when that identifier is a directive name.
1575
1576         * tradcpp.c (struct file_buf): Add a pointer to the next entry
1577         in the header search path.
1578         (enum node_type): Add T_INCLUDE_NEXT.
1579         (directive_table): Add entry for include_next.
1580         (do_include_next): New function.
1581         (process_include): New routine, broken out of do_include.
1582         (finclude): Insert 'nhd' argument, to be copied into
1583         next_header_dir of the new buffer.
1584         (main): Adjust to match.
1585         * gsyslimits.h, limity.h: Un-indent #include_next.
1586
1587 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
1588
1589         * objc.texi: Move from ../libobjc/objc-features.texi.  Adjust for
1590         inclusion as a chapter of the GCC manual.
1591         * gcc.texi: Include objc.texi.
1592         * fdl.texi: Use @unnumberedsec for the addendum.
1593         * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
1594
1595 Wed May  9 16:01:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
1596
1597         * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
1598
1599 Wed May  9 10:40:25 2001  Alexandre Oliva  <aoliva@redhat.com>
1600
1601         * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
1602         handling of two-address insns.
1603
1604 Wed May  9 10:36:18 2001  Alexandre Oliva  <aoliva@redhat.com>
1605
1606         * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
1607         ../binutils/nm-new instead of ../binutils/nm.
1608
1609 Wed May  9 12:15:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
1610
1611         * i386.md (movdi splitter): Fix the splitting condition
1612         (float_extenddftf splitter): Fix mode.
1613
1614 Wed May  9 12:05:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
1615
1616         * genrecog.c (write_switch): Avoid outputting of switch for
1617         types wider than int.
1618
1619 2001-05-03  Andrew Haley  <aph@cambridge.redhat.com>
1620
1621         * reload1.c (copy_eh_notes): New function.
1622         (emit_input_reload_insns): Call it.
1623         (emit_output_reload_insns): Call it.
1624
1625 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
1626
1627         * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
1628         Delete stanzas.
1629         * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
1630         config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
1631
1632         * optabs.c: Delete #ifdef BROKEN_LDEXP block.
1633
1634 2001-05-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1635
1636         * pa.md (interspace_jump): Revise comment.
1637         (builtin_longjmp): Block initial setup insns from delay slot of
1638         interspace branch.
1639         (builtin_setjmp_receiver): New expander to save and restore PIC
1640         register.
1641
1642         * som.h (NM_FLAGS): Remove `-n' sort option.  Revise comment.
1643
1644 Mon May  7 09:30:14 2001  Jeffrey A Law  (law@cygnus.com)
1645
1646         * toplev.c (compile_file): Set up the output file before we call
1647         the various initializers for the compiler.
1648
1649         * except.c (sjlj_mark_call_sites): Do not search for assignments to
1650         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
1651
1652         * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
1653         * pa-64.h (*_TYPE_SIZE): Undefine before redefining.
1654
1655 2001-05-06  Zack Weinberg  <zackw@stanford.edu>
1656
1657         * Makefile.in (tradcpp0): Correct typo in dependency list.
1658
1659 2001-05-06  Geoff Keating  <geoffk@redhat.com>
1660
1661         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
1662         the link register if we're not going to use it.
1663
1664         * config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
1665         (output_function_profiler): Likewise.
1666
1667 2001-05-07  Alan Modra  <amodra@one.net.au>
1668
1669         * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
1670
1671 2001-05-06  Alexandre Oliva  <aoliva@redhat.com>
1672
1673         * unroll.c (loop_iterations): Don't sign-extend abs_diff;
1674         zero-extend it.  Make abs_inc unsigned.
1675
1676         * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
1677         widest mode in narrowing and widening operations.
1678
1679         * config/mips/mips.md: Sign extend CONST_INTs.
1680
1681 2001-05-06  Andreas Jaeger  <aj@suse.de>
1682
1683         * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
1684         (i386 Options): Document -momit-leaf-frame-pointer.
1685
1686 2001-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
1687
1688         * c-typeck.c (internal_build_compound_expr): Check for
1689         array to pointer conversion just once.
1690
1691 2001-05-05  Richard Henderson  <rth@redhat.com>
1692
1693         * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
1694
1695 2001-05-05  Richard Henderson  <rth@redhat.com>
1696
1697         * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
1698         to the parent of the fixup region.
1699
1700 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1701
1702         * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
1703         "inline" keyword.
1704         * cpp.texi (__NO_INLINE): Document it.
1705
1706 2001-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1707
1708         * cppfiles.c (struct include_file): New member err_no.
1709         (find_or_create_entry): Set it.
1710         (open_file): Don't set fds to -2.  Instead, use err_no to
1711         remember previous errors, if any.
1712
1713 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1714
1715         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
1716         between X and Y by using sequences of xgdx and xgdy.
1717
1718 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1719
1720         * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
1721         of '!' for the 'D' alternative ('!' is too strong).
1722         ("*logicalsi3_silshl16"): Likewise.
1723         ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
1724         ("movstrictsi"): Remove spurious '+'.
1725         ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
1726         ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
1727         ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
1728         a reload to them.
1729
1730 2001-05-04  David Edelsohn  <edelsohn@gnu.org>
1731
1732         * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
1733
1734 2001-05-04  Lars Brinkhoff  <lars@nocrew.org>
1735
1736         * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
1737         into -a.
1738
1739 2001-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1740
1741         * config/rs6000/rs6000.md (ashldi3 splits): Guard with
1742         TARGET_POWERPC64.
1743
1744 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1745
1746         * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
1747         soft register, use ror instead of rol.
1748
1749 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1750
1751         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
1752         into account pre/post increment decrement for 68HC12.
1753         Fix other problems in replacement and fix call to reg_mentioned_p.
1754
1755 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1756
1757         * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
1758         Put the soft registers in bss for 68HC12.
1759         (L_regs_d3_4): New for _.d3 and _.d4.
1760         (L_regs_d5_6): Likewise.
1761         (L_regs_d1_2): Likewise.
1762         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
1763
1764 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1765
1766         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
1767         to the pre-processor when -fshort-double is specified.
1768         * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
1769
1770 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1771
1772         * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
1773         (__mulsi3): Rewrite for 68HC12.
1774         * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
1775         Mark 'x' constraint with earlyclobber to prevent a
1776         RELOAD_FOR_OTHER_ADDRESS to go in it.
1777         (mulhi3_m68hc12): New pattern.
1778         (mulhi3_m68hc11): Rename of mulhi3.
1779         (mulhi3): New expand for 68HC12 optimisation.
1780         (umulhisi3, mulhisi3): New patterns for 68HC12.
1781
1782 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1783
1784         * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
1785         (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
1786         (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
1787
1788 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1789
1790         * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
1791         constants cheap after reload.
1792         * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
1793         are cheap.
1794         (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
1795         so that gcc prefers a shift by 16.
1796         (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
1797
1798 2001-05-04  Nick Clifton  <nickc@cambridge.redhat.com>
1799
1800         * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
1801
1802 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1803
1804         * alpha.h: NULL_PTR -> NULL.
1805         * arm.c: Likewise.
1806         * arm.h: Likewise.
1807         * avr.h: Likewise.
1808         * c4x.c: Likewise.
1809         * c4x.h: Likewise.
1810         * i386.c: Likewise.
1811         * i386.md: Likewise.
1812         * i860.c: Likewise.
1813         * ia64.c: Likewise.
1814         * m68hc11.h: Likewise.
1815         * rs6000.h: Likewise.
1816         * sh.c: Likewise.
1817         * sh.h: Likewise.
1818         * sparc.h: Likewise.
1819         * v850.c: Likewise.
1820
1821         * expr.c: Likewise.
1822         * final.c: Likewise.
1823         * gcc.c: Likewise.
1824         * recog.c: Likewise.
1825
1826 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1827
1828         * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
1829         `bool' parameter to `int'.
1830
1831         * hash.c (hash_lookup): Likewise.
1832
1833         * hash.h (hash_lookup): Likewise.
1834
1835         * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
1836
1837 Fri May  4 13:10:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
1838
1839         * i386.c (x86_initialize_trampoline): Fix mode of constant.
1840
1841 2001-05-03  Geoff Keating  <geoffk@redhat.com>
1842
1843         * invoke.texi (i386 Options): Delete references to -malign-jumps,
1844         -malign-loops, -malign-functions.
1845         * i386.c (ix86_align_funcs): Delete.
1846         (ix86_align_loops): Delete.
1847         (ix86_align_jumps): Delete.
1848         (override_options): Mark -malign-* as obsolete.  Emulate their
1849         behaviour with the -falign-* options.  Default -falign-* from
1850         the processor table.
1851         * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
1852         patch of Wed May 2 13:09:36 2001.
1853         (LOOP_ALIGN): Delete.
1854         (LOOP_ALIGN_MAX_SKIP): Delete.
1855         (LABEL_ALIGN_AFTER_BARRIER): Delete.
1856         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.
1857
1858 2001-05-04  Andreas Jaeger  <aj@suse.de>
1859
1860         * except.h: Add prototype declaration for
1861         expand_builtin_init_dwarf_reg_sizes.
1862
1863 2001-05-03  Geoffrey Keating  <geoffk@redhat.com>
1864
1865         * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.
1866
1867 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1868
1869         * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
1870         instruction.
1871         ("bitcmpqi2"): New pattern for bit-extract and test.
1872         ("bitcmphi"): New pattern for bitb/bita instructions.
1873
1874 2001-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1875
1876         * gccbug.in: Use a temporary directory when the mktemp command is
1877         not available.
1878
1879 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1880
1881         * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
1882         instead of _.d1.
1883         (INITIALIZE_TRAMPOLINE): Call it.
1884         (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
1885         (TRAMPOLINE_TEMPLATE): Remove.
1886         * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
1887         * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
1888         Declare.
1889
1890 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
1891
1892         * config/t-freebsd: Don't install "assert.h" in gcc.  Compile crtbeginS.o
1893         and crtendS.o with PIC.
1894
1895 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1896
1897         * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
1898         negative numbers.
1899         (___subdi3, ___adddi3): Use x instead of y as index register.
1900         (__init_bss_section, __map_data_section): Optimize for 68HC12.
1901         (__memset, __memcpy): Likewise.
1902         (regs): Put the soft registers in bss for 68HC12.
1903         (abort): Use trap to abort for 68hc12.
1904         (__mulhi3, __mulhi32): Use emul for 68hc12.
1905         (__mulsi3): Avoid to use the tmp soft register for 68hc12.
1906
1907 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1908
1909         * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
1910         * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
1911         * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
1912         (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
1913         Set 68HC12 min offset to -65536.
1914         (print_operand): Put parenthesis arround the operand if it refers
1915         to a symbol having the same name as a register.
1916         (m68hc11_z_replacement): When z register is replaced by its
1917         equivalent soft register, force the insn to be re-recognized.
1918         (m68hc11_check_z_replacement): Fix the test when destination is
1919         the index register and z dies in the insn.
1920         (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
1921
1922 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1923
1924         * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
1925         costs according to processor variant.
1926         (m68hc11_shift_cost): New function to compute shift costs.
1927         (m68hc11_rtx_costs): Define costs according to processor variant.
1928         (m6811_cost): Costs for 68HC11.
1929         (m6812_cost): Costs for 68HC12.
1930         (COSTS_N_INSNS): Remove.
1931
1932         * config/m68hc11/m68hc11.h (RTX_COSTS): New.
1933         (DEFAULT_RTX_COSTS): Remove.
1934         (CONST_COSTS): Define costs according to OUTER_CODE.
1935         (processor_costs): New struct to define costs.
1936         (m68hc11_cost): Pointer to current costs.
1937
1938 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1939
1940         * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
1941         and use m68hc11_notice_keep_cc when using leax/leay.
1942         (addhi3 split): Reject split if the insn is handled by
1943         leax/leay above.
1944         * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
1945         push must be handled in a special way if the source operand uses
1946         sp as index register.
1947         (m68hc11_notice_keep_cc): New function.
1948         (m68hc11_gen_movhi): Use it when an insn changes a register but
1949         not the flags.
1950         (m68hc11_gen_movqi): Fix move for 68HC12.
1951         * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
1952
1953 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1954
1955         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
1956         and don't pass operands[0] to emit_library_call_value.
1957
1958 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1959
1960         * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
1961         (zero_extendsi split): Simplify and use (zero_extendhi).
1962         (*addhi3): Remove 'w' constraint since stack pointer is handled
1963         by (addhi3_sp).
1964         (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
1965         (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
1966         (*ashrhi3_const): Fix shift by 7.
1967         (*lshrsi3_const16): Fix template.
1968         (call, call_value): Fix constraint and predicate.
1969
1970 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1971
1972         * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
1973         (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
1974         (CC_REGNUM): Likewise.
1975         (*unnamed splits): Use above constants instead of hard coded numbers.
1976         (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
1977         (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
1978         (*return_16bit, *unnamed peepholes): Likewise.
1979
1980 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
1981
1982         * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix):  Do not include
1983         rs6000/rs6000.h twice.
1984
1985 2001-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
1986
1987         * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
1988         (CPP_SPEC): Conditionally define MSDOS and GO32.
1989         (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
1990         (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
1991         ignored.
1992         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
1993
1994 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
1995
1996         * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
1997
1998 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
1999
2000         * integrate.h (struct inline_remap): Add leaf_reg_map table.
2001         * integrate.c (expand_inline_function): Use xcalloc to allocate
2002         memory.
2003         (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
2004         registers.
2005
2006 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
2007
2008         * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
2009         if it is not set.
2010
2011 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2012
2013         * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
2014         linker if -mrelax is given.
2015         (TARGET_SWITCHES): Document -mrelax.
2016
2017         Re-installed 2001-01-09's patch:
2018         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
2019         if it's wider than long and the target's long is wider than the
2020         host's.
2021
2022 2001-05-02  David O'Brien  <obrien@FreeBSD.org>
2023
2024         * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h:  Do not
2025         directly include rs6000/rs6000.h.  Instead do it in tm.h.
2026
2027 2001-05-02  Stan Shebs  <shebs@apple.com>
2028
2029         * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
2030         NSConstantString for NeXT-style runtimes.
2031         (STRING_OBJECT_GLOBAL_NAME): New macro.
2032         (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
2033         OCTI_STRING_CLASS_DECL.
2034         (constant_string_global_id): New macro.
2035         (string_class_decl): Ditto.
2036         (setup_string_decl): New function.
2037         (build_objc_string_object): Use it to build a NeXT runtime
2038         compatible string initializer.
2039
2040 2001-05-02  Jakub Jelinek  <jakub@redhat.com>
2041
2042         * tradcpp.c (do_define): Make sure we don't walk past limit.
2043
2044 2000-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2045
2046         * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
2047         offsets if not REG_OK_STRICT.
2048
2049         * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
2050         (INT_REG_OK_FOR_INDEX_P): Likewise.
2051         (INT_REG_OK_FOR_BASE_P): Likewise.
2052         (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
2053         (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
2054         (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
2055         INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
2056         REG_OK_FOR_BASE_P. Take an additional parameter.
2057         (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
2058         (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
2059         (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
2060         (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
2061         rs6000_legitimate_address() and use it.
2062         * config/rs6000/rs6000.c: Update all callers.
2063         (rs6000_legitimate_address): New function.
2064
2065 2001-05-02  David Edelsohn  <edelsohn@gnu.org>
2066
2067         * config/rs6000/rs6000.c (rs6000_emit_move): Merge
2068         special_constant conditional blocks together.
2069
2070 2001-05-02  Dale Johannesen  <dalej@apple.com>
2071
2072         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
2073         parameter.
2074         (STRICT_ARGUMENT_NAMING): Define.
2075         * config/rs6000/rs6000.c (function_arg_advance, function_arg,
2076         function_arg_partial_nregs, setup_incoming_varargs): Remove
2077         args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
2078         is defined.
2079
2080 Wed May  2 13:09:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2081
2082         * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
2083
2084         * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
2085         for replacement.
2086
2087         * expr.c (store_field): Do nothing except elaborate side-effects if
2088         zero-bit field.
2089
2090 2001-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2091
2092         * c-lex.c: NULL_PTR -> NULL.
2093         * cse.c: Likewise.
2094         * emit-rtl.c: Likewise.
2095         * gcse.c: Likewise.
2096         * genpeep.c: Likewise.
2097         * jump.c: Likewise.
2098         * mips-tdump.c: Likewise.
2099         * reload1.c: Likewise.
2100         * rtlanal.c: Likewise.
2101         * stmt.c: Likewise.
2102         * stor-layout.c: Likewise.
2103         * toplev.c: Likewise.
2104
2105 2001-05-01  Per Bothner  <per@bothner.com>
2106
2107         * expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
2108         call do_pending_stack_adjust before emiting label.
2109
2110 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
2111
2112         * extend.texi: Fix typo.
2113
2114 2001-05-01  Stan Shebs  <shebs@apple.com>
2115
2116         * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
2117         of UOBJC_MODULES_decl.
2118         (generate_strings): Clear DECL_CONTEXT of new decl nodes.
2119         (generate_descriptor_table): Ditto.
2120         (generate_protocols): Ditto.
2121         (generate_protocol_list): Ditto.
2122         (generate_classref_translation_entry): Ditto.
2123
2124 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
2125
2126         * invoke.texi (Optimize Options): Add documentation for `--param
2127         max-delay-slot-insn-search' and `--param
2128         max-delay-slot-live-search' and reorder --param section.
2129         * params.def: Modify initial comment.
2130         * params.h (param_info): Add `help' member.
2131         * toplev.c (lang_independent_params): Include `help' description.
2132         (display_help): Print --param parameters.
2133
2134 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
2135
2136         * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
2137         Remove references to deleted files.
2138         (*-*-openbsd): No need to override xmake_file.
2139         (*-*-sysv4): Treat like *-*-sysv.
2140
2141         * configure.in: Probe for ldopen in various places, and set up
2142         collect2 to be linked with them if found.
2143         Don't dink with Windows registry stuff unless $host_os is a
2144         Win32 os name.  Check to see if we need -ladvapi32.
2145         * configure: Regenerate.
2146
2147         * Makefile: Get rid of CLIB and HOST_CLIB.
2148         Substitute in COLLECT2_LIBS and link collect2 against its contents.
2149         * build-make: Get rid of HOST_CLIB.
2150
2151         * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
2152         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
2153         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
2154         config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
2155         config/rs6000/x-rs6000: Delete.
2156
2157         * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
2158         Don't set CLIB.
2159
2160         24 x-host fragments remain, 0 x-cpu, 3 top level.
2161
2162 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
2163
2164         * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
2165         * configure: Regenerate.
2166
2167 2001-05-01  Angela Marie Thomas <angela@cygnus.com>
2168
2169         * Makefile.in (install-headers): Remove redundant dependency.
2170
2171 2001-05-01  Nathan Sidwell  <nathan@codesourcery.com>
2172
2173         * c-tree.texi (USING_STMT): Document.
2174
2175 2001-05-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2176
2177         * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
2178         * c-common.c: Likewise.
2179         * c-decl.c: Likewise.
2180         * combine.c: Likewise.
2181         * rs6000.c: Likewise.
2182         * except.c: Likewise.
2183         * explow.c: Likewise.
2184         * expr.c: Likewise.
2185         * fold-const.c: Likewise.
2186         * function.c: Likewise.
2187         * gcc.c: Likewise.
2188         * gcse.c: Likewise.
2189         * integrate.c: Likewise.
2190         * loop.c: Likewise.
2191         * objc/objc-act.c: Likewise.
2192         * recog.c: Likewise.
2193         * reg-stack.c: Likewise.
2194         * reload.c: Likewise.
2195         * reload1.c: Likewise.
2196         * simplify-rtx.c: Likewise.
2197         * stmt.c: Likewise.
2198         * varasm.c: Likewise.
2199
2200 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2201
2202         * diagnostic.def: New file.
2203         * diagnostic.h (diagnostic_t): New enum.
2204         * Makefile.in (diagnostic.o): Depend on diagnostic.def
2205
2206 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
2207
2208         * tsystem.h: Test only POSIX for availability of string.h
2209         and time.h.
2210         * config.gcc (all systems): If USG appeared in xm_defines,
2211         change it to POSIX.  If both USG and POSIX appeared, just
2212         delete USG. Remove unnecessary quotes around xm_defines
2213         settings.
2214         (m68k-crds-unos*): Don't #define unos - tested nowhere.
2215         (m68k-apple-aux*): Don't #define AUX - tested nowhere.
2216         (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
2217         powerpc-*-linux*): No need to set xm_defines - handled by
2218         global settings for *-*-linux*.
2219
2220 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
2221
2222         * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
2223         Always include gstab.h, not system stab.h.  Don't provide
2224         default definitions of N_CATCH or N_OPT.  Always use the
2225         gstab.h variant of STAB_CODE_TYPE.
2226         * final.c: Don't include stab.h/gstab.h at all, or provide
2227         defaults for N_SLINE and N_SOL.
2228
2229         * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
2230         N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
2231         available.
2232         * sdbout.c: Always include gsyms.h instead of system syms.h.
2233
2234         * configure.in: No need to check for stab.h.
2235         * configure, config.in: Regenerate.
2236         * Makefile.in (final.o): Don't depend on gstab.h.
2237
2238 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2239             Richard Henderson  <rth@redhat.com>
2240
2241         * extend.texi: Improve documentation of volatile asms.
2242
2243 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2244
2245         * c-tree.texi: Fix thinko.
2246         * gcc.texi: Likewise.
2247
2248 2001-04-30  Richard Henderson  <rth@redhat.com>
2249
2250         * c-common.c (c_promoting_integer_type_p): New function, from the
2251         corpse of old macro.  Properly promote too-small enumerations and
2252         booleans.  Adjust all callers.
2253         * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
2254         (c_promoting_integer_type_p): Declare.
2255         * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
2256         * c-typeck.c: Likewise.
2257         (default_conversion): Remove now redundant boolean check.
2258
2259 2001-04-30  Jan Hubicka  <jh@suse.cz>
2260             Richard Henderson  <rth@redhat.com>
2261
2262         * regmove.c (try_apply_stack_adjustment): Remove now redundant
2263         sanity checks.
2264         (combine_stack_adjustments_for_block): Don't combine stack
2265         allocation followed by deallocations.  Handle grow-up stacks.
2266
2267 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2268
2269         * fdl.texi: New file.
2270         * c-tree.texi: Use the GFDL.
2271         * gcc.texi: Likewise.
2272
2273 2001-04-30  Stan Shebs  <shebs@apple.com>
2274
2275         * invoke.texi: Add a section documenting Objective-C options.
2276
2277 2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>
2278
2279         * emit-rtl.c (try_split):  Copy EH notes to sequence.
2280
2281 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2282
2283         * regmove.c (record_stack_memrefs): Catch all references to the
2284         stack pointer.
2285
2286 2001-04-29  Toomas Rosin <toomas at ns dot tklabor dot ee>
2287
2288         * Makefile.in (stmp-fixinc): quote shell assignment values
2289
2290 2001-04-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2291
2292         * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
2293
2294         * gcc.c: Likewise.
2295
2296         * prefix.c: Likewise.
2297
2298 2001-04-28  Stan Shebs  <shebs@apple.com>
2299
2300         * objc/objc-act.c (handle_class_ref): Rewrite to flush target
2301         specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
2302         * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
2303         * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
2304
2305         * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
2306         (NEXT_OBJC_RUNTIME): Define.
2307
2308 Sat Apr 28 21:02:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
2309
2310         * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
2311         * simplify-rtx.c (simplify_gen_relational): Likewise.
2312
2313         * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
2314
2315         * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
2316         * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
2317
2318         * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
2319         registers in SSE case; fix handling of the immediates.
2320         (negsf2_ifs, abssf2_ifs): Tweak constraints; require
2321         operands to be in regsiters before reload.
2322         (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
2323         (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
2324         (abstf,absxf,negtf,negxf splitters): Compute
2325         properly the regnum for x86_64.
2326         (avsdf2_if_rex64): New.
2327
2328 Sat Apr 28 10:36:23 2001  Jeffrey A Law  (law@cygnus.com)
2329
2330         * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
2331         and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
2332         into the constant pool.
2333         * jump.c (jump_optimize_1): Remove barrier successors after all
2334         the LABEL_NUSES counds have been computed.
2335         (delete_barrier_successors): When deleting a tablejump insn, also
2336         delete the jump table it uses.
2337         * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
2338         label into memory.
2339
2340 2001-04-28  Martin Kalen  <martin.kalen@todaysystems.com.au>
2341
2342         * pa.c (FRP): Remove erroneous white space in macro definition.
2343
2344 2001-04-28  Andreas Jaeger  <aj@suse.de>
2345
2346         * invoke.texi: Use XX-bit instead of XXbit or XX bit where
2347         appropriate.
2348         * extend.texi: Likewise.
2349         * tm.texi: Likewise.
2350
2351 2001-04-28  Andreas Jaeger  <aj@suse.de>
2352
2353         * md.texi: Use XX-bit instead of XXbit or XX bit where
2354         appropriate.
2355
2356 2001-04-28  Jens Schweikhardt <schweikh@schweikhardt.net>
2357
2358         * gcc.c (process_command): Allow -l lib in addition to -llib
2359         for POSIX compliance. This fixes PR c/2347.
2360
2361         * invoke.texi: Update section on Link Options accordingly.
2362
2363 2001-04-27  Zack Weinberg  <zackw@stanford.edu>
2364
2365         * function.c (purge_addressof_1): Remove the duplicate
2366         if (code == SET) block.  Fold the two if (code == ADDRESSOF)
2367         blocks together.
2368
2369 2001-04-28  Jason Merrill  <jason_merrill@redhat.com>
2370
2371         * except.c (expand_eh_region_start): Don't start a new block.
2372         (expand_eh_region_end): Don't end a block.
2373         * stmt.c (expand_end_bindings): Don't end EH blocks.
2374         (expand_decl_cleanup): Starting an EH region won't change the block.
2375         (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
2376         (is_eh_region): Lose.
2377         * tree.h: Adjust.
2378
2379 2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
2380
2381         * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
2382
2383         * collect2.c (main): Add `-L' case to remove duplicate entries.
2384         (is_in_args): New function to check for a duplicate argument.
2385         * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
2386         * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
2387         * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
2388         Define to be nonzero.
2389
2390 2001-04-27  Andreas Jaeger  <aj@suse.de>
2391             Richard Henderson  <rth@redhat.com>
2392
2393         * md.texi (Machine Constraints): Document additional i386
2394         constraints and fix description of "A".
2395
2396 Fri Apr 27 10:43:49 2001  Jeffrey A Law  (law@cygnus.com)
2397
2398         * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
2399
2400 2001-04-27  Jason Merrill  <jason_merrill@redhat.com>
2401
2402         * except.c (get_exception_filter): word_mode, not Pmode.
2403
2404 2001-04-26  Geoffrey Keating  <geoffk@redhat.com>
2405
2406         * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
2407         common to other movsf patterns.  Move up so that in future
2408         people who change the other patterns will change it too.
2409         (movsf_lo_sum): Allow even for soft-float; add appropriate
2410         constraints.
2411         (movsf_high): Likewise.
2412         (movsf_high+1): Allow even for soft-float.
2413
2414         * function.c (expand_function_end): Always clobber the
2415         return registers, even if there is no return label.
2416
2417 Thu Apr 26 20:28:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
2418
2419         * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
2420
2421 Thu Apr 26 19:20:28 CEST 2001  Jan Hubicka  <jh@suse.cz>
2422
2423         * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
2424         (pushqi2_rex64, pushhi2_rex64): Add.
2425
2426 2001-04-26  Andrew Haley  <aph@cambridge.redhat.com>
2427
2428         * except.c (expand_eh_region_end_cleanup): Force pending stack
2429         adjust before emitting label that branches around cleanup code.
2430
2431 2001-04-26  H.J. Lu  (hjl@gnu.org)
2432
2433         * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
2434
2435         * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
2436         define.
2437         * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
2438         (ASM_OUTPUT_SECTION_NAME): Likewise.
2439         (ASM_WEAKEN_LABEL): Likewise.
2440         (UNIQUE_SECTION): Likewise.
2441         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2442         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2443         * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
2444         (ASM_OUTPUT_SECTION_NAME): Likewise.
2445         (ASM_WEAKEN_LABEL): Likewise.
2446         (UNIQUE_SECTION): Likewise.
2447         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2448         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2449         * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
2450         * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
2451         (ASM_FILE_START): Likewise.
2452         (ASM_OUTPUT_SOURCE_LINE): Likewise.
2453         (ASM_DECLARE_OBJECT_NAME): Likewise.
2454         (ASM_FILE_END): Likewise.
2455         (ASM_DECLARE_FUNCTION_NAME): Likewise.
2456         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
2457         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2458         (ASM_OUTPUT_CASE_LABEL): Likewise.
2459         (ASM_OUTPUT_SKIP): Likewise.
2460         (ASM_OUTPUT_ASCII): Likewise.
2461         (ASM_OUTPUT_IDENT): Likewise.
2462         (READONLY_DATA_SECTION): Likewise.
2463         (EXTRA_SECTIONS): Likewise.
2464         (EXTRA_SECTION_FUNCTIONS): Likewise.
2465         (SELECT_RTX_SECTION): Likewise.
2466         (SELECT_SECTION): Likewise.
2467
2468         * config/mips/linux.h (INVOKE__main): Undefine.
2469         (CTOR_LIST_BEGIN): Likewise.
2470         (CTOR_LIST_END): Likewise.
2471         (DTOR_LIST_BEGIN): Likewise.
2472         (DTOR_LIST_END): Likewise.
2473         (SET_ASM_OP): Defined it to ".dummy".
2474         (ASM_OUTPUT_DEF): Defined.
2475         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
2476
2477 2001-04-26  Nick Clifton  <nickc@cambridge.redhat.com>
2478
2479         * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
2480         assembler supports .p2align.
2481
2482 2001-04-26  Nathan Sidwell <nathan@codesourcery.com>
2483
2484         * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
2485
2486 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
2487
2488         * integrate.c (expand_inline_function): Check for error_mark_node
2489         in actual argument.
2490
2491 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
2492
2493         * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
2494         -m386 and -m486.
2495
2496 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
2497
2498         * configure.in (configargs.h): Define thread_model.
2499         * configure: Rebuilt.
2500         * gcc.c (main): Print it with -v.
2501
2502 2001-04-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2503
2504         * invoke.texi: Document -Wmissing-braces, -dumpspecs,
2505         -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
2506         * gcc.1: Regenerate.
2507
2508 2001-04-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2509
2510         * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
2511         is_redundant_typedef): Use static inline instead of inline static.
2512
2513 Wed Apr 25 18:21:01 2001  Christopher Faylor <cgf@cygnus.com>
2514
2515         * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
2516         this directory is always searched.
2517
2518 2001-04-25  Richard Henderson  <rth@redhat.com>
2519
2520         * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
2521         of registers to restore along non eh_return path.
2522
2523 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2524
2525         * c-format.c (check_format_info_recurse): Handle
2526         PLUS_EXPR for format string.
2527
2528 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2529
2530         * config/ia64/ia64.h (CC1_SPEC): Define.
2531         * config/ia64/linux.h (CC1_SPEC): Define.
2532
2533 Wed Apr 25 17:09:50 2001  J"orn Rennecke <amylaar@redhat.com>
2534
2535         * emit-rtl.c (constant_subword): Also do sign extension in
2536         BITS_PER_WORD == 16 case.
2537
2538 2001-04-25  Jason Merrill  <jason_merrill@redhat.com>
2539
2540         * loop.c (try_swap_copy_prop): Go back to checking insn.
2541
2542 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2543
2544         * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
2545         if check_mode is non-zero.
2546
2547 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2548
2549         * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
2550         out and comparison sequence has been detected, put result into
2551         proper temporary pseudo.
2552
2553 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
2554
2555         * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
2556         * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
2557         * libgcc2.c: Remove __dummy and __builtin_saveregs.
2558         * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
2559         * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
2560         for future reference.
2561
2562 2001-04-24  Jason Merrill  <jason_merrill@redhat.com>
2563
2564         * except.c (reachable_handlers): Step out one level from a RESX.
2565
2566         * except.c (struct eh_region): Rename 'last' to 'resume'.
2567         (mark_eh_region, duplicate_eh_region_1): Adjust.
2568         (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
2569         (build_post_landing_pads): Likewise.
2570         (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
2571         (expand_eh_region_end_must_not_throw): Likewise.
2572         (connect_post_landing_pads): Thread (only) regions with non-deleted
2573         resume insns.
2574
2575         * except.c (expand_eh_region_end_cleanup): Save the EH return data
2576         registers around the cleanup.
2577         (get_exception_filter): New fn.
2578         (finish_eh_generation): Use it.
2579
2580 2001-04-24  Nathan Sidwell <nathan@codesourcery.com>
2581
2582         * c-semantics.c (add_scope_stmt): Don't call
2583         current_scope_stmt_stack multiple times.
2584
2585 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
2586             Nathan Sidwell <nathan@codesourcery.com>
2587
2588         Lazy __FUNCTION__ generation.
2589         * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
2590         RID_C99_FUNCTION_NAME): New _RIDs.
2591         (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
2592         (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
2593         CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
2594         global tree slots.
2595         (function_id_node, pretty_function_id_node, func_id_node): Remove.
2596         (c99_function_name_decl_node, function_name_decl_node,
2597         pretty_function_name_decl_node, saved_function_name_decls):
2598         Declare.
2599         (struct language_function): Remove x_function_name_declared_p.
2600         (make_fname_decl): Remove a parameter.
2601         (declare_function_names): Remove prototype.
2602         (start_fname_decls, finish_fname_decls): Prototype.
2603         (fname_as_string): Likewise.
2604         (fname_string, fname_decl): Likewise.
2605         * c-common.c (make_fname_decl): Adjust.
2606         (struct fname_var_t): New struct.
2607         (fname_vars): New static array.
2608         (declare_function_name): Remove.
2609         (start_fname_decls, finish_fname_decls): New functions.
2610         (fname_as_string): New function from remnants of
2611         declare_function_name.
2612         (fname_string, fname_decl): New functions.
2613
2614         * c-decl.c (c_function_name_declared_p): Remove.
2615         (init_decl_processing): Don't generate __FUNCTION__ et al ids,
2616         don't call declare_function_name. Call start_fname_decls.
2617         (c_make_fname_decl): Adjust parameters. Generate the name. Don't
2618         clobber the line number. Call finish_decl.
2619         (start_function): Call start_fname_decls.
2620         (finish_function): Call finish_fname_decls.
2621         Remove c_function_name_declared_p.
2622         (push_c_function_context): Don't push c_function_name_declared_p.
2623         (pop_c_function_context): Don't pop c_function_name_declared_p.
2624         (c_begin_compound_stmt): Don't check c_function_name_declared_p.
2625         * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
2626         (program): Call finish_fname_decls for C.
2627         (primary): Add VAR_FUNC_NAME.
2628         (reswords): Add slots for __FUNCTION__ et al.
2629         (rid_to_yy): Add mappings for __FUNCTION__ et al.
2630         (yylexname): If it's a STRING_FUNC_NAME generate the function name
2631         now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
2632         * c-semantics.c (prune_unused_decls): Remove.
2633         (finish_stmt_tree): Don't call prune_unused_decls.
2634         (genrtl_decl_stmt): Don't prune unused decls here.
2635
2636 2001-04-24  Nick Clifton  <nickc@cambridge.redhat.com>
2637
2638         * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
2639         constant pool, use the pool's SYMBOL_REF instead.
2640
2641         * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
2642         v850e.
2643
2644 2001-04-23  Joseph S. Myers  <jsm28@cam.ac.uk>
2645
2646         * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
2647         passing nested NOP_EXPRs to fold.
2648
2649 Mon Apr 23 14:32:12 CEST 2001  Jan Hubicka  <jh@suse.cz>
2650
2651         * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
2652
2653 2001-04-22  Mark Mitchell  <mark@codesourcery.com>
2654
2655         * loop.c (loop_delete_insns): Add prototype.
2656
2657 2001-04-23  Phil Edwards  <pme@sources.redhat.com>
2658
2659         * configure.in:  Remove ENABLE_STD_NAMESPACE.
2660         * config.in:  Regenerated.
2661         * configure:  Regenerated.
2662
2663 2001-04-22  Stan Shebs  <shebs@apple.com>
2664
2665         * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
2666         into xm_defines.
2667         * config/rs6000/xm-darwin.h: Remove file.
2668
2669 2001-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2670
2671         * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
2672         (write_c_file_stat): Likewise.
2673
2674         * dbxout.c (dbxout_init): Likewise.
2675
2676         * profile.c (output_func_start_profiler): Likewise.
2677
2678 2001-04-22  Philipp Thomas  <pthomas@suse.de>
2679
2680         * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
2681         require it instead of the CVS version.
2682         * cpperror.c (v_message): Put a blank before the macro
2683         body to not confuse exgettext.
2684
2685 2001-04-21  Mark Mitchell  <mark@codesourcery.com>
2686
2687         * flow.c (proagate_one_insn): Remove useless assignment.
2688         * jump.c (delete_insn): Tidy.
2689         * loop.c (try_copy_prop): When deleting an instruction with a
2690         REG_RETVAL note, delete the entire libcall sequence.
2691         (loop_delete_insns): New function.
2692         * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
2693         we're not substituting into them yet.
2694
2695 2001-04-21  Kazu Hirata  <kazu@hxi.com>
2696
2697         * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
2698
2699         * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
2700         Fix a comment typo.
2701         * config/i960/i960.c (signed_arith_operand): Likewise.
2702
2703         * calls.c (expand_call): Fix a comment typo.
2704
2705 2001-04-20  Zack Weinberg  <zackw@stanford.edu>
2706
2707         * configure.in: Probe for times, clock, struct tms, and clock_t.
2708         * configure, config.in: Regenerate.
2709         * timevar.c: Replace ifdef forest in get_time with (relatively)
2710         straightforward series of checks based on autoconf's probes.
2711
2712 Fri Apr 20 12:24:50 2001  Jeffrey A Law  (law@cygnus.com)
2713
2714         * config/pa/som.h (NM_FLAGS): Define.
2715
2716 2001-04-20  Bernd Schmidt  <bernds@redhat.com>
2717
2718         * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
2719         function.
2720         * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
2721         * ia64.c (nop_cycles_until): New function.
2722         (prev_cycle, prev_first, last_issued): New static variables.
2723         (ia64_sched_reorder): Additional arg for clock.
2724         On final scheduling pass, emit extra NOPs as needed.
2725         Set prev_first and prev_cycle.
2726         (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
2727         (ia64_variable_issue): Set last_issued.
2728
2729 2001-04-20  Alexandre Oliva  <aoliva@redhat.com>
2730
2731         * config/i386/i386.c (ix86_expand_int_movcc,
2732         ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
2733
2734 2001-04-20  Geoff Keating  <geoffk@redhat.com>
2735
2736         * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
2737         ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
2738         ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
2739         ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
2740         ctrdi_internal6): In the short-branch case, this insn is only 4
2741         bytes long.  Reported by Reza Yazdani <reza@apple.com>.
2742
2743 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
2744
2745         * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
2746         "=u" is used together with "st" resp. "st(1)" clobber.
2747
2748 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
2749
2750         * gcse.c (gcse_main): Fix comment typo.
2751         (delete_null_pointer_check): Likewise.
2752         (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
2753         * cse.c (cse_insn): Likewise.
2754         * function.c (fixup_var_refs_insns_with_hash): The sequence is
2755         toplevel.
2756
2757 2001-04-19  Zack Weinberg  <zackw@stanford.edu>
2758
2759         * toplev.c: Excise all code for the undocumented -dm option.
2760         (float_signal): Call signal just once, unconditionally.
2761
2762 2001-04-19  Geoff Keating  <geoffk@redhat.com>
2763
2764         * fold-const.c (fold): Use first_rtl_op rather than
2765         TREE_CODE_LENGTH when looping over parameters of a tree.
2766         Correct strange grouping in test for evaluated SAVE_EXPR.
2767
2768 Thu Apr 19 19:15:26 2001  Jeffrey A Law  (law@cygnus.com)
2769
2770         * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
2771         * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
2772
2773         * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
2774         name at 32 total characters.
2775         (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
2776         functions in named sections -- data items can still go into unique
2777         sections, but they have normal names (ie $LIT$ and $DATA$).
2778
2779         * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
2780         INIT_PRIORITY.
2781
2782 2001-04-19 DJ Delorie  <dj@redhat.com>
2783
2784         * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
2785         to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
2786         * config/i386/cygwin.h: Likewise.
2787         * config/i386/mingw32.h: Likewise.
2788         * config/vax/vms.h: Likewise.
2789         * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
2790
2791         * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
2792         to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
2793         * config/i386/xm-cygwin.h: Likewise.
2794         * config/i386/xm-djgpp.h: Likewise.
2795         * config/i386/xm-mingw32.h: Likewise.
2796         * config/vax/xm-vms.h: Likewise.
2797
2798         * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
2799         instead of OBJECT_SUFFIX.
2800         * collect2.c (find_a_file): Look for files matching the extension
2801         HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
2802         * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
2803         TARGET_EXECUTABLE_SUFFIX.
2804         (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
2805         (make_relative_prefix): Likewise.
2806         (convert_filename): Use TARGET_ suffixes throughout.  Remove
2807         NO_AUTO_EXE_SUFFIX.
2808         (process_command): Likewise.
2809         (do_spec_1): Likewise.
2810         * java/lang.c (init_parse): Likewise.
2811
2812         * gcc.texi : Document four new options matching the pattern
2813         (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX.  Remove documentation
2814         for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.  Remove
2815         documentation for NO_AUTO_EXE_SUFFIX.
2816
2817 2001-04-19  Mark Mitchell  <mark@codesourcery.com>
2818
2819         * toplev.h (struct lang_hooks): Allow decode_option to indicate
2820         that language-independent processing should not be done.
2821         * toplev.c (main): Adjust accordingly.
2822
2823         * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
2824         * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
2825
2826         * mips.md (reload_outputdi): Require that operand0 be a
2827         general_operand.
2828
2829 2001-04-19  Jakub Jelinek  <jakub@redhat.com>
2830
2831         * invoke.texi (-Wshadow): Clarify.
2832
2833 2001-04-18  Mark Mitchell  <mark@codesourcery.com>
2834
2835         * loop.c (load_mems): Examine all the instructions in the loop
2836         before concluding that all jumps branch to the first instruction
2837         after the loop.
2838
2839 Wed Apr 18 20:32:03 2001  Christopher Faylor <cgf@cygnus.com>
2840
2841         * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
2842
2843 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2844
2845         * cpp.texi (-Wwhite-space): Remove.
2846         (-Wall): -Wall does not imply -Wwhite-space.
2847
2848 2001-04-17  Zack Weinberg  <zackw@stanford.edu>
2849
2850         * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
2851         use it instead of blindly generating a .stabs.
2852         * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
2853         in the right place.
2854         * xcoffout.c: Don't bother defining default for N_CATCH.
2855         (UNKNOWN_STAB): Use internal_error.
2856         (stab_to_sclass): Remove now-unnecessary aborts.
2857         Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.
2858
2859 Tue Apr 17 21:41:11 2001  Jeffrey A Law  (law@cygnus.com)
2860
2861         * jump.c (mark_all_labels): Canonicalize the tail recursion
2862         label attached to CALL_PLACEHOLDER insns.
2863
2864 2001-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2865
2866         * output.h (dump_flow_info, free_basic_block_vars,
2867         which_alternative): Delete redundant prototypes.
2868
2869         * rtl.h (bss_section): Likewise.
2870
2871 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
2872
2873         * dbxout.c (N_OPT): Define if not available from <stab.h>
2874
2875 2001-04-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2876
2877         * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
2878         libraries and native K&R compilers.
2879
2880 2001-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2881
2882         * c-typeck.c (convert_arguments): Don't check for width changes
2883         with -Wtraditional.
2884
2885         * invoke.texi (-Wtraditional): Update documentation.
2886
2887 2001-04-16  Zack Weinberg  <zackw@stanford.edu>
2888
2889         * toplev.c (output_lang_identify): Delete.
2890         (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
2891         Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
2892         If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
2893         after calling ASM_FILE_END.
2894
2895         * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
2896         Instead, unconditionally emit an N_OPT stab with string equal
2897         to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
2898
2899         * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
2900
2901         * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
2902         config/psos.h, config/ptx4.h, config/1750a/1750a.h,
2903         config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
2904         config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
2905         config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
2906         config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
2907         config/i370/i370.h, config/i386/beos-elf.h,
2908         config/i386/osf1elf.h, config/i386/osfrose.h,
2909         config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
2910         config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
2911         config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
2912         config/m68k/tower-as.h, config/mcore/mcore-elf.h,
2913         config/mips/iris6.h, config/mips/osfrose.h,
2914         config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
2915         config/sparc/sp64-elf.h:
2916         Delete definitions of any or all of: ASM_IDENTIFY_GCC,
2917         ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
2918
2919         * config/elfos.h, config/freebsd.h, config/linux.h,
2920         config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
2921         config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
2922         config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
2923         of ASM_FILE_START which merely emit a .version directive.  Delete
2924         definitions of ASM_FILE_END which merely emit an .ident directive.
2925
2926         * config/avr/avr.h, config/vax/vax.h: Delete definition of
2927         ASM_IDENTIFY_GCC and move part of its logic into
2928         ASM_FILE_START.
2929
2930         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
2931         config/sparc/linux-aout.h: Don't emit .version directive in
2932         ASM_FILE_START.
2933
2934         * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
2935         (output_file_start): Correct comment.
2936
2937         * config/i386/osfrose.h: Don't emit trailing .ident directive.
2938         * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
2939         to match gdb.
2940         * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
2941         * config/rs6000/aix.h: Correct comment.
2942
2943         * config/i386/i386afe.h: Delete.
2944         * config.gcc: Remove references to i386afe.h.
2945
2946         * tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
2947         other macros deleted by this patch were undocumented.
2948
2949 Mon Apr 16 08:03:48 2001  Jeffrey A Law  (law@cygnus.com)
2950
2951         * pa.md (reload_outdi): Operand 0 must be a non hard register.
2952
2953         * pa.c (secondary_reload_class): SAR<->FP copies require a
2954         secondary register.
2955
2956         * install.texi (mips-mips-bsd): Update list of functions
2957         required to include memmove.
2958         * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
2959         used functions to include memmove.
2960
2961 2001-04-15  Toon Moene  <toon@moene.indiv.nluug.nl>
2962
2963         * i386.md (sqrtdf2): SFmode should be DFmode.
2964
2965 2001-04-15  Alexandre Oliva  <aoliva@redhat.com>
2966
2967         * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
2968         (find_moveable_store): Likewise.
2969
2970 2001-04-15  Jim Wilson  <wilson@redhat.com>
2971
2972         * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
2973
2974 Sat Apr 14 16:24:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
2975
2976         * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
2977         (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
2978
2979 2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
2980
2981         * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
2982         first alternative.
2983
2984 2001-04-14  Alan Modra  <amodra@one.net.au>
2985
2986         * pa.c (force_mode): New function.
2987         (emit_move_sequence): Use it instead of generating new rtx_REGs.
2988
2989 2001-04-13  Jim Wilson  <wilson@redhat.com>
2990
2991         * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
2992         (first_instruction): New static variable.
2993         (rtx_needs_barrier): Return 1 for alloc.
2994         (init_insn_group_barriers): Set first_instruction.
2995         (rws_sum): Delete duplicate definition.
2996         (group_barrier_needed_p): Return 0 when first_instruction true.
2997         (safe_group_barrier_needed_p): Save and restore first_instruction
2998         around group_barrier_needed_p call.
2999
3000 Fri Apr 13 21:40:28 2001  Loren J. Rittle  <ljrittle@acm.org>
3001
3002         * expr.h (enum libfunc_index): Add LTI_memmove.
3003         (memmove_libfunc): Define macro.
3004         * optabs.c (init_optabs): Initialize memmove_libfunc.
3005         * expr.c (expand_assignment): Use memmove_libfunc instead of
3006         memcpy_libfunc.
3007
3008 2001-04-13  Alan Modra  <alan@linuxcare.com.au>
3009
3010         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
3011         fp mode addresses.
3012
3013 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3014
3015         * Makefile.in (reg-stack.o): Depend on reload.h.
3016         (insn-attrtab.o): Depend on flags.h.
3017
3018         * genattrtab (main): Include flags.h in insn-attrtab.c.
3019
3020         * reg-stack.c: Include reload.h.
3021
3022         * sparc.h (flag_pic): Delete redundant declaration.
3023
3024         * output.h (flag_pic): Likewise.
3025
3026         * tree.h (pedantic): Likewise.
3027
3028 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3029
3030         * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
3031
3032         * jump.c, regmove.c, toplev.c: Include reload.h.
3033
3034         * reload.h (reload_cse_regs): Declare.
3035
3036         * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
3037         reload_cse_regs, init_reload, mark_home_live, reload,
3038         init_caller_save): Delete redundant prototypes.
3039
3040 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3041
3042         * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
3043
3044         * regclass.c, ssa.c: Include expr.h.
3045
3046         * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
3047         gen_move_insn): Delete redundant declarations.
3048
3049 2001-04-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3050
3051         * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
3052         (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
3053         MAKEINFO and MAKEINFOFLAGS too.
3054         (stage4_build): Correctly order -B flags.
3055
3056 2001-04-13  Alan Modra  <amodra@one.net.au>
3057
3058         * pa.c (hppa_init_pic_save): Set rtx_unchanging for
3059         PIC_OFFSET_TABLE_SAVE_RTX.
3060         (zdepi_cint_p): Describe zdepi insn.
3061         Formatting and white space fixes throughout file.
3062
3063         * pa.c (uint32_operand): Don't use long constant >= 2^32.
3064         (emit_move_sequence): Use HOST_WIDE_INT constants.  Don't worry
3065         about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
3066         (compute_movstrsi_length): Make `align' unsigned to avoid warning.
3067         (output_64bit_and): Use plain `int's for shift counts.
3068         (output_64bit_ior): Likewise.
3069         (function_arg_partial_nregs): Use unsigned vars to avoid warnings.
3070         * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
3071         `N', and simplify.
3072
3073         * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
3074         * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
3075         * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
3076         NEW_HP_ASSEMBLER into one.  Kill warnings.
3077
3078         * pa-gas.h: Delete file.
3079         * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
3080         Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*.  Update
3081         hppa*-*-linux*.  For all pa targets, remove pa/gas.h from tm_file,
3082         instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
3083
3084         * config/pa/mill32.S: New file.
3085         * config/pa/mill64.S: New file.
3086         * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
3087         LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
3088         * config/pa/t-linux64: New file.
3089         * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
3090         (LIB1ASMFUNCS, LIB1ASMSRC): Define.
3091         (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
3092
3093         * elfos.h (SELECT_SECTION): Undef before defining.
3094         * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
3095         (LIB_SPEC): Remove -lmilli.
3096         (DBX_REGISTER_NUMBER): Remove.
3097         (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
3098         (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
3099         NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
3100         DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
3101         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
3102         ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
3103         ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
3104         TARGET_GAS): Define.
3105         * pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
3106         (function_arg): If TARGET_ELF32, pass fp args in both general and fp
3107         regs if we don't have a prototype.
3108         * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
3109         * pa.h (TARGET_ELF32): Default to 0 if undefined.
3110         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
3111         EH_RETURN_HANDLER_RTX): Define.
3112         * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
3113         (DWARF_FRAME_REGNUM): Define.
3114         * pa64-regs.h (DWARF_FRAME_REGNUM): Define.
3115         * pa32-linux.h: New file.
3116         * pa64-linux.h: New file.
3117
3118         * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
3119         (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
3120         (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
3121         NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
3122         DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
3123         DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
3124         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
3125         FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
3126         READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
3127         DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
3128         UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
3129         ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
3130         TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
3131         * pa64-hpux.h: New file.
3132         (ASM_FILE_START): Correct typo.
3133         (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
3134         * config.gcc: Modify for above.
3135
3136 Fri Apr 13 00:09:22 EDT 2001  John Wehle  (john@feith.com)
3137
3138         * jump.c (jump_optimize_1): Don't delete dead stores here.
3139         * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
3140         prior to running jump optimize before cse2.
3141
3142 2001-04-12  Richard Henderson  <rth@redhat.com>
3143
3144         * Makefile.in (regmove.o): Depend on except.h.
3145         * regmove.c: Include it.
3146
3147 2001-04-12  Stan Shebs  <shebs@apple.com>
3148
3149         * objc/objc-act.c: Remove all code ifdefed with the never-used
3150         macro OBJC_INT_SELECTORS.
3151         * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
3152         * tm.texi: Remove doc for OBJC_INT_SELECTORS.
3153
3154 Thu Apr 12 18:13:37 2001  Rodney Brown  <RodneyBrown@mynd.com>
3155
3156         * config/pa/quadlib.c: Add prototypes.
3157
3158 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3159
3160         * bitmap.h (debug_bitmap): Delete redundant prototype.
3161
3162         * rtl.h (get_frame_size): Likewise.
3163
3164 2001-04-12  Jim Wilson  <wilson@redhat.com>
3165
3166         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
3167         to just emit an fnorm.
3168
3169 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3170
3171         * c-common.h (truthvalue_conversion, type_for_mode,
3172         type_for_size): Delete redundant declarations.
3173
3174         * c-lex.h (is_class_name): Likewise.
3175
3176         * c-tree.h (pedantic, convert, getdecls, gettags,
3177         global_bindings_p, init_decl_processing, insert_block,
3178         maybe_build_cleanup, poplevel, print_lang_decl,
3179         print_lang_identifier, print_lang_type, pushdecl, pushlevel,
3180         set_block, incomplete_type_error, build_function_call,
3181         lvalue_or_else, mark_addressable): Likewise.
3182
3183         * expr.h (expand_tree_builtin): Likewise.
3184
3185 2001-04-12  Mark Mitchell  <mark@codesourcery.com>
3186
3187         * invoke.texi: Document --param max-gcse-memory.
3188
3189 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3190
3191         * configure.in (errno): Check for declaration.
3192         * configure, config.in: Regenerated.
3193
3194         * system.h (errno): Only declare if not already done.
3195
3196 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3197
3198         * recog.c (general_operand, immediate_operand,
3199         nonmemory_operand): Require CONST_INTs to be sign-extended
3200         values for their modes.
3201
3202 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3203
3204         * expmed.c (store_bit_field): Truncate CONST_INTs.
3205         (expand_mult_highpart, expand_divmod): Likewise.
3206         * expr.c (convert_modes, store_field): Likewise.
3207         * integrate.c (expand_inline_function): Use promote_mode() to
3208         determine whether to convert_modes() an argument as signed
3209         or unsigned.
3210         * optabs.c (expand_binop): Get CONST_INT operands
3211         sign-extended for their appropriate modes.
3212         * stmt.c (emit_case_nodes): Convert node values to the
3213         appropriate mode.
3214         (expand_end_case): Convert minval and range to the appropriate
3215         mode.
3216         * unroll.c (loop_iterations): Truncate abs_diff to the mode of
3217         the iteration variable.
3218         * varasm.c (immed_double_const): Don't require words to be
3219         narrower than host wide ints to properly sign-extend
3220         CONST_INTs.
3221
3222 2001-04-12  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3223
3224         * sh.md (builtin_setjmp_receiver): New expander.
3225
3226 2001-04-12  David Edelsohn  <dje@watson.ibm.com>
3227
3228         * config/rs6000/rs6000.c (rs6000_emit_move): Do not
3229         special-case HOST_BITS_PER_WIDE_INT != 32.  Use same criteria
3230         for generating CONST_INT and CONST_DOUBLE.
3231
3232 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3233
3234         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
3235         already sign-extended.
3236         (rs6000_emit_prologue): Make register iterator signed.
3237         (rs6000_emit_epilogue): Likewise.
3238         * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
3239         and low.
3240         (movsf split, movdf split): Sign-extend CONST_INTs.
3241         (movdi splits): Likewise.
3242
3243 2001-04-12  Kelley Cook <kelley.cook@home.com>
3244
3245         * config-lang.in (lang_dirs): Add in zlib.
3246
3247 2001-04-11  Alexandre Oliva  <aoliva@redhat.com>
3248
3249         * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
3250         operands that make it to RTL.
3251
3252 2001-04-11  Stan Shebs  <shebs@apple.com>
3253
3254         Add Darwin (Mac OS X kernel) native support.
3255         * config.gcc (powerpc-*-darwin*): Add native bits.
3256         * config/darwin.c: New file, generic Darwin support functions.
3257         * config/darwin.h: New file, generic Darwin definitions.
3258         * config/darwin-protos.h: New file, generic Darwin prototypes.
3259         * rs6000/darwin.h: New file, Darwin for PowerPC.
3260         * rs6000/t-darwin: New file, Darwin makefile fragment.
3261         * rs6000/rs6000.h (OBJECT_MACHO): New macro.
3262         (TARGET_MACHO): Ditto.
3263         (rs6000_abi): Add ABI_DARWIN.
3264         (RS6000_REG_SAVE): Add ABI_DARWIN case.
3265         (RS6000_SAVE_AREA): Ditto.
3266         (FP_ARG_MAX_REG): Ditto.
3267         (RETURN_ADDRESS_OFFSET): Ditto.
3268         * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
3269         cases.
3270         (rs6000_emit_move): Add ABI_DARWIN cases.
3271         (print_operand): Ditto.
3272         (first_reg_to_save): Ditto.
3273         (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
3274         (debug_stack_info): Ditto.
3275         (rs6000_emit_prologue): Ditto.
3276         (rs6000_emit_epilogue): Ditto.
3277         (output_profiler_hook): Ditto.
3278         (output_function_profiler): Ditto.
3279         (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
3280         (output_mi_thunk): Add TARGET_MACHO case.
3281         (add_compiler_stub): Ditto.
3282         (output_compiler_stub): Ditto.
3283         (no_previous_def): Ditto.
3284         (output_call): Ditto.
3285         (machopic_output_stub): Ditto.
3286         (rs6000_machopic_legitimize_pic_address): Ditto.
3287         (toc_section): Ditto.
3288         * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
3289         (macho_high): Ditto.
3290         (macho_low): Ditto.
3291         (movsi_low): Ditto.
3292         (load_macho_picbase): Ditto.
3293         (call): Add TARGET_MACHO case to modify function.
3294         (call_value): Ditto.
3295         (call_nonlocal_sysv): Add ABI_DARWIN case.
3296         (call_value_nonlocal_sysv): Ditto.
3297         * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
3298         Add prototype.
3299         (machopic_output_stub): Ditto.
3300         * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
3301
3302 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3303
3304         * dwarf2out.c (modified_type_die): Don't create new types here.
3305         * tree.h (get_qualified_type): New function.
3306         (build_qualified_type): Adjust comment.
3307         * tree.c (get_qualified_type): New function.
3308         (build_qualified_type): Use it.
3309
3310 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3311
3312         * cpp.texi (-Wtraditional): Update description.
3313
3314         * invoke.texi (-Wtraditional): Likewise.
3315
3316 2001-04-11  Jim Wilson  <wilson@redhat.com>
3317
3318         * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
3319         requires more than 64 bits of alignment.
3320
3321 2001-04-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3322
3323         * cpplib.c (do_line): Sanity check iff enable checking.
3324
3325 2001-04-11  Richard Henderson  <rth@redhat.com>
3326
3327         * Makefile.in (insn-recog.o): Depend on toplev.h.
3328         (insn-emit.o, doloop.o): Likewise.
3329         * genrecog.c, genemit.c: Include toplev.h in generated file.
3330         * doloop.c: Include toplev.h.
3331
3332 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3333
3334         * Makefile.in (gcse.o): Depend on params.h.
3335         * gcse.c: Include params.h.
3336         (gcse_main): Don't do GCSE if doing so will take inordinate
3337         amounts of memory.
3338         * params.def (PARAM_MAX_GCSE_MEMORY): New  parameter.
3339         * params.h (MAX_GCSE_MEMORY): New macro.
3340
3341 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3342
3343         * Makefile.in (insn-output.o): Depend on $(EXPR_H).
3344
3345         * genoutput.c (output_prologue): Include expr.h in insn-output.c.
3346
3347 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3348
3349         * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
3350
3351         * real.h (ereal_atof, real_value_truncate, target_isnan,
3352         target_isinf, target_negative, assemble_real, debug_real): Delete
3353         redundant prototypes.
3354
3355         * Makefile.in (ifcvt.o): Depend on toplev.h.
3356
3357         * c-semantics.c: Include expr.h.
3358
3359         * ifcvt.c: Include toplev.h.
3360
3361         * expr.h (rtx_equal_p): Delete prototype.
3362
3363         * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
3364         protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
3365         eliminate_constant_term, expand_complex_abs, find_single_use,
3366         make_tree, init_expr_once, init_optabs, supports_one_only):
3367         Likewise.
3368
3369         * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
3370         rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
3371         expand_assignment, store_expr, emit_line_note_after,
3372         emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
3373
3374         * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
3375
3376         * sparc-protos.h: Delete redundant prototypes.
3377
3378 2001-04-11  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
3379
3380         * reload.c (push_reload): Add condition missed in SUBREG byte
3381         offset patch.
3382
3383 Wed Apr  4 00:28:23 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3384
3385         * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
3386
3387 Wed Apr 11 14:06:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
3388
3389         * i386.md (floatsisf_sse): Fix output template
3390         * i386.c (ix86_expand_fp_movcc)
3391
3392         * reg-stack.c (emit_pop_insn): Handle complex modes.
3393         (move_for_stack_reg): Emit proper move mode.
3394         (subst_stack_regs_pat): Handle complex modes.
3395
3396 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3397
3398         * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
3399
3400 2001-04-10  Richard Henderson  <rth@redhat.com>
3401
3402         * libgcc2.h (__terminate_func_ptr): Remove typedef.
3403         (__pure_virtual, __terminate, __terminate_set_func,
3404         __default_terminate, __throw_type_match, __empty,
3405         __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
3406         __eh_rtime_match, __unwinding_cleanup, __rethrow,
3407         __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
3408         Remove prototypes of deleted functions.
3409
3410 2001-04-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3411
3412         * c-typeck.c (convert_arguments): -Wtraditional now activates
3413         -Wconversion warnings, except for changes in signed-ness.
3414         Detect complex<->int & int<->complex conversions as well.
3415
3416         * invoke.texi (-Wtraditional): Document it.
3417
3418 Tue Apr 10 17:45:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3419
3420         * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
3421         * flow.c (set_block_for_new_insns): Remove needless cast and
3422         properly check for unset block number.
3423
3424 2001-04-10  Andrew MacLeod  <amacleod@redhat.com>
3425
3426         * function.c (purge_single_hard_subreg_set): Only check REGNO if
3427         the subreg was a hard register. Pseudos are left as subregs.
3428
3429 2001-04-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3430
3431         * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
3432         (LIB2ADD_ST): New macro, pass it to mklibgcc.
3433         * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
3434         (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
3435         * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
3436
3437 2001-04-09  Bo Thorsen  <bo@suse.co.uk>
3438
3439         * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
3440
3441 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3442
3443         * output.h (set_block_num): Missed it earlier, remove deprecated
3444         prototype.
3445
3446 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3447
3448         * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
3449         (load_killed_in_block_p): Change bb parameter from int to basic_block.
3450         (oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
3451         (handle_rd_kill_set): Change bb parameter from int to basic_block.
3452         (compute_kill_rd): Pass basic_blocks instead of ints as parameters.
3453         (expr_killed_p): Change bb parameter from int to basic_block, pass
3454         basic_blocks instead of ints as parameters.
3455         (compute_ae_kill): Pass basic_blocks instead of ints as parameters.
3456         (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
3457         from int to basic_block, pass basic_blocks instead of ints as parms.
3458         (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
3459         parameter from int to basic_block, pass basic_blocks instead of ints.
3460         (process_insert_insn): Pass basic_blocks instead of ints as parameters.
3461         (insert_insn_end_bb): Change bb parameter from int to basic_block,
3462         pass basic_blocks instead of ints.
3463         (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
3464         basic_blocks instead of ints as parameters.
3465         (pre_delete): Pass basic_blocks instead of ints as parameters.
3466         (hoist_expr_reaches_here_p): Change bb parameter from int to
3467         basic_block, pass basic_blocks instead of ints.
3468         (hoist_code): Pass basic_blocks instead of ints as parameters.
3469         (reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
3470         Change bb parameter from int to basic_block.
3471         (build_store_vectors): Pass basic_blocks instead of ints as parameters.
3472         (insert_insn_start_bb): Change bb parameter from int to basic_block,
3473         pass basic_blocks instead of ints.
3474         (insert_store): Pass basic_blocks instead of ints as parameters.
3475         (replace_store_insn, delete_store): Change bb parameter from int to
3476         basic_block, pass basic_blocks instead of ints.
3477         (store_motion): Pass basic_blocks instead of ints as parameters.
3478
3479 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3480
3481         * basic-block.h (set_new_block_for_insns): New Prototype.
3482         (set_block_num): Delete prototype.
3483         * flow.c (set_block_num): Remove obsolete function.
3484         (set_block_for_new_insns): Set BB for single or multiple insns.
3485         * gcse.c (handle_avail_expr): Use set_block_for_new_insns.
3486         (process_insn_end_bb): Use set_block_for_new_insns or
3487         set_block_for_insn instead of set_block_num.
3488         (pre_insert_copy_insn): Use set_block_for_new_insns.
3489         (update_ld_motion_stores): Use set_block_for_new_insns.
3490         (insert_insn_start_bb): Use set_block_for_new_insns.
3491         (replace_store_insn): Use set_block_for_new_insns.
3492
3493 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3494             Jeff Law  <law@redhat.com>
3495
3496         * alias.c (get_addr): Externalize.
3497         (canon_true_dependence): New function. Behaves like true_dependance
3498         except it already assumes a MEM has been canonicalized.
3499         * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
3500         * gcse.c (struct ls_expr): Add load/store expressions structure.
3501         (modify_mem_list, canon_modify_mem_list): New variable.
3502         (gcse_main): Initialize & finalize alias analysis. Use enhanced
3503         load motion and store motion if requested.
3504         (alloc_gcse_mem): Allocate space for modify_mem_list array.
3505         (free_gcse_mem): Free the modify_mem_list array.
3506         (oprs_unchanged_p): Use load_killed_in_block_p.
3507         (gcse_mems_conflict_p, gcse_mem_operand): New variables.
3508         (mems_conflict_for_gcse_p): New function.  Don't kill loads
3509         with stores to themselves if its in the load/store expression list.
3510         (load_killed_in_block_p): New function.
3511         (canon_list_insert): New Function.
3512         (record_last_mem_set_info): Keep a list of all instructions which
3513         can modify memory for each basic block.
3514         (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
3515         (oprs_not_set_p): Use load_killed_in_block_p.
3516         (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
3517         (expr_killed_p): Use load_killed_in_block_p.
3518         (compute_transp): Do not pessimize memory references.
3519         (pre_edge_insert): Update stores for a load motion expression.
3520         (one_pre_gcse_pass): Check loads/stores for extra load motion.
3521         (ldst_entry): Find or create a ldst_expr structure.
3522         (free_ldst_entry): Free memory for an individual item.
3523         (free_ldst_mems): Free entire load/store expression list.
3524         (print_ldst_list): Print debug info.
3525         (find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
3526         (enumerate_ldsts): Assign integer values to each entry in list.
3527         (first_ls_expr): First expression in the list.
3528         (next_ls_expr): Next expression in the list.
3529         (simple_mem): Check if expression qualifies for ld/st expression list.
3530         (invalidate_any_buried_refs): Remove from expression list if its
3531         used in some other way we dont understand.
3532         (compute_ld_motion_mems): Find all potential enhanced load motion
3533         expression.
3534         (trim_ld_motion_mems): Remove any expressions which are invalid.
3535         (update_ld_motion_stores): Copy store values to registers for loads
3536         which have been moved.
3537         (regvec, st_antloc, num_store): New global statics.
3538         (reg_set_info): Marks registers as set.
3539         (store_ops_ok): Verfies registers expressions are valid in a block.
3540         (find_moveable_store): Look for moveable stores in a pattern.
3541         (compute_store_table): Find stores in a function worth moving, maybe.
3542         (load_kills_store): Check dependance of a load and store.
3543         (find_loads): Find any loads in a pattern.
3544         (store_killed_in_insn): Check if a store is killed in an insn.
3545         (store_killed_after): Check is store killed after an insn in a block.
3546         (store_killed_before): Check is store killed before an insn in a block.
3547         (build_store_vectors): Generate the antic and avail vectors.
3548         (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
3549         (insert_store): Add a store to an edge.
3550         (replace_store_insn): Replace a store with a SET insn.
3551         (delete_store): Delete a store insn.
3552         (free_store_memory): Free memory.
3553         (store_motion): Perform store motion.
3554         * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
3555         * rtl.h (get_addr, canon_true_dependence): Add prototypes.
3556         * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
3557         (f_options): Add gcse-lm and gcse-sm.
3558
3559 Mon Apr  9 16:18:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
3560
3561         * i386.c (expand_fp_movcc): Fix condition reversal code.
3562
3563         * i386.c (ix86_register_move_cost): Fix handling of reformating penalty
3564         * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
3565         (CLASS_MAX_NREGS): Use it.
3566
3567         * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
3568         handle properly complex values.
3569         (CLASS_MAX_NREGS): Likewise; update comment.
3570
3571 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
3572
3573         * ia64.c (ia64_flag_schedule_insns2): New variable.
3574         (ia64_override_options): Initialize it.  Clear
3575         flag_schedule_insns_after_reload.
3576         (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
3577
3578 Mon Apr  9 15:09:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
3579
3580         * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
3581         Do not require source to match destination anymore;
3582         Add abort to the nontrivial cases that should be handled by split.
3583         (fix_trunc?fdi): Add SSE case for x86_64.
3584         (floatdi?f): Likewise.
3585         (floatdi?f_sse): New.
3586         (fix_trunc?fdi_sse): New.
3587
3588 2001-04-09  Richard Sandiford   <rsandifo@redhat.com>
3589
3590         * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
3591         (DEBUG_ARANGES_END_LABEL): Ditto.
3592         (dwarfout_init): Generate length and version fields at the start
3593         of the .debug_aranges info.  Insert DEBUG_ARANGES_BEGIN_LABEL
3594         after the length field.
3595         (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
3596         the .debug_aranges info.
3597
3598 Sun Apr  8 00:43:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
3599
3600         * i386.c (call, call_value): Make sure that resulting call_insn
3601         does have proper second operand.
3602
3603 Sun Apr  8 22:50:49 2001  Christopher Faylor <cgf@cygnus.com>
3604
3605         * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
3606         function.  Remove include of sys/cygwin.h.
3607
3608 Sun Apr  8 22:20:27 2001  Christopher Faylor <cgf@cygnus.com>
3609
3610         * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
3611         (CPP_SPEC): Always search */include/w32api for header files.
3612         (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
3613         (LINK_SPEC): Add "cyg" to the library search prefixes.
3614
3615 2001-04-08  Philip Blundell  <philb@gnu.org>
3616
3617         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
3618
3619 2001-04-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3620
3621         * cpperror.c (print_location): Don't special case <stdin>.
3622         (_cpp_begin_message): Handle WARNING_SYSHDR the same as
3623         WARNING, but we don't check if we're in system headers.
3624         * cpplib.h (enum error_type): WARNING_SYSHDR: New.
3625         * cpplib.c (do_warning): Warn in system headers.
3626
3627 2001-04-07  Mumit Khan <khan@NanoTech.Wisc.EDU>
3628
3629         * mbchar.c: Include config.h first.
3630
3631 2001-04-07  Zack Weinberg  <zackw@stanford.edu>
3632
3633         * config.gcc: Set default for xmake_file at top, not bottom.
3634         Change places that set xmake_file to "none" to set to the
3635         empty string instead, or remove them entirely if there is no
3636         default xmake_file for this cpu_type.  Remove references to
3637         deleted files.
3638
3639         * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
3640         config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
3641         config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
3642         config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
3643         config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
3644         config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
3645         config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
3646         config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
3647         config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
3648         config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
3649         Delete.
3650
3651         * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
3652         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
3653         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
3654         config/mips/x-sysv, config/rs6000/x-aix31:
3655         Just set CLIB to -lld or -lmld, as appropriate.
3656
3657         * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
3658         config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
3659         config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
3660         config/mips/x-iris, config/pa/x-pa:
3661         Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
3662         OTHER_FIXINCLUDES_DIRS.
3663
3664         * config/i386/x-djgpp: Don't set LN or LN_S.
3665         * config/m88k/x-dolph: Don't define __m88k__.
3666         * config/m88k/x-tekXD88: Don't set AR_FLAGS.
3667         * config/pa/x-pa-mpeix: Just set up quadlib.asm.
3668         * config/i860/fx2800.h: No need to #undef SVR4.
3669
3670         38 x-host fragments remain, 2 x-cpu.
3671
3672 2001-04-07  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3673
3674         * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
3675
3676 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3677
3678         * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
3679
3680 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3681
3682         * configure.in: Add check for lstat.
3683         * configure, config.in: Regenerate.
3684         * cppinit.c (append_include_chain): Make empty path ".".
3685         * cpplib.c (do_line): Don't simplify #line paths.
3686         * cppfiles.c (remove_component_p): New function.
3687         (find_or_create_entry): Acknowledge stat () errors during
3688         path simplification.
3689         (handle_missing_header): Don't simplify paths.
3690         (_cpp_simplify_pathname): Don't simplify VMS paths.  Return
3691         the empty path untouched.  Don't leave a trailing '/'.
3692
3693 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3694
3695         * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
3696         * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
3697
3698 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3699
3700         * cppfiles.c (open_file): Fail directories silently, but
3701         with an errno of NOENT set.
3702         (read_include_file): Move the common exit code to the sole
3703         caller.  Return an int indicating success or failure.  Let
3704         open_file handle directories.
3705         (stack_include_file): If read_include_file fails,
3706         push a "null" buffer.
3707
3708 2001-04-05  DJ Delorie  <dj@redhat.com>
3709
3710         * function.h (virtuals_instantiated): Declare.
3711         * function.c: (virtuals_instantiated): Make global.
3712         * calls.c (emit_library_call_value_1): Use
3713         virtual_outgoing_args_rtx only if it hasn't been instantiated.
3714         Otherwise, use the stack pointer directly.
3715
3716 Thu Apr  5 19:13:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
3717
3718         * i386.c (x86_initialize_trampoline): New global function.
3719         * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
3720         (INITIALIZE_TRAMPOLINE): Move offline.
3721         * i386-protos.h (x86_initialize_trampoline): Declare.
3722
3723 Thu Apr  5 19:02:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
3724
3725         * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
3726         (lea_0): Rename to lea_1.
3727         (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
3728         (lea_general_?): Allow SImodes on TARGET_64BIT
3729         (lea_general_?_zext): New patterns.
3730         (call_1, call_1_rex64): Fix.
3731
3732 Thu Apr  5 19:00:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
3733
3734         * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
3735
3736 Thu Apr  5 18:25:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
3737
3738         * i386.c (function_arg): Return constm1_rtx for last argument.
3739         (ix86_expand_prologue): Update gen_call calls.
3740         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
3741         * i386.md (call_pop): Likewise.
3742         (call): Second operand is VOIDmode.
3743         (call_0): Likewise; Support 64bits.
3744         (call_exp): New expander.
3745         (call_1): Get to the sync.
3746         (call_1_exp): New pattern.
3747         (call_value): Support 64bit.
3748         (call_value_exp): New pattern.
3749         (untyped_call): Update gen_call call.
3750         (call_value_pop): Disable for 64bit.
3751         (call_value_0_rex64): New pattern.
3752         (call_value_1_rex64): Likewise.
3753
3754 2001-04-05  Bo Thorsen  <bo@suse.de>
3755
3756         * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
3757
3758 Thu Apr  5 13:44:17 2001  J"orn Rennecke <amylaar@redhat.com>
3759
3760         * i386.md (*andsi_1+3): If used after reload, make sure the operand
3761         satisfies ANY_QI_REG_P.
3762
3763 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
3764
3765         * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain
3766         ASM_OPERAND.
3767
3768         * sched-deps.c (sched_analyze_insn): Revert more of the March 27
3769         change.
3770
3771 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
3772
3773         * config.gcc: Remove default for xm_file.  Clean up local
3774         machine type handling.  Remove settings of xm_file to
3775         something that doesn't exist.  In the big switch, set xm_file,
3776         don't append to it (the value before the big switch is always
3777         null).  Don't force build_xm_file or host_xm_file to have a value.
3778         * configure.in: Remove default for xm_file.  Do not special
3779         case $cpu/xm-$cpu.h not existing.
3780         * configure: Regenerate.
3781
3782 2001-04-04  Diego Novillo  <dnovillo@redhat.com>
3783
3784         * simplify-rtx.c (simplify_binary_operation): Check for overflow
3785         when folding integer division and modulo operations.
3786
3787 2001-04-04  Andrew MacLeod  <amacleod@redhat.com>
3788
3789         * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
3790         instead of DWARF2_ADDR_SIZE for EH addresses.
3791         (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
3792         EH addresses.
3793
3794 2001-04-04  Richard Henderson  <rth@redhat.com>
3795
3796         * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
3797         * config/ia64/t-glibc (LIB2ADDEH): Disable.
3798         * config/ia64/t-ia64 (LIB2ADDEH): Disable.
3799
3800 2001-04-04  Richard Henderson  <rth@redhat.com>
3801
3802         * configure.in (gcc_cv_as_leb128): Escape "." in regexp.
3803         * configure: Rebuilt.
3804
3805 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
3806
3807         * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
3808         push insns to delete to it instead of deleting them.
3809         (delete_null_pointer_checks): Delete insns from delete_list after
3810         all delete_null_pointer_checks_1 passes are done.
3811
3812 2001-04-04  Richard Henderson  <rth@redhat.com>
3813
3814         * configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
3815         * configure: Rebuilt.
3816
3817 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
3818
3819         * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
3820         * config/romp/xm-romp.h: Delete.
3821
3822 2001-04-04  Bernd Schmidt  <bernds@redhat.com>
3823
3824         * sched-deps.c (sched_analyze_insn): Partially revert March 27
3825         change.
3826
3827 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3828
3829         * emit-rtl.c (mark_label_nuses) Increment the label uses for
3830         all labels present in rtx.
3831         (try_split) Call new function for all split insns.
3832
3833 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
3834
3835         * recog.c (validate_replace_rtx_1): Instead of aborting just make
3836         sure the change won't be validated.
3837
3838 Wed Apr  4 00:45:38 EDT 2001  John Wehle  (john@feith.com)
3839
3840         * rtl.h (set_noop_p): Declare.
3841         * flow.c (set_noop_p): Move from here ...
3842         * rtlanal.c (set_noop_p): ... to here and enhance.
3843         * cse.c (delete_trivially_dead_insns): Use it.
3844         * gcse.c (hash_scan_set): Likewise.
3845         * jump.c (delete_noop_moves): Likewise.
3846         * recog.c (split_all_insns): Likewise.
3847
3848 2001-04-04  Alan Modra  <alan@linuxcare.com.au>
3849
3850         * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
3851         stack pointer via a LO_SUM.  Ditto for setting a temp register
3852         used to save to the stack.  Set cfa_temp when setting fp, and
3853         allow matches to cfa_temp in addition to cfa_store when saving
3854         regs.  Handle POST_INC and LO_SUM register stores.  Document the
3855         changes and errors in rule 12 doco.
3856
3857         * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
3858         (actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
3859         (load_reg): Move closer to epilogue code.
3860         (DO_FRAME_NOTES): Define to control the following..
3861         (FRP): Define to set RTX_FRAME_RELATED_P on insns.
3862         (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
3863         notes as necessary.
3864         (hppa_expand_epilogue): Likewise.
3865
3866 2001-04-03  Richard Henderson  <rth@redhat.com>
3867
3868         * configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
3869         * configure: Rebuild.
3870
3871 2001-04-03  Richard Henderson  <rth@redhat.com>
3872
3873         * rtl.h (LCT_THROW): New.
3874         * calls.c (emit_library_call_value_1): Handle it.
3875         * except.c (connect_post_landing_pads): Use it.
3876
3877 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
3878
3879         * gansidecl.h: Delete file.
3880         * configure.in: Change all refs to gansidecl.h to use
3881         ansidecl.h.  Adjust *_file_list so they know where ansidecl.h
3882         lives.
3883         * configure: Regenerate.
3884
3885         * Makefile.in (intl.o): Don't depend on gansidecl.h.
3886         * defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
3887         * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
3888         Don't include gansidecl.h.
3889         * intl.c, main.c, version.c, fixinc/fixlib.h,
3890         fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
3891         gansidecl.h.
3892
3893 Tue Apr  3 19:41:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
3894
3895         * i386.c (ix86_force_to_memory, ix86_free_from_memory):
3896         Update for 64bit.
3897
3898 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
3899
3900         * config/i386/xm-beos.h, config/i386/xm-isc.h,
3901         config/i386/xm-next.h, config/i386/xm-sco.h,
3902         config/i386/xm-sco5.h, config/m68k/xm-plexus.h,
3903         config/m88k/xm-m88k.h: Delete.
3904
3905         * config/i386/xm-djgpp.h: Don't define __MSDOS__.
3906         * config/romp/xm-romp.h: Don't define bcopy.
3907         * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF,
3908         HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA.
3909
3910         * config.gcc: Remove references to deleted files.
3911
3912         14 xm-host.h remain, 1 xm-cpu.h.
3913
3914 2001-04-03  Jakub Jelinek  <jakub@redhat.com>
3915             David S. Miller  <davem@pierdol.cobaltmicro.com>
3916             Andrew MacLeod  <amacleod@redhat.com>
3917
3918         Use byte offsets in SUBREGs instead of words.
3919
3920         * alias.c (nonlocal_mentioned_p): Use subreg_regno function.
3921         * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
3922         to pass new argument.
3923         (add_stored_regs): Use subreg_regno_offset function.
3924         * calls.c (expand_call): For non-paradoxical SUBREG take endianess
3925         into account.
3926         (precompute_arguments): Use gen_lowpart_SUBREG.
3927         * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
3928         (combine_simplify_rtx): Rework to use SUBREG_BYTE.
3929         (simplify_set): Rework to use SUBREG_BYTE.
3930         (expand_field_assignment): Use SUBREG_BYTE.
3931         (make_extraction): Use SUBREG_BYTE.
3932         (if_then_else_cond): Use SUBREG_BYTE.
3933         (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
3934         (gen_lowpart_for_combine): Compute full byte offset.
3935         * cse.c (mention_regs): Use SUBREG_BYTE.
3936         (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
3937         (canon_hash): Use SUBREG_BYTE.
3938         (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
3939         (gen_lowpart_if_possible): Formatting.
3940         * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
3941         correctly.
3942         * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
3943         (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
3944         (loc_descriptor): Fixup explicit XEXP into SUBREG_REG
3945         * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
3946         (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
3947         (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
3948         * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
3949         certain invariants about SUBREGs the compiler creates.
3950         (gen_lowpart_SUBREG): New function.
3951         (subreg_hard_regno): New function to get the final register number.
3952         (gen_lowpart_common): Use SUBREG_BYTE.
3953         (gen_imagpart): Spacing nits.
3954         (subreg_realpart_p): Use SUBREG_BYTE.
3955         (gen_highpart): Use SUBREG_BYTE.
3956         (subreg_lowpart_p): Always compute endian corrected goal offset,
3957         even at the byte level, then compare against that.
3958         (constant_subword): New function, pulled out all constant cases
3959         from operand_subword and changed second argument name to offset.
3960         (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
3961         and call constant_subword to do the work.  Return const0_rtx if
3962         looking for a word outside of OP.
3963         (operand_subword_force): Change second arg name to offset.
3964         * expmed.c (store_bit_field): Use SUBREG_BYTE.
3965         (store_split_bit_field): Use SUBREG_BYTE.
3966         (extract_bit_field): Use SUBREG_BYTE.
3967         (extract_split_bit_field): Use SUBREG_BYTE.
3968         (expand_shift): Use SUBREG_BYTE.
3969         * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
3970         * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
3971         * flow.c (set_noop_p): Use SUBREG_BYTE.
3972         (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
3973         * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
3974         (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
3975         correction code.
3976         (optimize_bit_field): Use SUBREG_BYTE.
3977         (purge_addressof_1): Use SUBREG_BYTE.
3978         (purge_single_hard_subreg_set): Use subreg_regno_offset function.
3979         (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
3980         actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
3981         * gengenrtl.c (special_rtx): Add SUBREG.
3982         * global.c (mark_reg_store): Use SUBREG_BYTE.
3983         (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
3984         * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
3985         * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
3986         final byte offset is congruent to subreg's mode size.
3987         (subst_constants): Use SUBREG_BYTE.
3988         (mark_stores): Use subreg_regno_offset function.
3989         * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
3990         function and SUBREG_BYTE.
3991         * local-alloc.c (combine_regs): Use subreg_regno_offset function.
3992         (reg_is_born): Use subreg_hard_regno.
3993         * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
3994         endian correction code.  Don't combine subregs unless resulting
3995         offset aligns with type.  Fix subreg constant extraction for DImode.
3996         Simplify SUBREG of VOIDmode CONST_DOUBLE.
3997         (general_operand): Remove dead mode_altering_drug code.
3998         (indirect_operand): Use SUBREG_BYTE.
3999         (constrain_operands): Use subreg_regno_offset function.
4000         * reg-stack.c (get_true_reg): Use subreg_regno_offset function.
4001         * regmove.c (regmove_optimize): Use SUBREG_BYTE.
4002         (optimize_reg_copy_3): Use gen_lowpart_SUBREG.
4003         * regs.h (REG_SIZE): Allow target to override.
4004         (REGMODE_NATURAL_SIZE): New macro which target can override.
4005         * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
4006         on the entire subreg rtx.
4007         (push_reload): Use SUBREG_BYTE in comments and code.
4008         (find_dummy_reload): Use subreg_regno_offset.  Only adjust offsets
4009         for hard registers inside subregs.
4010         (operands_match_p): Use subreg_regno_offset.
4011         (find_reloads): Use SUBREG_BYTE and only advance offset for subregs
4012         containing hard regs.
4013         (find_reload_toplev): Use SUBREG_BYTE.  Remove byte endian
4014         corrections when fixing up MEM subregs.
4015         (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
4016         subreg_regno_offset where appropriate.
4017         (find_reloads_subreg_address): Use SUBREG_BYTE.  Remove
4018         byte endian corrections when fixing up MEM subregs.
4019         (subst_reloads): When combining two subregs, make sure final
4020         offset is congruent to subreg's mode size.
4021         (find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
4022         (refers_to_regno_for_reload_p): Use subreg_regno.
4023         (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
4024         * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
4025         correction code for memory subreg fixups.
4026         (forget_old_reload_1): Use subreg_regno_offset.
4027         (choose_reload_regs): Use subreg_regno.
4028         (emit_input_reload_insns): Use SUBREG_BYTE.
4029         (reload_combine_note_store): Use subreg_regno_offset.
4030         (move2add_note_store): Use subreg_regno_offset.
4031         * resource.c (update_live_status, mark_referenced_resources): Use
4032         subreg_regno function.
4033         (mark_set_resources): Use subreg_regno function.
4034         * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
4035         (subreg_regno_offset, subreg_regno): Define prototypes.
4036         (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
4037         (gen_lowpart_SUBREG): Add prototype.
4038         * rtl.texi (subreg): Update to reflect new byte offset representation.
4039         Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
4040         * rtlanal.c (refers_to_regno_p): Use subreg_regno.
4041         (reg_overlap_mentioned_p): Use subreg_regno.
4042         (replace_regs); Make sure final offset of combined subreg is
4043         congruent to size of subreg's mode.
4044         (subreg_regno_offset): New function.
4045         (subreg_regno): New function.
4046         * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
4047         * sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
4048         * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
4049         * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
4050         (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
4051         * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
4052         (a29k_get_reloaded_address): Use SUBREG_BYTE.
4053         (print_operand): Use SUBREG_BYTE.
4054         * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
4055         * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
4056         (arm_reload_out_hi): Use SUBREG_BYTE.
4057         * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
4058         instead of SUBREG_WORD.
4059         (d30v_print_operand_memory_reference): Use subreg_regno_offset.
4060         * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
4061         SUBREG creation to use byte offset.
4062         * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
4063         inverted load insns): Fix explicit rtl subregs to use byte
4064         offsets.
4065         * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
4066         udivsi3, umodsi3): Generate SUBREGs with byte offsets.
4067         * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
4068         * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
4069         to use byte offsets.
4070         (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
4071         * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
4072         offsets, also make sure it is congruent to SUBREG's mode size.
4073         (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
4074         unnamed ldob insn): Generate SUBREGs with byte offset.
4075         (zero_extendqihi2): SUBREG's are byte offsets.
4076         * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
4077         (m68hc11_gen_highpart): Use SUBREG_BYTE.
4078         * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
4079         zero-extendqisi2): Generate SUBREGs with byte offset.
4080         (umulsidi3, mulsidi3, subreghi1ashrdi_const32,
4081         subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
4082         subregs in rtl to use byte offsets.
4083         * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
4084         * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
4085         (mips_move_2words): Use subreg_regno_offset.
4086         (mips_secondary_reload_class): Use subreg_regno_offset.
4087         * config/mips/mips.md (DImode plus, minus, move, and logical op
4088         splits): Fixup explicit subregs in rtl to use byte offsets.
4089         * config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
4090         * config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
4091         * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
4092         rtl to use byte offsets.
4093         * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
4094         * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
4095         subregs to use byte offsets.
4096         * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
4097         Fixup explicit subregs in rtl to use byte offsets.
4098         * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
4099         and remove byte endian correction code.
4100         * config/sh/sh.c (output_movedouble): Use subreg_regno.
4101         (gen_ashift_hi): Use SUBREG_BYTE.
4102         (regs_used): Use subreg_regno_offset.
4103         (machine_dependent_reorg): Use subreg_regno_offset.
4104         * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
4105         * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
4106         (movdf_i4): Subregs are byte offsets now.
4107         * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
4108         * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
4109         (REGMODE_NATURAL_SIZE): Override.
4110         (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
4111         * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
4112         with byte offsets.
4113         (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
4114         extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
4115         extendqidi2): Generate SUBREGs with byte offsets, also make sure
4116         it is congruent to SUBREG's mode size.
4117         (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
4118         offsets.
4119         (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
4120         cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
4121         lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
4122         SUBREG_BYTE offset for non-paradoxical subregs in patterns.
4123         * config/v850/v850.c (print_operand, output_move_double): Use
4124         subreg_regno function.
4125
4126 2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
4127
4128         * configure.in (target_subdir): Use target_alias, not target.
4129         * configure: Rebuilt.
4130
4131         * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
4132         other way round.
4133         * config/sh/crti.asm: Fix typos in comments.
4134
4135 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4136
4137         * pa.h: Revise comments for TARGET_NO_SPACE_REGS and
4138         TARGET_FAST_INDIRECT_CALLS.
4139         * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
4140         -fPIC.  Don't warn.
4141         (return_addr_rtx): Short circuit export stub matching when
4142         TARGET_NO_SPACE_REGS.
4143         (output_millicode_call): For out of range calls, make -fPIC
4144         take precedence, then TARGET_PORTABLE_RUNTIME, then ble.  Don't
4145         return before delay slot checks when TARGET_PORTABLE_RUNTIME.
4146         * pa.md: Modify length attr calculation of all millicode insns to
4147         match above.
4148
4149 2001-04-02  Geoffrey Keating  <geoffk@redhat.com>
4150
4151         * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
4152         Require at least 2.11 in the version test.  Specifically check
4153         for and reject GAS version 2.10.90.
4154         * configure: regenerate.
4155
4156 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4157
4158         * pa.c (override_options): Remove PIC profiling warning.
4159         (hp_profile_labelno): Delete.
4160         (hp_profile_label_rtx): Delete.
4161         (hp_profile_label_name): Delete.
4162         (pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
4163         (output_function_prologue): Remove profiling code and all tests on
4164         profile_flag.  Move store of PIC_OFFSET_TABLE_REGNUM now that
4165         merge_sp_adjust_with_store can work for PIC and profiling.
4166         (hppa_expand_epilogue): Remove profile_flag test.
4167         (hppa_can_use_return_insn_p): Likewise.
4168         (hppa_init_pic_save): Emit before tail_recursion_reentry, and
4169         cater for PROFILE_HOOK.
4170         (hppa_profile_hook): New function.
4171         * pa.h (FUNCTION_PROFILER): Now does nothing.
4172         (PROFILE_HOOK): Define.
4173         (hppa_profile_hook): Declare.
4174         (PROFILE_BEFORE_PROLOGUE): Delete.
4175         (ASM_OUTPUT_REG_PUSH): Delete.
4176         (ASM_OUTPUT_REG_POP): Delete.
4177         * pa.md (call_profiler): Turn it into a call insn, and don't `use'
4178         r24.  Accept function name operand, and use this and a locally
4179         generated label to calculate pc-rel offset to func start.
4180
4181 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4182
4183         * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
4184         ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
4185         $(SYSTEM_H).
4186
4187 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4188
4189         * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
4190         LO_SUM cases to where they belong.
4191
4192 2001-04-02  Richard Henderson  <rth@redhat.com>
4193
4194         * except.h (lang_eh_type_covers): Mark extern.
4195         (lang_eh_runtime_type): Likewise.
4196
4197 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4198
4199         * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
4200         gengenrtl.c:  Wrap generated header in multiple-include guard.
4201         Improve error checking.
4202
4203 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4204
4205         * configure.in: Don't check for putenv.
4206         * configure: Regenerate.
4207         * gcc.c (putenv): Don't define.
4208         * vax/xm-vms.h: Handle putenv.
4209
4210 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
4211
4212         * ifcvt.c (noce_emit_move_insn): New.
4213         (noce_try_store_flag, noce_try_store_flag_constants,
4214         noce_try_store_flag_inc, noce_try_store_flag_mask,
4215         noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
4216         noce_try_abs): Use it.
4217         (noce_process_if_block): Likewise.
4218         For STRICT_LOW_PART, take mode from its SUBREG.
4219
4220 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
4221
4222         * fold-const.c (fold): Before optimizing unsigned comparison with
4223         0x7fffffffU, make sure arg0 is integral type.
4224
4225 2001-04-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4226
4227         * c-tree.texi: Document representation of wide strings.
4228
4229 2001-04-01  Richard Henderson  <rth@redhat.com>
4230
4231         * except.h (expand_builtin_dwarf_fp_regnum): Declare.
4232
4233 Sun Apr  1 11:49:05 CEST 2001  Jan Hubicka  <jH@suse.cz>
4234
4235         * i386.md: remove obsoleted comments.
4236         (adddi_?): Rename to adddi_?_rex64; disable for 32bit.
4237         (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
4238         fix output template.
4239
4240 2001-03-31  Marek Michalkiewicz  <marekm@linux.org.pl>
4241
4242         * config/avr/libgcc.S (__mulhi3): Optimize previous change.
4243
4244 2001-03-30  Bernd Schmidt  <bernds@redhat.com>
4245
4246         * loop.c (load_mems): When generating a load from a pseudo, update
4247         REGNO_LAST_UID.
4248
4249 Fri Mar 30 17:36:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
4250
4251         * i386.c (ix86_split_long_move): Use change address to compensate
4252         stack pointer change in push instruction.
4253
4254 Fri Mar 30 00:31:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
4255
4256         * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
4257         instead of rtx_equal_p; fix the output template.
4258
4259 Fri Mar 30 00:21:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
4260
4261         * i386.c (ix86_expand_setcc): Support 64bit.
4262         (ix86_expand_int_movcc): Likewise.
4263         * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
4264         New patterns.
4265
4266         * i386.md (allocate_stack_worker): Turn to expander.
4267         (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.
4268
4269         * i386.c (print_reg): Do not print x86_64 style regs on IA-32
4270
4271 2001-03-29  Richard Henderson  <rth@redhat.com>
4272
4273         * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
4274
4275 2001-03-28  Matthew Hiller  <hiller@redhat.com>
4276
4277         * config/mn10300/mn10300.md (cmpsi): Fix first alternative's
4278         output template.
4279
4280         * MAINTAINERS: Added self.
4281
4282 2001-03-28  Richard Henderson  <rth@redhat.com>
4283
4284         * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
4285         Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
4286
4287 2001-03-28  Jim Wilson  <wilson@redhat.com>
4288
4289         * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
4290         operand_subword.
4291
4292 2001-03-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4293
4294         * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
4295
4296         * tradcif.y (yyerror): Likewise.  Add format specifier in call to
4297         `error'.
4298
4299         * tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
4300
4301 2001-03-28  DJ Delorie  <dj@redhat.com>
4302
4303         * Makefile.in (stage1_build): Revert CFLAGS patch.
4304
4305 2001-03-28  Marek Michalkiewicz  <marekm@linux.org.pl>
4306
4307         * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
4308         when multiplier or multiplicand is zero.
4309
4310 2001-03-28  Bernd Schmidt  <bernds@redhat.com>
4311
4312         * cselib.c (hash_rtx): Don't do tail recursion elimination by hand.
4313
4314         * config/ia64/ia64.c (update_set_flags): New function, broken out of
4315         rtx_needs_barrier.
4316         (set_src_needs_barrier): Likewise.
4317         (rtx_needs_barrier): For SET case, use these two functions.  Rework
4318         PARALLEL case to handle all inputs before all outputs.
4319         (emit_insn_group_barriers): Call init_insn_group_barriers only if we
4320         saw a label and no stop bit since then.
4321         (maybe_rotate, process_epilogue): Add prototypes.
4322
4323 2001-03-28  Richard Henderson  <rth@redhat.com>
4324
4325         * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
4326         not TARGET_TOC for special toc restore handling.
4327         * config/rs6000/rs6000.md (eh_return): Likewise.
4328
4329 2001-03-28  Richard Henderson  <rth@redhat.com>
4330
4331         * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
4332         current_function_calls_eh_return.
4333         (output_function_epilogue): Handle eh_return.
4334         * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
4335         (EH_RETURN_DATA_REGNO): New.
4336         (EH_RETURN_STACKADJ_RTX): New.
4337         (EH_RETURN_HANDLER_RTX): New.
4338         * config/sparc/sparc.md (call/short branch peepholes): Check
4339         can_throw_internal instead of in_same_eh_region.
4340
4341         * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
4342         for eh_return data registers.
4343         (rs6000_emit_prologue): Save eh_return data registers.
4344         (rs6000_emit_epilogue): Force inline restores if eh_return.
4345         Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
4346         * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
4347         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
4348         (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
4349         the target uses one.
4350         * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
4351         (return_eh_si, return_eh_di): Remove.
4352         (eh_return): New, from corpse of eh_epilogue.
4353         (eh_set_lr_si, eh_set_lr_di): New.
4354
4355         * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
4356         (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
4357         True for pic register if current_function_calls_eh_return.
4358         (ix86_expand_epilogue): Change "emit_return" argument into "style".
4359         Handle eh_return requirements.
4360         * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
4361         (EH_RETURN_STACKADJ_RTX): New.
4362         * config/i386/i386.md (exception_receiver): Remove.
4363         (eh_return, eh_return_1): New.
4364         * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4365
4366         * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
4367         (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
4368         (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
4369         * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
4370         (EH_RETURN_DATA_REGNO): New.
4371         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
4372         * config/alpha/alpha.md (eh_epilogue): Remove.
4373         (exception_receiver): Use $26 for ldgp input.
4374         * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4375
4376 2001-03-28  Richard Henderson  <rth@redhat.com>
4377
4378         * except.c: Rewrite entirely for IA-64 ABI exception handling.
4379         * except.h: Likewise.
4380
4381         * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
4382         (LIB2ADDEHDEP): New.
4383         (LIB2FUNCS_EH): Remove.
4384         (LIB2ADD): Remove LIB2ADDEH.
4385         (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
4386         (LIBGCC_DEPS): Use LIB2ADDEHDEP.
4387         (crt{begin,end}[S].o): Likewise.
4388         (except.o): Update includes.
4389         * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
4390         (libgcc2_c_dep): Use LIB2ADDEHDEP.
4391
4392         * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
4393         * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
4394         * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
4395         * builtins.c (expand_builtin): Implement it.
4396         [BUILT_IN_EH_RETURN]: Update for nr arguments change.
4397         * c-common.c (c_common_nodes_and_builtins): Declare it.
4398         * c-decl.c (init_decl_processing): Update __builtin_eh_return.
4399         * calls.c (libfunc_nothrow): Remove.
4400         (emit_library_call_value_1): Don't call it.
4401         * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
4402         * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
4403         (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
4404         * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
4405         (current_funcdef_number): Globalize.
4406         (output_call_frame_info): Emit frame data if an lsda is needed.
4407         Generate augmentation for personality routine.  Don't play with
4408         difference symbols.
4409         (dwarf2out_begin_prologue): Record funcdef_number.
4410         * dwarf2out.h (current_funcdef_number): Declare.
4411         * expr.c (expand_expr): Update for except.h name changes.
4412         Remove POPDCC_EXPR, POPDHC_EXPR.  Add EXC_PTR_EXPR.
4413         * expr.h (LTI_throw, LTI_rethrow): Remove.
4414         (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
4415         (LTI_eh_rtime_match): Remove.
4416         (LTI_unwind_resume, LTI_eh_personality): Add.
4417         (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
4418         * final.c (final): Don't call check_exception_handler_labels,
4419         init_insn_eh_region, or free_insn_eh_region.
4420         (final_scan_insn): Always emit debug labels for
4421         NOTE_INSN_EH_REGION notes.
4422         * flags.h (flag_new_exceptions): Remove.
4423         * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
4424         (record_active_eh_regions): Remove.
4425         (count_basic_blocks): Check all instructions for REG_EH_REGION.
4426         Use can_throw_internal.
4427         (find_basic_blocks_1): Likewise.
4428         (move_stray_eh_region_notes): Remove.
4429         (find_label_refs): No eh_return_stub_label.
4430         (make_edges): Likewise.  No init/free_eh_nesting_info.  Handle RESX.
4431         (make_eh_edge): No eh_nest_info.  Update for reachable_handlers
4432         changes.
4433         (delete_unreachable_blocks): Don't track deleted handlers.
4434         (flow_delete_block): Use maybe_remove_eh_handler.
4435         (delete_eh_regions): Remove.
4436         (merge_blocks): Don't check for eh region match.
4437         (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
4438         EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
4439         (init_propagate_block_info): Disable dead frame store optimization
4440         when current_function_calls_eh_return.
4441         (dump_bb): Don't print eh_beg, eh_end.
4442         * function.c (fixup_var_refs): No catch_clauses.
4443         (expand_function_end): Likewise.  Call expand_eh_return before
4444         the return register use.  Call sjlj_emit_function_exit_after.
4445         (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
4446         * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
4447         * ifcvt.c (dead_or_predicable): Remove eh region check.
4448         * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
4449         Don't check for EH vs parameters.
4450         (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
4451         (expand_inline_function): Call duplicate_eh_regions.
4452         (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
4453         (copy_insn_notes): Remap REG_EH_REGION notes.
4454         (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
4455         * integrate.h (struct inline_remap): Add local_return_label.
4456         * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
4457         check_exception_handler_labels, nor exception_optimize.
4458         (find_cross_jump): No EH region check.
4459         * optabs.c (init_optabs): Update for changed eh libfuncs.
4460         * rtl.def (RESX): New.
4461         * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
4462         * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
4463         checks.  Update for except.h name changes.
4464         (expand_cleanups): Likewise.
4465         (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
4466         * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
4467         (compile_file): Call init_eh before init_optabs.  Don't
4468         output_exception_table here.
4469         (rest_of_compilation): Call convert_from_eh_region_ranges,
4470         convert_to_eh_region_ranges, output_function_exception_table.
4471         Don't emit_eh_context.
4472         * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
4473         (EXC_PTR_EXPR): New.
4474
4475         * md.texi (eh_epilogue): Remove.
4476         (eh_return): Document.
4477         * tm.texi (EH_RETURN_DATA_REGNO): Document.
4478         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
4479
4480         * eh-common.h: Remove file.
4481         * frame-dwarf2.c, frame.c, frame.h: Remove files.
4482         * libgcc2.c (L_eh): Remove.
4483
4484         * unwind-dw2-fde.c: New file, largely copied from frame.c.
4485         * unwind-dw2-fde.h: New file.
4486         * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
4487         * unwind-sjlj.c, unwind.h, unwind.inc: New files.
4488         * libgcc-std.ver: Update for eh symbols.
4489
4490 2001-03-27  Richard Henderson  <rth@redhat.com>
4491
4492         * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
4493         reduce false positives.
4494         (regmove_optimize): Disable if flag_non_call_exceptions.
4495
4496         * stmt.c (expand_return): Remove always true predicate.
4497         (expand_decl_cleanup_no_eh): Remove dead code.
4498
4499         * sched-deps.c (sched_analyze_insn): Consolidate scheduling
4500         barrier code.  Add a scheduling barrier if a non-call insn
4501         can throw internally.
4502
4503         * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
4504         Auto-inc addresses trap only if their base register does.
4505
4506         * except.c (can_throw_internal): Rename from can_throw.
4507         * except.h, resource.c: Update references.
4508
4509         * integrate.c (copy_insn_list): Use returnjump_p.
4510         (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
4511
4512         * function.h (struct function): Move all boolean valued fields
4513         to single bit fields at the end of the struct.
4514
4515         * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
4516         jump.c, toplev.c:
4517         Rename asynchronous_exceptions to flag_non_call_exceptions.
4518
4519         * gthr-single.h (UNUSED): New.  Distinguish between how C
4520         and C++ mark unused function arguments.  Use throughout.
4521
4522         * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
4523         value to target configuration header.
4524         * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
4525         * config.in, configure: Rebuild.
4526         * except.h (USING_SJLJ_EXCEPTIONS): New.  Define based on
4527         configuration and target defines.
4528         (exceptions_via_longjmp): Remove.
4529         * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
4530         Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
4531
4532         * except.h (flag_non_call_exceptions): Move ...
4533         * flags.h: ... here.
4534
4535         * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
4536         exceptions, put the note on the trapping instruction.
4537
4538         * flags.h (flag_new_exceptions): Remove.
4539         * toplev.c: Don't set it.
4540         * final.c: Don't check it.
4541         * except.c: Provide stub definition.
4542
4543         * flow.c (tidy_fallthru_edges): Don't combine complex edges.
4544         (calculate_global_regs_live): Kill call-clobbered registers
4545         across exception edges.
4546         * reg-stack.c (convert_regs_1): Kill the entire target stack
4547         across non-call exception edges.
4548
4549         * flow.c (cleanup_cfg): Take no argument.
4550         * output.h, sibcall.c, toplev.c: Update all calls.
4551
4552 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4553
4554         * configure.in: Don't check for bcopy.
4555         * configure, config.in: Regenerate.
4556
4557         * system.h: Don't define or prototype bcopy, instead poison it.
4558
4559 2001-03-27  Richard Henderson  <rth@redhat.com>
4560
4561         * function.c (expand_function_start): Set DECL_REGISTER on
4562         a pseudo used for DECL_RESULT.
4563
4564         * rtl.h (LCT_NORETURN): New.
4565         * calls.c (emit_library_call_value_1): Handle it.
4566
4567 2001-03-27  Stan Shebs  <shebs@apple.com>
4568
4569         * objc/objc-act.c (objc_init): Use dump_base_name.
4570         (gen_declaration): Clear the buffer arg.
4571         (gen_declaration_1): New function, body of gen_declaration.
4572         (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
4573         (gen_method_decl): Ditto, plus always clear buffer arg.
4574         (error_with_ivar): Simplify.
4575         (warn_with_method): Ditto.
4576         (build_message_expr): Don't clear buffers.
4577         (dump_interface): Ditto.
4578         (objc_debug): Ditto.
4579         (build_keyword_selector): Clear the buffer by only zeroing
4580         the first element.
4581         (objc_implementation_context): Declare.
4582         (start_class): Warn about missing @end.
4583         (finish_objc): Ditto.
4584
4585 2001-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4586
4587         * reload1.c (eliminate_regs): Don't abort on MEM USEs.
4588
4589 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4590
4591         * Makefile.in (SYSTEM_H): Define.
4592         Depend on $(SYSTEM_H), not system.h.
4593
4594         * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
4595
4596 2001-03-27  Jim Wilson  <wilson@redhat.com>
4597
4598         * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
4599         IA64_UNWIND_EMIT.
4600         * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
4601         (process_epilogue): New static function.
4602         (process_set): Call process_epilogue instead of emitting .restore
4603         directly.
4604         (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
4605
4606         * flow.c (struct reg_cond_life_info): New fields orig_condition
4607         and stores.
4608         (init_propagate_block_info): Set new fields.
4609         (mark_regno_cond_dead): Set and use new fields.
4610         (flush_reg_cond_reg_1): Likewise.
4611         (and_reg_cond, case AND): Check for redundant AND conditions.
4612         (mark_used_reg): Delete unnecessary clears before freeing splay trees.
4613         Set new fields.
4614
4615 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4616
4617         * cppmacro.c (stringify_arg): Null terminate strings.
4618
4619 2001-03-27  Zack Weinberg  <zackw@stanford.edu>
4620
4621         * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
4622         inclusion style.  xm-m68hc11.h no longer exists.
4623         * config/m68hc11/xm-m68hc11.h: Delete file.
4624         * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
4625
4626         * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
4627         Don't define GCC_VERSION, N_, or PARAMS; don't include
4628         gansidecl.h or stdio.h.  Define inhibit_libc here.
4629         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
4630         Delete code conditioned on #if GCC_VERSION == 2095.
4631
4632         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
4633         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
4634         Delete code conditioned on #if GCC_VERSION == 2095.
4635
4636 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4637
4638         * system.h: Include symcat.h.
4639         (STRINGIFY): Don't define.
4640
4641         * configure.in: Adjust comment.
4642
4643         * builtins.c: Use STRINGX, not STRINGIFY.
4644         * gencheck.c: Likewise.
4645         * gengenrtl.c: Likewise.
4646         * protoize.c: Likewise.
4647
4648         * cpplex.c: Don't include symcat.h.
4649         * cpplib.c: Likewise.
4650
4651         * gansidecl.h (HAVE_STRINGIZE): Don't define.
4652
4653 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
4654
4655         * c-typeck.c (digest_init): Fold init expression.
4656
4657 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4658
4659         * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
4660
4661 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
4662
4663         * except.c (eh_regs): Save results of build_pointer_type to a temp
4664         as FUNCTION_VALUE macro may evaluate its args multiple times.
4665
4666 2001-03-26  Mark Mitchell  <mark@codesourcery.com>
4667
4668         * c-common.h (DECL_NUM_STMTS): New macro.
4669         * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
4670         DECL_FRAME_SIZE.
4671         (pushdecl): Likewise.
4672         * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
4673         * integrate.c (expand_inline_function): Don't check
4674         DECL_FRAME_SIZE.
4675         * print-tree.c (print_node): Don't print it.
4676         * toplev.c (rest_of_compilation): Don't try to inline when
4677         flag_no_inline is on.
4678         * tree.h (DECL_FRAME_SIZE): Remove.
4679         (tree_decl): Adjust accordingly.
4680
4681 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4682
4683         * combine.c (try_combine): Use memcpy, not bcopy.
4684
4685         * genattrtab.c (expand_units): Likewise.
4686
4687 Mon Mar 26 15:55:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
4688
4689         * i386.md (push mem DI peep2): New.
4690         (mov 0, mov -1 peep2): Handle 64bit.
4691         (lea to arithmetics peep2): Handle 64bit leas.
4692         (rsp arithmetics to push/pop peep2s): New.
4693
4694         * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
4695
4696 Mon Mar 26 14:35:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
4697
4698         * i386.c (struct machine_function): Add save_varrargs_registers.
4699         (ix86_save_varrargs_registers): New macro.
4700         (ix86_frame_layout): Support 64bit; support red zones and varrargs area.
4701         (ix86_expand_prologue): Likewise.
4702         (ix86_emit_epilogue_esp_adjustement): Likewise.
4703         (ix86_expand_epilogue): Likewise.
4704         * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
4705         (pro_epilogue_adjust_stack_1): New insn.
4706         (pro_epilogue_adjust_stack_rex64): Likewise.
4707         * i386.h (MASK_NO_RED_ZONE): New constant.
4708         (TARGET_RED_ZONE): New macro.
4709         (TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
4710         (RED_ZONE_SIZE): New constant.
4711         (RED_ZONE_RESERVE): New constant.
4712
4713 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4714
4715         * toplev.c (set_float_handler): Use memcpy, not bcopy.
4716
4717 2001-03-25  Kazu Hirata  <kazu@hxi.com>
4718
4719         * config/h8300/h8300.md (umodqi3): Output a tab instead of a
4720         space.
4721         (modqi3): Likewise.
4722         (umodhi3): Likewise.
4723         (modhi3): Likewise.
4724
4725 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4726
4727         * mkconfig.sh (DEFINES): Handle entries with '='.
4728
4729         * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
4730         Set xm_defines to MACRO=value instead.
4731
4732         * i370/xm-mvs.h: Delete.
4733
4734         * ns32k/xm-pc532-min.h: Likewise.
4735
4736 Sun Mar 25 15:01:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
4737
4738         * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
4739         shiftdi_operand;
4740         use ix86_expand_binary_operator
4741         (?sh??i_?): Disable for 64bit.
4742         * i386.h (PREDICATE_CODES): Add shiftdi_operand.
4743         * i386.c (shiftdi_operand): New predicate.
4744
4745         * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
4746         ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
4747         ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
4748         ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
4749         ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
4750         lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
4751         lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
4752         rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
4753         rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
4754         rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
4755         (rotldi3, rotrdi3): New expanders.
4756
4757 Sun Mar 25 14:25:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
4758
4759         * i386.md (movstrsi): Move offline.
4760         (movstrdi): New.
4761         (strmovdi_rex64): New.
4762         (strmov?i): Accept 64bit.
4763         (strmov?i_rex64): New.
4764         (strmov?i_rex_1): New.
4765         (strmov?i_1): Disable for 64bit.
4766         (rep_mov?i_rex64): New.
4767         (rep_mov?i): Disable for 64bit.
4768         (clrstrsi): Move offline.
4769         (strset?i_rex64): New.
4770         (strset?i: Accept 64bit.
4771         (rep_stos?i): Disable for 64bit.
4772         (rep_stos?i_rex64): New.
4773         (strset?i_rex_1): New.
4774         (strset?i_1): Disable for 64bit.
4775         (cmpstrsi): Accept 64bit.
4776         (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
4777         (cmpstrqi_nz_rex_1): New.
4778         (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
4779         (strlensi): Move offline.
4780         (strlendi): New.
4781         (strlenqi_1): Disable for 64bit; fix constraints.
4782         (strlenqi_rex_1): New.
4783         * i386.c (ix86_adjust_counter): New static function.
4784         (ix86_zero_extend_to_Pmode): Likewise.
4785         (ix86_expand_aligntest): Likweise.
4786         (ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
4787         (ix86_expand_movstr): New global function.
4788         (ix86_expand_clrstr): New global function.
4789         (ix86_expand_strlen): New global function.
4790         * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
4791         ix86_expand_strlen): Declare.
4792         (ix86_expand_strlensi_unroll_1): Delete.
4793
4794 Sat Mar 24 23:15:19 CET 2001  Jan Hubicka  <jh@suse.cz>
4795
4796         * i386.md (cmpdi): Fix operand predicates.
4797         (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
4798          cmpdi_1_insn_rex64): New patterns.
4799         (adddi3): Turn to expander.
4800         (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
4801         (addsi3_carry_zext): New pattern.
4802         (adddi_?_rex64): New patterns and splitters.
4803         (addsi_?_zext): New patterns.
4804         (subsi3_carry_zext): New pattern.
4805         (subdi_?_rex64): New patterns and splitters.
4806         (iorsi_?_zext): New patterns.
4807         (iordi_?_rex64): New patterns and splitters.
4808         (iorsi_?_zext): New patterns.
4809         (iorsi_?_zext_imm): New patterns.
4810         (xorsi_?_zext): New patterns.
4811         (xordi_?_rex64): New patterns and splitters.
4812         (xorsi_?_zext): New patterns.
4813         (negdi*): New patterns.
4814         (one_cmpldi*): Likewise.
4815         (one_cmplsi*_zext, negsi*_zext): Likewise.
4816         (testqi_ext_3_rex64): New pattern.
4817
4818 Sat Mar 24 21:13:28 CET 2001  Jan Hubicka  <jh@suse.cz>
4819
4820         * i386-protos.h (ix86_split_long_move): Return void.
4821         * i386.c (ix86_split_to_parts): Handle 64bit target.
4822         (ix86_split_long_move): Likewise.
4823         * i386.md (all calls to ix86_split_long_move): Update.
4824
4825 2001-03-23  Richard Henderson  <rth@redhat.com>
4826
4827         * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
4828         to avoid shadowing arguments.
4829
4830 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
4831
4832         * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
4833         to variable names where DECL_NAME is different from
4834         DECL_ASSEMBLER_NAME.
4835
4836 2001-03-23  Jim Wilson  <wilson@redhat.com>
4837
4838         * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
4839         (assemble_alias): Call make_decl_rtl.
4840
4841 Fri Mar 23 16:59:08 2001  J"orn Rennecke <amylaar@redhat.com>
4842
4843         * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
4844
4845 2001-03-23  Bryce McKinlay  <bryce@albatross.co.nz>
4846
4847         * extend.texi: Document the "java_interface" attribute.
4848
4849 2001-03-22  Zack Weinberg  <zackw@stanford.edu>
4850
4851         * mkconfig.sh: Use a subshell with redirected stdout,
4852         instead of closing stdout and confusing commands that run
4853         afterward.  Throw away output of cmp.
4854
4855 2001-03-22  Gordon Sadler  <gbsadler1@lcisp.com>
4856
4857         * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
4858
4859 Thu Mar 22 22:15:59 CET 2001  Jan Hubicka  <jh@suse.cz>
4860
4861         * i386.md (zero_extendsidi2_32): Break out from ...
4862         (zero_extendsidi2): ... here ; turn to expander.
4863         (zero_extendsidi2_rex64): New.
4864         (extendsidi2_32): Break out from ...
4865         (extendsidi2): ... here ; turn to expander.
4866         (extendsidi2_rex64): New.
4867         (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
4868         (trunc?f?f splitters): Add 64bit versions.
4869
4870 Thu Mar 22 21:41:16 CET 2001  Jan Hubicka  <jh@suse.cz>
4871
4872         * i386.md (pushsi, pushsi2_prologue): Disable.
4873         (pushsi2_rex64): New.
4874         (movabs?i_1_rex64, movabs?i_2_rex64): New.
4875         (movqi_ext_1): Disable for 64bit.
4876         (movqi_ext_1_rex64): New.
4877         (pushdi2_rex64): New pattern, peep2s and splitter.
4878         (pushdi2_prologue_rex64): New pattern.
4879         (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
4880         Likewise.
4881         (movdi splitters): Disable for 64bit.
4882         (movdi_1_rex64): New pattern, peep2s and splitters.
4883         (swapdi): New pattern.
4884         (pushsf): Disable for 64bit.
4885         (pushsf_rex64): New pattern and splitter.
4886         (pushdf_nointeger): Disable for 64bit.
4887         (pushdf_integer): Handle the 64bit case.
4888         (pushtf): Likewise; update splitters.
4889
4890 2001-03-22  Richard Henderson  <rth@redhat.com>
4891
4892         * mkconfig.sh: Include insn-flags.h.
4893         * Makefile.in (CONFIG_H): Include insn-flags.h.
4894         (lots of objects): Remove insn-codes.h and insn-flags.h.
4895
4896         * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
4897         integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
4898         regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
4899         avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
4900         dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
4901         i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
4902         m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
4903         mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
4904         pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
4905         v850/v850.c, vax/vax.c:
4906         Don't include insn-flags.h.
4907
4908         * diagnostic.c, expr.h, reload.c, toplev.c:
4909         Don't include insn-codes.h.
4910
4911         * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
4912         final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
4913         c4x/c4x.c, i960/i960.c, mips/mips.c:
4914         Don't include insn-codes.h or insn-flags.h.
4915
4916         * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
4917         or insn-flags.h in the generated code.
4918         * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
4919         (main): Forward declare struct rtx_def.
4920
4921 2001-03-22  Joseph S. Myers  <jsm28@cam.ac.uk>
4922
4923         * invoke.texi (-ffast-math): Remove duplicate line about
4924         __FAST_MATH__.
4925
4926         * gcc.texi: Remove more obsolete documentation of bugs and
4927         installation problems.
4928
4929 2001-03-21  Kazu Hirata  <kazu@hxi.com>
4930
4931         * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
4932         into two parts.
4933
4934 2001-03-20  Jason Merrill  <jason@redhat.com>
4935
4936         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
4937         not '.' or '$'.
4938         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
4939         * varasm.c (CHKR_PREFIX): Likewise.
4940
4941 Wed Mar 21 14:27:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4942
4943         * gcse.c (hash_scan_set): An expression is not anticipatible if it
4944         is part of a multi-SET insn.
4945
4946         * cse.c (find_comparison_args): Remove previous change.
4947         * ifcvt.c (noce_process_if_block): When moving an insn, remove any
4948         REG_EQUAL notes.
4949
4950         * config/i386/i386.md (conditional_trap): Remove warning.
4951
4952         * recog.c (push_operand): Fix error in last change that caused
4953         undefined symbol on many targets.
4954
4955         * sdbout.c: #include ggc.h.
4956         (sdbout_init): Move to end of file.
4957         Call ggc_add_tree_root for anonymous_types.
4958         (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
4959         (sdbout_one_type): Use DECL_NAME for field name.
4960         * Makefile.in (sdbout.o): Show includes ggc.h.
4961
4962 Wed Mar 21 20:33:26 CET 2001  Jan Hubicka  <jh@suse.cz>
4963
4964         * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
4965         (override_options): Use properlimits for preferred_stack_boundary.
4966         (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
4967         on x86_64.
4968         (ext_register_operand): Accept DImode.
4969         (load_pic_register): Abort on 64bit.
4970         (gen_push): Use Pmode instead of SImode.
4971         (ix86_save_reg): Pic reg is never used on 64bit.
4972         (ix86_expand_prologue): Likewise.
4973         (ix86_emit_save_regs): Use Pmode instead of SImode.
4974         (legitimate_address_p): Check displacement for 64bit.
4975         (print_operand): Avoid outputting of (%rip) on 64bit.
4976         (print_operand_address): Output (%rip) where possible.
4977         (split_di): Abort on 64bit registers.
4978         (ix86_expand_branch): DImode comparison is simple for x86_64.
4979         (memory_address_length): Recognize memory addresses formed using
4980         PRE/POST modify.
4981         (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes
4982         for x86_64.
4983         * i386.h (TARGET_USE_SAHF): Disable for 64bit.
4984
4985 Wed Mar 21 18:51:19 CET 2001  Jan Hubicka  <jh@suse.cz>
4986
4987         * recog.c (push_operand): Recognize new format of push instructions.
4988
4989 Wed Mar 21 10:53:57 CET 2001  Jan Hubicka  <jh@suse.cz>
4990
4991         * i386.md (pushqi1): New.
4992         * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
4993         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
4994         x86_64_immediate_operand, x86_64_immediate_operand,
4995         x86_64_zext_immediate_operand): Declare.
4996         * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
4997         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
4998         x86_64_immediate_operand, x86_64_immediate_operand,
4999         x86_64_zext_immediate_operand): define.
5000         * i386.h (PREDICATE_CODES): Add new predicates.
5001
5002 Wed Mar 21 10:25:13 CET 2001  Jan Hubicka  <jh@suse.cz>
5003
5004         * i386.md (pophi1, popqi1, pushqi1): Remove.
5005
5006         * expr.c (emit_single_push_insn): New function.
5007         (move_by_pieces): Accept NULL as destination for push instructions.
5008         (gen_push_operand): Kill.
5009         (emit_push_insn): Pass NULL when pushing; avoid updating of
5010         stack_pointer_delta.
5011         * expr.h (gen_push_operand): Kill.
5012
5013 Tue Mar 20 20:15:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5014
5015         * rtl.texi (COMPARE): Clarify documentation and reference section
5016         on comparisons.
5017
5018 2001-03-20  Stan Shebs  <shebs@apple.com>
5019
5020         * objc/objc-act.c (get_static_reference): Use NULL_TREE.
5021         (get_object_reference): Ditto.
5022         (error_with_ivar): Use error_with_file_and_line.
5023         (warn_with_method): Use warning_with_file_and_line.
5024
5025 2001-03-20  Tom Tromey  <tromey@redhat.com>
5026
5027         * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
5028
5029 2001-03-20  Mark Mitchell  <mark@codesourcery.com>
5030
5031         * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
5032         variables that are TREE_PUBLIC, even if not TREE_STATIC.
5033
5034 2001-03-20  DJ Delorie  <dj@redhat.com>
5035
5036         * Makefile.in (install-libgcc): Pass complete list of variables.
5037         (install-multilib): Ditto.
5038
5039 2001-03-20  David Billinghurst  <David.Billinghurst@riotinto.com>
5040
5041         * config/i386/cygwin.h: Declare ctor_section, dtor_section
5042         drectve_section, switch_to_section.
5043
5044         * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
5045         i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
5046         i386_pe_mark_dllimport.
5047
5048 2001-03-20  David Billinghurst <David.Billinghurst@riotinto.com>
5049
5050         * config/i386/cygwin.h: Include <stdio.h> Declare and constify
5051         functions i386_pe_*.
5052
5053         * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
5054         i386_pe_* functions with char * arguments.
5055
5056 2001-03-20  Alexandre Oliva  <aoliva@redhat.com>
5057
5058         * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
5059         and store.
5060         (movsi_ie): Introduce fpul store.
5061
5062 2001-03-20  Alan Modra  <alan@linuxcare.com.au>
5063
5064         * Makefile.in (OBJS): Remove hashtab.o.
5065
5066 2001-03-19  Stan Shebs  <shebs@apple.com>
5067
5068         * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
5069         * c-lang.c (maybe_objc_method_name): Ditto.
5070         * c-tree.h (maybe_objc_method_name): Remove decl.
5071
5072 2001-03-19  Tom Tromey  <tromey@redhat.com>
5073
5074         * gcc.c (init_gcc_specs): Fix comment.
5075
5076 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
5077
5078         Compute DECL_ASSEMBLER_NAME lazily.
5079         * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
5080         (DECL_ASSEMBLER_NAME_SET_P): New macro.
5081         (SET_DECL_ASSEMBLER_NAME): Likewise.
5082         (COPY_DECL_ASSEMBLER_NAME): Likewise.
5083         (set_decl_assembler_name): Declare.
5084         (lang_set_decl_assembler_name): Likewise.
5085         * tree.c (lang_set_decl_assembler_name): New variab.e
5086         (set_decl_assembler_name): New function.
5087         (init_obstacks): Set lang_set_decl_assembler_name.
5088         (build_decl): Don't set DECL_ASSEMBLER_NAME.
5089         * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
5090         COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
5091         where it's not necessary.
5092         (builtin_function): Likewise.
5093         (finish_decl): Likewise.
5094         * dbxout.c (dbxout_type_methods): Likewise.
5095         * ggc-common.c (ggc_mark_trees): Likewise.
5096         * profile.c (output_func_start_profiler): Likewise.
5097         * varasm.c (make_decl_rtl): Likewise.
5098
5099         * cse.c (find_comparison_args): Update documentation.  Fix
5100         mishandling of COMPARE operations.
5101
5102         * tree.def (ABS_EXPR): Add documentation.
5103         * fold-const.c (fold): Improve folding of ABS_EXPRs.
5104
5105 2001-03-19  Zack Weinberg  <zackw@stanford.edu>
5106
5107         * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
5108
5109 2001-03-19  Jakub Jelinek  <jakub@redhat.com>
5110
5111         * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
5112         Remove ia32 linux PIC kludge and move it...
5113         * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
5114
5115 Mon Mar 19 18:53:54 CET 2001  Jan Hubicka  <jh@suse.cz>
5116
5117         * i386.md (absdf2 expander): Fix 64bit case.
5118
5119 2001-03-19  Brad Lucier  <lucier@math.purdue.edu>
5120
5121         * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
5122
5123 2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>
5124
5125         * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
5126
5127 2001-03-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5128
5129         * README.X11: Remove obsolete file.
5130
5131 2001-03-18  Anthony Green  <green@redhat.com>
5132
5133         * config/pj/pj.h: Remove some trailing commas.
5134         (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
5135
5136 2001-03-18  Richard Henderson  <rth@redhat.com>
5137
5138         * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
5139         * calls.c: ... here.
5140         * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
5141         defaults for them here.
5142
5143 2001-03-17  Anthony Green  <green@redhat.com>
5144
5145         * config/pj/lib1funcs.S: Fix broken comment.
5146         * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
5147         labels with '.'.
5148
5149 2001-03-18  Joseph S. Myers  <jsm28@cam.ac.uk>
5150
5151         * gcc.texi: Remove obsolete information relating to build and
5152         installation problems with enquire or the Pyramid C compiler.
5153
5154 2001-03-17  Richard Henderson  <rth@redhat.com>
5155
5156         * dwarf2out.c (queue_reg_save): New.
5157         (flush_queued_reg_saves, clobbers_queued_reg_save): New.
5158         (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
5159         dwarf2out_reg_save.
5160         (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
5161         (cfa, cfa_store, cfa_temp): Make static.
5162         * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
5163
5164 2001-03-17  Richard Henderson  <rth@redhat.com>
5165
5166         * integrate.h (struct inline_remap): Add local_return_label.
5167         * integrate.c (expand_inline_function): Initialize it and emit
5168         it after copy_insn_notes.
5169         (copy_insn_list): Don't store local_return_label here.
5170         (copy_insn_notes): New function split out from copy_insn_list.
5171
5172 2001-03-17  Richard Henderson  <rth@redhat.com>
5173
5174         * dwarf2out.c (lookup_filename): Emit .file if the assembler
5175         is generating .debug_line.
5176         (dwarf2out_init): Add main_input_filename to the file table first.
5177         * configure.in (as_dwarf2_debug_line): Test with file number 1
5178         instead of file number 0.
5179
5180 Sat Mar 17 11:52:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5181
5182         * combine.c (undobuf): Remove field previous_undos; all refs deleted.
5183         (gen_rtx_combine): Deleted; all references changed as appropriate.
5184         (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
5185
5186         * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
5187
5188 2001-03-17  David Billinghurst  <David.Billinghurst@riotinto.com>
5189
5190         * config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused
5191         variable.
5192
5193 2001-03-16  Jim Wilson  <wilson@redhat.com>
5194
5195         * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
5196         then set it to LOC_REG (79) instead of aborting.
5197
5198 2001-03-16  Phil Edwards  <pme@sources.redhat.com>
5199
5200         * gccbug.in:  Remove high priority.
5201
5202 2001-03-16  Richard Henerson  <rth@redhat.com>
5203
5204         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
5205         output with a space instead of deleting it.
5206         * configure: Regenerate.
5207
5208 2001-03-16  Zack Weinberg  <zackw@stanford.edu>
5209
5210         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
5211         handles the gory details of converting an object file into
5212         something that's safe to grep.
5213         (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
5214         gcc_AC_C_COMPILE_ENDIAN.  Use gcc_AC_EXAMINE_OBJECT.  Put
5215         newlines at either end of the string we're looking for.
5216         Make 'checking ...' message less stilted.
5217         (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT.  Handle
5218         ARM in-memory layout and its hypothetical converse.  Don't
5219         define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
5220         HOST_WORDS_BIG_ENDIAN.
5221
5222         * configure.in: Adjust for renamed macro.  Move
5223         gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
5224         * configure, config.in: Regenerate.
5225
5226 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5227
5228         * fixinc/Makefile.in: Set SHELL.
5229
5230 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5231
5232         * fixinc/fixincl.c (fix_with_system): Quote file names before
5233         passing them to shell.
5234
5235 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5236
5237         * Makefile.in: Use fix-header$(build_exeext) instead
5238         of fix-header.
5239
5240 2001-03-16  Richard Henderson  <rth@redhat.com>
5241
5242         * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
5243         (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
5244         (size_of_line_prolog): Remove.
5245         (output_line_info): Compute prologue size via label difference.
5246         (lookup_filename): Return "unspecified" for <internal> and <built-in>.
5247
5248         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
5249         assembler error when redefining file numbers.
5250         * config.in, configure: Rebuild.
5251
5252         * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
5253         (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
5254         (dw2_asm_output_delta_uleb128): Likewise.
5255         (dw2_asm_output_delta_sleb128): Similarly.
5256         (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.
5257
5258 2001-03-16  Michael Meissner  <meissner@redhat.com>
5259
5260         * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
5261         warnings.
5262         (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
5263         warnings.
5264         (BITMASK_LOWER16): Replacement for 0x0000ffff.
5265
5266         * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
5267         instead of 0xffff0000/0x0000ffff to avoid warnings about constants
5268         being unsigned in ISO C and signed in traditional.
5269         (expand_prologue): Ditto.
5270         (RA_MASK): Use BITMASK_HIGH to avoid warnings.
5271
5272         * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
5273         warnings.
5274         (divsi3,divdi3): Ditto.
5275         (modsi3,moddi3): Ditto.
5276         (fix_truncdfsi2,fix_truncdfdi2): Ditto.
5277         (fix_truncsfsi2,fix_truncsfdi2): Ditto.
5278         (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
5279         warnings.
5280
5281 Fri Mar 16 14:47:57 CET 2001  Jan Hubicka  <jh@suse.cz>
5282
5283         * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
5284         SSE based conditional moves on LTGT/UNEQ conditions;
5285         Canonicalize EQ to NE.
5286         * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
5287         (sse_mov?fcc_ne): New.
5288
5289         * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
5290
5291 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5292
5293         * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
5294         register may be dead.
5295
5296 2001-03-16  Brad Lucier  <lucier@math.purdue.edu>
5297
5298         * Makefile.in (hash.o): Depend on CONFIG_H.
5299
5300 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5301
5302         * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
5303
5304 2001-03-15  Richard Henderson  <rth@redhat.com>
5305
5306         * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
5307         (ASM_OUTPUT_DWARF_PCREL): New.
5308         * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.
5309
5310 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5311
5312         * cppfiles.c (stack_include_file): Use MAX of sysp.
5313
5314 2001-03-15  Steve Ellcey  <sje@cup.hp.com>
5315
5316         * config.gcc (ia64*-*-hpux*): New case.
5317         * config/ia64/hpux.h: New file for HP-UX support.
5318         * config/ia64/t-hpux: New file for HP-UX support.
5319
5320 2001-03-16  Bruce Korb  <bkorb@gnu.org>, Alexandre Oliva  <aoliva@redhat.com>
5321
5322         * fixinc/inclhack.def (irix_stdio_va_list): New.
5323         * fixinc/fixincl.x: Rebuilt.
5324
5325 2001-03-15  Richard Henderson  <rth@redhat.com>
5326
5327         * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
5328         if provided by the target.
5329         (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
5330         (dw2_asm_output_addr): New.
5331         * dwarf2asm.h (dw2_asm_output_addr): Declare.
5332         * dwarf2out.c (output_cfi): Use it for program addresses.
5333         (output_call_frame_info, output_die): Likewise.
5334         (output_aranges, output_line_info): Likewise.
5335
5336 2001-03-15  Bruce Korb  <bkorb@gnu.org>
5337
5338         * gcc.c(main): make more rigorous
5339         * collect2.c(main): guard against ignoring SIGCHLD
5340         * protoize.c(main): ditto
5341         * gcc/fixinc/fixincl.c(initialize): ditto
5342
5343 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5344
5345         * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
5346         (sdbout_parms): Likewise.
5347
5348 Thu Mar 15 12:57:14 2001  Jeffrey A Law  (law@cygnus.com)
5349
5350         * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
5351         "widen" a destination that is already wider than a word.  Also do
5352         not widen if LOAD_EXTEND_OP is NIL for the given mode.
5353
5354 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
5355
5356         * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
5357
5358 Thu Mar 15 11:30:31 EST 2001  John Wehle  (john@feith.com)
5359
5360         * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
5361
5362 Thu Mar 15 11:24:29 EST 2001  John Wehle  (john@feith.com)
5363
5364         * i960.h (i960_maxbitalignment,
5365         i960_last_maxbitalignment): Declare.
5366         * i960.c (i960_maxbitalignment,
5367         i960_last_maxbitalignment): Make global.
5368         (process_pragma): Delete.
5369         (i960_pr_align, i960_pr_noalign): Move from here ...
5370         * i960-c.c: ... to this new file.
5371         * t-960bare (i960-c.o): New rule.
5372         * t-vxworks960 (i960-c.o): Likewise.
5373         * config.gcc (i960-*-*): Define c_target_objs and
5374         cxx_target_objs.
5375
5376 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
5377
5378         * cselib.c (hash_rtx): For REG and MEM, just use value of expression
5379         without adding in rtx code and mode.
5380
5381         * alias.c (init_alias_analysis): Don't use any rtx whose value
5382         varies as a known value.
5383         Delete a superfluous test.
5384
5385         * config/ia64/ia64.c (maybe_rotate): New function, broken out of
5386         ia64_sched_reorder.
5387         (ia64_sched_reorder): Call maybe_rotate; also rotate after
5388         scheduling a stop bit.
5389         (ia64_emit_nops): Correctly handle ASMs.
5390
5391 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5392
5393         * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
5394
5395 2001-03-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5396
5397         * cpp.texi: Update documentation for -include and -imacros.
5398         * cppfiles.c (struct include_file): Remove "defined" memeber.
5399         (find_or_create_entry): Make a copy of the file name, and
5400         simplify it.
5401         (open_file): Update to ensure we use the simplified filename.
5402         (stack_include_file): Don't set search_from.
5403         (cpp_included): Don't simplify the path name here.
5404         (find_include_file): New prototype.  Call search_from to
5405         get the start of the "" include chain.  Don't simplify the
5406         filenames here.
5407         (_cpp_execute_include): New prototype.  Move diagnostics to
5408         do_include_common.  Update.
5409         (_cpp_pop_file_buffer): Don't set defined.
5410         (search_from): New prototype.  Use the preprocessor's cwd
5411         for files included from the command line.
5412         (read_name_map): Don't simplify the pathname here.
5413         * cpphash.h (enum include_type): New.
5414         (struct buffer): Delete search from.  New search_cached.
5415         (_cpp_execute_include): Update prototype.
5416         * cppinit.c (do_includes): Use _cpp_execute_include.
5417         * cpplib.c (do_include_common): New function.
5418         (do_include, do_include_next, do_import): Use it.
5419
5420 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5421
5422         * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
5423         contents of the RTL, to determine the name of the object.
5424
5425 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5426
5427         * tree.h (DECL_RTL): Allocate RTL lazily.
5428         (SET_DECL_RTL): New macro.
5429         (DECL_RTL_SET_P): Likewise.
5430         (COPY_DECL_RTL): Likewise.
5431         (DECL_RTL_IF_SET): Likewise.
5432         * varasm.c (make_decl_rtl): Add assertions about the kind of
5433         declaration we are processing.
5434         * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
5435         (start_decl): Likewise.
5436         (finish_decl): Likewise.
5437         * c-semantics.c (emit_local_var): Likewise.
5438         * calls.c (expand_call): Likewise.
5439         * dbxout.c (dbxout_symbol): Likewise.
5440         * emit-rtl.c (unshare_all_rtl): Likewise.
5441         (unshare_all_decls): Likewise.
5442         (reset_used_decls): Likewise.
5443         * expr.c (store_constructor): Likewise.
5444         (safe_from_p): Likewise.
5445         (expand_expr): Likewise.
5446         * function.c (put_var_into_stack): Likewise.
5447         (instantiate_decls_1): Likewise.
5448         (assign_parms): Likewise.
5449         (expand_function_start): Likewise.
5450         (expand_function_end): Likewise.
5451         * ggc-common.c (gcc_mark_trees): Likewise.
5452         * integrate.c (function_cannot_inline_p): Likewise.
5453         (copy_decl_for_inlining): Likewise.
5454         (expand_inline_function): Likewise.
5455         (integrate_parm_decls): Likewise.
5456         (integrate_decl_tree): Likewise.
5457         * print-tree.c (print_node): Likewise.
5458         * reg-stack.c (stack_result): Likewise.
5459         * stmt.c (label_rtx): Likewise.
5460         (expand_return): Likewise.
5461         (expand_decl): Likewise.
5462         (expand_decl_cleanup): Likewise.
5463         (expand_anon_union_decl): Likewise.
5464         * toplev.c (check_global_declarations): Likewise.
5465         (rest_of_decl_compilation): Likewise.
5466         * tree.c (simple_cst_equal): Likewise.
5467         * objc/objc-act.c (generate_static_references): Likewise.
5468
5469 2001-03-14  Zack Weinberg  <zackw@stanford.edu>
5470
5471         * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
5472         gcc_AC_C_FLOAT_FORMAT): New macros.
5473         * configure.in: Add AC_PROG_CPP after CC tests;
5474         gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
5475         tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
5476         * configure, config.in: Regenerate.
5477
5478         * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
5479         config/arm/xm-arm.h, config/c4x/xm-c4x.h,
5480         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
5481         config/i370/xm-linux.h, config/i370/xm-oe.h,
5482         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
5483         config/m68k/xm-m68k.h, config/mips/xm-mips.h,
5484         config/pa/xm-linux.h, config/pa/xm-pa.h,
5485         config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
5486         config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
5487         config/sparc/xm-sparc.h, config/vax/xm-vax.h,
5488         config/we32k/xm-we32k.h: Delete.
5489
5490         * config/i370/xm-mvs.h, config/m88k/m88k.h,
5491         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
5492         config/vax/xm-vms.h: Don't define any of:
5493         HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
5494
5495         * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
5496
5497         * config.gcc: Remove references to deleted files.
5498         (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
5499         FATAL_EXIT_CODE, which is the same between oe and mvs).
5500
5501 2001-03-14  DJ Delorie  <dj@redhat.com>
5502             Vladimir Makarov  <vmakarov@redhat.com>
5503
5504         * config/i960/i960.c (i960_function_prologue): Compute size of
5505         frame according to number of registers actually saved there.
5506
5507 2001-03-14  Richard Henderson  <rth@redhat.com>
5508
5509         * expr.c (emit_move_insn_1): Fix else if around #endif.
5510
5511 Wed Mar 14 22:39:12 CET 2001  Jan Hubicka  <jh@suse.cz>
5512                               Vojtech Pavlik
5513
5514         * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
5515         constraints.
5516
5517 Wed Mar 14 22:26:10 CET 2001  Jan Hubicka  <jh@suse.cz>
5518
5519         * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
5520         (override_options): Parse cmodel string.
5521         (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
5522         * i386.h (TARGET_OPTIONS): Add "cmodel".
5523         (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
5524         (enum cmodel): New.
5525         (ix86_cmodel_string, ix86_cmodel): Declare.
5526
5527 Wed Mar 14 22:26:54 CET 2001  Jan Hubicka  <jh@suse.cz>
5528
5529         Spot by Matt Kraai:
5530         * i386.h (GENERAL_REG_P): Add missing REG_P.
5531
5532 2001-03-14  Laurynas Biveinis  <lauras@softhome.net>
5533
5534         * configure.in: Use $gcc_cv_as instead of $as.
5535         * configure: Regenerated.
5536
5537 2001-03-14  Neil Booth  <neil@daikokuya.demon.co.uk>
5538
5539         * cppfiles.c (stack_include_file): Only increase the include
5540         count if we actually process the file properly, as opposed
5541         to treating it as length zero.  Only call read_include_file
5542         if not DO_NOT_REREAD.  Handle the -H include file output
5543         here.
5544         (read_include_file): Remove now redundant DO_NOT_REREAD check.
5545         (cpp_included, find_include_file): Simplify pathnames after
5546         remapping them.  If remapping, don't use the remapped file
5547         name's buffer as our scratch buffer.
5548         (cpp_pop_file_buffer): Replace the multiple include macro
5549         only if it isn't yet set.
5550         (read_name_map): Simplify remapped names when reading in.
5551         (remap_filename): Move code to code path that uses it.
5552         (_cpp_simplify_pathname): Return the input pointer.
5553         * cpphash.h (_cpp_simplify_pathname): Update prototype.
5554
5555 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5556
5557         * expr.c (expand_expr): Revove bogus conditional.
5558
5559 Wed Mar 14 19:29:50 CET 2001  Jan Hubicka  <jh@suse.cz>
5560
5561         * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
5562
5563 2001-03-14  Jakub Jelinek  <jakub@redhat.com>
5564
5565         * reg-stack.c (stack_result): Unconditionally use
5566         FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
5567
5568 Wed Mar 14 16:36:25 CET 2001  Jan Hubicka  <jh@suse.cz>
5569
5570         * expr.c (emit_move_insn_1):  Split push of complex value when
5571         no suitable push instruction exist.
5572
5573         * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
5574         instead of QI_REG_P.
5575
5576 Tue Mar 13 22:22:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5577
5578         * alias.c (handled_component_p, can_address_p): New functions.
5579         (get_alias_set): Use them.
5580
5581 2001-03-13  Jim Wilson  <wilson@redhat.com>
5582
5583         * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
5584         from 80 in try_locals code.
5585         (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
5586
5587 2001-03-13  Zack Weinberg  <zackw@stanford.edu>
5588
5589         * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
5590         gcc_AC_C_LONG_LONG): New.
5591         * configure.in: Use them.  Probe the size of short, int, long,
5592         and long long/__int64 if we have them.  Move all the AC_C_*
5593         checks together, except gcc_AC_C_CHAR_BIT which has to go
5594         after AC_CHECK_HEADERS(limits.h).
5595         Take hwint.h out of host_xm_file and build_xm_file.
5596
5597         * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
5598         HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
5599         and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
5600         Move the HOST_WIDEST_INT setup logic here from system.h.
5601         Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
5602         defined.
5603         * system.h: Include hwint.h after limits.h.  HOST_WIDEST_INT
5604         is now handled by hwint.h.
5605
5606         * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
5607         config/c4x/xm-c4x.h, config/i370/xm-oe.h,
5608         config/ia64/xm-ia64.h: Don't define any of:
5609         HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
5610         HOST_BITS_PER_LONGLONG.
5611
5612         * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
5613         config/h8300/xm-h8300.h, config/mips/iris6.h,
5614         config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
5615         config/sparc/xm-sp64.h: Delete.
5616         * config.gcc: Remove references to deleted files.
5617
5618         * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
5619         HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
5620         * config/i370/xm-linux.h: Clarify floating-point situation in
5621         a comment.
5622
5623 2001-03-13  Neil Booth  <neil@daikokuya.demon.co.uk>
5624
5625         * cppfiles.c (NO_INCLUDE_PATH): New macro.
5626         (find_include_file): Decide here which part of the include
5627         chain to start the search.  Complain about an empty include
5628         chain in all cases apart from an abolsute file name.
5629         (_cpp_execute_include): Don't choose the search chain here.
5630         Don't call handle_missing_include in the case of an empty
5631         include chain.
5632         (_cpp_compare_file_date): Don't choose the search chain here.
5633         * cpplib.c (do_include_next): Move the in-main-file diagnostic
5634         here from _cpp_execute_include.  Behave like #include if
5635         we're in the main file.
5636
5637 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5638
5639         * system.h (malloc, realloc, calloc, strdup): Only poison these
5640         tokens when IN_GCC is defined.
5641
5642 Tue Mar 13 14:38:44 CET 2001  Jan Hubicka  <jh@suse.cz>
5643
5644         * i386.md (abs?f expander): Support SSE case.
5645         (abd?f_if): Add new "USE"; add splitters.
5646
5647 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5648
5649         * cpp.texi (poison): Explain the macro expansion exception.
5650
5651 2001-03-13  Jakub Jelinek  <jakub@redhat.com>
5652
5653         * expr.c (store_expr): Add dont_store_target.  If temp is already in
5654         target before copying to reg, don't store it into target again.
5655
5656 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
5657
5658         * cppinternals.texi: Update for file handling.
5659
5660 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
5661
5662         * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
5663         2001-02-24 which broke building the Java library.
5664         * function.c (identify_blocks): Likewise.
5665         (all_blocks): Likewise.
5666         * integrate.c (integrate_decl_tree): Likewise.
5667         * print-tree.c (print_node): Likewise.
5668         * tree.h (BLOCK_NUMBER): Likewise.
5669         (struct tree_block): Likewise.
5670
5671 2001-03-12  David Edelsohn  <edelsohn@gnu.org>
5672
5673         * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
5674         __WCHAR_TYPE__ definition.
5675         (WCHAR_TYPE_SIZE): #undef before #define.
5676
5677 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
5678
5679         * cppfiles.c: Update comments.
5680         (destroy_include_file_node): Rename destroy_node.
5681         (find_or_create_entry): New function.
5682         (open_file, _cpp_fake_include): Use it.
5683         (handle_missing_header): New function, broken out of
5684         _cpp_execute include.  Don't segfault if there is no
5685         system or quoted path.
5686         (_cpp_execute_include): Use handle_missing_header.
5687
5688 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
5689
5690         * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
5691         2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
5692
5693 Mon Mar 12 14:05:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5694
5695         * flow.c (insn_dead_p): Don't consider two memrefs equivalent
5696         unless anti_dependence says they are.
5697         * alias.c (objects_must_conflict): If neither has a type specified,
5698         they must conflict.
5699
5700 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
5701             David Billinghurst <David.Billinghurst@riotinto.com>
5702
5703         * config/mips/iris5.h:  Change WCHAR_TYPE to int.
5704
5705 Mon Mar 12 16:32:21 CET 2001  Jan Hubicka  <jh@suse.cz>
5706
5707         * i386.md (trunctfdf2_2): Rename missnamed pattern.
5708         (*_one_bit): Remove type on the match_operand in attributes.
5709
5710 Mon Mar 12 16:27:56 CET 2001  Jan Hubicka  <jh@suse.cz>
5711
5712         * i386.c: Commit forgotten hunk in previous patch.
5713         (regclass_map): Add extended registers.
5714         (dbx_register_map): Add missing frame register.
5715
5716 Mon Mar 12 15:41:08 CET 2001  Jan Hubicka  <jh@suse.cz>
5717
5718         * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
5719
5720         * i386.md (x86_sahf_1): Disable for 64bit.
5721         (popsi*, pophi*): Likewise.
5722         (pushqi, pushhi): Likewise.
5723         (movdi, pushdi): Likewise.
5724         (zero extend DImode splitter): Likewise.
5725         (adddi, minusdi splitter): Likewise.
5726         (umulsidi): Likewise.
5727         (umulsi): New.
5728         (mulsidi): Disable for 64bit
5729         (lshift:DI/ashift:DI): Disable for 64bit.
5730         (loop patterns): Likewise.
5731         (call_pop, call_value_pop expanders and patterns): Likewise.
5732         (prologue_get_pc): Likewise.
5733         (leave): Likewise.
5734         (fcmovDI pattern and splitter): Likewise.
5735         (movdfcc_1_rex64): New.
5736
5737 Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
5738
5739         * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
5740         (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
5741         (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
5742         (STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
5743         (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
5744         (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
5745         (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
5746         (PUSH_ROUNDING): x86_64 rounds to 64bits.
5747         (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
5748         (REGPARM_MAX): Set to 6 for x86_64.
5749         (SSE_REGPARM_MAX): Set to 16 for x86_64.
5750         * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
5751         registers.
5752
5753         * (patterns that does use upper halves): Update constraints
5754         'q' to 'Q' and 'r' to 'R'.
5755         (cmpqi_ext_1): Disable for 64bit.
5756         (cmpqi_ext_3_insn): Likewise.
5757         (movqi_extzv_1): Likewsie.
5758         (addqi_ext_1): Liekwsie
5759         (testqi_ext_1): Liekwsie
5760         (andqi_ext_1): Liekwsie
5761         (xorqi_ext_1): Liekwsie
5762         (cmpqi_ext_1_rex64): New.
5763         (cmpqi_ext_3_insn_rex64): Likewise.
5764         (movqi_extzv_1_rex64): Likewsie.
5765         (addqi_ext_1_rex64): Liekwsie
5766         (testqi_ext_1_rex64): Liekwsie
5767         (andqi_ext_1_rex64): Liekwsie
5768         (xorqi_ext_1_rex64): Liekwsie
5769
5770 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
5771
5772         * configure.in: Move check for unsigned enumerated bitfields
5773         to macro in aclocal.m4.  Disable it for now.
5774         * configure, config.in: Regenerate.
5775         * system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
5776         unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
5777         * varasm.c (struct rtx_const): Use ENUM_BITFIELD().  Move enum
5778         kind above its first use.
5779
5780         * config/xm-interix.h, config/alpha/xm-alpha.h,
5781         config/i370/xm-linux.h, config/i386/xm-beos.h,
5782         config/i386/xm-mingw32.h, config/mips/xm-mips.h,
5783         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
5784         config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
5785         Don't define ONLY_INT_FIELDS under any circumstances.
5786
5787         * config/pa/xm-pa.h: Don't define __BSD_NET2__.
5788
5789         * config/pa/xm-pahpux.h, config/pa/xm-papro.h,
5790         config/sparc/xm-sysv4.h: Delete - now identical with some
5791         other xm header.
5792         * config.gcc (hppa targets): Replace xm-pahpux.h and
5793         xm-papro.h with implicit xm-pa.h.
5794         (sparc targets): Replace xm-sysv4.h with implicit or explicit
5795         xm-sparc.h.
5796
5797 2001-03-12  Aldy Hernandez  <aldyh@redhat.com>
5798
5799         * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
5800         before reload_cse_noop_set_p.
5801
5802 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
5803
5804         * config.gcc: Where xm-host.h used to include another
5805         xm-host.h, list the nested header directly in xm_file.  Remove
5806         references to deleted files.  Can now use sparc/xm-sp64.h for
5807         sparcv9-*-solaris*.
5808
5809         * config/xm-linux.h, config/arm/xm-linux.h,
5810         config/i386/xm-dos.h, config/i386/xm-gnu.h,
5811         config/i386/xm-linux.h, config/i386/xm-openbsd.h,
5812         config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
5813         config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
5814         config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
5815         Delete.
5816
5817         * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
5818         * config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
5819         bother to wrap #undef in #ifdef.
5820         * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
5821         Don't include xm-linux.h.
5822         * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.
5823
5824         * configure.in: Wrap regexps using [] in changequote block.
5825         Use expr : not echo | grep.  Simplify regexps.
5826         * configure: Regenerate.
5827
5828         56 xm-files remain, 22 xm-arch.
5829
5830 2001-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5831
5832         * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
5833         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
5834         (local_index, local_rindex): Delete, use strchr/strrchr instead.
5835         (copy_object): Fix format specifier vs argument mismatch.
5836
5837         * mips-tdump.c: Make local functions static.
5838         (rindex): Don't #undef.
5839         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
5840         (fatal, fancy_abort): Delete.
5841         (read_seek): Avoid signed/unsigned compare.
5842
5843 Sun Mar 11 17:01:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5844
5845         * combine.c (try_combine): Fix error in change to try original
5846         register.
5847         (gen_rtx_combine): Do same as gen_rtx for now.
5848
5849 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
5850
5851         * configure.in: AC_SUBST xm_defines.
5852         * configure: Regenerate.
5853         * Makefile.in: Set DEFINES=$(xm_defines) when building
5854         tconfig.h.
5855
5856 2001-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
5857
5858         * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
5859         (cpp_included, find_include_file): Update.
5860         (_cpp_compare_file_date): Make else unconditional.
5861
5862 2001-03-10  kaz Kojima <kkojima@rr.iij4u.or.jp>
5863
5864         * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
5865
5866 2001-03-10  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
5867
5868         * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
5869         * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
5870
5871 Sat Mar 10 22:42:05 2001  Alexandre Oliva  <aoliva@redhat.com>
5872
5873         * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
5874         if it's a record type.
5875
5876 Sat Mar 10 17:52:54 2001  Christopher Faylor <cgf@cygnus.com>
5877
5878         * config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize
5879         mingw includes slightly.
5880
5881 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5882
5883         * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
5884         #undef token before poisoning it.
5885
5886 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5887
5888         * alpha.c (check_float_value): Use memcpy, not bcopy.
5889
5890         * m32r.c (m32r_sched_reorder): Likewise.
5891
5892         * vax.c (check_float_value): Likewise.
5893
5894 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
5895
5896         * toplev.c (file_name_nondirectory): Remove.
5897         * toplev.h: Similarly.
5898         * dwarf2out.c (compute_section_prefix): Use lbasename instead
5899         of file_name_nondirectory.
5900
5901 Sat Mar 10 10:36:45 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5902
5903         * mips-tdump.c (read_seek): Call xmalloc, not malloc.
5904         * mips-tfile.c: Don't #undef rindex; not used.
5905
5906 Sat Mar 10 14:34:59 CET 2001  Jan Hubicka  <jh@suse.cz>
5907
5908         * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
5909         (dbx64_register_map): Declare.
5910         (RETURN_ADDR_RTX): Fix for 64bit.
5911         (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
5912         (INCOMING_FRAME_SP_OFFSET): Set to 8.
5913         * i386.c (dbx64_register_map): New global array.
5914         * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
5915         linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
5916         for 64bits.
5917
5918 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
5919
5920         * cppfiles.c (search_from): Use lbasename.
5921         * mkdeps.c (deps_add_default_target): Use lbasename.
5922
5923 2001-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5924
5925         * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
5926         xcalloc in lieu of malloc, realloc & calloc.
5927
5928         * gencheck.c (xmalloc): Use really_call_malloc, not malloc.
5929
5930         * gengenrtl.c (xmalloc): Likewise.
5931
5932         * gensupport.c (xcalloc, xrealloc, xmalloc): Use the
5933         really_call_* memory allocation routines.
5934
5935         * stmt.c (check_for_full_enumeration_handling): Use
5936         really_call_calloc, not calloc.
5937
5938         * system.h (really_call_malloc, really_call_calloc,
5939         really_call_realloc): Define.
5940         (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.
5941
5942 Fri Mar  9 18:39:19 2001  Jeffrey A Law  (law@cygnus.com)
5943
5944         * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
5945
5946 2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>
5947
5948         * configure: Rebuilt.
5949         * configure.in: Only use `lang_requires' for languages athat are
5950         actually enabled.
5951
5952 2001-03-09  Joseph S. Myers  <jsm28@cam.ac.uk>
5953
5954         * invoke.texi: Fix typo.
5955         * gcc.1: Regenerate.
5956
5957 2001-03-09  Zack Weinberg  <zackw@stanford.edu>
5958
5959         * configure.in: Prune nonexistent files from build_xm_file,
5960         xm_file, and host_xm_file lists.  Warn unless they're
5961         $cpu/xm-$cpu.h.
5962         Don't generate *config.h here.
5963         AC_SUBST all variables needed to generate *config.h.
5964         * configure: Regenerate.
5965         * mkconfig.sh: New helper script, from code removed from
5966         configure.in.
5967         * Makefile.in: Zap all MALLOC variables - no longer used
5968         anywhere, and malloc.c doesn't exist.
5969         Substitute in variables needed to generate *config.h.
5970         Stop lying about the dependencies contained in CONFIG_H and
5971         GCONFIG_H.
5972         (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
5973         (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
5974         cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
5975         (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
5976         $(TM_P_H), etc. as appropriate.
5977
5978         * config.gcc: Zap references to deleted files.
5979         * ggc-none.c: Don't include rtl.h or tm_p.h.
5980
5981         * config/i386/xm-beos.h, config/i386/xm-dgux.h,
5982         config/i386/xm-djgpp.h, config/i386/xm-dos.h,
5983         config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
5984         config/i386/xm-linux.h, config/i386/xm-linux.h,
5985         config/i386/xm-next.h, config/i386/xm-openbsd.h,
5986         config/i386/xm-sun.h, config/i386/xm-sysv3.h:
5987         Don't include i386/xm-i386.h.
5988
5989         * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
5990         config/i386/xm-i386.h, config/i860/xm-i860.h,
5991         config/i960/xm-i960.h, config/mcore/xm-mcore.h,
5992         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
5993         config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
5994         Delete (empty except comments, #includes of other deleted
5995         files, and macros used nowhere).
5996
5997 Fri Mar  9 20:05:27 CET 2001  Jan Hubicka  <jh@suse.cz>
5998
5999         * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
6000         independent on TARGET_FLAGS.
6001
6002 Fri Mar  9 19:52:52 CET 2001  Jan Hubicka  <jh@suse.cz>
6003
6004         * i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
6005
6006         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add
6007         extended ones.
6008         (CONDITIONAL_REGISTER_USAGE): Set proper values according to
6009         TARGET_64BIT.
6010         (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG,
6011         LAST_REX_SSE_REG): define.
6012         (enum reg_class): Add 'LEGACY_REGS'
6013         (REG_CLASS_CONTENTS): Likewise; add extended registers.
6014         (SSE_REGNO_P): Recognize extended registers.
6015         (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
6016         (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
6017         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P,
6018         REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers.
6019         (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
6020          REG_OK_FOR_STRREG_P): Remove.
6021         (HI_REGISTER_NAMES): Add extended registers.
6022         (ADDITIONAL_REGISTER_NAMES): Likewise.
6023         (QI_REGISTER_NAMES): Add 8bit extended registers.
6024         (DEBUG_REG): Support extended registers.
6025         * i386.c (regclass_map): Add extended registers.
6026         (dbx_register-map): Likewise.
6027         (svr4_dbx_register_map): Likewise.
6028         (print_reg): Support extended registers.
6029         (print_operand): Support 64bit operands.
6030
6031 Fri Mar  9 19:37:46 CET 2001  Jan Hubicka  <jh@suse.cz>
6032
6033         * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
6034         (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6035          FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
6036          DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
6037         (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
6038          STACK_BOUNDARY): Set properly for 64bits.
6039         (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
6040         (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
6041         (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
6042         (MOVE_MAX): Set to 16.
6043         (MOVE_MAX_PIECES): 8 for 64bit.
6044         (Pmode): Set to SImode.
6045
6046 Fri Mar  9 09:00:36 2001  Mike Stump  <mrs@wrs.com>
6047
6048         * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
6049
6050 Fri Mar  9 17:38:08 CET 2001  Jan Hubicka  <jh@suse.cz>
6051
6052         * i386.h (mask_64bit): New constant.
6053         (target_64bit): New macro.
6054         (target_options): Add '64'/'32'
6055         (target_default): Define.
6056         * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h
6057         isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h
6058         unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
6059
6060 Thu Mar  8 23:36:56 2001  Jeffrey A Law  (law@cygnus.com)
6061
6062         * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
6063
6064 Thu Mar  8 23:29:37 2001  John Wehle  (john@feith.com)
6065
6066         * rtlanal.c (rtx_varies_p): Check operand 0 of a
6067         LO_SUM unless for_alias is set.
6068
6069 2001-03-08  Stan Shebs  <shebs@apple.com>
6070
6071         * objc/objc-act.c: Fix old typos in comments, add comments for
6072         various functions.
6073         (hash_init): Fix file name in error message.
6074         (hash_enter): Ditto.
6075         (hash_add_attr): Ditto.
6076         (continue_class): Ditto.
6077
6078 2001-03-08  Bruce Korb  <bkorb@gnu.org>
6079
6080         gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
6081         wait4() can receive the signal.
6082
6083 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6084
6085         * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
6086         entities.
6087         * fixinc/fixincl.x: Regenerate.
6088
6089 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6090
6091         * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
6092         on Tru64 UNIX.
6093         * fixinc/fixincl.x: Regenerate.
6094
6095 2001-03-08  Richard Henderson  <rth@redhat.com>
6096
6097         * configure.in (HAVE_AS_LEB128): New assembler check.
6098         * configure, config.in: Rebuilt.
6099
6100 Thu Mar  8 19:54:04 CET 2001  Jan Hubicka  <jh@suse.cz>
6101
6102         * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
6103         TFmode too.
6104
6105 2001-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6106
6107         * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
6108         references to the MAXPATHLEN macro.
6109
6110         * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
6111         config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
6112         the POSIX macro.
6113
6114         * config/i386/xm-gnu.h, config/xm-gnu.h,
6115         config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
6116         config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
6117         config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
6118         and/or unused files.
6119
6120         * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
6121         doing so in various xm-*.h files.
6122
6123 Thu Mar  8 06:32:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6124
6125         * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
6126
6127 2001-03-08  Alexandre Oliva  <aoliva@redhat.com>
6128
6129         * configure.in (enable_shared): Support per-package shared-library
6130         enabling.
6131         * configure: Rebuilt.
6132
6133 2001-03-07  David Edelsohn  <edelsohn@gnu.org>
6134
6135         * rs6000.md (cr logic): Add original POWER mnemonic alternative
6136         for crnot.  Set operands[5] in splitter.
6137
6138 2001-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6139
6140         * config/i370/xm-mvs.h, config/i370/xm-oe.h,
6141         config/i386/xm-beos.h, config/i386/xm-mingw32.h,
6142         config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
6143         config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
6144         config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
6145         config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
6146         config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
6147         to the USG macro.
6148
6149         * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
6150         config/i370/xm-i370.h, config/i386/xm-dgux.h,
6151         config/i386/xm-sun.h, config/i386/xm-sysv3.h,
6152         config/m68k/xm-tower.h, config/m68k/xm-aux.h,
6153         config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
6154         config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
6155         config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
6156         config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
6157         config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
6158         config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
6159         Delete unused and/or empty files.
6160
6161         * config.gcc: Define USG in xm_defines as appropriate.  Define
6162         POSIX in lieu of xm-svr4.h.  Delete all references to the SVR3
6163         macro.  Remove deleted xm-* files from $xm_files variable.
6164
6165 2001-03-07  Tom Tromey  <tromey@redhat.com>
6166
6167         * configure: Rebuilt.
6168         * configure.in: Allow config-lang.in to set `lang_requires' to list
6169         of other required languages.
6170
6171 2001-03-07  Andrew MacLeod  <amacleod@redhat.com>
6172
6173         * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
6174         after its emitted.
6175         (output_prologue): Use xmalloc not oballoc.
6176         (output_epilog): Free a29k_first_epilogue_insn when finished.
6177         * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
6178
6179 2001-03-07  Brad Lucier  <lucier@math.purdue.edu>
6180
6181         * builtins.c (expand_builtin_mathfn): Check
6182         flag_unsafe_math_optimizations, not flag_fast_math.
6183         (expand_builtin): Likewise
6184         * combine.c (combine_simplify_rtx): Likewise.
6185         (simplify_if_then_else): Likewise.
6186         * cse.c (fold_rtx): Likewise.
6187         * flags.h: Remove flag_fast_math.  Add
6188         flag_unsafe_math_optimizations and flag_trapping_math.
6189         * fold-const.c (negate_expr): Check
6190         flag_unsafe_math_optimizations, not flag_fast_math.
6191         (invert_truthvalue): Likewise.
6192         (fold): Likewise.  Before associating operands, check that
6193         code == MULT_EXPR, not code != MULT_EXPR.
6194         * ifcvt.c (noce_try_minmax): Check
6195         flag_unsafe_math_optimizations, not flag_fast_math.
6196         (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
6197         * invoke.texi: Document -funsafe-math-optimizations and
6198         -fno-trapping-math.  Change documentation for -ffast-math.
6199         * jump.c (reversed_comparison_code_parts): Likewise.
6200         (rtx_equal_for_thread_p): Likewise.
6201         * optabs.c (emit_conditional_move): Likewise.
6202         * simplify-rtx.c (simplify_binary_operation): Likewise.
6203         (simplify_relational_operation): Likewise.
6204         (simplify_ternary_operation): Likewise.
6205         * toplev.c: Remove flag_fast_math.  Add flag_trapping_math and
6206         flag_unsafe_math_optimizations.  Remove fast-math entry from f_options.
6207         Add trapping-math and unsafe-math-optimizations entries to f_options.
6208         (set_fast_math_flags): New, sets flags for -ffast-math.
6209         (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
6210         (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
6211         * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
6212
6213         * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
6214         (alpha_emit_conditional_move): Initialize local_fast_math to
6215         flag_unsafe_math_optimizations, not flat_fast_math.
6216         * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
6217         instead of setting flag_fast_math to 1.
6218         * config/convex/convex.md: Check flag_unsafe_math_optimizations,
6219         not flag_fast_math.
6220         * config/i386/i386.c (override_options): Likewise
6221         * config/i386/i386.md: Likewise.
6222         * config/m68k/m68k.md: Likewise.
6223         * config/mips/mips.md: Likewise.
6224         * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
6225         (rs6000_generate_compare): Likewise.
6226
6227 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
6228
6229         * Makefile.in: Set RANLIB to @RANLIB@.
6230         Remove RANLIB_TEST.
6231
6232 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
6233
6234         * fixinc/inclhack.def (djgpp_wchar_h): New test.
6235         * fixinc/fixincl.x: Regenerated.
6236
6237 2001-03-07  Richard Henderson  <rth@redhat.com>
6238
6239         * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
6240
6241 2001-03-07  Richard Henderson  <rth@redhat.com>
6242
6243         * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
6244         of block notes and exception handling notes.
6245
6246         * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
6247         * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
6248         (compile_file): ... here.
6249
6250 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6251
6252         * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
6253
6254         * fixinc/gnu-regex.c: Don't include auto-host.h since we get
6255         config.h now.  Include libiberty.h to handle alloca.
6256
6257 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6258
6259         * c-parse.in (yylexname): New function, split out of _yylex.
6260         (objc_rid_sans_at): New table.
6261         (init_reswords): Initialize it.
6262         (_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
6263         retrieving the next token and checking it for significance as
6264         an ObjC keyword or string constant.
6265
6266         * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
6267         * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
6268
6269         * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
6270         to CPP_OSTRING.
6271
6272 2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
6273
6274         * config/m68k/m68k.c (const_uint32_operand): Accept any
6275         const_int on a 32-bit host.
6276
6277 2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
6278
6279         * objc/objc-act.c (init_objc): Set save_lang_status,
6280         restore_lang_status, and mark_lang_status.
6281
6282 2001-03-06  Krister Walfridsson  <cato@df.lth.se>
6283
6284         * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
6285
6286 2001-03-06  Neil Booth  <neil@daikokuya.demon.co.uk>
6287
6288         * cppinternals.texi: Update.
6289
6290 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6291
6292         * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
6293         config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
6294         config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
6295         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
6296         config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
6297         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
6298         config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
6299         config/i386/xm-i386.h, config/i860/xm-i860.h,
6300         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
6301         config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
6302         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6303         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
6304         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6305         config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
6306         config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
6307         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
6308         config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
6309         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6310         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6311         config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
6312         config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
6313         match the defaults provided in hwint.h.
6314
6315         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
6316         config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
6317
6318         * config.gcc (xm_file): Don't set to files which are deleted.
6319
6320         * hwint.h: Provide default values for HOST_BITS_PER_*.  No longer
6321         guard this file against these macros being undefined.
6322
6323 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6324
6325         * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
6326         and DECL_DEFER_OUTPUT on the decl we create, before calling
6327         rest_of_decl_compilation.
6328
6329 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6330
6331         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
6332         AC_FUNC_ALLOCA.
6333         * configure, config.in: Regenerate.
6334         * config.gcc: Remove references to deleted files.
6335
6336         * genattr.c, genattrtab.c, genextract.c, genoutput.c,
6337         genrecog.c, rtl.c: Do not use alloca anywhere.
6338
6339         * Makefile.in, build-make, system.h, config/x-interix,
6340         config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
6341         config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
6342         config/arc/xm-arc.h, config/arm/xm-arm.h,
6343         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6344         config/h8300/xm-h8300.h, config/i370/x-oe,
6345         config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
6346         config/i386/x-ncr3000, config/i386/x-sco5,
6347         config/i386/xm-dgux.h, config/i860/x-sysv4,
6348         config/i960/xm-i960.h, config/m32r/xm-m32r.h,
6349         config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
6350         config/m68k/x-hp320g, config/m69k/x-mot3300,
6351         config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
6352         config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
6353         config/m68k/xm-mot3300.h, config/m88k/x-dolph,
6354         config/m88k/x-sysv4, config/m88k/x-tekXD88,
6355         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6356         config/mips/x-iris, config/mips/x-iris3,
6357         config/mips/x-sni-svr4, config/mips/x-sysv,
6358         config/mips/xm-iris6.h, config/mips/xm-mips.h,
6359         config/mips/xm-nws3250v4.h, config/pa/x-hpux,
6360         config/pa/x-pa-mpeix, config/pa/xm-pa.h,
6361         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
6362         config/pa/xm-papro.h, config/romp/xm-romp.h,
6363         config/rs6000/x-aix31, config/rs6000/x-aix41,
6364         config/rs6000/x-beos, config/rs6000/x-lynx,
6365         config/rs6000/x-mach, config/rs6000/x-rs6000,
6366         config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
6367         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6368         config/sparc/x-sysv4, config/sparc/xm-linux.h,
6369         config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
6370         config/vax/xm-vms.h: Eradicate all references to alloca and
6371         related stuff.
6372
6373         * config/xm-alloca.h, config/clipper/x-clix,
6374         config/i386/xm-sysv4.h, config/i860/x-fx2800,
6375         config/i860/x-sysv3, config/m88k/x-sysv3,
6376         config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
6377         (contained only alloca related hacks).
6378
6379         * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
6380         USE_C_ALLOCA.
6381
6382 2001-03-05  Brad Lucier  <lucier@math.purdue.edu>
6383
6384         * invoke.texi: Document __FAST_MATH__.
6385
6386 2001-03-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6387
6388         * crtstuff.c: Restore include of auto-host.h.
6389
6390 2001-03-05  Fergus Henderson  <fjh@cs.mu.oz.au>
6391
6392         Put main() in a separate file, so that the language
6393         front-end can use a different main().
6394
6395         * main.c: New.
6396         * toplev.c: (main): Rename as toplev_main.
6397         * toplev.h: Declare toplev_main.
6398         * Makefile.in (OBJS): add toplev.o.
6399           (BACKEND): remove toplev.o, add main.o.
6400
6401 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
6402
6403         * cppfiles.c (search_from): Special case the empty string.
6404
6405 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
6406
6407         * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
6408         copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
6409         strlen or strcpy; we already know the length.
6410         (_cpp_compare_file_date): Similarly.
6411         * cpphash.h (struct cpp_reader): Delete done_initialising.
6412         (CPP_PREV_BUFFER): Delete.
6413         * cppinit.c (cpp_start_read): Don't set done_initialising.
6414         * cpplex.c (parse_string): Guarantee null-termination.
6415         (_cpp_equiv_toklists): Remove.
6416         * cpplib.c (glue_header_name): Null-terminate.
6417         (do_line): Don't leak memory.
6418         * cpplib.h (BT_WEAK): Delete.
6419         * cppmain.c (cb_ident): Strings are now null-terminated.
6420
6421 2001-03-04  Laurynas Biveinis  <lauras@softhome.net>
6422
6423         * gcc.c (convert_filename): Append executable suffix
6424         if NO_AUTO_EXE_SUFFIX is not defined.
6425         * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
6426         * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
6427
6428 2001-03-03  David O'Brien  <obrien@FreeBSD.org>
6429
6430         from 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
6431         * c-parse.gperf, c-gperf.h: Delete.
6432         (c-gperf.h was accidently re-added to the CVS repo in the rev
6433         1.16 commit by tromey)
6434
6435 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6436
6437         * cpplex.c (_cpp_lex_token): Don't warn about directives in
6438         macro arguments when looking for the '('.
6439         * cppmacro.c (funlike_invocation_p): Set parsing_args to
6440         2 when really parsing arguments; 1 when looking for '('.
6441         Always restore the lexer position.
6442
6443 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6444
6445         * longlong.h (umul_ppmm): Don't use a multiline string.
6446
6447 2001-03-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6448
6449         * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
6450         * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
6451         t_bool in declaration because pcc can't combine volatile with typedef
6452         types.
6453
6454 Sat Mar  3 19:47:13 CET 2001  Jan Hubicka  <jh@suse.cz>
6455
6456         * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
6457         until when it is really needed.
6458         (ix86_expand_compare): Update call of ix86_expand_fp_compare.
6459         * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
6460         * i386.md (float?i?f splitter): Don't force source operand to memory
6461         for SSE.
6462         (sse_movdfcc): Fix constraint.
6463         (sse_movdfcc splitter): Handle properly the second alternative.
6464
6465 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6466
6467         * cpplex.c (parse_string): Unconditionally pedwarn.
6468
6469 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6470
6471         * cpp.texi: Update.
6472         * cppexp.c (parse_number): Update.
6473         * cpplex.c (parse_string): Pedwarn if multiline string does not
6474         result from a system header's macro.
6475         * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
6476         * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
6477         for function-like macros too.
6478         * c-lex.c (lex_number): Update.
6479
6480 2001-03-03  Richard Henderson  <rth@redhat.com>
6481
6482         * dwarf2out.c (output_call_frame_info): Fix augmentation length.
6483
6484 Sat Mar  3 04:17:17 2001  J"orn Rennecke <amylaar@redhat.com>
6485
6486         * combine.c (try_combine): If split with mode-changed scratch
6487         register didn't work, try the original mode.
6488
6489 Sat Mar  3 03:46:47 2001  J"orn Rennecke <amylaar@redhat.com>
6490
6491         * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
6492         * config/c4x/c4x.h: Likewise.
6493         * stor-layout.c (compute_record_mode): Likewise.
6494         (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
6495
6496 2001-03-02  Zack Weinberg  <zackw@stanford.edu>
6497
6498         * configure.in: Kill tm.h.  Include the files in the $tm_file
6499         list in all three of config.h, hconfig.h, tconfig.h, after the
6500         relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
6501         three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
6502         * configure: Regenerate.
6503         * Makefile.in (clean): Don't delete tm.h.
6504
6505         * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
6506         defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
6507         those are not defined, set SEC and FEC to 0 and 1.
6508         * gcc.texi: Update to match.
6509
6510         * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
6511         * config/fp-bit.c, config/m68k/aux-crt2.asm,
6512         config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
6513         Include tconfig.h, not tm.h.
6514
6515         * config/xm-lynx.h, config/xm-std32.h,
6516         config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
6517         config/alpha/xm-alpha.h, config/arc/xm-arc.h,
6518         config/avr/xm-avr.h, config/c4x/xm-c4x.h,
6519         config/clipper/xm-clix.h, config/convex/xm-convex.h,
6520         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6521         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
6522         config/h8300/xm-h8300.h, config/i370/xm-linux.h,
6523         config/i386/xm-i386.h, config/i860/xm-i860.h,
6524         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
6525         config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
6526         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6527         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
6528         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6529         config/pa/xm-linux.h, config/pa/xm-pa.h,
6530         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
6531         config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
6532         config/pj/xm-pj.h, config/romp/xm-romp.h,
6533         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
6534         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6535         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6536         config/v850/xm-v850.h, config/vax/xm-vax.h,
6537         config/we32k/xm-we32k.h:
6538         Don't include tm.h.
6539         Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
6540
6541         * config/i370/xm-i370.h, config/i370/xm-mvs.h,
6542         config/i370/xm-oe.h: Don't include tm.h.  Don't define
6543         SUCCESS_EXIT_CODE.
6544         * config/vax/xm-vms.h: Don't include tm.h.
6545
6546         * config/xm-lynx.h, config/avr/xm-avr.h,
6547         config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
6548         Delete; made empty by above changes.
6549         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
6550         config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
6551         Don't include config/xm-lynx.h or tm.h.
6552
6553         * config/xm-gnu.h: Don't include fcntl.h.
6554         * config/sparc/xm-lynx.h: Don't include sys/types.h and
6555         sys/wait.h.
6556         * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
6557
6558 2001-03-02  Richard Henderson  <rth@redhat.com>
6559
6560         * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
6561         UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
6562
6563 2001-03-02  Richard Henderson  <rth@redhat.com>
6564
6565         * Makefile.in (OBJS): Add dwarf2asm.o.
6566         * dwarf2asm.c, dwarf2asm.h: New files.
6567         * dwarf2out.c (*): Use them.
6568         (size_of_uleb128, size_of_sleb128): Remove.
6569         (output_uleb128, output_sleb128): Remove.
6570         (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
6571         (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
6572         (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
6573         (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
6574         (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
6575         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
6576         (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
6577         (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
6578         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
6579         (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
6580         (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
6581         (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
6582         (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
6583         (dwarf2out_frame_debug): Remove unused variables.
6584         (output_loc_operands): Don't abort on 8 byte constants if
6585         host integers are wide enough.
6586         (output_symbolic_ref): Remove.
6587         (size_of_die): Don't assume 4 byte host integers.
6588         (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
6589         and end labels.
6590         (add_const_value_attribute) [CONST_INT]: Verify we're not doing
6591         something stupid with HOST_WIDE_INT to long truncation.
6592         [CONST_DOUBLE]: Likewise.
6593
6594         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
6595         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
6596         * config/arm/unknown-elf.h: Likewise.
6597         * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
6598         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
6599         (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
6600         (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
6601         (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
6602         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
6603         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
6604         (ASM_OUTPUT_DWARF_OFFSET): Remove.
6605         * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
6606         * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6607         (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
6608         (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
6609
6610 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6611
6612         * cselib.c (hash_rtx): Cast enums to unsigned int.
6613
6614 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6615
6616         * print-rtl.c (print_rtx): Cast enums to int for comparison.
6617         * c-decl.c (grokdeclarator): Cast enums to int for comparison and
6618         shifts.
6619         * c-format.c (C_STD_VER): Cast to int for comparisons.
6620         (check_function_format): Cast various enums to int for &.
6621         (maybe_read_dollar_number): Likewise.
6622         (check_format_info): Likewise.
6623         (check_format_info_main): Likewise.
6624         * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
6625         (safe_from_p): Likewise.
6626         * varasm.c (const_hash): Cast enum to int for %.
6627         * emit-rtl.c (init_emit_once): Use int loop variable to work around
6628         pcc enum problems with < and ++ operators.
6629         * regclass.c (init_reg_sets_1): Cast enums for comparison.
6630         (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
6631         (regclass_init): Change enum class to int to iterate over reg_classes.
6632         * genrecog.c (merge_trees): Cast enums for comparison.
6633         * rtl.h (GET_CODE): Cast to enum rtx_code.
6634         (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
6635         (GET_MODE): Cast to enum machine_mode.
6636         (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
6637         (GET_NOTE_INSN_NAME): Cast enum to int.
6638         * tree.h (TREE_CODE): Cast to enum tree_code.
6639         (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
6640         * timevar.c (timevar_print): Change loop variable id from enum to
6641         unsigned int.
6642         * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
6643         * config/i386/i386.md: Use PUT_MODE for mode assignment.
6644         * toplev.c (compile_file): Cast enum DFI to int.
6645         (decode_d_option): Likewise.
6646
6647 Fri Mar  2 12:18:13 2001  Christopher Faylor <cgf@cygnus.com>
6648
6649         * cppinit.c (append_include_chain): Mark "after" include file name list
6650         as a system directory.
6651         * cpp.texi: Document new behavior.
6652
6653 Fri Mar  2 11:59:43 CET 2001  Jan Hubicka  <jh@suse.cz>
6654
6655         * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
6656
6657 2001-03-02  Neil Booth  <neil@daikokuya.demon.co.uk>
6658
6659         * cppfiles.c (struct include_file): Update.
6660         (stack_include_file): Use search_from.
6661         (cpp_included, find_include_file): Update.
6662         (cpp_execute_include): Update.  ptr->name may not be
6663         null terminated.  Use the new search_from member variable
6664         of cpp_buffer.
6665         (_cpp_compare_file_date): Similarly.
6666         (search_from): New function, similiar to actual_directory.
6667         (actual_directory): Delete.
6668         (remap_filename): Update.  loc->name may not be null terminated.
6669         (struct file_name_list): Rename search_path.  Update.
6670         * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
6671         search_from and dir.
6672         (struct cpp_reader): Remove actual_dirs.
6673         * cppinit.c (struct cpp_pending): Update for renamed objects.
6674         (append_include_chain, remove_dup_dir, remove_dup_dirs,
6675         merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
6676         * cpplib.h (struct cpp_options): Similarly.
6677
6678 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6679
6680         * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
6681         config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
6682         config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
6683         config/clipper/xm-clix.h, config/convex/xm-convex.h,
6684         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6685         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
6686         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
6687         config/i370/xm-linux.h, config/i370/xm-mvs.h,
6688         config/i370/xm-oe.h, config/i386/xm-aix.h,
6689         config/i386/xm-i386.h, config/i386/xm-osf.h,
6690         config/i860/xm-i860.h, config/i960/xm-i960.h,
6691         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
6692         config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
6693         config/mcore/xm-mcore.h, config/mips/xm-mips.h,
6694         config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
6695         config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
6696         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
6697         config/pa/xm-pahpux.h, config/pa/xm-papro.h,
6698         config/pj/xm-pj.h, config/romp/xm-romp.h,
6699         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
6700         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6701         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6702         config/v850/xm-v850.h, config/vax/xm-vax.h,
6703         config/vax/xm-vms.h, config/we32k/xm-we32k.h:
6704         Do not define TRUE or FALSE.
6705
6706         * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
6707         empty by above change.
6708         * config.gcc: Remove references to these files.
6709
6710         * configure.in: Detect stdbool.h.
6711         * configure, config.in: Regenerate.
6712         * system.h: Include stddef.h here if available.
6713         Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
6714         Then set up a sensible boolean type at the very end.
6715
6716         * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
6717         config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
6718
6719         * hash.h: Delete 'boolean' typedef and related #undefs.
6720
6721         * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
6722         all uses of 'boolean' with 'bool'.
6723
6724 2001-03-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6725
6726         * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
6727         * cppexp.c (lex): Cast enums for comparison.
6728         * cppinit.c (parse_option): Cast enum for comparison.
6729         * cpplex.c (cpp_spell_token): Cast enums to int for minus.
6730         (cpp_output_token): Likewise.
6731         (cpp_can_paste): Cast enums for comparsion and plus/minus.
6732         (cpp_avoid_paste): Cast enums for minus and comparison.
6733
6734 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6735
6736         * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
6737         field to all array elements.
6738
6739 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6740
6741         * cpphash.h (struct cpp_reader): Add print_version field.
6742         * cppinit.c (cpp_handle_option): For -v, -version, and --version,
6743         just set print_version and other flags as appropriate.
6744         (cpp_post_options): Print version here if print_version is set.
6745
6746         * toplev.c (exit_after_options): New flag.
6747         (independent_decode_option): Don't exit here; just set
6748         exit_after_options.
6749         (main): Exit after calling lang_hooks.post_options if
6750         exit_after_options is true.
6751
6752         * cppinit.c (append_include_chain): Drop never-used case QUOTE.
6753         (merge_include_chains): Adjust comment to match code.
6754
6755 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6756
6757         * stringpool.c (set_identifier): New function.
6758         * tree.h: Prototype it.
6759
6760         * c-parse.in: Kill D_YES. If compiled for objc, call
6761         save_and_forget_protocol_qualifiers from init_reswords.
6762         * objc/objc-act.c (remember_protocol_qualifiers,
6763         forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
6764         Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
6765         vice versa.
6766         (save_and_forget_protocol_qualifiers): New function.
6767         * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
6768
6769 2001-03-01  Diego Novillo  <dnovillo@redhat.com>
6770
6771         * c-semantics.c (prune_unused_decls): Return error_mark_node
6772         instead of (tree) 1 to stop traversing the tree chain.
6773
6774 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
6775
6776         Fix a problem introduced by Kenner's Feb 18 change.
6777         * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
6778         flag_cse_skip_blocks only temporarily, not for ever.
6779
6780 Thu Mar  1 09:49:58 2001  Jeffrey A Law  (law@cygnus.com)
6781
6782         * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
6783         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
6784
6785         * pa.c (emit_move_sequence): Verify operand0 is a hard register
6786         before determining its register class.
6787
6788 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
6789
6790         * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
6791         from reg 4 if current_function_calls_setjmp.
6792         (gen_nop_type): New function.
6793         (ia64_emit_nops): New function.
6794         (ia64_reorg): Call it.
6795         (ia64_sched_reorder): Move code that rotates bundles up a bit.
6796
6797         * reload1.c (eliminate_regs_in_insn): Restrict the special case
6798         code not to try to optimize adds with anything but a REG destination.
6799
6800         * sched-int.h (struct haifa_insn_data): Add new member priority_known.
6801         (INSN_PRIORITY_KNOWN): New accessor macro.
6802         * haifa-sched.c (priority): Use it instead of testing priority against
6803         zero.
6804
6805 2001-02-28  DJ Delorie  <dj@redhat.com>
6806
6807         * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
6808         since that doesn't work the way gcc wants on a generic m68k.
6809
6810 2001-02-28  Richard Henderson  <rth@redhat.com>
6811
6812         * caller-save.c (save_call_clobbered_regs): Fix typo in
6813         comparison last change.
6814
6815 Wed Feb 28 19:31:42 CET 2001  Jan Hubicka  <jh@suse.cz>
6816
6817         * i386.c (pentium4_cost): New.
6818         (m_PENT4): New macro.
6819         (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
6820         x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
6821         x86_integer_DFmode_moves, x86_partial_reg_dependency,
6822         x86_memory_mismatch_stall): Add Pentium4
6823         (x86_use_q_reg, x86_use_any_reg): Kill.
6824         (override_options): Add pentium4.
6825         (incdec_operand): Return 0 for pentium4.
6826         (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
6827         * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
6828         (TARGET_PENTIUM4): Define.
6829         (enum processor_type): Add PROCESSOR_PENTIUM4.
6830         (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
6831         * i386.md (attribute "cpu"): Add pentium4.
6832         * invoke.texi (march): Add pentium4.
6833
6834 Wed Feb 28 19:28:06 CET 2001  Jan Hubicka  <jh@suse.cz>
6835
6836         * i386.md (sse_mov?fcc*): New patterns and splitters.
6837         * i386.c (ix86_expand_movcc): Work post-reload; recognize
6838         the SSE based conditional moves.
6839
6840 Wed Feb 28 19:18:23 CET 2001  Jan Hubicka  <jh@suse.cz>
6841
6842         * i386.md (attribute mode): Add "TI".
6843         (movsf_1): Add pxor support; remove constant propagation splitter.
6844         (movdf_integer): Likewise.
6845         (movdf_nointeger): Likewise.
6846         (movxf constant prop splitter): Handle all modes; update for SSE.
6847         * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
6848         * i386.c (standard_80387_constant_p): Rewrite.
6849         (standard_sse_constant_p): New.
6850         * i386-protos.h (standard_sse_constant_p): New.
6851
6852 Wed Feb 28 19:05:37 CET 2001  Jan Hubicka  <jh@suse.cz>
6853
6854         * i386.md (sse_setccsf, sse_setccdf): New.
6855         (sse_cmp* patterns): Use '%D' instead of outputtting condition
6856         flag directly.
6857         * i386.c (sse_comparison_operator): Accept the supported unordered
6858         comparses; be ready for fast_math.
6859         (print_operand): Support 'D'.
6860
6861 Wed Feb 28 18:54:51 CET 2001  Jan Hubicka  <jh@suse.cz>
6862
6863         * jump.c (reversed_comparison_code): Kill.
6864
6865 Wed Feb 28 18:50:15 CET 2001  Jan Hubicka  <jh@suse.cz>
6866
6867         * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
6868         for STACK_REGS
6869
6870 Wed Feb 28 18:47:37 CET 2001  Jan Hubicka  <jh@suse.cz>
6871
6872         * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
6873         add missing '%' in constraints.
6874
6875 Wed Feb 28 17:24:24 CET 2001  Jan Hubicka  <jh@suse.cz>
6876
6877         * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
6878         for HOST_BITS_PER_WIDE_INT == 32 too.
6879
6880 Wed Feb 28 17:22:35 CET 2001  Jan Hubicka  <jh@suse.cz>
6881
6882         * caller-save.c (reg_save_code, reg_restore_code):  Index by mode, not
6883         NREGS.
6884         (insert_save, insert_restore): New parameter save_mode.
6885         (init_caller_save): Update initialization of reg_save_code
6886         and reg_restore_code.
6887         (save_call_clobbered_regs):  Compute save_modes and update calls to
6888         reg_save_code and reg_restore_code.
6889         (insert_restore):  Unsignetize numbers; use save_modes to choose mode
6890         of spill; update use of reg_restore_code.
6891         (insert_save):  Likewise.
6892         * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
6893         * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
6894         * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
6895
6896 Wed Feb 28 17:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
6897
6898         * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
6899         noce_try_store_flag_inc, noce_try_store_flag_mask,
6900         noce_try_cmove_arith):
6901         Use reversed_comparison_code instead of reverse_comparison and
6902         can_reverse_comparison_p.
6903
6904 Wed Feb 28 17:17:29 CET 2001  Jan Hubicka  <jh@suse.cz>
6905
6906         * jump.c (reversed_comparison_code_parts): Allow reversal of
6907         unordered compares in -ffast-math mode; reverse ordered compares
6908         for FP even w/o -ffast-math.
6909
6910 2001-02-27  Richard Henderson  <rth@redhat.com>
6911
6912         * print-rtl.c (print_rtx) [i]: Don't print field five on
6913         NOTEs other than NOTE_INSN_DELETED_LABEL.
6914
6915 2001-02-27  Zack Weinberg  <zackw@stanford.edu>
6916
6917         * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
6918         * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
6919
6920 2001-02-27  Diego Novillo  <dnovillo@redhat.com>
6921
6922         * c-common.c (walk_stmt_tree): Visit the chain of the current tree
6923         even if walk_subtrees is 0.
6924         * c-semantics.c (prune_unused_decls): Return a non-null value to
6925         stop traversing the tree chain.
6926
6927 2001-02-27  DJ Delorie  <dj@redhat.com>
6928
6929         * config/m68k/m68k.c (output_function_prologue): Save the new CFA
6930         register, *then* define it as the new CFA.
6931
6932 Tue Feb 27 16:49:13 2001  Jeffrey A Law  (law@cygnus.com)
6933
6934         * pa.c (override_options): Promote -fpic to -fPIC.
6935         (legitimize_pic_address): Simplify due to removal of
6936         small PIC as a code generation option.
6937         (secondary_reload_class): Similarly.
6938         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
6939         (PRINT_OPERAND_ADDRESS): Similarly.
6940         * pa.md (various patterns): Similarly.
6941         (small pic lo_sum pattern): Remove.
6942
6943 Tue Feb 27 16:01:13 CET 2001  Jan Hubicka  <jh@suse.cz>
6944                               Fergus Henderson
6945
6946         * md.texi (min, max): Document
6947
6948 Tue Feb 27 15:51:35 CET 2001  Jan Hubicka  <jh@suse.cz>
6949
6950         * i386.md (movsf, movdf): Use movaps for reg-reg moves if
6951         TARGET_PARTIAL_REG_DEPENDENCY.
6952         (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
6953
6954 Tue Feb 27 15:36:48 CET 2001  Jan Hubicka  <jh@suse.cz>
6955
6956         * i386.md (mins*, maxs*): New patterns, expanders and splitters.
6957
6958 2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>
6959
6960         * mips.c (mips_make_temp_file): Fix thinko in last change.
6961
6962 2001-02-26  Jason Eckhardt  <jle@redhat.com>
6963
6964         * combine.c (known_cond): Do not reverse the condition when
6965         SMAX/UMAX is being considered and the condition is for equality
6966         or inequality.
6967
6968         * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
6969
6970 2001-02-26  Philip Blundell  <philb@gnu.org>
6971
6972         * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
6973         "armv2-*-linux".
6974         * config/arm/linux-elf.h: Remove historical relics related to
6975         above configurations.
6976         * config/arm/linux-oldld.h: Delete.
6977         * config/arm/linux-elf26.h: Delete.
6978
6979 2001-02-26  Jason Merrill  <jason@redhat.com>
6980
6981         * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
6982         definitions.
6983         * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
6984         recognize a tentative definition.  Lose obsolete code.
6985
6986         * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
6987         variables unless necessary, either.
6988
6989 2001-02-25  Richard Henderson  <rth@redhat.com>
6990
6991         * ifcvt.c (struct noce_if_info): Add test_bb.
6992         (noce_get_alt_condition): New.
6993         (noce_try_minmax, noce_try_abs): New.
6994         (noce_operand_ok): New.
6995         (noce_process_if_block): Use them.
6996         * rtlanal.c (may_trap_p): NEG and ABS can never trap.
6997
6998 Sun Feb 25 14:26:17 2001  Christopher Faylor <cgf@cygnus.com>
6999
7000         * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
7001         include.
7002
7003 2001-02-25  Zack Weinberg  <zackw@stanford.edu>
7004
7005         * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
7006         * config/mips/mips.c (mips_make_temp_file): Set temp_filename
7007         properly.
7008         (mips_asm_file_end): Free temp_filename here.
7009
7010 Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7011
7012         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
7013         * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
7014
7015         * config/i386/i386.md (movstrsi): Handle FAIL case.
7016
7017 2001-02-25  Neil Booth  <neil@daikokuya.demon.co.uk>
7018
7019         * cppinit.c (builtin_array): Update.
7020         (init_builtins): Flag builtins to warn if redefined or
7021         undefined.  Define __GXX_WEAK as a normal macro.
7022         * cpplib.c (do_undef): Warn if flagged NODE_WARN.
7023         * cpplib.h (NODE_WARN): New flag.
7024         * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
7025         Handle __STDC__ as a builtin only on Solaris.
7026         (warn_of_redefinition): Renamed from check_macro_definition.
7027         Reverse sense of test.  Always warn if NODE_WARN.
7028         (_cpp_create_definition): Use warn_of_redefinition.  Flag
7029         any macro beginning with "__STDC_" to require a mandatory
7030         warning if redefined or undefined.
7031
7032 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
7033
7034         * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
7035         i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
7036         i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
7037         i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
7038         m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
7039         mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
7040         Don't define any of:
7041         USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
7042         P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
7043         NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
7044         index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
7045         STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
7046
7047         * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
7048         fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
7049         definitions.
7050
7051         * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
7052         Delete now-empty file.
7053
7054         * alpha/vms.h: Define NEED_ATEXIT here...
7055         * alpha/xm-vms.h: ...not here.
7056
7057         * i386/cygwin.h: Don't define PARAMS.
7058         * mips/mips.c: Don't prototype mktemp.  Don't define
7059         P_tmpdir.  Use make_temp_file to create temporary files.
7060         Don't be clever and delete temporary files early.
7061         * config.gcc: Drop references to deleted files.  Don't define
7062         FULL_PROTOTYPES.
7063         * gcc.texi: Don't mention USE_PROTOTYPES.
7064
7065 Sat Feb 24 20:25:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7066
7067         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
7068         (ix86_set_move_mem_attrs_1): Likewise.
7069         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
7070         * config/i386/i386.md (movstrsi): Call it.
7071
7072 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
7073
7074         * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
7075         x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
7076         ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
7077         rs6000/x-aix41-gld.  These are nonexistent, empty, or obsolete.
7078
7079         (i750a-*-*): Error here if hosting on i750a.
7080         (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
7081
7082         * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
7083         Remove (empty modulo comments).
7084
7085         * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
7086         alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
7087         i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
7088         i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
7089         mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
7090         rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
7091
7092         * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
7093         Remove reference to winnt.h in comment.
7094         * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
7095
7096 2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7097
7098         * loop.c (check_dbra_loop): A biv has uses besides counting if it is
7099         used to set another biv.
7100
7101 Sat Feb 24 06:45:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7102
7103         * tree.h (BLOCK_DEAD): New macro.
7104         (struct tree_block): New flag, dead_flag.
7105         * print-tree.c (print_node, case 'b'): Print missing fields.
7106         * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
7107         * function.c (identify_blocks): Enable test for misplaced notes.
7108         (all_blocks): Skip BLOCK_DEAD blocks.
7109         * integrate.c (integrate_decl_tree): Likewise.
7110
7111         * errors.c (internal_error, trim_filename): New functions.
7112         (fancy_abort): Call internal_error.
7113         * errors.h (internal_error, trim_filename): New declarations.
7114
7115 2001-02-24  Alexandre Oliva  <aoliva@redhat.com>
7116
7117         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
7118         2000-08-26's patch.
7119         (EXTRA_CONSTRAINT): Formatting changes.
7120
7121 2001-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7122
7123         * rtl.c (rtl_check_failed_code2): Fix typo in last change.
7124
7125 2001-02-23  Per Bothner  <per@bothner.com>
7126
7127         * gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
7128         so they can be called from java/jvspec.c.
7129         * gcc.h (record_temp_file, pfatal_with_name, error):  Declare.
7130
7131 Sat Feb 24 03:32:50 CET 2001  Jan Hubicka  <jh@suse.cz>
7132
7133         * i386.c (ix86_frame): New structure.
7134         (ix86_compute_frame_size): Kill.
7135         (ix86_compute_frame_layout): New.
7136         (ix86_save_reg): New.
7137         (ix86_can_use_return_insn_p): Use frame layout stuff.
7138         (ix86_expand_prologue): Likewise.
7139         (ix86_expand_epilogue): Likewise.
7140         (ix86_initial_elimination_offset): Likewise.
7141         (ix86_nsaved_regs): Use ix86_save_reg.
7142         (ix86_emit_save_regs): Likewise.
7143
7144 Sat Feb 24 03:30:38 CET 2001  Jan Hubicka  <jh@suse.cz>
7145
7146         * flow.c (find_sub_basic_blocks): New function.
7147         (split_block): Be ready for basic block introduced by CODE_LABEL.
7148         (commit_one_edge_insertion): Call find_sub_basic_block.
7149
7150         * flow.c (make_edges): Add edge from entry for blocks starting with
7151         label having ALTERNATE_NAME
7152
7153 Sat Feb 24 03:19:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7154
7155         * function.c (epilogue_done): Be ready for first basic block not
7156         containing PROLOGUE_END note.
7157         (reposition_prologue_and_epilogue_notes): Avoid placing
7158         PROLOGUE_END note between BASIC_BLOCK.
7159
7160 Sat Feb 24 03:17:09 CET 2001  Jan Hubicka  <jh@suse.cz>
7161
7162         * loop.c (canonicalize_condition): Move to reversed_comparison_code.
7163
7164 2001-02-21  DJ Delorie  <dj@redhat.com>
7165
7166         * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
7167         check for current_function_has_nonlocal_goto from 1999-11-12.
7168
7169 Fri Feb 23 15:28:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7170
7171         * diagnostic.c (trim_filename): No longer static.
7172         * toplev.h (trim_filename): Declare.
7173         * rtl.c (rtl_check_failed_bounds): Call internal_error.
7174         (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
7175         (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
7176         (rtvec_check_failed_bounds): Likewise.
7177         * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
7178
7179         * convert.c (convert_to_integer): Don't do unsigned unless result or
7180         both inputs are unsigned.
7181
7182         * fold-const.c (fold_convert): Don't call size_int_type_wide if
7183         input overflows.
7184
7185         * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
7186
7187         * varasm.c (output_constant): Recompute CODE after lang-specific fn.
7188
7189 2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>
7190
7191         * Makefile.in (resource.o): Add params.h dependence.
7192         * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
7193         * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
7194         * resource.c: Add dependence on params.h.
7195         (current_live_regs): Fix explanatory comment.
7196         (find_basic_block): Add new parameter to permit limiting search
7197         for a BARRIER.
7198         (mark_target_live_regs): Add new argument to find_basic_block call.
7199         (incr_ticks_for_insn): Likewise.
7200
7201 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
7202
7203         * diagnostic.c (output_to_stream): Rename to
7204         output_buffer_to_stream. Loses the stream parameter.
7205         (init_output_buffer): Set diagnosic_buffer's stream.
7206         (flush_diagnostic_buffer): Adjust.
7207         (default_print_error_function): Likewise.
7208         (finish_diagnostic): Likewise.
7209         (verbatim): Likewise.
7210
7211         * diagnostic.h (struct output_buffer): Add `stream' field.
7212         (output_buffer_attached_stream): New macro.
7213
7214 2001-02-23  Jakub Jelinek  <jakub@redhat.com>
7215
7216         * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
7217         check if either operand is divisible by C.
7218         (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
7219         If type is signed, consider negative numbers as well.
7220
7221 2001-02-22  Richard Henderson  <rth@redhat.com>
7222
7223         * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
7224         reach .text instead of gp-relative relocs.
7225         * config/ia64/crtend.asm (.init): Likewise.
7226
7227 2001-02-22  Andreas Jaeger  <aj@suse.de>
7228
7229         * extend.texi (C++ Attributes): Fix typo.
7230
7231 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
7232
7233         * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
7234         functions, drop current_function_args_info.words test.
7235         (ia64_compute_frame_size): Mark syscall_linkage functions as
7236         using eight input registers.
7237
7238 2001-02-21  Loren J. Rittle  <ljrittle@acm.org>
7239         Bruce Korb  <bkorb@gnu.org>
7240
7241         * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
7242         * fixinc/README: Document how to convert sed substitutions
7243         to format style c_fix-es.
7244         * fixinc/fixincl.x: regen
7245
7246 2001-02-21  Jeffrey D. Oldham  <oldham@codesourcery.com>
7247
7248         * gcc.c: Add comment explaining how to add a command-line option.
7249         Add title to specs language comment.
7250
7251 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
7252
7253         * gcc.c (cc1_options): Add "-param".
7254         (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
7255         (option_map): Likewise.
7256         * toplev.c (display_help): Add entry for "--param".
7257         (independent_decode_option): Fix typographical error.
7258
7259 Wed Feb 21 18:57:28 CET 2001  Catherine Moore  <clm@redhat.com>
7260                               Bernd Schmidt  <bernds@redhat.com>
7261                               Jan Hubicka  <jh@suse.cz>
7262
7263         * i386.c (function_arg_advance):  Pass SSE arguments in registers.
7264         (function_arg): Likewise.
7265
7266 Wed Feb 21 18:12:41 CET 2001  Jan Hubicka  <jh@suse.cz>
7267
7268         * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
7269
7270 2001-02-21  Kazu Hirata  <kazu@hxi.com>
7271
7272         * config/h8300/h8300.md (iorsi3): Do not output an extra newline
7273         character.
7274         (xorsi3): Likewise.
7275
7276 Wed Feb 21 17:35:24 CET 2001  Jan Hubicka  <jh@suse.cz>
7277
7278         * flow.c (init_propagate_block_info): Canon address and use single_set
7279         for killing dead memory stores.
7280
7281 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
7282
7283         * Makefile.in (reorg.o): Add params.h dependence.
7284         * params.def: Fix typographical error in comment.
7285         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
7286         * params.h: Modify introductory comment.
7287         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
7288         * reorg.c: Add dependence on params.h.
7289         (redundant_insn): Add parameterized throttle for search.
7290         (fill_simple_delay_slots): Add a comment explaining a variable.
7291         Move conditional out of loop, simplifying code.
7292         (fill_eager_delay_slots): Fix typographical error in comment.
7293
7294 2001-02-20  Aldy Hernandez  <aldyh@redhat.com>
7295
7296         * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
7297
7298         * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
7299         (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
7300
7301 2001-02-21  Jason Merrill  <jason@redhat.com>
7302
7303         * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
7304         (struct tree_decl): Add uninlinable bitfield.
7305         * c-decl.c (duplicate_decls): Set it.
7306         * integrate.c (function_cannot_inline_p): Check it.
7307
7308         * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
7309         DW_AT_MIPS_linkage_name to abstract methods.
7310         (dwarf2out_abstract_function): Emit class context before calling
7311         set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
7312         (gen_subprogram_die): Remove obsolete code.
7313         (gen_member_die): Don't include clones in the member list.
7314         (gen_decl_die): Emit abstract info for clone origin.
7315         * dwarfout.c (output_type): Don't include clones in the member list.
7316         * dbxout.c (dbxout_type_methods): Ignore abstract methods.
7317         * toplev.c (note_deferral_of_defined_inline_function): Don't clear
7318         DECL_ABSTRACT on a function that already has it set.
7319
7320         * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
7321         (get_subprogram_die): Pass it in.
7322
7323 2001-02-21  Richard Earnshaw  <rearnsha@arm.com>
7324
7325         * flow.c (mark_set_1): Make not_dead unsigned long.  For
7326         non-pseudos, use it as a bitmask of the hard regs that
7327         don't die.
7328
7329 2001-02-21  Neil Booth  <neil@daikokuya.demon.co.uk>
7330
7331         * cppfiles.c: Update comments.
7332         (_cpp_read_file): Don't check for NULL filenames any more.
7333         * cppinit.c (cpp_start_read): Don't do canonicalization of
7334         in_fname and out_fname.  Use the passed file name exclusively.
7335         (_cpp_handle_options): Don't treat "-" as a command line option,
7336         but as a normal filename.
7337         (_cpp_post_options): Canonicalize in_fname and out_fname.
7338         * cppmain.c (printer_init): Don't check out_fname for NULL.
7339         * c-lex.c (orig_filename): Rename cpp_filename for clarity.
7340         (init_c_lex): Update, and use "" to represent stdin to CPP.
7341         (yyparse): Update.
7342
7343 2001-02-20  Will Cohen  <wcohen@redhat.com>
7344
7345         * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
7346         * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
7347         (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
7348         fixunstfsi_libfunc.
7349
7350 2001-02-20  Stan Shebs  <shebs@apple.com>
7351
7352         * config/rs6000/rs6000.c (output_cbranch): Output branches
7353         on separate lines instead of using ';' to separate.
7354
7355 2001-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
7356
7357         * cppinit.c (set_lang):  Move builtin handling to...
7358         (init_builtins): ...here.
7359         (_cpp_create_reader): Move call to set_lang.
7360
7361 2001-02-20  Mark Mitchell  <mark@codesourcery.com>
7362
7363         * stmt.c (expand_return): If an attempt is made to return the
7364         error_mar_node, treat the return like a return without a value.
7365
7366 2001-02-19  Zack Weinberg  <zackw@stanford.edu>
7367
7368         * sibcall.c (skip_copy_to_return_value): Call
7369         identify_call_return_value here, and return orig_insn if it
7370         returns zero.  Hardret and softret arguments now unnecessary.
7371         (call_ends_block_p): Don't call identify_call_return_value here.
7372
7373         * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
7374         's' slots in RTXen.
7375         * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
7376         * ggc.h (ggc_mark_if_gcable): Delete prototype.
7377
7378 Mon Feb 19 20:30:16 2001  Jeffrey A Law  (law@cygnus.com)
7379
7380         * pa.c (move_operand): Accept code to load the address of a
7381         symbol out of the DLT as a valid move operand.
7382         (print_operand, case 'A'): New to handle generating a DLT
7383         reference for a LO_SUM expression.
7384         * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
7385         * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
7386
7387 2001-02-19  Joseph S. Myers  <jsm28@cam.ac.uk>
7388
7389         * README, cpp.texi, gcc.texi, version.c: Update version number to
7390         3.1.
7391         * cpp.1, gcov.1, gcc.1: Regenerate.
7392
7393 2001-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
7394
7395         * cppfiles.c (stack_include_file): Generate dependencies
7396         here, and manage include_count here too.
7397         (PRINT_THIS_DEP): Delete.
7398         (_cpp_execute_include): Do not generate dependencies here,
7399         apart from the case of a missing header.  Do not manage
7400         include_count.
7401         (_cpp_read_file): Leave dependency generation to
7402         stack_include_file.
7403
7404 Mon Feb 19 10:17:47 2001  Jeffrey A Law  (law@cygnus.com)
7405
7406         * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
7407         target_cpu_default.  Remove dead assignment to
7408         target_cpu_default.
7409
7410 Mon Feb 19 16:47:39 CET 2001  Jan Hubicka  <jh@suse.cz>
7411
7412         * regclass.c (contains_reg_of_mode): Make global.
7413         (init_reg_sets): Remove contains_reg_of_mode; take into account
7414         CLASS_MAX_NREGS when looking for the proper mode.
7415         (dump_regclass): Dump only classes considered for the pseudo.
7416         (regclass): Use contains_reg_of_mode.
7417
7418 Mon Feb 19 16:45:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7419
7420         * gcc.c (do_spec_1): 'n' for printing notices.
7421         * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
7422
7423 Mon Feb 19 15:51:30 CET 2001  Jan Hubicka  <jh@suse.cz>
7424
7425         * reg-stack.c (next_flags_user): Use current_block->end
7426         (swap_rtx_condition): Look for next user if flags don't die;
7427         give up on CALL_INSNs; use current_block->end.
7428
7429 Mon Feb 19 08:27:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7430
7431         * sibcall.c (call_ends_block_p): New function.
7432         (optimize_sibling_and_tail_recursive_call): Use it.
7433
7434 2001-02-18  Kazu Hirata  <kazu@hxi.com>
7435
7436         * config/h8300/h8300.md: Update copyright.
7437         (andsi3): Do not output an extra newline character.
7438
7439 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7440
7441         * toplev.c (note_deferral_of_defined_inlined_function): Argument
7442         FNDECL may be unused.
7443
7444         * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
7445         follow jumps after first run.
7446         If -fexpensive-optimizations rerun CSE after GCSE and iterate until
7447         it doesn't change any jumps.
7448
7449 Sun Feb 18 17:05:50 2001  Jeffrey A Law  (law@cygnus.com)
7450
7451         * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
7452         ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
7453         (mostlyclean): Corresponding changes.
7454         * rtlanal.c (hard-reg-set.h): Include.
7455         (rtx_unstable_p): Do not treat the argument pointer specially
7456         if it is not a fixed register.
7457         (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
7458
7459 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7460
7461         * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
7462         against last real insn in basic block.
7463         Rework to avoid gotos.
7464
7465         * Makefile.in (gcse.o): Now includes ggc.h.
7466         * gcse.c: Include ggc.h.
7467         (want_to_gcse_p): Verify expression can be in SET as valid insn.
7468         (try_replace_reg): Remove warning of uninitialize variable.
7469         (process_insert_insn): Call invalid_insn_p to validate insn.
7470         * recog.c (insn_invalid_p): Now global.
7471         See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
7472         * recog.h (insn_invalid_p): New declaration.
7473
7474         * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
7475
7476         * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
7477         assignments from FP constants since 'Y' output code can't handle it.
7478         (eligible_for_sibcall_delay): Likewise.
7479
7480         * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
7481         Call fancy_abort directly, passing args.
7482         (print_rtl_and_abort): Now a macro, like fancy_abort.
7483
7484         * final.c (output_operand_lossage): Use internal_error, not error.
7485
7486 2001-02-18  Shane Nay  <shane@agendacomputing.com>
7487
7488         * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
7489         structure shift insns.
7490
7491 2001-02-18  Mark Mitchell  <mark@codesourcery.com>
7492
7493         * invoke.texi (-fsquangle): Remove documentation.
7494         (-fname-mangling-version): Likewise.
7495
7496 2001-02-18  Lars Brinkhoff  <lars@nocrew.org>
7497
7498         * optabs.c (expand_abs): Remove reference to
7499         HAVE_contitional_arithmetic.
7500         * combine.c (simplify_set): Likewise.
7501
7502 2001-02-18  Richard Henderson  <rth@redhat.com>
7503
7504         * ifcvt.c (dead_or_predicable): Don't move code if eh regions
7505         would be disrupted.
7506
7507 2001-02-18  Richard Henderson  <rth@redhat.com>
7508
7509         * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
7510
7511         * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
7512
7513         * reload1.c (reload_cse_simplify_set): Fix typo.
7514
7515 Sun Feb 18 09:30:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7516
7517         * diagnostic.c (_fatal_insn): Decrement errorcount.
7518
7519         * invoke.texi (-I): Add note avoiding use for system header files.
7520
7521         * rtl.h (add_clobbers): Remove duplicate declaration.
7522         * recog.h (added_clobbers_hard_reg_p): New declaration.
7523         * genemit.c (struct clobber_pat): New field has_hard_reg.
7524         (gen_insn): Record if added clobbers clobber hard reg.
7525         (gen_split): Avoid unused warning if number of operands is 0.
7526         (output_added_clobbers_hard_reg_p): New function.
7527         (main): Call it.
7528
7529 2001-02-18  Alan Modra <alan@linuxcare.com.au>
7530
7531         * pa.c (hppa_expand_prologue): Simplify code storing return
7532         pointer.  For large (>=8k) frames with a post_store, adjust stack
7533         pointer by 8k-64 first rather than by 64.  When testing with
7534         VAL_14_BITS_P, always use the actual value rather than the value
7535         negated.  Add blockage to prevent scheduling of spills before
7536         stack frame has been created.
7537         (hppa_expand_epilogue): Simplify code loading return pointer.
7538         Allow a slightly larger range for merge_sp_adjust_with_load case.
7539         When testing with VAL_14_BITS_P, always use the actual value.
7540
7541         * pa.c (pa_adjust_insn_length): Check that block move
7542         pattern is a set before looking at operands.
7543
7544 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
7545
7546         * fold-const.c (fold_binary_op_with_conditional_arg): New
7547         function, split out from ...
7548         (fold): ... here.
7549         * tree.def (COND_EXPR): Document the use of VOID_TYPE for
7550         conditional arms that throw exceptions.
7551
7552         * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
7553         looking at a BLOCK.
7554
7555 2001-02-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7556
7557         * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
7558         define HAVE_DECL_* to 1 to mask potential backup declarations.
7559         * configure: Regenerated.
7560
7561 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
7562
7563         * invoke.texi (-Woverloaded-virtual): Clarify documentation.
7564
7565 2001-02-17  Richard Henderson  <rth@redhat.com>
7566
7567         * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
7568         when replacing a memory load with a register.
7569
7570 Sat Feb 17 14:48:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7571                           Jan Hubicka  <jh@suse.cz>
7572
7573         * recog.c (validate_replace_src_1): New.
7574         (validate_replace_src_data): Likewise.
7575         (validate_replace_src): Use note_uses.
7576         * rtl.h (note_uses): Declare.
7577         * rtlanal.c (note_uses): New.
7578
7579 Sat Feb 17 10:52:34 CET 2001  Jan Hubicka  <jh@suse.cz>
7580
7581         * reg-stack.c (stack_def): Make field reg unsigned.
7582         (remove_regno_note): Unsignetize parameter.
7583
7584 2001-02-16  Jes Sorensen  <jes@linuxcare.com>
7585
7586         * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
7587         shladd_operand() call.
7588
7589 2001-02-16  Bruce Korb  <bkorb@gnu.org>
7590             Rodney Brown  <RodneyBrown@mynd.com>
7591
7592         * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
7593         * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
7594         machine restrictions
7595         * fixinc/fixincl.x: regen
7596
7597 Fri Feb 16 12:41:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7598
7599         * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
7600         Don't CSE a nop.
7601         (hash_scan_insn): Clean up calls to hash_scan_set.
7602         (compute_kill_rd): REGNO now unsigned.
7603         (try_replace_reg): Rework to use simplify_replace_rtx.
7604         (cprop_jump, cprop_cc0_jump): Likewise.
7605         (cprop_insn): Call find_reg_equal_equiv_note.
7606         Reflect changes to cprop_jump and cprop_cc0_jump.
7607
7608         * recog.c (validate_replace_src): Replace in operands of
7609         ZERO_EXTRACT in SET_DEST.
7610
7611         * cse.c (new_label_ref): New variable.
7612         (insert): Set it instead of recorded_label_ref.
7613         (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
7614         CODE_LABEL for this function, and not already in REG_LABEL note.
7615
7616 2001-02-16  Jeffrey Oldham  <oldham@codesourcery.com>
7617
7618         * resource.c (mark_referenced_resources): Fix typo in introductory
7619         comment.
7620         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
7621         string constant.
7622
7623 2001-02-16  Jason Merrill  <jason@redhat.com>
7624
7625         * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
7626         NULL.
7627         (gen_subprogram_die): Don't abort on seeing a second definition if
7628         the previous one was abstract.  Don't replace an abstract instance
7629         in the lookup table.
7630
7631         * dwarf2out.c (dwarf2out_abstract_function): Rename from
7632         gen_abstract_function.
7633         * dwarf2out.h: Declare it.
7634         * toplev.c (note_outlining_of_inline_function): New fn.
7635         * toplev.h: Declare it.
7636         * integrate.c (output_inline_function): Call it.
7637         * c-decl.c (duplicate_decls): Call it when redefining an extern
7638         inline.  Don't inline the new defn.
7639
7640         * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
7641
7642 2001-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7643
7644         * .gdbinit: Rename to gdbinit.in.
7645         * gdbinit.in: New file,
7646         * configure.in: Generate .gdbinit from gdbinit.in.
7647         * configure: Regenerated.
7648         * Makefile.in (distclean): Always remove .gdbinit.
7649
7650 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
7651
7652         * objc/objc-act.c (start_class): Register implemented_classes with
7653         GC.
7654
7655 2001-02-16  Neil Booth  <neil@daikokuya.demon.co.uk>
7656
7657         * cppfiles.c (_cpp_make_system_header): Generate a file
7658         change callback.
7659
7660 2001-02-15  Jim Meyering  <meyering@lucent.com>
7661
7662         * Makefile.in (install-common): Don't depend on installdirs here.
7663         Instead, make each of the lang.install-common targets (e.g.,
7664         c++.install-common in cp/Make-lang.in) depend on it.
7665         (install-driver): Depend on installdirs.
7666
7667 Thu Feb 15 21:30:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7668
7669         * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
7670
7671         * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
7672         do in memory.
7673
7674 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
7675
7676         * invoke.texi (--param): Document.
7677
7678 Thu Feb 15 15:16:38 2001  Alexandre Oliva  <aoliva@redhat.com>
7679
7680         * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
7681
7682 Thu Feb 15 10:52:31 CET 2001  Jan Hubicka  <jh@suse.cz>
7683
7684         * i386.md (extendsfdf2_2): Fix constraints.
7685
7686 Thu Feb 15 09:46:21 CET 2001  Jan Hubicka  <jh@suse.cz>
7687
7688         * i386.md (fop_df_3 splitter): Fix operand number.
7689
7690 Wed Feb 14 12:37:37 CET 2001  Jan Hubicka  <jh@suse.cz>
7691
7692         * invoke.texi (-mreg-alloc): Nuke.
7693         * i386.c (ix86_reg_alloc_order, regs_allocated,
7694         order_regs_for_local_alloc): Nuke.
7695         (override_options): Kill reg_alloc code.
7696         * i386.h (TARGET_OPTIONS): Kill reg-alloc.
7697         (REG_ALLOC_ORDER): SSE goes before I387.
7698         (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
7699         (ix86_reg_alloc_order): Likewise.
7700         * i386-protos.h (ix86_reg_alloc_order): Kill.
7701
7702 2001-02-14  Richard Henderson  <rth@redhat.com>
7703
7704         * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
7705
7706 Wed Feb 14 11:59:58 CET 2001  Jan Hubicka  <jh@suse.cz>
7707
7708         * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
7709
7710 Wed Feb 14 11:12:38 CET 2001  Jan Hubicka  <jh@suse.cz>
7711
7712         * i386-protos.h (ix86_memory_move_cost): Move offline.
7713         * i386.c (ix86_register_move_cost): Compute properly cost of
7714         SSE, MMX and i387 instructions.
7715         (*_cost): Add costs of SSE/MMX moves.
7716         (ix86_memory_move_cost): Move offline from ....; Likewise.
7717         * i386.h (MEMORY_MOVE_COST): .... here;
7718         (struct processor costs): Add new fields to represent costs
7719         of SSE/MMX moves.
7720
7721 Wed Feb 14 10:08:26 CET 2001  Jan Hubicka  <jh@suse.cz>
7722
7723         * regclass.c (init_reg_sets_1): Reinstall the optimization of
7724         move_cost together with Matt Kraai's fix.
7725
7726 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
7727
7728         * Makefile.in (OBJS): Add params.o.
7729
7730 2001-02-14  Richard Henderson  <rth@redhat.com>
7731             DJ Delorie  <dj@redhat.com>
7732
7733         * jump.c (jump_optimize_1): When we delete a conditional jump
7734         preceeding a non-conditional jump to effectively the same place,
7735         make sure that the combined jump skips any clobber insns between
7736         the two labels.
7737
7738 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
7739
7740         * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
7741
7742 2001-02-14  Mark Mitchell  <mark@codesourcery.com>
7743
7744         * Makefile.in (toplev.o): Depend on params.h.
7745         (intergate.o): Likewise.
7746         (params.o): New target.
7747         * flags.h (inline_max_insns): Remove.
7748         * integrate.c: Include params.h.
7749         Use MAX_INLINE_INSNS instead of inline_max_insns.
7750         * params.c: New file.
7751         * params.h: Likewise.
7752         * params.def: Likewise.
7753         * toplev.c: Include params.h.
7754         (lang_independent_params): New variable.
7755         (decode_f_option): Use the param machinery instead of setting
7756         max_inline_insns.
7757         (independent_decode_option): Handle "--param name=value".
7758         (main): Register language-independent parameters.
7759
7760 Wed Feb 14 11:13:45 CET 2001  Jan Hubicka  <jh@suse.cz>
7761
7762         * i386.md (pushsf, pushdf_nointeger): Fix constraint.
7763
7764 2001-02-14  Richard Henderson  <rth@redhat.com>
7765
7766         * regclass.c (init_reg_sets_1): Revert last two changes.
7767
7768 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
7769
7770         * stor-layout.c (is_pending_size, put_pending_size): New functions.
7771         (variable_size): Call put_pending_size.
7772         * tree.h (is_pending_size, put_pending_size): Add prototypes.
7773         * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
7774         sizes list, put newly created SAVE_EXPR there as well.
7775
7776 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
7777
7778         * config/ia64/ia64.c (last_group): Only 2 entries are needed.
7779         (errata_find_address_regs): load_group has only 2 entries.
7780         (errata_emit_nops): Likewise.  shladd is not problematic.
7781         Clear last_group if nop was emitted.
7782         (fixup_errata): load_group has only 2 entries.
7783         Optimize.
7784
7785 2001-02-14  Neil Booth  <neil@daikokuya.demon.co.uk>
7786
7787         * c-lex.c (lex_number): Only warn traditionally for U suffix
7788         outside system macros.
7789         * cppexp.c (parse_number): Similarly.
7790         * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
7791         * cppmacro.c (struct cpp_macro): New member node.
7792         (parse_args): Only warn about missing rest args if not
7793         a system macro.
7794         (funlike_invocation_p): Similarly for uninvoked funlike macros.
7795         (cpp_sys_objmacro_p): New.
7796         (_cpp_create_definition): Store the node with the macro defn.
7797         Remember if the macro is defined in a system header.
7798
7799 2001-02-13  DJ Delorie  <dj@redhat.com>
7800
7801         * configure.in (check_languages): determine languages to check
7802         * Makefile.in (check-c++): alias for check-g++
7803         (check-f77): alias for check-g77
7804         (CHECK_TARGETS): depend on configured languages
7805
7806 Wed Feb 14 01:13:59 CET 2001  Jan Hubicka  <jh@suse.cz>
7807
7808         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
7809         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
7810         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
7811         (sqrtextendsfdf2): Disable for SSE2.
7812
7813 Wed Feb 14 00:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
7814
7815         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
7816         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
7817         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
7818         (sqrtextendsfdf2): Disable for SSE2.
7819
7820 Wed Feb 14 00:11:20 CET 2001  Jan Hubicka  <jh@suse.cz>
7821
7822         * i386.md (movsfcc_1): Support integer cmove instruction.
7823         (movdfcc_1): Likewise; new splitter.
7824
7825 Tue Feb 13 23:19:27 CET 2001  Jan Hubicka  <jh@suse.cz>
7826
7827         * i386.c (output_fp_compare): Support SSE.
7828         (prepare_fp_compare_args): SSE comparisons always support memory.
7829         * i386.h (TARGET_CMOVE): SSE imply cmove.
7830         * i386.md (cmp?f2): Enable for SSE too.
7831         (cmpfp_i*): Support SSE.
7832         (cmpfp_i_sse): New.
7833         (cmpfp_i_sse_only): New.
7834         (s*, b* fp expanters): Enable for SSE too.
7835         (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
7836         New patterns.
7837
7838 Tue Feb 13 23:05:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7839
7840         * regclass.c (init_reg_sets_1): Silence warning.
7841
7842 Tue Feb 13 22:03:07 CET 2001  Jan Hubicka  <jh@suse.cz>
7843
7844         * i386.md (sqrt?f2): Change to expander.
7845         (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
7846
7847 Tue Feb 13 15:42:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7848
7849         * rtlanal.c (find_reg_equal_equiv_note): New function.
7850         * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
7851         (simplify_gen_relational, simplify_replace_rtx): Likewise.
7852         * rtl.h: Add declarations for above functions.
7853
7854 Tue Feb 13 21:09:11 CET 2001  Jan Hubicka  <jh@suse.cz>
7855
7856         * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
7857         conditionals.
7858         * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
7859         * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
7860         * flow.c (mark_regs_live_at_end): Likewise.
7861         (calculate_global_regs_live): Likewise.
7862         * gcse.c (compute_hash_table): Likewise.
7863         (compute_kill_rd): Likewise.
7864         * resource.c (mark_target_live_regs): Likewise.
7865         * rtl.h (INVALID_REGNUM): New macro.
7866
7867 Tue Feb 13 20:59:22 CET 2001  Jan Hubicka  <jh@suse.cz>
7868
7869         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
7870
7871 Tue Feb 13 16:32:20 CET 2001  Jan Hubicka  <jh@suse.cz>
7872
7873         * i386.md (fixsfsi2, fixdfdi2): Force operand to register
7874         for SSE.
7875
7876 Tue Feb 13 14:53:16 CET 2001  Jan Hubicka  <jh@suse.cz>
7877
7878         * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
7879         too.
7880         (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
7881         (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
7882         (fop_sf_1_sse, fop_df_1_sse): New patterns
7883         (fop_*): Disable float_extend and float patterns for SSE compilation.
7884         * i386.c (output_387_binary_op): Support SSE.
7885
7886 Tue Feb 13 14:16:34 CET 2001  Jan Hubicka  <jh@suse.cz>
7887
7888         * i386.md (dummy_extendsfdf2): Support SSE2
7889         (extendsfdf2): Enable if 80387 or SSE2.
7890         (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
7891         and no MIX_I387_SSE2
7892         (extendsfdf2_1_sse_only): New pattern.
7893         (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
7894         of SSE.
7895         (truncdfsf2_1): Support SSE.
7896         (truncdfsf2_2): Support SSE.
7897         (truncdfsf2_2_1_sse): New pattern.
7898         (fixtruncsfsi2): Always use SSE if available.
7899         (fix_truncsfsi_sse): New pattern.
7900         (fix_truncdfsi_sse): New pattern.
7901         (floatsis?f2): Support SSE.
7902         (floatsidf2_i387): New pattern.
7903         (floatsidf2_sse): Likewise.
7904
7905 Tue Feb 13 07:52:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7906
7907         * configure.in: Use "have_gnat" variable, not "gnat".
7908         * configure: Regenerated.
7909
7910         * config/sparc/sparc.c (function_value): Treat all non-record
7911         aggregate types like used to treat UNION_TYPE.
7912
7913 Tue Feb 13 13:31:33 CET 2001  Jan Hubicka  <jh@suse.cz>
7914
7915         * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
7916         * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
7917         (MASK_SSE2): New.
7918         (MASK_MIX_SSE_I387): New.
7919         (TARGET_SSE): SSE2 imply SSE.
7920         (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
7921         (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
7922         (enum reg_class): Add new classes.
7923         (REG_CLASS_NAMES): Likewise.
7924         (REG_CLASS_CONTENTS): Likewise.
7925         (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
7926         (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
7927         supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
7928         (CLASS_MAX_NREGS): Use new macros.
7929         (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
7930         * i386.md (pushsf, movsf): Support SSE.
7931         (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
7932         splitters to use ANY_FP_REGNO_P.
7933         (movdf_nointeger, movdf_integer): Likewise.
7934
7935 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
7936
7937         * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
7938         (try_combine): Use it.
7939
7940 Tue Feb 13 11:37:06 CET 2001  Jan Hubicka  <jh@suse.cz>
7941
7942         * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
7943         MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
7944         (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
7945         (REGISTER_MOVE_COST): Likewise.
7946         * i386-protos.h (ix86_secondary_memory_needed,
7947         ix86_preferred_reload_class, ix86_register_move_cost): Declare.
7948         * i386.c (ix86_secondary_memory_needed,
7949         ix86_preferred_reload_class, ix86_register_move_cost): New function.
7950
7951 Die Feb 13 11:04:25 CET 2001  Jan Hubicka  <jh@suse.cz>
7952
7953         * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
7954         (HARD_REGNO_MODE_OK): Move offline to ....
7955         * i386.c (ix86_hard_regno_mode_ok) ... here;
7956         refuse all incorrect modes.
7957         * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
7958
7959 2001-02-13  Richard Henderson  <rth@redhat.com>
7960
7961         * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
7962         entire operator; replicate that and match_dup the operands.
7963         (cmp_ccx_arith_op_set): Likewise.
7964         (cmp_cc_arith_op_not_set): Likewise.
7965         (cmp_ccx_arith_op_not_set): Likewise.
7966
7967 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
7968
7969         * explow.c (trunc_int_for_mode): Sign-extend value to mode.
7970
7971 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
7972
7973         * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
7974         (TARGET_NO_BITFIELD_WORD): New macro.
7975         (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
7976         (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
7977
7978 Mon Feb 12 18:13:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7979
7980         * cselib.c: New file, from simplify-rtx.c.
7981         * simplify-rtx.c: Remove cselib parts.
7982         * Makefile.in: Add cselib.o.
7983
7984 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
7985
7986         * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
7987         (setup_incoming_varargs): Remove warning.
7988
7989         * config/rs6000/rs6000.c (validate_condition_mode): When
7990         flag_fast_math, allow floating-point conditionals to be reversed.
7991         (rs6000_generate_compare): When flag_fast_math, don't generate
7992         cror operations for FP conditionals.
7993
7994         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
7995         -mcall-i960.
7996         (ASM_SPEC): Likewise.
7997         (CC1_ENDIAN_LITTLE_SPEC): Likewise.
7998         (CC1_SPEC): Likewise.
7999         (LINK_TARGET_SPEC): Likewise.
8000         (CPP_ENDIAN_SPEC): Likewise.
8001         * Makefile.in (check-consistency): New target.
8002
8003 2001-02-12  Joseph S. Myers  <jsm28@cam.ac.uk>
8004
8005         * c-decl.c (grokdeclarator): In C99 mode, give the more specific
8006         "return type defaults" warning for functions with return type
8007         defaulting to int.
8008         * c-lang.c (c_init): In C99 mode, enable warnings for implicit
8009         function declarations by default rather than only when pedantic.
8010
8011 Mon Feb 12 17:28:48 CET 2001  Jan Hubicka  <jh@suse.cz>
8012
8013         * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
8014         arrays.
8015
8016 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
8017
8018         * extend.texi (Deprecated): Deprecate new initializer lists.
8019
8020 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
8021
8022         * mkdeps.c (deps_add_default_target): Robustify. Add
8023         basename component only.
8024         * cpp.texi (-M): Describe how default target is generated.
8025         * invoke.texi (-M): Likewise.
8026
8027 2001-02-12  Kazu Hirata  <kazu@hxi.com>
8028
8029         * toplev.c (push_float_handler): Remove.
8030         (pop_float_handler): Remove.
8031         * toplev.h: Remove prototypes for the above functions.
8032
8033 2001-02-12  Jakub Jelinek  <jakub@redhat.com>
8034
8035         * c-common.c (constant_fits_type_p): New function.
8036         (convert_and_check): Use it.
8037
8038 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
8039
8040         * Makefile.in (GXX_ABI_FLAG): Don't define.
8041         * configure.in (--enable-new-gxx-abi): Remove option.
8042         * config.in: Regenerated.
8043         * configure: Likewise.
8044
8045 2001-02-12  Alexandre Oliva  <aoliva@redhat.com>
8046
8047         * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
8048         basic block.
8049         (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
8050         regular basic block, and arrange for all edges into it to switch
8051         to normal mode.
8052
8053 2001-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8054
8055         * Makefile.in (distclean): Do not remove .gdbinit.
8056
8057 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
8058
8059         * Makefile.in (gcc.o): Fix typos.
8060         (protize.o): Likewise.
8061         (unprotoize.o): Likewise.
8062
8063 2001-02-11  Richard Henderson  <rth@redhat.com>
8064
8065         * tree.c (build1): Check for null operand in last change.
8066
8067 2001-02-11  Richard Henderson  <rth@redhat.com>
8068
8069         * fold-const.c (split_tree): Don't assume a constant isn't splittable.
8070         (fold): Don't assume a constant isn't foldable.
8071         * tree.c (build): Set TREE_CONSTANT for an expression with no
8072         side-effects and constant operands.
8073         (build1): Likewise.
8074
8075 2001-02-10  Richard Henderson  <rth@redhat.com>
8076
8077         * jump.c (squeeze_notes): Revert 2000-05-12 change.
8078
8079 2001-02-10  Anthony Green  <green@redhat.com>
8080
8081         * cpp.texi (Standard Predefined): Add documentation for
8082         __OPTIMIZE_SIZE__.
8083
8084         * c-common.c (combine_strings): Improve warning message.
8085
8086 2001-02-10  Geoffrey Keating  <geoffk@redhat.com>
8087
8088         * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
8089         --oformat.
8090         * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
8091
8092 Fri Feb  9 15:05:27 2001  Christopher Faylor <cgf@cygnus.com>
8093
8094         * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
8095         CYGWIN_CROSS_DIR.
8096
8097 2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
8098
8099         * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
8100         fp_mode attribute.
8101
8102 2001-02-09  Nick Clifton  <nickc@redhat.com>
8103
8104         * config/arm/arm.md: Change output contraint on post inc
8105         load/store multiple patterns to be a read/write contraint.
8106
8107 2001-02-09  Neil Booth  <neil@daikokuya.demon.co.uk>
8108
8109         * gcc.c (cpp_options): Delete .d files on error.  Don't delete
8110         .o files when using the -M options.
8111
8112 2001-02-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8113             David Edelsohn  <edelsohn@gnu.org>
8114
8115         * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
8116         handle DImode constants.  Use one TOC entry for SImode and smaller
8117         constants, aligned properly.
8118
8119 2001-02-08  Jason Merrill  <jason@redhat.com>
8120
8121         * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
8122         about the SP adjustment for saving the static chain pointer.
8123         * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
8124         offset when setting a temporary CFA register.
8125
8126 2001-02-08  Chandrakala Chavva  <cchavva@redhat.com>
8127
8128         * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
8129         powerpc-*-chorusos* .
8130         * config/rs6000/chorus.h : New file.
8131         * config/i386/chorus.h : New file.
8132         * config/sparc/chorus.h : New file.
8133         * config/sparc/t-chorus-elf : New file.
8134
8135 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
8136
8137         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
8138         * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
8139         * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
8140         (__WCHAR_TYPE__): Correct macro name.
8141
8142 2001-02-08  Richard Henderson  <rth@redhat.com>
8143
8144         * config/i386/i386.c (ix86_frame_pointer_required): New.
8145         (ix86_setup_frame_addresses): New.
8146         (struct machine_funciton): Add accesses_prev_frame.
8147         * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
8148         ix86_frame_pointer_required.
8149         (SUBTARGET_FRAME_POINTER_REQUIRED): New.
8150         (SETUP_FRAME_ADDRESSES): New.
8151         * config/i386/i386-protos.h: Update.
8152         * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
8153         from FRAME_POINTER_REQUIRED.
8154         * config/i386/svr3gas.h: Likewise.
8155         * config/i386/sysv3.h: Likewise.
8156         * config/i386/v3gas.h: Likewise.
8157
8158 2001-02-08  Richard Henderson  <rth@redhat.com>
8159
8160         * config/sparc/sparc.c (function_arg_record_value_3): Fix
8161         calculation of the number of integer registers required.
8162         (function_arg_record_value): Likewise.
8163
8164 2001-02-08  Jason Merrill  <jason@redhat.com>
8165
8166         * diagnostic.c (internal_error): Say "confused" after 1 error, not
8167         two.  Print file and line with "confused" message.
8168
8169         * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
8170
8171 Thu Feb  8 11:21:28 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8172
8173         * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
8174
8175 2001-02-08  Bernd Schmidt  <bernds@redhat.com>
8176
8177         * final.c (cleanup_subreg_operands): The address of a MEM can
8178         contain SUBREGs.
8179
8180         * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
8181         for asms, too.
8182
8183 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8184
8185         * gcc.texi (Incompatibilities): Update documentation of
8186         preprocessing numbers.
8187
8188 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
8189
8190         * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
8191
8192 2001-02-07  Mark Mitchell  <mark@codesourcery.com>
8193
8194         * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
8195
8196         * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
8197         * gcc.c (struct compiler): Add cpp_spec field.
8198         (input_file_compiler): New variable.
8199         (do_spec_1): Allow a particular compiler to handle `%C'
8200         specially.
8201         (main): Store the current compiler in input_file_compiler.
8202         * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
8203
8204 2001-02-07  Zack Weinberg  <zack@wolery.stanford.edu>
8205
8206         * cpphash.h (struct spec_nodes): Add n_true and n_false.
8207         * cppinit.c (cpp_create_reader): Initialize them.
8208         (append_include_chain): cxx_aware arg might be unused.
8209         * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
8210         keywords and give them their phase 7 meaning.  Pedwarn about
8211         this unless '__bool_true_false_are_defined' is defined.
8212
8213 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
8214
8215         * lcm.c (optimize_mode_switching): Emit mode_set before the
8216         JUMP_INSN of an abnormal edge.
8217
8218 2001-02-07  Bernd Schmidt  <bernds@redhat.com>
8219
8220         * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
8221         a scheduling barrier at the end.
8222
8223         * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
8224
8225 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
8226
8227         * config/sh/sh.md (reload_outsf): Removed.
8228         (movsf_ie): Introduce constraints for FPUL loads and stores.
8229         (reload_insf): Broaden the output constraint.
8230
8231         * config/elfos.h (INT_ASM_OP): Don't define it if it's already
8232         defined.
8233         * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
8234         ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
8235
8236 2001-02-06  Chandrakala Chavva  <cchavva@redhat.com>
8237
8238         * final.c: Revert my previous changes.
8239         * output.h: Make profile_label_no extern.
8240         * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
8241         for generating label.
8242
8243 2001-02-06  Laurynas Biveinis  <lauras@softhome.net>
8244
8245         * config/i386/djgpp.h: Add comments about standard paths.
8246         (MD_EXEC_PREFIX): Undefine before defining.
8247         (MD_STARTFILE_PREFIX): New.
8248
8249 2001-01-30  Bruce Korb  <bkorb@gnu.org>
8250
8251         fixinc/fixincl.c(process):  Emit error message only if appropriate :)
8252         (load_file): do not rely on load_file_data() to close file pointer
8253         fixinc/fixlib.c(load_file_data): do not close passed in file pointer
8254         fixinc/inclhack.def(irix_limits_const): add test_text
8255
8256 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
8257
8258         * cppexp.c (parse_defined): Improve diagnostics for invalid
8259         syntax.
8260
8261 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
8262
8263         * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
8264
8265 2001-02-06  Mark Mitchell  <mark@codesourcery.com>
8266
8267         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
8268         * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
8269         * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
8270         (rs6000_output_symbol_ref): New function.
8271         (output_toc): Use VTABLE_NAME_P.
8272
8273 Tue Feb  6 07:54:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8274
8275         * print-tree.c (print_node, case PARM_DECL):
8276         Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
8277
8278         * stor-layout.c (reference_types_internal): New variable.
8279         (internal_reference_types): New function.
8280         (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
8281         * tree.h (internal_reference_types): New declaration.
8282
8283         * cse.c (find_best_addr): Fix typo in computing cost.
8284
8285 Mon Feb  5 21:56:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8286
8287         * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
8288         and this is the sum of a pointer and a constant, we know the result
8289         did not overflow.
8290         (num_sign_bit_copies, case PLUS): Likewise.
8291         * explow.c (convert_memory_address): Remove opposite SUBREG.
8292         * function.c (instantiate_new_reg): New function (from common code).
8293         (instantiate_virtual_regs_1): Call it.
8294         For PLUS, handle if (plus (subreg (virt-reg) (const_int))
8295         if pointers sign- or zero-extend.
8296         * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
8297         If pointers extend unsigned, use inside of SUBREG.
8298         (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
8299
8300 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
8301
8302         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
8303         subdir of gcc_gxx_include_dir.
8304         (gcc_gxx_target_include_dir): Remove.
8305
8306 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
8307
8308         * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
8309         (dwarf2out_frame_debug_expr): Revise introductory comments to add
8310         a high-level description.
8311
8312 2001-02-05  Chandrakala Chavva  <cchavva@redhat.com>
8313
8314         * final.c: Move the declaration of profile_label_no to ...
8315         * output.h: ... here.
8316         * function.c (expand_function_start): Call PROFILE_HOOK.
8317         * config/rs6000/aix.h: Define PROFILE_HOOK.
8318         * config/rs6000/rs6000-protos.h: output_profile_hook new.
8319         * config/rs6000/rs6000.c (output_profile_hook): Define.
8320         (output_prolog): Do nothing for ABI_AIX as it is taken care by
8321         output_profile_hook.
8322         tm.texi : Explain new macro PROFILE_HOOK.
8323
8324 2001-02-06  Hans-Peter Nilsson  <hp@axis.com>
8325
8326         * extend.texi (Extended Asm): Do not say that semicolon is always
8327         a valid line-breaking character for GNU assemblers.  Use
8328         newline-tab as the most commonly supported syntax.  Use
8329         newline-tab rather than semicolon in multi-insn examples.
8330
8331 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8332
8333         * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
8334
8335 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8336             David Edelsohn  <edelsohn@gnu.org>
8337
8338         * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
8339         code for AIX, even without flag_pic.
8340
8341 2001-02-05  Jakub Jelinek  <jakub@redhat.com>
8342
8343         * c-typeck.c (common_type): push and pop binding level around
8344         calling common_type on function parameters.
8345
8346 Mon Feb  5 14:30:37 2001  Christopher Faylor <cgf@cygnus.com>
8347
8348         * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
8349
8350 Mon Feb  5 11:23:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8351
8352         * config/mips/mips.c (override_options): Fix typo in last change.
8353         (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
8354         (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
8355
8356 2001-02-05  Nathan Sidwell  <nathan@codesourcery.com>
8357
8358         * invoke.texi (-fdump-class-layout): Document.
8359         (-fdump-translation-unit): Use `=' as filename separator.
8360
8361 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
8362
8363         * Makefile.in (s-mlib): Don't build multilibs if
8364         --disable-multilib.
8365         (DRIVER_DEFINES): Adjust accordingly.
8366         (gcc.o): Likewise.
8367         (protoize.o): Likewise.
8368         (unprotoize.o): Likewise.
8369         * configure.in: Recognize --enable-multilib.
8370
8371 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
8372
8373         * Makefile.in (DRIVER_DEFINES): Fix quoting.
8374
8375         * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
8376         * configure.in: Remove --enable-libstdcxx_v3 support.
8377         * configure: Regenerated.
8378
8379 Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8380
8381         * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
8382         Call abort instead of fatal.
8383         (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
8384         * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
8385         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
8386         (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
8387         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
8388         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
8389
8390         * diagnostic.h (set_internal_error_function): Renamed.
8391         * toplev.h (internal_error): Renamed from fatal.
8392         (pfatal_with_name): Deleted.
8393         (fatal_io_error): Now has printf-style arguments.
8394         * diagnostic.c (pfatal_with_name): Deleted.
8395         (fatal_io_error): Rework to have args in printf-style.
8396         (set_internal_error_function): Renamed from set_fatal_function.
8397         (internal_error): Renamed from fatal.
8398         (error_recursion, fancy_abort): Call internal_error instead of fatal.
8399         * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
8400         * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
8401         * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
8402         * flow.c (verify_flow_info): Likewise.
8403         * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
8404         * config/mips/mips.c (save_restore_insns): Likewise.
8405
8406         * except.c (duplicate_eh_handlers): Call abort instead of fatal.
8407         * flow.c (verify_flow_info): Likewise.
8408         * config/arm/arm.c (thumb_load_double_from_address): Likewise.
8409         * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
8410         (avr_normalize_condition): Likewise.
8411         * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
8412         * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
8413         (limit_reload_class, double_reg_to_memory): Likewise.
8414         (print_operand_address, emit_1600_code_shift): Likewise.
8415         (gen_tst_reg, gen_compare_reg): Likewise.
8416         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
8417         * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
8418         Deleted.
8419         * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
8420
8421         * c-parse.in (methoddef): Call fatal_error instead of fatal.
8422         * objc/objc-act.c (build_ivar_chain): Likewise.
8423         * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
8424         pfatal_with_name.
8425         * graph.c (clean_graph_dump_file): Likewise.
8426         * profile.c (init_branch_prob): Likewise.
8427         * objc/objc-act.c (objc_init): Likewise.
8428
8429         * config/arm/arm.c (arm_override_options): Make errors non-fatal.
8430         * config/avr/avr.c (avr_override_options): Likewise.
8431         * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
8432         * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
8433         * config/h8300/h8300.c (h8300_init_once): Likewise.
8434         * config/mips/mips.c (override_options): Likewise.
8435         * config/i386/i386.c (override_options): Likewise, rework.
8436         * config/m68k/m68k.c (override_options): Likewise.
8437
8438         * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
8439         instead of fatal.
8440         * config/mips/mips.c (print_operand): Likewise.
8441         * hash.c (hash_allocate): Don't check for failure returns from
8442         obstack functions that can't fail.
8443         (hash_table_init_n, hash_table_init): Likewise; also now return void.
8444         * hash.h (hash_table_init_n, hash_table_init): Now return void.
8445         * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
8446         (get_object_reference): Likewise.
8447
8448 2001-02-04  Nick Clifton  <nickc@redhat.com>
8449
8450         * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
8451         StrongARM1110, 10TDMI, and 1020T.
8452
8453 2001-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8454
8455         * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
8456
8457 2001-02-04  Alexandre Oliva  <aoliva@redhat.com>
8458
8459         * config/sh/sh.md (movdf load split): Pass register number to
8460         FP_OR_XD_REGISTER_P.
8461
8462 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
8463
8464         * cppinit.c (BC): New macro.
8465         (builtin_array): Add __GXX_WEAK__.
8466         * cpplib.h (builtin_type): Add BT_WEAK.
8467         * cppmacro.c (builtin_macro): Handle BT_WEAK.
8468         * defaults.h (SUPPORTS_ONE_ONLY): Define.
8469         * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
8470
8471 2001-02-03  Jakub Jelinek  <jakub@redhat.com>
8472
8473         * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
8474
8475 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
8476
8477         * cpphash.h: Rename _ALIGN POOL_ALIGN.
8478         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
8479
8480 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
8481
8482         * cpphash.h: Rename ALIGN _ALIGN.
8483         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
8484
8485 Fri Feb  2 23:15:29 2001  Christopher Faylor <cgf@cygnus.com>
8486
8487         * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
8488         compilation environment.
8489         * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
8490         control over location of cygwin includes and libs.
8491
8492 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
8493
8494         * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
8495
8496 2001-02-02  lars brinkhoff  <lars@nocrew.org>
8497
8498         * md.texi (Standard Names): remove reference to spur.md.
8499
8500 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
8501
8502         * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
8503         (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
8504         (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
8505         * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
8506         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
8507
8508 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8509
8510         * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
8511         c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
8512         number before reload.
8513         (c4x_adjust_cost): Return zero before reload.
8514         * c4x.md (load_immed_address+1, load_immed_address+2): Do not
8515         split before reload.
8516
8517 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8518
8519         * c4x.c (c4x_hard_regno_rename_ok): New.
8520         * c4x-protos.h (c4x_hard_regno_rename_ok): New.
8521         * c4x.h (HARD_REGNO_RENAME_OK): Define.
8522
8523 Fri Feb  2 20:03:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8524
8525         * diagnostic.h: Add missing "extern" in all declarations.
8526
8527 2001-02-02  Alex Samuel  <samuel@codesourcery.com>
8528
8529         * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
8530         as for gcc_gxx_include_dir.
8531
8532 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
8533
8534         * cpp.texi, invoke.texi: Update -Wtraditional documentation.
8535
8536 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
8537
8538         * config/sh/sh.c (output_far_jump): Don't use braf on SH1.  Emit
8539         label before alignment to be used as the braf base address.
8540         * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
8541         branches.
8542         (casesi_jump_2): Require at least TARGET_SH2.
8543
8544         * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
8545         truncation to 32-bit doubles on -m3e and -m4-single-only.
8546
8547 2001-02-02  Mark Mitchell  <mark@codesourcery.com>
8548
8549         * gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
8550         the default when building a shared object.
8551         (init_spec): Use it.
8552         * testsuite/lib/g++.exp: Include the directory where libgcc
8553         is located to the LD_LIBRARY_PATH list.
8554         * invoke.texi (-shared-libgcc): Document the cases in which
8555         GCC defaults to using the shared libgcc.
8556
8557 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
8558
8559         * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
8560         unsigned is wide enough.
8561         (BITS_PER_SI): New.
8562         * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
8563         (si_to_float): Likewise.
8564         (float_to_si, float_to_usi): Use BITS_PER_SI.
8565
8566 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
8567
8568         * dwarf2out.c: Added explanation of abbreviations.
8569         (def_cfa_1): Added comments listing DWARF2 instructions.
8570         (cfa_temp_reg): Removed in favor of cfa_temp.
8571         (cfa_temp_value): Removed in favor of cfa_temp.
8572         (cfa_temp): New global variable.
8573         (dwarf2out_frame_debug_expr): Added extensive introductory
8574         comments explaining the function's transformations.  Revised to
8575         use cfa_temp.  Added some rtx checking.  Generalize IOR case.
8576         (dwarf2out_frame_debug): Revised to use cfa_temp.
8577         (output_aranges): Cast as "unsigned" to avoid warning.
8578         * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
8579         explain which instructions must be marked.
8580
8581 2001-02-01  Richard Henderson  <rth@redhat.com>
8582
8583         * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
8584         new instruction.
8585
8586 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
8587
8588         * config/sh/crt1.asm (main_k): Modified so that start calls
8589         ___setup_argv_and_call_main.
8590
8591 2001-02-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8592
8593         * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
8594         * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
8595         and AVOID_LPASTE is cleared on meeting an unescaped newline.
8596         * cppmacro.c (builtin_macro): Set builtin flags here.
8597         (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
8598         (replace_args): Clarify intent.
8599         (cpp_get_token): Macro expansion tokens get the saved flags.
8600         Update.
8601         * cppmain.c (scan_buffer): Remove now-redundant print.printed
8602         check.
8603
8604 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
8605
8606         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
8607         2001-Jan-29.
8608
8609 Thu Feb  1 07:22:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8610
8611         * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
8612         returns Pmode pseudo, but we need ptr_mode.
8613         * explow.c (allocate_dynamic_stack_space): Use plus_constant.
8614         Remove bogus conversions; use HOST_WIDE_INT for size.
8615         Don't use TARGET if wrong mode.
8616
8617         * config/i386/i386.c (ix86_compute_frame_size): Allow
8618         stack_alignment_needed to be non-default even if size is zero.
8619
8620 2001-01-31  Alan Modra <alan@linuxcare.com.au>
8621
8622         * pa.c (hppa_init_pic_save): New function.
8623         * pa.h (hppa_init_pic_save): Declare.
8624         * pa.md (call, call_value, sibcall, sibcall_value): Use
8625         the above instead of duplicated code.
8626
8627         * pa.c (hppa_encode_label): Correct size of alloca buffer
8628         so we don't overrun it.  Correct leading `*' case.
8629         * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
8630         need to handle `*@'.
8631         (FUNCTION_NAME_P): Likewise.
8632
8633 2001-01-31  Richard Henderson  <rth@redhat.com>
8634
8635         * config.gcc (alpha-osf5): Use float-i128.h.
8636
8637         * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
8638         * config/float-i32.h: Likewise.
8639         * config/float-i64.h: Likewise.
8640         * config/float-sh.h: Likewise.
8641         * config/float-sparc.h: Likewise.
8642
8643 2001-01-31  DJ Delorie  <dj@redhat.com>
8644
8645         * expmed.c (extract_bit_field): allow non-integral modes if we
8646         want to extract a whole register from itself.
8647
8648 2001-01-31  Jakub Jelinek  <jakub@redhat.com>
8649
8650         * c-typeck.c (set_init_index): If first is equal to last, assume as
8651         if it was not a range at all.
8652
8653 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
8654
8655         * config/fp-bit.c: Include tm.h.
8656         (float_to_si): Don't assume SImode is 32-bits wide.
8657         (float_to_usi): Likewise.
8658
8659 2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
8660
8661         * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
8662         incomplete type.
8663         (typename): Call pending_xref_error after parsing typed_typespecs.
8664         * c-decl.c (lookup_tag): Give error immediately rather than
8665         leaving it pending if the tag of the wrong type is in the same
8666         binding level.
8667         (xref_tag): Don't pedwarn for forward declarations of enum types
8668         here.
8669         * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
8670         and enum tags.
8671
8672 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
8673
8674         * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
8675
8676 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8677
8678         * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
8679         (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
8680
8681 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8682
8683         * cpphash.h (struct cpp_reader): New saved_flags.
8684         * cppmacro.c (cpp_get_token): Use saved_flags to remember
8685         to avoid a paste after a pasted token.
8686
8687 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
8688
8689         * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
8690         * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
8691         Wtype_MIN instead of LONG_MIN.
8692
8693 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
8694
8695         * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
8696         README file.
8697         * fixinc/fixincl.x: Regenerated.
8698         * fixinc/inclhack.def (irix_limits_const): New definition to
8699         convert "const" to "__const" in limits.h.
8700
8701 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
8702
8703         * fixinc/genfixes (AG): Fix "autogen4" thinko.
8704
8705 2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8706
8707         * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
8708         when register dies in the insn.
8709
8710 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
8711
8712         * diagnostic.c (fatal): Fix word wrap.
8713
8714 2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
8715
8716         * combine.c (try_combine): Fix SUBREG setting for
8717         HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
8718
8719 2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8720
8721         * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
8722         comparison codes.
8723
8724 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
8725
8726         * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
8727         is not NULL.
8728         * toplev.c (decode_W_option): Update warn_larger_than
8729         unconditionally for each processed switch.
8730
8731 2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8732
8733         * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
8734         to NULL_RTX.
8735         (hppa_expand_prologue): Delete code to save pic offset table register
8736         in the function prologue.
8737         * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
8738         * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
8739         table register at the beginning of the function after the prologue.
8740
8741 2001-01-29  lars brinkhoff  <lars@nocrew.org>
8742
8743         * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
8744
8745 2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8746             Jeff Law <law@redhat.com>
8747
8748         * pa.md (return): Revise comment for trivial return.
8749         (return_internal): Non-trivial return pattern for non-PIC code.
8750         (return_internal_pic): Non-trivial return pattern for PIC code.
8751         It uses the PIC register to ensure it is restored after
8752         function calls.
8753         (epilogue): Generate appropriate return for PIC and non-PIC code.
8754
8755 Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
8756
8757         * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
8758
8759 2001-01-29  DJ Delorie  <dj@redhat.com>
8760
8761         * combine.c (if_then_else_cond): Pass the correct mode to
8762         operand_subword() for constants.
8763
8764 Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
8765
8766         * config/i386/cygwin.h: Add w32api to include search.  Search different
8767         directories in a cross-build environment.
8768
8769 2001-11-29  Tim Josling  <tej@melbpc.org.au>
8770
8771         * tree.h (TYPE_STUB_DECL): Add documentation.
8772
8773 2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
8774
8775         * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
8776         (sdbout_field_types): Likwise.  Fix use of host_integerp.
8777
8778 2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
8779
8780         * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
8781         cygwin.h.
8782
8783 2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
8784
8785         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
8786         to use flag_gnu_linker.
8787
8788 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
8789
8790         * cpplib.c (T_BAD_DIRECTIVE): Remove.
8791         (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
8792
8793 2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
8794
8795         * tree.c, tree.h (build_parse_node): Remove; was identical to
8796         build_nt.
8797         * c-lang.c (start_cdtor), objc/objc-act.c
8798         (build_module_descriptor): Use build_nt instead of
8799         build_parse_node.
8800
8801 2001-01-29  Jakub Jelinek  <jakub@redhat.com>
8802
8803         * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
8804         (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
8805         not have any upper bits set.
8806
8807 2001-01-29  Phil Edwards  <pme@sources.redhat.com>
8808
8809         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
8810
8811 2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8812
8813         * stmt.c (estimate_case_costs): Use integer_minus_one_node.
8814
8815         * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
8816
8817         * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
8818         (integer_minus_one_node): Define.
8819
8820 2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
8821
8822         * Makefile.in (bootstrap2-lean): Fix typo.
8823
8824 2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
8825
8826         * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
8827         : Don't set fe_value.
8828         * cpplib.h (AVOID_LPASTE): New flag.
8829         (struct cpp_hashnode): Remove fe_value.
8830         * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
8831         * cppmacro.c (builtin_macro): Don't set flags here.
8832         (replace_args): Set AVOID_LPASTE flag on first token of an
8833         argument, and the token following it.
8834         (cpp_get_token): Set AVOID_LPASTE flag on first token of a
8835         macro expansion, and on the token following it.  Do it for
8836         builtins too.
8837         * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
8838
8839 2001-01-27  Richard Henderson  <rth@redhat.com>
8840
8841         * config/alpha/t-ieee: Remove multilibbing.
8842         (TARGET_LIBGCC2_CFLAGS): Add -mieee.
8843
8844 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8845
8846         * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
8847
8848         * Makefile.in: Remove all dependencies on defaults.h.
8849         * builtins.c: Don't include defaults.h.
8850         * c-common.c: Likewise.
8851         * c-decl.c: Likewise.
8852         * c-pragma.c: Likewise.
8853         * c-typeck.c: Likewise.
8854         * combine.c: Likewise.
8855         * i386.c: Likewise.
8856         * frame-ia64.c: Likewise.
8857         * cppexp.c: Likewise.
8858         * crtstuff.c: Likewise.
8859         * dbxout.c: Likewise.
8860         * dwarf2out.c: Likewise.
8861         * dwarfout.c: Likewise.
8862         * emit-rtl.c: Likewise.
8863         * except.c: Likewise.
8864         * expr.c: Likewise.
8865         * final.c: Likewise.
8866         * frame-dwarf2.c: Likewise.
8867         * libgcc2.c: Likewise.
8868         * optabs.c: Likewise.
8869         * profile.c: Likewise.
8870         * sdbout.c: Likewise.
8871         * toplev.c: Likewise.
8872         * tradcif.y: Likewise.
8873         * tree.c: Likewise.
8874         * varasm.c: Likewise.
8875
8876 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8877
8878         * builtins.c (expand_builtin_fputs): Use size_one_node when
8879         transforming into fwrite.
8880
8881 2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
8882
8883         * extend.texi (Attribute Syntax): New section.
8884
8885 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
8886
8887         * fixproto: Correctly install synthesised unistd.h and stdlib.h when
8888         they didn't need fixing.
8889
8890 2001-01-27  Janis Johnson <janis@us.ibm.com>
8891
8892         * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
8893         if appropriate.
8894         * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
8895         to remove macro definitions that are duplicated from elfos.h.
8896
8897 2001-01-27  Richard Henderson  <rth@redhat.com>
8898
8899         * config/i386/sco5gas.h: Move ...
8900         * config/usegas.h: ... here.
8901         * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
8902
8903 2001-01-27  Jakub Jelinek  <jakub@redhat.com>
8904
8905         * c-typeck.c (struct constructor_stack): Add range_stack member.
8906         (really_start_incremental_init): Clear it.
8907         (push_init_level): Save constructor_range_stack and clear it if
8908         pushing explicit braces.
8909         (pop_init_level): abort if constructor_range_stack is non-zero at
8910         explicit closing brace.  Restore saved constructor_range_stack if
8911         not implicit.
8912
8913 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
8914
8915         * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
8916         into register was forced into memory.
8917
8918 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
8919
8920         * Makefile.in: Remove uses of + before $(MAKE).
8921
8922 2001-01-26  Richard Henderson  <rth@redhat.com>
8923
8924         * stmt.c (cost_table): Remove.
8925         (COST_TABLE, cost_table_initialized): New.
8926         (estimate_case_costs): Use the later instead of the former.
8927         (balance_case_nodes): Likewise.
8928
8929 2001-01-26  Richard Henderson  <rth@redhat.com>
8930
8931         * alias.c (objects_must_conflict_p): Read-only slots may not
8932         conflict despite having the same type.
8933
8934 2001-01-27  Michael Hayes  <mhayes@redhat.com>
8935
8936         * loop.c (loop_giv_reduce_benefit): Copy mode size into
8937         int variable.
8938         (check_ext_dependant_givs): Initialise u_start_val and
8939         u_end_val.
8940         (load_mems): Make last_max_reg unsigned.
8941         (try_swap_copy_prop): Use INSN_P and initialise set.
8942
8943 Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
8944
8945         * README.AVR : Removed.
8946
8947 Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
8948
8949         * pa-64.h (text_section): Remove declaration.
8950
8951         * pa.md (return_internal): Remove mode on PIC register use.
8952
8953 2001-01-25  lars brinkhoff  <lars@nocrew.org>
8954
8955         * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
8956         ASM_CLOSE_PAREN): fix typos.
8957
8958 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
8959
8960         * acconfig.h: Define `const' to the empty string if neither
8961         __STDC__ nor __cplusplus is defined.
8962         * config.in: Regenerated.
8963
8964 2001-01-25  David Edelsohn  <edelsohn@gnu.org>
8965
8966         * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
8967         * collect2.c (main): Delete importf.  Add ".obj" file extension.
8968         (GCC_CHECK_HDR): Handle AIX V5 new magic number.
8969         (aix_std_libs): Add additional AIX libraries to skip.
8970         * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
8971         * config/rs6000/aix51.h: New file.
8972
8973 2001-01-25  Michael Hayes  <mhayes@redhat.com>
8974
8975         * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
8976         (loop_insn_emit_before): No longer static.
8977         (move_movables): Replace emit_insn_after with loop_insn_emit_after.
8978         (loop_givs_rescan, load_mems): Likewise.
8979         (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
8980         (maybe_eliminate_biv_1):
8981         (move_movables): Replace emit_call_insn_before with
8982         loop_call_insn_hoist.
8983         * loop.h (loop_insn_emit_before): Add.
8984         * unroll.c (copy_loop_body): Replace emit_insn_before with
8985         loop_insn_emit_before.
8986
8987 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
8988
8989         * diagnostic.c (fatal): Request preprocessed source.
8990
8991 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
8992
8993         * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
8994         olddecl has argument types and newdecl has none, use the argument
8995         types from olddecl.
8996
8997 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
8998
8999         * dwarf2out.c (prefix_of): New function.  Determine longest common
9000         prefix of the two arguments.  The units are whole path components.
9001         (output_file_names): When adding a new directory find the one entry
9002         with the longest common prefix already in the list.  Artificially
9003         generate entry if there is none for this prefix.
9004         Fix test to check whether the zeroth directory entry is used.
9005
9006 Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
9007
9008         * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
9009         Changed all callers.  Take it into account when deciding if a
9010         previously loaded value matches.
9011
9012 2001-01-24  Richard Henderson  <rth@redhat.com>
9013
9014         * reload.c (find_reloads_subreg_address): Fail the substitution
9015         if the resulting address is insufficiently aligned.
9016
9017 2001-01-24  DJ Delorie  <dj@redhat.com>
9018
9019         * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
9020         check the original operand's mode also.
9021         * simplify-rtx.c (simplify_ternary_operation): Ditto.
9022
9023 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9024
9025         * c-parse.in (cast_expr): Move compound literals from here ...
9026         (primary): ... to here.  Use standard terminology "compound
9027         literal" instead of "constructor expression".
9028
9029 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9030
9031         * gcc.1, cpp.1: Regenerate.
9032
9033 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
9034
9035         * calls.c (emit_library_call_value_1): Memory slot for
9036         pass-by-reference argument should have the mode of the argument,
9037         not of the pointer to it.
9038
9039 2001-01-24  Tom Tromey  <tromey@redhat.com>
9040
9041         * gcc.texi (G++ and GCC): Mention gcj manual.
9042         (Standards): Link to section of manual mentioning gcj/Java
9043         compatibility.
9044
9045 2001-01-24  Jakub Jelinek  <jakub@redhat.com>
9046
9047         * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
9048         * cppinit.c (cpp_start_read): Remove deps_add_dep call.
9049         * tradcpp.c (main): Add -imacros or -include'd dependencies
9050         for -M*.
9051         * cpp.texi (-M, -MM): Document -M -include behaviour.
9052
9053 2001-01-24  Roger Collins <roger@ProProject.com>
9054
9055         * config/i386/xm-i386.h: Make __i386__ a boolean macro.
9056
9057 2001-01-24  Will Cohen  <wcohen@redhat.com>
9058
9059         * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
9060         whether registers are 32 bits or 64 bits in size.
9061
9062 2001-01-24  Ben Elliston  <bje@redhat.com>
9063
9064         * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
9065
9066 2001-01-24  Richard Henderson  <rth@redhat.com>
9067
9068         * config/alpha/alpha.md (builtin_longjmp_internal): New.
9069         (builtin_longjmp): Use it instead of emit_indirect_jump.
9070
9071 2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9072
9073         * bb-reorder.c (make_reorder_chain_1): Handle case where
9074         jump edge goes to the same block as the fallthru edge.
9075
9076 2001-01-23  Jim Wilson  <wilson@redhat.com>
9077
9078         * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
9079         * frame.h (__ia64_personality_v1): Add prototype.
9080         * libgcc2.c (ia64_throw_helper): Change personality declaration to
9081         prototype form.  Add void * cast to first argument to personality
9082         call.
9083         * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
9084         (asctoe113): Likewise.
9085         * config/ia64/frame-ia64.c: Include eh-common.h.
9086         * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
9087         prototypes.
9088         * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
9089         to dump parameter.
9090         (itanium_split_issue): Add prototype.
9091         (gen_nop_type): Ifdef out.
9092         (find_best_packet): Initialize best_packet.
9093         (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
9094         result.
9095         * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
9096         * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
9097         (flushrs): Add explicit stop bit at end.
9098         * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
9099         trailing \ to >.
9100
9101 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
9102
9103         * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
9104         of EH symbols.
9105         * libgcc2.c (__terminate_func): Make variable static.
9106         (__terminate_set_func): New function to set __terminate_func.
9107         * libgcc2.h (__terminate_func_ptr): New typedef.
9108         (__terminate_set_func): New function.
9109
9110 2001-01-23  Richard Henderson  <rth@redhat.com>
9111
9112         * flow.c (init_propagate_block_info): Don't consider unchanging
9113         memories for dead frame store elimination.
9114
9115 2001-01-23  Richard Henderson  <rth@redhat.com>
9116
9117         * varasm.c (UNIQUE_SECTION): Move default implementation ...
9118         * defaults.h: ... here.
9119
9120 2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9121
9122         * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
9123
9124 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
9125
9126         * c-lex.c (lex_charconst): Fix typo: s/p/str.
9127
9128 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9129
9130         * rs6000.h (rs6000_return_addr): Move prototype from here...
9131         * rs6000-protos.h (rs6000_return_addr): ...to here.
9132         (rs6000_init_expanders): Delete prototype.
9133
9134 2001-01-23  Nick Clifton  <nickc@redhat.com>
9135
9136         * invoke.texi: Replace , with \, inside @gccoptlist macros.
9137         (Spec Files): Document %B and %j and %. and %v3 and %M and
9138         %{S*&T} spec switches.
9139
9140 2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9141
9142         * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
9143
9144 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
9145             Neil Booth  <neil@daikokuya.demon.co.uk>
9146
9147         * cpperror.c: Merge handlers of PEDWARN and WARNING.
9148         Have -Werror make pedantic warnings errors, like the
9149         rest of GCC.
9150
9151 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
9152
9153         * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
9154
9155 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
9156
9157         * integrate.h (struct inline_remap): Add compare_src, compare_mode.
9158         * integrate.c (expand_inline_function): Initialize them.
9159         (subst_constants): If changing COMPARE so that both its arguments
9160         will be VOIDmode and the comparison mode will be lost, note
9161         compare_mode.  Use the recorded compare_mode to optimize
9162         IF_THEN_ELSE.
9163
9164 2001-01-23  Jason Merrill  <jason@redhat.com>
9165
9166         * dwarf2out.c (new_die): Use xcalloc.
9167         (output_die): Abort rather than emit a local reference to offset 0.
9168
9169 2001-01-17  Andrew Haley  <aph@redhat.com>
9170
9171         * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
9172         of a saved register; return NULL instead.
9173         (copy_reg): Take a pointer to a source register rather than a
9174         frame_state.
9175         (next_stack_level): Remember the address in the stack frame of all
9176         saved registers.
9177         Use the saved register pointer array as the source of the CFA.
9178         (throw_helper): Rewrite.  Unwind once rather than twice and keep
9179         track of saved registers as we go.
9180
9181 2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9182
9183         * c4x-protos.h (c4x_legitimize_reload_address): Remove.
9184         * c4x.c (c4x_legitimize_reload_address): Remove.
9185         * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
9186         reload address for ldp(k) insn.
9187
9188 Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
9189
9190         * pa.md (return_internal): Add a USE of the PIC register to ensure
9191         it is restored after each call.
9192         (return expander): Corresponding changes.
9193
9194 2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9195
9196         * rs6000.h (INIT_EXPANDERS): Delete.
9197         (RETURN_ADDR_RTX): Call rs6000_return_addr().
9198         * rs6000.c (rs6000_override_options): Call *_machine_status from
9199         here...
9200         (rs6000_init_expanders): ...instead of here. Delete.
9201         (rs6000_mark_machine_status): New function.
9202         (rs6000_init_machine_status): Use xcalloc.
9203         (rs6000_return_addr): Generate RTX for the return address.
9204         (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
9205         (rs6000_stack_info): Use it.
9206
9207 2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
9208
9209         * gthr-win32.h: Include errno.h to get a declaration for
9210         EINVAL and _mingw.h if the target is mingw32.
9211
9212 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
9213
9214         * cpp.texi: Correct typos.
9215
9216 Mon Jan 22 13:59:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9217
9218         * explow.c (probe_stack_range): Ensure value passed to
9219         stack_check_libfunc is ptr_mode, not Pmode.
9220
9221 Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
9222
9223         * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
9224         case, don't use operand_subword to calculate a SUBREG that is
9225         wider than a word.
9226
9227         * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
9228
9229 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9230
9231         * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
9232         (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
9233         valid.  If not replace it by equivalent insns.
9234
9235 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9236
9237         * c4x.c (c4x_check_legit_addr): Only check CONST.  Not if CONST
9238         contains SYMBOL_REF, LABEL_REF and CONST_INT.
9239         (c4x_U_constraint, symbolic_address_operand): Likewise.
9240         (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
9241         memory.
9242         (c4x_r11_set_p, c4x_check_laj_p): New functions.
9243         * c4x-protos.h (c4x_check_laj_p): Add prototype.
9244         * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
9245         anulling slot because of silicon bug.
9246         (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
9247
9248 2001-01-22  Alan Modra <alan@linuxcare.com.au>
9249
9250         * cppexp.c (parse_charconst):  Change `mask' type to agree
9251         with parse_escape.
9252
9253 2001-01-21  Richard Henderson  <rth@redhat.com>
9254
9255         * config/i386/i386.c (ix86_asm_file_end): Disable putting
9256         pic_label_name in a linkonce section.
9257
9258 2001-01-17  Philipp Thomas  <pthomas@suse.de>
9259
9260         * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
9261         found in libintl.
9262         * configure: Regenerate.
9263
9264 Sun Jan 21 02:38:56 2001  J"orn Rennecke <amylaar@redhat.com>
9265
9266         * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
9267         uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
9268
9269 Sun Jan 21 09:44:17 2001  Denis Chertykov  <denisc@overta.ru>
9270
9271         * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
9272         If REVERSE nonzero then condition code in X must be reversed.
9273         (encode_section_info): Optimise if/else.
9274         (avr_function_value): Fix formatting.
9275
9276         * config/avr/avr.md (branch): Call to ret_cond_branch changed.
9277         (difficult_branch): Likewise.
9278         (rvbranch): Likewise.
9279         (difficult_rvbranch): Likewise.
9280
9281         * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
9282
9283         * config/avr/libgcc.S: Fix comment.
9284
9285 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9286
9287         * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
9288
9289 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9290
9291         * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
9292
9293 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9294
9295         * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
9296         * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
9297         * configure, config.in: Regenerate.
9298         * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
9299         (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
9300         (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
9301         (doprint.o): New rule.
9302
9303 2001-01-20  Joseph S. Myers  <jsm28@cam.ac.uk>
9304
9305         * c-typeck.c (digest_init): Handle boolean types as scalars.
9306
9307 Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9308
9309         * stmt.c (expand_return): Don't return anything if size is zero.
9310         Delete redundant assignment to BYTES.
9311         * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
9312
9313 2001-01-20  Marek Michalkiewicz  <marekm@linux.org.pl>
9314
9315         * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
9316         the same as the default library function names.
9317         * config/avr/avr.md: Document special characters after '%'.
9318         (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
9319         knowing which of the call-used registers are really clobbered.
9320         (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
9321         New.  Both quotient and remainder from one libgcc.S call.
9322         * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
9323         clobber as few registers as possible.
9324         * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
9325
9326 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
9327
9328         * cppmacro.c (funlike_invocation_p): Don't move back up to the
9329         context of the top of the stack.
9330
9331 2001-01-20  Jakub Jelinek  <jakub@redhat.com>
9332
9333         * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
9334         (fixup_var_refs_insns): ...here.
9335
9336 2001-01-20  Zack Weinberg  <zack@wolery.stanford.edu>
9337
9338         * function.c (fixup_var_refs_insns): Break up into
9339         fixup_var_refs_insn [body of loop], fixup_var_refs_insns
9340         [loop over entire insn list], and fixup_var_refs_insns_with_hash
9341         [loop over hash table entries].
9342         (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
9343         fixup_var_refs_insns_with_hash, to match above changes.
9344
9345 2001-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9346
9347         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
9348         (libgcc.a): Likewise.
9349         (stmp-multilib): Likewise.
9350         (STAGE2_FLAGS_TO_PASS): Likewise.
9351
9352 2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
9353
9354         * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
9355         temporary if no_new_pseudos.
9356
9357 2001-01-19  Neil Booth  <neil@daikokuya.demon.co.uk>
9358
9359         * cppinternals.texi: Update.
9360
9361 2001-01-19  Richard Earnshaw  <rearnsha@arm.com>
9362
9363         * arm.c (arm_init_builtins): Re-enable builtins.
9364
9365 Fri Jan 19 13:02:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9366
9367         * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
9368         * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
9369         element to be null, and always expect an EXPR_LIST.
9370         * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
9371         * sched-deps.c (sched_analyze_1): Likewise.
9372         * sched-rgn.c (check_live_1, update_live_1): Likewise.
9373
9374         * regclass.c (max_set_parallel): New variable.
9375         (reg_scan): Take it into account in computation of max_parallel.
9376         (reg_scan_mark_refs, case SET): Compute it.
9377
9378         * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
9379         args are REG.
9380         * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
9381         * function.c (assign_parms): Use INTVAL for a CONST_INT.
9382
9383 2001-01-19  Jason Merrill  <jason@redhat.com>
9384
9385         * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
9386         for the abstract instance of an inline function.
9387
9388 Fri Jan 19 14:31:35 2001  Alexandre Oliva  <aoliva@redhat.com>
9389                           J"orn Rennecke <amylaar@redhat.com>
9390
9391         * reload1.c (move2add_note_store): Treat all registers directly or
9392         indirectly derived from a base register as members of the same set
9393         of values.
9394         (reload_cse_move2add): Adjust accordingly.  Take mode and offset
9395         of base register into account.
9396
9397 Fri Jan 19 09:18:42 2001  J"orn Rennecke <amylaar@redhat.com>
9398
9399         * alias.c (find_base_value): Recognize TRUNCATE.
9400         (record_set): In PLUS case, invalidate if other summand is also a
9401         base value.
9402
9403 Thu Jan 18 06:43:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9404
9405         * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
9406         entry to be EXPR_LIST.
9407         * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
9408         be an EXPR_LIST (but not null, which other code doesn't allow).
9409         (note_stores): Properly handle PARALLEL in SET.
9410         Recursively call for top-level PARALLEL.
9411         * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
9412         * sched-rgn.c (check_live_1, update_live_1): Likewise.
9413
9414         * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
9415
9416 2001-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
9417
9418         * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
9419         not pfile->skipping (== 0).
9420
9421 2001-01-17  Nick Clifton  <nickc@redhat.com>
9422
9423         * config/rs6000/rs6000.c: Add prototypes for {init|free}_
9424         machine_status.
9425
9426 2001-01-17  Jim Wilson  <wilson@redhat.com>
9427
9428         * invoke.texi (IA-64 options): Improve.
9429
9430 2001-01-17  Tom Tromey  <tromey@redhat.com>
9431
9432         * invoke.texi (Optimize Options): Use `{}' to around @samp
9433         argument.
9434
9435 2001-01-17  Aldy Hernandez  <aldyh@redhat.com>
9436
9437         * invoke.texi (-fno-guess-branch-probability): New option.
9438
9439 Wed Jan 17 13:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9440
9441         * combine.c (try_combine): Don't set i3_subst_into_i2 for
9442         case of making new double-word constant.
9443         Revert last change: instead just test i3_subst_into_i2.
9444
9445 2001-01-17  Jakub Jelinek  <jakub@redhat.com>
9446
9447         * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
9448         Use q constraints instead of r.
9449
9450 Tue Jan 16 22:23:04 2001  Alan Modra (alan@linuxcare.com.au)
9451
9452         * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
9453         (machine_function): Define.
9454         (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
9455         * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
9456         pa_free_machine_status): New functions.
9457         (override_options): Set {init,mark,free}_machine_status to above.
9458         (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
9459         PIC_OFFSET_TABLE_REGNUM_SAVED.
9460         * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
9461         PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
9462         * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
9463         references to PIC_OFFSET_TABLE_REGNUM_SAVED.
9464         * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
9465
9466 2001-01-15  DJ Delorie  <dj@redhat.com>
9467
9468         * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
9469         (cpp.1): Ditto.
9470         (gcc.1): Ditto.
9471
9472 Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9473
9474         * flow.c (propagate_on_insn): Make trying to delete a prologue
9475         or epilogue insn an ICE, not a warning.  Allow doing this if
9476         the current function returns with stack pointer depressed.
9477
9478         * combine.c (try_combine): If i3_subst_into_i2, properly check for
9479         I3 having more than one SET.
9480
9481 2001-01-16  Jim Wilson  <wilson@redhat.com>
9482
9483         * invoke.texi: Document IA-64 options.
9484
9485         * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
9486         (fixup_errata): Delete TARGET_A_STEP use.
9487         * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
9488         (TARGET_SWITCHES): Delete -ma-step option.
9489         * config/ia64/ia64.md (all FP patterns): Delete %B0.
9490         (movqicc_astep, movqi_internal_astep, movhicc_astep,
9491         movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
9492         movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
9493         movdfcc_astep, movdf_internal_astep, movtfcc_astep,
9494         movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
9495         Delete.
9496         (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
9497         movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
9498         cmovsi_internal): Delete ! TARGET_A_STEP check.
9499
9500 2001-01-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9501
9502         * gcc.texi (Bug Lists): Do not mention newsgroups nor the
9503         possibility to report bugs via postal mail. Change a URL and
9504         merge in a nearly duplicate statement...
9505         (Bug Reporting): ...from here.
9506         (Service): Refer to the Bug Reporting section instead of
9507         duplicating an URL.
9508         (Contributing): Remove trivial explanations concerning snapshots.
9509
9510 2001-01-16  Alan Modra <alan@linuxcare.com.au>
9511
9512         * cppmain.c (general_init): Don't use ANSI prototype.
9513
9514 2001-01-16  Tom Tromey  <tromey@redhat.com>
9515
9516         * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
9517
9518 2001-01-16  Richard Henderson  <rth@redhat.com>
9519
9520         * config/i386/i386.h: Fix comment typo.
9521         * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
9522         (ashr+compare patterns): Match CCGOCmode not CCNOmode.
9523
9524 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
9525
9526         * gcc.c:  Revert previous -fsyntax-only-related change; move
9527         to cp/g++spec.c.
9528
9529 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
9530
9531         * config/i386/i386.c (fcmov_comparison_operator): Only initialize
9532         inmode after checking GET_CODE (op).
9533
9534 2001-01-16  Richard Henderson  <rth@redhat.com>
9535
9536         * flow.c (struct propagate_block_info): Add mem_set_list_len.
9537         (MAX_MEM_SET_LIST_LEN): New.
9538         (propagate_one_insn): Update mem_set_list_len.
9539         (invalidate_mems_from_autoinc): Likewise.
9540         (invalidate_mems_from_set): Likewise.
9541         (mark_used_regs): Likewise.
9542         (init_propagate_block_info): Likewise.  Stop collecting memories
9543         when we reach MAX_MEM_SET_LIST_LEN.
9544         (mark_set_1): Likewise.
9545
9546 2001-01-16  Richard Henderson  <rth@redhat.com>
9547
9548         * unroll.c (precondition_loop_p): Fail if no iteration
9549         variable found.
9550
9551 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
9552
9553         * gcc.c:  When -fsyntax-only is given, do not complain about
9554         unused libraries.
9555
9556 2001-01-15  Richard Henderson  <rth@redhat.com>
9557
9558         * config/i386/i386.c (asm_output_function_prefix): Remove.
9559         (ix86_asm_file_end): New.
9560         (load_pic_register): Generate pic_label_name into a
9561         staticly allocated buffer.
9562         * config/i386/i386-protos.h: Update.
9563         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
9564         (ASM_FILE_END): New.
9565         * config/i386/i386afe.h: New file.
9566         * config.gcc (i?86-*-elf) [tm_file]: Use it.
9567         (i?86-*-{freebsd,linux*,moss*}): Likewise.
9568         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
9569         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
9570         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
9571         * config/i386/sco5.h (ASM_FILE_END): Likewise.
9572         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
9573
9574 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
9575
9576         * Makefile.in (install-man): Remove explicit dependency on
9577         $(srcdir)/gcc.1.
9578
9579         * configure.in, configure: Revert previous patch requiring perl
9580         5.6.0.
9581
9582 2001-01-12  Aldy Hernandez  <aldyh@redhat.com>
9583
9584         * toplev.c (flag_guess_branch_prob): New.
9585         (f_options): Add guess-branch-probability option.
9586         (rest_of_decl_compilation): Only estimate branch probability if
9587         flag set.
9588         (main): set flag_guess_branch_prob.
9589
9590         * flags.h (flag_guess_branch_prob): New.
9591
9592 2001-01-15  DJ Delorie  <dj@redhat.com>
9593
9594         * gcc.texi (Makefile): Add documentation for Makefile targets.
9595
9596 2001-01-15  Philip Blundell  <philb@gnu.org>
9597
9598         * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
9599         (is_pic): Delete.
9600         * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
9601         (is_pic): Delete declaration.
9602         * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
9603         (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
9604         * config/arm/arm.md (builtin_setjmp_receiver): New.
9605
9606 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9607
9608         * arm.c (use_return_insn): Don't try to determine the function type
9609         until after reload has completed.
9610         (arm_output_epilogue): Don't adjust the sp value recovered from the
9611         stack.
9612         (emit_multi_reg_push): Don't record dwarf information for the pc.
9613         * arm.md (eh_epilogue): The function type may have changed, so it
9614         needs to be recalculated.
9615         * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete.  Can now use dwarf2
9616         unwind tables on arm/netbsd.
9617
9618 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9619
9620         * arm.md (cbranchsi4): Correct calculation of branch ranges.
9621         (negated_cbranchsi4): Likewise.
9622
9623 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9624
9625         * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
9626         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
9627         (ASM_SPEC): Call subtarget_extra_asm_spec.  Don't
9628         pass -mapcs-* options to assembler.
9629         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
9630         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
9631         (ASM_SPEC): Call subtarget_extra_asm_spec.
9632
9633 2001-01-15  Andreas Jaeger  <aj@suse.de>
9634
9635         * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
9636         warnings.
9637         (ix86_expand_builtin): Likewise.
9638
9639         * gencodes.c (output_predicate_decls): Make i size_t to avoid
9640         warning about comparison between signed and unsigned.
9641
9642 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
9643
9644         * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
9645
9646 2001-01-14  Ralf Baechle <ralf@gnu.org>
9647
9648         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
9649         SUBTARGET_CPP_SPEC apropriatly.
9650
9651 2001-01-12  Mark Mitchell  <mark@codesourcery.com>
9652
9653         * varasm.c (make_decl_rtl): Fix typo in last change.
9654
9655 2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>
9656
9657         * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
9658         linker supports the init_priority C++ attribute.
9659         * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
9660         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
9661         linker does not support init_priority C++ attribute.
9662
9663 Sun Jan 14 22:31:30 2001  J"orn Rennecke <amylaar@redhat.com>
9664
9665         * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
9666
9667 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
9668
9669         * c-parse.in (finish_parse): Add comment about cpp_destroy.
9670         * cp/lex.c (finish_parse): Similarly.
9671         * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
9672         Return the number of errors encountered.
9673         * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
9674         * cppmain.c (main): Don't call cpp_destroy.
9675
9676 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
9677
9678         * configure.in: Require at least perl 5.6.0 to regenerate
9679         manpages.
9680         * configure: Regenerate.
9681
9682 2001-01-14  Richard Henderson  <rth@redhat.com>
9683
9684         * genrecog.c (DT_veclen_ge): New.
9685         (add_to_sequence) [MATCH_PARALLEL]: Generate one.
9686         (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
9687         (nodes_identical_1): Handle DT_veclen_ge.
9688         (write_cond, debug_decision_2): Likewise.
9689
9690 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
9691
9692         * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
9693         with ...
9694         (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
9695
9696 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
9697
9698         * cppmain.c (do_preprocessing): New function; most of the old
9699         main.
9700         (main): Call it to do most of the work.
9701         (cb): Move from global scope to set_callbacks ().
9702         (setup_callbacks): Get the callback pointer.
9703         (general_init, printer_init): Clean up code and comments.
9704
9705 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
9706
9707         * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
9708         compiling PIC.
9709
9710 2001-01-14  Kazu Hirata  <kazu@hxi.com>
9711
9712         * config/h8300/h8300.c (get_shift_alg): Update comments.
9713
9714 Sun Jan 14 06:20:49 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9715
9716         * ggc-page.c (alloc_annon): Call perror and correctly call exit.
9717         (alloc_page, ggc_alloc): Add casts to remove warnings.
9718
9719 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
9720
9721         * combine.c (simplify_comparison): Don't change `code' when
9722         can't reverse comparison.
9723
9724 2001-01-14  Richard Henderson  <rth@redhat.com>
9725
9726         * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
9727         update all call sites.  Return true for all non-label constants.
9728
9729 Sun Jan 14 10:09:48 MET 2001  Jan hubicka  <jh@suse.cz>
9730
9731         * i386.c (ix86_expand_compare): Add bypass_test and second_test
9732         parameters.
9733         (ix86_expand_branch): Update.
9734         (ix86_expand_setcc): Update to handle multiple test conditions.
9735         (expand_int_movcc): Likewise.
9736         (expand_fp_movcc): Likewise.
9737         * i386-protos.h (ix86_expand_compare): New.
9738         * i386.md (andqi_?_slp, orqi_?_slp): New.
9739         (conditional trap expander): Update call to ix86_expand_compare.
9740
9741 2001-01-14  Richard Henderson  <rth@redhat.com>
9742
9743         * config/vax/vax.md: Use nonimmediate_operand instead of
9744         general_operand in destinations.
9745
9746         * config/vax/vax.md (indirect_jump): Use register_operand.
9747
9748         * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
9749         * config/vax/vax.md (call_pop): Turn into an expander.
9750         (call_value_pop): Likewise.
9751         (call, call_value): New.
9752
9753 2001-01-14  Andreas Jaeger  <aj@suse.de>
9754
9755         * config/i386/i386.c (ix86_split_fp_branch): Remove unused
9756         variables.
9757         (ix86_fp_compare_mode): Add unused attribute.
9758         (ix86_expand_fp_movcc): Remove unused variable.
9759         (ix86_expand_builtin): Make fcode unsigned.
9760
9761         * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
9762         (expand_expr): Add cast to avoid signed warning.
9763         (store_field): Likewise.
9764         (store_constructor_field): Likewise.
9765         (store_constructor): Likewise.
9766         (store_expr): Likewise.
9767         (clear_storage): Likewise.
9768         (emit_group_store): Likewise.
9769         (emit_group_load): Likewise.
9770
9771 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
9772
9773         * c-common.c: Move format checking code to ...
9774         * c-format.c: ... here.  New file.  Reorder some functions and
9775         declarations.
9776         (decl_handle_format_attribute, decl_handle_format_arg_attribute):
9777         New functions.
9778         * c-common.h (decl_handle_format_attribute,
9779         decl_handle_format_arg_attribute): Declare.
9780         * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
9781         (c-common.o): Adjust dependencies.
9782         (c-format.o): New list of dependencies.
9783
9784 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
9785
9786         * unroll.c (loop_iterations): If we cannot prove iteration variable
9787         is set once in each iteration, punt.
9788
9789 Sun Jan 14 00:23:15 2001  Denis Chertykov  <denisc@overta.ru>
9790
9791         * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
9792         (*strlenhi): Remove clobber (which was buggy) of output address.
9793
9794 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
9795
9796         * Makefile.in (generated-manpages): Add gcc.1
9797         ($(srcdir)/gcc.1): New target.
9798         (maintainer-clean): Delete $(srcdir)/gcc.1.
9799         * gcc.texi: Add macros @gccoptlist and @gol.
9800         * invoke.texi: Include option summary in manpage.  Mark up option
9801         summary with @gccoptlist and @gol.  Use @r in one place where
9802         appropriate.
9803         * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
9804         * gcc.1: Generate from invoke.texi.
9805
9806 2001-01-13  Richard Henderson  <rth@redhat.com>
9807
9808         * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
9809         (struct page_entry): Add group member.
9810         (struct page_group): New.
9811         (struct globals): Add page_groups member.
9812         (alloc_anon): Only define for using mmap; remove valloc call.
9813         (page_group_index): New.
9814         (set_page_group_in_use): New.
9815         (clear_page_group_in_use): New.
9816         (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
9817         (free_page, release_pages): Likewise.
9818         * configure.in (with-gc): Default to ggc-page always.
9819
9820 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
9821
9822         * reload1.c (replace_pseudos_in_call_usage): Use
9823         reg_equiv_constant and reg_equiv_address, and don't try
9824         regno_reg_rtx first.
9825
9826 2001-01-13  Richard Henderson  <rth@redhat.com>
9827
9828         * ggc-page.c (alloc_page): Round up allocation size to one page.
9829         Set e->order on extra pages.
9830
9831 2001-01-13  Richard Henderson  <rth@redhat.com>
9832
9833         * genrecog.c (nodes_identical): Expand commentary.
9834         (write_switch): Watch out for identical nodes.
9835
9836 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9837
9838         * cppfiles.c (_cpp_fake_include): New function.
9839         * cpphash.h (_cpp_fake_include): New.
9840         * cpplib.c (do_line): Call _cpp_fake_include when entering
9841         header files in preprocessed input.
9842         * cppmain.c (cb_pragma_implementation): Remove handling.
9843         (setup_callbacks): Don't register pragmas.
9844
9845 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9846
9847         * extend.texi: Udate for CPP.
9848
9849 2001-01-13  Andreas Jaeger  <aj@suse.de>
9850
9851         * reload1.c: Add prototype for replace_pseudos_in_call_usage.
9852
9853         * regmove.c: Add prototype for replace_in_call_usage.
9854
9855 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9856
9857         * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
9858         struct cpp_chunk, struct htab, struct toklist,
9859         struct cpp_context, CPP_STACK_MAX, struct lexer_state,
9860         struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
9861         CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
9862         ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
9863         (struct macro_args): Delete.
9864         * cpphash.h: See above.
9865
9866 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9867
9868         * cppmain.c (struct printer): Remove no_line_dirs.
9869         (options, cb): New.
9870         (main, setup_callbacks, scan_buffer, printer_init, cb_define)
9871         : Use options rather than CPP_OPTION.
9872         (setup_callbacks): Use cb rather than pfile->cb.
9873         (main): No need to check for a buffer.  Use cpp_errors.
9874         (printer_init): Don't set no_line_dirs.
9875         (maybe_print_line): Use options not no_line_dirs.
9876         (cb_file_change): Don't call print_line if -P.
9877
9878 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9879
9880         * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
9881         callbacks.
9882         * c-parse.in (finish_parse): Use cpp_errors.
9883         (__yylex): Use return value of cpp_pop_buffer.
9884         * cp/lex.c (finish_parse): Use cpp_errors.
9885         * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
9886
9887 Sat Jan 13 16:57:40 2001  Denis Chertykov  <denisc@overta.ru>
9888
9889         * README.AVR: URLs corrected.
9890
9891 Sat Jan 13 07:30:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9892
9893         * c-decl.c (start_function): Don't warn if old prototype is builtin
9894         that's not in C's namespace.
9895         * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
9896         (_bb): Add prototype for ctime.
9897         * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
9898
9899 Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
9900
9901         * i386.c (ix86_fp_comparison_arithmetics_cost,
9902         ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
9903         ix86_fp_comparison_cost): New functions.
9904         (ix86_expand_fp_compare): Use the costs to choose best bethod; add
9905         two new parameters SECOND_TEST and BYPASS_TEST; allow generating
9906         two-branch sequences; make static.
9907         (ix86_use_fcomi_compare): Do decision according to the costs.
9908         (split_fp_branch): New.
9909         * i386.md (compare-and-branch patterns): Use split_fp_branch.
9910         * i386-protos.h (ix86_expand_fp_compare): Remove
9911         (ix86_split_fp_branch): Declare.
9912
9913         * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
9914         and ix86_comparison_operator.
9915
9916         * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
9917         to make it cheaper.
9918
9919         * i386.c (put_condition_code): Output properly the unordered/ordered
9920         compares in fp case.
9921         (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
9922
9923         * tm.texi (REVERSE_CONDITION): Document.
9924         * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
9925         in -ffast-math mode.
9926         * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
9927
9928 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
9929
9930         * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
9931
9932         * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
9933         optimized away.
9934
9935         * config/sh/sh.c (mova_p): Fix test for mova_const.
9936
9937 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9938
9939         * fix-header.c (read_scan_file): Use cpp_get_callbacks and
9940         cpp_get_options rather than dereferencing pfile and using
9941         CPP_OPTION.
9942         * scan-decls.c (scan_decls): Use return value of
9943         cpp_pop_buffer rather than CPP_BUFFER.
9944
9945 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9946
9947         * cppinit.c (cpp_handle_option): help_only is now part of the
9948         cpp_options structure.
9949         * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
9950         cpp_set_callbacks): New functions.
9951         * cpplib.h (cpp_callbacks): Break out as a named structure.
9952         (cpp_options): Move help_only here from cpp_reader.
9953         (CPP_FATAL_ERRORS): Update to use cpp_errors.
9954         (cpp_errors, cpp_get_options, cpp_get_callbacks,
9955         cpp_set_callbacks): New prototypes.
9956         * cppmain.c (main): Update for help_only.
9957
9958 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
9959
9960         * Makefile.in (info, maintainer-clean, install-info, uninstall):
9961         Also build and remove and install and uninstall c-tree.info and
9962         cppinternals.info.
9963         ($(srcdir)/gcc.info): Add dependency on contrib.texi.
9964         ($(srcdir)/cppinternals.info): New target.
9965         * c-tree.texi: Change file name used when makeinfo used without -o
9966         from ir.info to c-tree.info.  Add info directory entry.
9967         * cppinternals.texi: Add info directory entry.
9968         * .cvsignore: Update.
9969
9970 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
9971
9972         * c-typeck.c (store_init_value): Don't require constant initializer
9973         elements with -pedantic -std=c99.
9974         (digest_init): Change error about non-constant initializer elements
9975         into pedwarn.
9976         (constructor_range_end): Remove.
9977         (constructor_incremental, designator_depth,
9978         designator_errorneous): New variables.
9979         (struct constructor_stack): Remove range_end, add incremental.
9980         (struct constructor_range_stack, constructor_range_stack): New.
9981         (struct initializer_stack): Add constructor_range_stack.
9982         (finish_init): Set it.
9983         (start_init): Likewise.  require_constant_elements for non-static
9984         trees only if not flag_isoc99.
9985         (really_start_incremental_init): Remove constructor_range_end, add
9986         constructor_incremental.
9987         (pop_init_level): Likewise.
9988         (push_init_level): Likewise.  If implicit and the subobject had some
9989         value set already, preinitialize the level with it.
9990         Warn about missing braces only if not pushing due to designators.
9991         (set_designator, push_range_stack): New functions.
9992         (set_init_label): Use them.
9993         (set_init_index): Likewise.  Remove constructor_range_end.
9994         Error if designator index is outside of array bounds.
9995         (add_pending_init): Compare values of purpose index trees, not the
9996         trees themselves.  Allow overwriting of already initialized element.
9997         Issue a warning if it had side-effects.
9998         (set_nonincremental_init, set_nonincremental_init_from_string): New
9999         functions.
10000         (pending_init_member): Rename to...
10001         (find_init_member): ...this function.  Call set_nonincremental_init
10002         if necessary.  Compare values of purpose index trees, not the trees
10003         themselves.  Return the actual value, not just non-zero if something
10004         is found.
10005         (output_init_element): Remove checks for duplicates.
10006         If field has zero size, only check the initializer for correctness.
10007         Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
10008         if constructor_incremental is zero.  Change error about initializers
10009         not computable at load time into pedwarn.
10010         (output_pending_init_elements): Compare bit positions, not
10011         FIELD_DECLs to take into account zero-sized fields.
10012         (process_init_element): Use constructor_range_stack to fill all
10013         ranges in the designator lists from current level up.
10014         * extend.texi: Update documentation for labeled elements.
10015
10016 2001-01-12  Alexandre Oliva  <aoliva@redhat.com>
10017
10018         * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
10019         to function usage for arguments passed by reference.  Optimize
10020         callee-copied arguments.
10021         * regmove.c (replace_in_call_usage): New function.
10022         (fixup_match_1): Call it.
10023         * cse.c (cse_insn): Canonicalize registers in function usage.
10024         * reload1.c (replace_pseudos_in_call_usage): New function.
10025         (reload): Call it.
10026
10027         * Makefile.in: Reverted yesterday's wrong patch.  Installed the
10028         right version.
10029
10030 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
10031
10032         * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
10033         not XEXP (tmp, 0).
10034
10035 2001-01-12  DJ Delorie  <dj@redhat.com>
10036
10037         * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
10038         restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
10039         targets.
10040
10041 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
10042
10043         * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
10044         tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
10045         -std options alongside references to -ansi.  Update some
10046         documentation for C99.
10047         * cpp.1: Regenerate.
10048
10049 2001-01-12  Andreas Jaeger  <aj@suse.de>
10050
10051         * haifa-sched.c (restore_line_notes): Remove argument block B
10052         since it's unused.
10053         * sched-ebb.c (schedule_ebb): Change caller.
10054         * sched-rgn.c (schedule_region): Likewise.
10055         * sched-int.h (restore_line_notes): Adjust prototype.
10056
10057         * loop.h: Remove wrong declaration of doloop_condition_get.
10058
10059 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
10060
10061         * extend.texi:  Move C++-extension-related node from the C section
10062         into the C++ section.
10063
10064 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
10065
10066         * extend.texi: Refer to an array of pointers to functions instead
10067         of one of functions.
10068
10069 Fri Jan 12 12:08:12 MET 2001  Andreas Jaeger  <aj@suse.de>
10070                               Jan Hubicka  <jh@suse.cz>
10071
10072         * combine.c (reversed_comparison): Fix typo in last patch.
10073         Check X for NULL.
10074         (combine_reversed_comparison_code): Make static to follow
10075         prototype declaration.
10076
10077 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
10078
10079         * install.texi:  Remove misplaced duplicate entry.
10080
10081 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
10082
10083         * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
10084
10085 Thu Jan 11 17:06:30 EST 2001  John Wehle  (john@feith.com)
10086
10087         * final.c: (leaf_function_p): Fix typo.
10088
10089 2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>
10090
10091         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
10092         Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
10093         which you have.
10094         (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
10095         * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
10096         mmap_anon, and valloc is available.
10097         * ggc-page.c: Restructure ifdef logic to match new autoconf
10098         spec.  Don't throw away the test page in init_ggc.
10099
10100         * configure, config.in: Regenerate.
10101
10102 2001-01-12  Michael Hayes  <mhayes@redhat.com>
10103
10104         * loop.h (total_biv_increment): Constify iv_class pointer.
10105         (struct induction): Replace `mem_mode' with `mem' rtx.
10106         * unroll.c (total_biv_increment): Constify iv_class pointer.
10107         * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
10108         (find_mem_givs, combine_givs_p): Likewise.
10109         (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
10110
10111 2001-01-10  Thomas Pfaff <tpfaff@gmx.net>
10112
10113         * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
10114         LastError.
10115         (__gthread_getspecific): Ditto.
10116
10117 Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
10118
10119         * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
10120         put_condition_code): Convert fp comparison codes to integer
10121         before handling.
10122         (ix86_expand_fp_compare): Postnote the fp comparison code converison
10123         to final.
10124
10125         * i386.c (unsigned_comparison, no_comparison_operator): Kill.
10126         * i386-protos.h (no_comparison_operator): Kill.
10127
10128         * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
10129
10130         * combine.c (REVERSIBLE_CC_MODE): Remove.
10131         (reversible_comparison_p): Remove.
10132         (combine_reversed_comparison_code): New.
10133         (reversed_comparison): New.
10134         (combine_simplify_rtx): Use
10135         combine_reversed_comparison_code/reversed_comparison instead
10136         of reversible_comparison_p.
10137         (simplify_if_then_else): Likewise.
10138         (simplify_set): Likewise.
10139         (simplify_logical): Likewise.
10140         (if_then_else_cond): Likewise.
10141         (known_cond): Likewise.
10142         (simplify_comparison): Likewise.
10143
10144 2001-01-11  Alan Lehotsky  <lehotsky@tiac.net>
10145
10146         * builtins.c (std_expand_builtin_va_start): Handle varargs when
10147         sizeof (int) is larger than sizeof(__word__).
10148
10149 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10150
10151         * cppinit.c (do_includes): Fix typo.
10152
10153 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10154
10155         * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
10156         in S_REGS does not occur because not all sources are possible
10157         when a S_REGS is a destination (sometimes needs a clobber).
10158         (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
10159         (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
10160         (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
10161         (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
10162         (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
10163         (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
10164         (lshrdi_const1, lshrsi3_const16): Likewise.
10165         (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
10166         (*movhi_68hc12, *movqi_68hc12): Likewise.
10167         (movstrictqi): Make sure reloading in D_REGS as a destination
10168         does not happen.
10169
10170 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10171
10172         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
10173
10174 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10175
10176         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
10177         -D, -U and -A, and don't initialize the builtins.
10178         (do_includes): Error if -include or -imacros with -fpreprocessed.
10179         * cppmain.c (cb_define, cb_undef): Unconditionally process
10180         the callback.
10181         * tradcpp.c (main): Fix typo.
10182
10183 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
10184
10185         * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
10186         (read_name_map): Use IS_ABSOLUTE_PATH.
10187         * tradcpp.c (get_filename): Likewise.
10188
10189 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10190
10191         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
10192         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
10193         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
10194         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
10195         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
10196         (cmphi_z_used): Don't use '@' for the output.
10197         (tstqi_z_used): Likewise.
10198         (cmpqi_z_used): Likewise.
10199         (one_cmplsi2): Likewise.
10200
10201 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
10202
10203         * config/sh/sh.c (barrier_align): Recognize branch around far
10204         branch and redundant insn.
10205
10206 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10207
10208         * invoke.texi: Restore documentation of the drivers' switches -MD
10209         and -MMD.
10210
10211 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
10212
10213         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
10214
10215         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
10216         check-objc//%): Support parallel testing of multilibs.
10217         (TESTSUITEDIR): Set to testsuite by default, but override for
10218         parallel testing.
10219         (check-gcc, check-g++, check-g77, check-objc): Enter
10220         $(TESTSUITEDIR).
10221
10222 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
10223
10224         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
10225         * sched-deps.c (deps_may_trap_p): Likewise.
10226         * basic-block.h: Remove a comment.
10227         * flow.c (PROP_POSTRELOAD): Remove.
10228         (update_life_info): Don't add it to prop_flags.
10229         (mark_set_1): Lose the code that was enabled by it.
10230
10231 2001-01-11  Michael Hayes  <mhayes@redhat.com>
10232
10233         * flow.c (flow_call_edges_add): New.
10234         * basic_block.h (flow_call_edges_add): New.
10235
10236 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
10237
10238         * reload1.c (move2add_note_store): Update reg_set_luid even if
10239         base reg remains the same.
10240
10241 2001-01-10  Nick Clifton  <nickc@redhat.com>
10242
10243         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
10244         machine_function structure to zero.
10245         Add prototypes for machine_status functions.
10246
10247 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
10248
10249         * c-common.h (CTI_VOID_LIST): Remove.
10250         (void_list_node): Likewise.
10251         * tree.h (TI_VOID_LIST_NODE): New enumeral.
10252         (void_list_node): New macro.
10253         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
10254         * config/i386/i386.c (ix86_init_builtins): Likewise.
10255         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
10256
10257 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10258
10259         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
10260         * cppinit.c (cpp_start_read): Update comment, remove unneeded
10261         if statement.
10262         * tradcpp.c: Include mkdeps.h.
10263         (deps, print_deps_phony_targets, deps_append, output_deps,
10264         init_dependency_output, output_deps): New.
10265         (deps_buffer, deps_allocated_size, deps_size, deps_column,
10266         deps_output): Delete.
10267         (print_deps_missing_files): Rename deps_missing_files.
10268         (inhibit_output): Make global.
10269         (main): Delete inhibit_output, deps_stream, deps_target.
10270         Use mkdeps functionality in the same way as cpplib.  Remove
10271         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
10272         -M and -MM.  Remove old handling of deps via deps_out, and
10273         old reading of environment variables.
10274         (get_filename): Update to use deps_add_dep.
10275
10276 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
10277
10278         * output.h (make_function_rtl): Remove prototype.
10279         (make_decl_rtl): Likewise.
10280         * varasm.c (make_function_rtl): Remove.
10281         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
10282         than from a third parameter.
10283         * tree.h (make_decl_rtl): Remove last parameter.
10284         * c-decl.c (builtin_function): Remove last argument in call to
10285         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
10286         (start_function): Likewise.
10287         * except.c (call_get_eh_context): Likewise.
10288         * expr.c (emit_block_move): Likewise.
10289         (clear_storage): Likewise.
10290         * profile.c (output_func_start_profiler): Likewise.
10291         * toplev.c (rest_of_decl_compilation): Likewise.
10292         * objc/objc-act.c (create_builtin_decl): Likewise.
10293         (synth_module_prologue): Likewise.
10294         (generate_static_reference): Likewise.
10295         (build_selector_reference_decl): Likewise.
10296         (build_class_reference_decl): Likewise.
10297         (build_objc_string_decl): Likewise.
10298         (build_protocol_reference): Likewise.
10299
10300 2001-01-10  Richard Henderson  <rth@redhat.com>
10301
10302         * hwint.h: Revert yesterday's change.
10303
10304 2001-01-10  Nick Clifton  <nickc@redhat.com>
10305
10306         * function.h (save_machine_status): Delete.
10307         (restore_machine_status): Delete.
10308         Amend comment describing {init|mark|free}_machine_status.
10309
10310         * function.c (save_machine_status): Delete.
10311         (restore_machine_status): Delete.
10312         Amend comment describing {init|mark|free}_machine_status.
10313         (push_function_context_to): Remove invocation of
10314         save_machine_status.
10315         (pop_function_context_from): Remove invocation of
10316         restore_machine_status.
10317
10318         * emit-rtl.c (init_emit_once): Amend comment describing
10319         {init|mark|free}_machine_status.
10320
10321         * tm.texi (Per-Function Data): New node.  Describe the
10322         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
10323         function pointers.
10324
10325 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10326
10327         * cppinit.c (OPT_g): Remove.
10328         (cpp_handle_option): Update for removed -g3.
10329         (print_help): Update.
10330         * cpplib.h (struct cpp_options): Remove debug_output.
10331         * cppmain.c (setup_callbacks, cb_define): Update.
10332         * gcc.c (cpp_options): Translate -g3 to -dD.
10333
10334 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
10335
10336         * config/i960/i960.md: Change modifier to + on the zero_extract
10337         pattern after the (rotate -2 reg) canonicalization pattern.
10338
10339 2001-01-10  Richard Henderson  <rth@redhat.com>
10340
10341         * config/alpha/alpha.c (alpha_free_machine_status): New.
10342         (override_options): Install it.
10343         (alpha_mark_machine_status): Verify machine non-null.
10344         * config/i386/i386.c (ix86_free_machine_status): New.
10345         (override_options): Install it.
10346         (ix86_init_machine_status): Use xcalloc.
10347         (ix86_mark_machine_status): Verify machine non-null.
10348         * config/ia64/ia64.c (ia64_free_machine_status): New.
10349         (ia64_override_options): Install it.
10350         (ia64_mark_machine_status): Verify machine non-null.
10351
10352 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
10353
10354         * function.c (instantiate_virtual_regs): Instantiate virtual
10355         registers found in CALL_INSN_FUNCTION_USAGE.
10356
10357 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10358
10359         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
10360         equivalent to -ansi in disabling -Di386.
10361
10362 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
10363
10364         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
10365         new functions.
10366         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
10367
10368 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
10369
10370         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
10371
10372 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10373
10374         * invoke.texi: Document that -fcond-mismatch isn't supported for
10375         C++.
10376
10377 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10378
10379         * gcc.texi: Define macro gcctabopt.
10380         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
10381         @command, @env and @option in some places where appropriate.  Use
10382         @gcctabopt where appropriate.  Put URLs and email addresses inside
10383         @w.
10384
10385 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
10386
10387         * gcc.c (cpp_options): Set MD file name from output
10388         filename, if specified.
10389         (suffix_subst): New static variable.
10390         (do_spec): Clear it.
10391         (do_spec_1, case '.'): Handle new `%.suffix' spec.
10392         Clear it.
10393         (give_switch): Handle suffix_subst.
10394
10395 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
10396
10397         * invoke.texi:  Fix another typo.
10398
10399 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
10400
10401         * invoke.texi:  Fix typo.
10402
10403 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10404
10405         * c-lang.c (lang_hooks): Update.
10406         (lang_decode_option): Remove.
10407         (lang_init_options): Rename c_init_options.
10408         * toplev.c (main): Use lang_hooks for lang_init_options
10409         and lang_decode_option.
10410         * toplev.h (lang_hooks): Add 2 new hooks.
10411         * tree.h: Remove lang_init_options and lang_decode_option.
10412         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
10413         * cp/decl2.c: Similarly.
10414         * cp/lex.c (lang_init_options): Rename cxx_init_options.
10415         (lang_hooks): Update.
10416         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
10417         for consistency.
10418         (lang_init_options): Rename ffe_init_options.
10419         (lang_hooks): Update.
10420         (lang_decode_option): Remove.
10421         * java/lang.c (lang_init_options): Rename java_init_options.
10422         (lang_decode_option): Rename java_decode_option.
10423         (lang_hooks): Update.
10424         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
10425         (lang_decode_option): Rename objc_decode_option.
10426         (lang_hooks): Update.
10427
10428 2001-01-09  Nick Clifton  <nickc@redhat.com>
10429
10430         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
10431         (d30v_return_addr_rtx): Delete.
10432         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
10433         cfun->machine structure.
10434         (struct machine_function): Move to d30v.h
10435         (d30v_save_machine_status): Delete.
10436         (d30v_restore_machine_status): Delete.
10437         (d30v_init_machine_status): New Function.
10438         (d30v_mark_machine_status): New Function.
10439         (d30v_free_machine_status): New Function.
10440         (d30v_init_expanders): Use new functions.
10441         (d30v_return_addr): Use ra_rtx field in cfun->machine.
10442         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
10443         d30v_return_addr_rtx.
10444
10445         * config/d30v/d30v.h (struct_machine): Move here.
10446         Add eh_epilogue_sp_ofs field.
10447
10448         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
10449         field in cfun->machine structure.
10450
10451 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10452
10453         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
10454         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
10455         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10456
10457 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
10458
10459         * objc/lang-options.h: Remove bogus reference to
10460         Java trademark.
10461
10462 2001-01-09  Kazu Hirata  <kazu@hxi.com>
10463
10464         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
10465         return the result.
10466
10467 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
10468
10469         * reload.c (find_reloads_address): Check for eliminable registers
10470         when substituting a constant expression for a pseudo.
10471
10472 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
10473
10474         * c-common.c (enum format_type): Add format_type_error.
10475         (decode_format_type): New function.
10476         (decl_attributes): Use it.
10477         (format_kind_info): Adjust comment.
10478
10479 2001-01-09  David O'Brien  <obrien@BSDi.com>
10480
10481         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
10482         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
10483         files in tm_file.
10484         * config/i386/gnu.h: Don't include required platform specific .h files,
10485         tm.h will do it instead.
10486         * config/i386/i386elf.h: Likewise.
10487         * config/i386/linux.h: Likewise.
10488         * config/i386/moss.h: Likewise.
10489         * config/mips/gnu.h: Likewise.
10490
10491 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10492
10493         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
10494         (rs6000-ibm-aix3.[01]*): Likewise.
10495         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
10496         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
10497         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
10498         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10499         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
10500         (powerpc-*-eabiaix*): Likewise.
10501         (powerpc-*-eabisim*): Likewise.
10502         (powerpc-*-elf*): Likewise.
10503         (powerpc-*-eabi*): Likewise.
10504         (powerpc-*-rtems*): Likewise.
10505         (powerpc-*-linux*libc1): Likewise.
10506         (powerpc-*-linux*): Likewise.
10507         (powerpc-wrs-vxworks*): Likewise.
10508         (powerpcle-wrs-vxworks*): Likewise.
10509         (powerpcle-*-sysv*): Likewise.
10510         (powerpcle-*-elf*): Likewise.
10511         (powerpcle-*-eabisim*): Likewise.
10512         (powerpcle-*-eabi*): Likewise.
10513         (powerpcle-*-solaris2*): Likewise.
10514         * config/rs6000/aix31.h: Delete includes.
10515         * config/rs6000/aix3newas.h: Likewise.
10516         * config/rs6000/aix41.h: Likewise.
10517         * config/rs6000/aix43.h: Likewise.
10518         * config/rs6000/beos.h: Likewise.
10519         * config/rs6000/rtems.h: Likewise.
10520         * config/rs6000/sysv4.h: Likewise.
10521
10522 2001-01-09  Kazu Hirata  <kazu@hxi.com>
10523
10524         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
10525         Change an argument mode of machine_mode to shift_mode of
10526         shift_mode.  Remove an extra error check.
10527         (emit_a_shift): Adopt to the new calling prototype of
10528         get_shift_alg.
10529         (function_prologue): Fix code for a monitor
10530         function.  Support H8/S.
10531         (function_epilogue): Do not output pop for a monitor function.
10532
10533 2001-01-09  Nick Clifton  <nickc@redhat.com>
10534
10535         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
10536         (setup_incoming_varargs): Use sysv_varargs_p field of the
10537         cfun->machine structure.
10538         (struct machine_function): Move to rs6000.h
10539         (rs6000_save_machine_status): Delete.
10540         (rs6000_restore_machine_status): Delete.
10541         (rs6000_init_machine_status): New Function.
10542         (rs6000_free_machine_status): New Function.
10543         (rs6000_init_expanders): Use new functions.
10544
10545         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
10546         export.
10547         (struct machine_function): Move here.
10548
10549         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
10550         sysv_varargs_p field of the cfun->machine structure.
10551
10552         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
10553         Remove prototype.
10554         (rs6000_restore_machine_status): Remove prototype.
10555
10556 2001-01-09  Richard Henderson  <rth@redhat.com>
10557
10558         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
10559         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
10560         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
10561         (sched_analyze_2, sched_analyze_insn): Likewise.
10562         (sched_analyze, init_deps): Likewise.
10563         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
10564         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
10565         (compute_block_backward_dependences): Update propagate_deps call.
10566
10567 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
10568
10569         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
10570
10571 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10572
10573         * cppinit.c (OPT_MD, OPT_MMD): Restore.
10574         (cpp_handle_option): Handle them.
10575         (cpp_post_options): Ensure one of -M or -MM is specified with
10576         any other -M? option.
10577         (init_dependency_output): Suppress output with -MG.
10578
10579 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10580
10581         * cpp.texi: Update.
10582         * invoke.texi: Update.
10583
10584 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
10585
10586         * sh.md (reload_outsf): Generate recognizable patterns for
10587         TARGET_SH3E.
10588
10589 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10590
10591         * c-lang.c (lang_hooks): Update.
10592         (lang_init): Rename c_init.
10593         (lang_finish): Remove.
10594         * toplev.c (compile_file): Use lang_hooks for lang_init ()
10595         and lang_finish ().
10596         * toplev.h (lang_hooks): Add init () and finish ().
10597         * tree.h (lang_init, lang_finish): Remove.
10598         * cp/tree.h (lang_init, lang_finish): Remove.
10599         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
10600         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
10601         lang_hooks): New.
10602         (lang_init, lang_finish): Remove.
10603         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
10604         (lang_hooks): Update.
10605         * java/lang.c (lang_init): Rename java_init.
10606         (lang_finish): Remove.
10607         (lang_hooks): Update.
10608         * objc/objc-act.c (lang_init): Rename objc_init.
10609         (lang_finish): Remove.
10610         (lang_hoooks): Update.
10611
10612 20001-01-09  Graham Stott  <grahams@redhat.com>
10613
10614         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
10615         after `ptr` is initialised.
10616
10617 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
10618
10619         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
10620         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
10621         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
10622         stack adjusts, instead of r3.
10623
10624 2001-01-09  Michael Hayes  <mhayes@redhat.com>
10625
10626         * flow.c (flow_loop_scan): Break out of ...
10627         (flow_loops_find) ... here.
10628         * basic-block.h (flow_loop_scan): New.
10629         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
10630         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
10631
10632 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
10633
10634         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
10635         macro_buffer_len.
10636         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
10637         realloc()ing macro_buffer.
10638
10639         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
10640         if it's wider than long and the target's long is wider than the
10641         host's.
10642
10643 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
10644
10645         Remove support for using UWIN as a host machine.
10646         * configure.in: Issue an error message.
10647         * configure: Regenerated.
10648         * config.gcc: Remove xm_* UWIN configury.
10649         * config/i386/xm-uwin.h: Remove.
10650
10651 2001-01-08  Nick Clifton  <nickc@redhat.com>
10652
10653         * config/v850/v850.c (ra_rtx): Delete.
10654         (v850_save_machine_status): Delete.
10655         (v850_restore_machine_status): Delete.
10656         (v850_init_machine_status): New function.
10657         (v850_mark_machine_status): New function.
10658         (v850_free_machine_status): New function.
10659         (v850_return_addr): Use ra_rtx field in machine structure.
10660         (v850_init_expanders): Use new functions.
10661
10662         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
10663         * config/v850/v850.c: Change arguments to v850_output+* functions
10664         to take a const char *, to avoid compile time warning.
10665         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
10666         (USER_LABEL_PREFIX): Redefine.
10667
10668 2000-01-08  Jim Wilson  <wilson@redhat.com>
10669
10670         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
10671         1 to unsigned HOST_WIDE_INT before left shift.
10672
10673 2001-01-08  Nick Clifton  <nickc@redhat.com>
10674
10675         * config/arm/arm.c (arm_mark_machine_status): Check to see if
10676         the machine structure has been allocated.
10677         (arm_free_machine_status): New function: Free the machine
10678         specific function structure.
10679
10680 2001-01-08  Richard Henderson  <rth@redhat.com>
10681
10682         * jump.c (simplejump_p): Revert last change.
10683
10684 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
10685
10686         * cppinit.c (init): Rename init_library.
10687         (cpp_create_reader): Update.
10688         * gcc.c (cpp_options): If -o given, use it as the target of
10689         any -M options.
10690
10691 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
10692
10693         * arm.c (arm_arch5e): New variable.
10694         (all_cores): XScale is a 5TE device.
10695         (arm_override_options): Set arm_arch5e.
10696         (arm_init_builtins): __builtin_prefetch is in arch5e.
10697         * arm.h (arm_arch5e): Declare it.
10698
10699         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
10700
10701         * arm.md (define_constants): Add defines for UNSPEC and
10702         UNSPEC_VOLATILE insns.  Update all users.
10703         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
10704         * arm.c (multi_register_push, note_invalid_constants)
10705         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
10706         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
10707         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
10708
10709 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
10710
10711         * jump.c (jump_optimize_1): Use reversed_comparison_code
10712         instead of can_reverse_comparison_p.
10713         (jump_back_p): Likewise.
10714         (invert_exp_1): Likewise.
10715         (thread_jumps): Likewise.
10716         * simplify-rtx.c (simplify_unary_operation): Likewise.
10717         (simplify_ternary_operation): Likewise.
10718         * cse.c (find_comparison_args): Convert to use
10719         can_reverse_comparison_p.
10720         (record_jump_equiv): Likewise.
10721
10722 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
10723
10724         * arm.h (HARD_REGNO_RENAME_OK): Delete.
10725         (EPILOGUE_USES): Define.
10726         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
10727         automatically stack the LR if it isn't live.
10728
10729 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
10730
10731         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
10732         properly.
10733
10734 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
10735
10736         * ggc-page.c (max_alignment): New structure.
10737         (MAX_ALIGNMENT): New macro.
10738         (init_ggc): Use it to round up the sizes in the
10739         extra_order_size_table.
10740
10741 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10742
10743         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
10744         after reload.
10745
10746 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10747
10748         * builtins.def (BUILT_IN_FPRINTF): New entry.
10749
10750         * c-common.c (c_expand_builtin_fprintf): New function.
10751         (init_function_format_info): Handle __builtin_fprintf.
10752         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
10753         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
10754
10755         * c-decl.c (duplicate_decls): Adjust comment.
10756
10757         * extend.texi (fprintf): Document new builtin.
10758
10759 2001-01-07  Richard Henderson  <rth@redhat.com>
10760
10761         * jump.c (simplejump_p): Recognize any single_set jump
10762         of the proper form.
10763
10764 2001-01-07  Richard Henderson  <rth@redhat.com>
10765
10766         * configure.in (slibdir): Accept an --with-slibdir option.
10767         Use "test" not "[" in configure.  Default to $(libdir).
10768
10769         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
10770         fix typo in rm -f.
10771         * config/t-aix43 (SHLIB_INSTALL): Likewise.
10772         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
10773         (SHLIB_LINK): Create links for the soname.
10774         * config/mips/t-iris6: Likewise.
10775         * config/sparc/t-slibgcc: Likewise.
10776         * config/sparc/t-slibgcc-sld: Likewise.
10777
10778 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
10779
10780         * config/i386/i386.c (constant_call_address_operand): Accept
10781         (const (plus (symbol_ref) (const_int))).
10782         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
10783         constant_call_address_operand.
10784
10785 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10786
10787         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
10788         and LONG_LONG_TYPE_SIZE > 32.
10789
10790 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10791
10792         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
10793         the previous change.
10794
10795 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
10796
10797         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
10798         New.
10799         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
10800         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
10801         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
10802         Declare.
10803
10804 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
10805
10806         * fix-header.c (read_scan_file): s/pfile/scan_in/.
10807
10808 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
10809
10810         * c-lang.c (c_post_options): Call cpp_post_options.
10811         * objc/objc-act.c (objc_post_options): Similarly.
10812         * cppmain.c (main): Similarly.
10813         * fix-header.c (read_scan_file): Similarly.
10814         * cppinit.c (cpp_start_read): Move option consistency checks
10815         to cpp_post_options.  Don't call init_dependency_output.
10816         If needed, add default target and main file dependency.
10817         (OPT_MD, OPT_MMD): Remove.
10818         (OPT_MF): New.
10819         (cpp_handle_option): Update for OPT_* changes.
10820         (cpp_post_options): New.
10821         (init_dependency_output): Command line -MF overrides environment
10822         variables.  Don't set default target etc.  Suppress output
10823         if dependencies are going to stdout.
10824         (print_help): Update.
10825         * cpplib.h (cpp_post_options): New.
10826         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
10827
10828 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
10829
10830         * jump.c (comparison_dominates_p): Support unordered compares.
10831
10832 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
10833
10834         * simplify-rtx.c (simplify_relational_operation): Always simplify
10835         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
10836         and UNGE.
10837
10838 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
10839
10840         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
10841         (nonzero_bits): Likewise.
10842         (simplify_comparison): Likewise.
10843         (num_sign_bit_copies): Likewise; return more sane value depending
10844         on STORE_FLAG_VALUE.
10845         (known_cond): Do not assume EQ to be always true for equivalent
10846         operands.
10847
10848 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
10849
10850         * cse.c (fold_rtx): Handle unordered comparisons.
10851
10852 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
10853
10854         * rtlanal.c (set_of_1): New static function.
10855         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
10856          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
10857          reg_set_last_last_regno): Remove.
10858         (set_of): New global function.
10859         (set_of_data): New structure.
10860         (reg_set_p, reg_set_last): Revamp for set_of.
10861         * rtl.h (set_of): New.
10862
10863 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
10864
10865         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
10866         * extend.texi: Document _Exit builtin.
10867
10868 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
10869
10870         * (initialize, initialize_builtins,
10871         initialize_dependency_output, initialize_standard_includes):
10872         Rename s/initialize/init. Update.
10873         (init_dependency_output): Move to after
10874         cpp_handle_options, the correct location temporally at least.
10875         (opt_comp): Move next to init (), its caller.  Fix prototype.
10876         (init): Make "initialized" local scope.
10877         (cpp_create_reader): Always call init ().
10878         (cpp_start_read): Update.
10879         (output_deps): New function, broken out of cpp_finish.
10880         (cpp_finish): Break out output_deps.
10881
10882 2001-01-07  Richard Henderson  <rth@redhat.com>
10883
10884         * collect2.c (COFF specific stuff): Revert 12-06 patch
10885         to prototype system functions.
10886
10887 2001-01-07  Michael Hayes  <mhayes@redhat.com>
10888
10889         * hard-reg-set.h: Add multiple include guard.
10890         * basic-block.h (struct loop): Add `sink' field.
10891         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
10892         (emit_iv_add_mult): Delete.
10893         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
10894         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
10895         (unroll_loop): Remove end_insert_before argument.
10896         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
10897         (maybe_eliminate_biv_1): Likewise.
10898         (emit_iv_add_mult): Delete.
10899         (gen_add_mult, loop_regs_update): New.
10900         (loop_insn_emit_after, loop_insn_emit_before): New.
10901         (loop_insn_sink, loop_insn_sink_or_swim): New.
10902         (emit_iv_add_mult): Delete.
10903         (scan_loop): Set loop->sink.
10904         (loop_givs_reduce): Use loop_insn_sink and its ilk.
10905         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
10906         (maybe_eliminate_biv_1): Likewise.
10907         (maybe_eliminate_biv_1): Add basic block argument.
10908         * unroll.c (unroll_loop): Remove end_insert_before argument.
10909         (find_splittable_regs): Likewise.
10910         (find_splittable_regs): Use loop_insn_sink and its ilk.
10911         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
10912
10913 2001-01-07  Michael Hayes  <mhayes@redhat.com>
10914
10915         * loop.h (loop_insn_hoist): New prototype.
10916         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
10917         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
10918         (check_dbra_loop, load_mems): Likewise.
10919         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
10920         (find_splittable_givs): Likewise.
10921
10922 2001-01-07  Michael Hayes  <mhayes@redhat.com>
10923
10924         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
10925
10926 2001-01-07  Richard Henderson  <rth@redhat.com>
10927
10928         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
10929
10930 2001-01-07  Richard Henderson  <rth@redhat.com>
10931
10932         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
10933         NO_SHARED_LIBGCC_MULTILIB as required for the target.
10934         * gcc.c (init_spec): Massage the existing libgcc_spec into a
10935         variant that handles a shared libgcc.
10936         (process_command): Always validate -{static,shared}-libgcc.
10937         (do_spec_1): New 'M' case.
10938         * invoke.text (Link Options): Document -{static,shared}-libgcc.
10939
10940 2001-01-07  Richard Henderson  <rth@redhat.com>
10941
10942         * Makefile.in (slibdir): New variable.
10943         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
10944         (installdirs): Create slibdir.
10945         (install-libgcc, install-multilib): Defer to libgcc.mk.
10946         * configure.in (slibdir): Substitute.
10947         * mklibgcc.in (install): New target.
10948
10949         * config/t-linux (SHLIB_LINK): Create links for the soname.
10950         (SHLIB_INSTALL): New.
10951         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
10952         * config/mips/t-iris6 (SHLIB_INSTALL): New.
10953         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
10954         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
10955         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
10956
10957 2001-01-07  Richard Henderson  <rth@redhat.com>
10958
10959         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
10960         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
10961         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
10962
10963 2001-01-07  Michael Hayes  <mhayes@redhat.com>
10964
10965         * loop.c (count_loop_regs_set): Delete.
10966         (load_mems_and_recount_loop_regs_set): Delete.
10967         (loop_regs_scan): Merge common code from count_loop_regs_set,
10968         scan_loop, and load_mems_and_recount_loop_regs_set.
10969         (scan_loop): Call load_mems directly and loop_regs_scan
10970         again if new registers created.
10971
10972 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
10973
10974         * toplev.c (main): Call the front-end specific post_options
10975         hook if one is given.
10976         * toplev.h (struct_lang_hooks, lang_hooks): New.
10977         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
10978         for the C front end.
10979         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
10980         lang_hooks for the C++ front end.
10981         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
10982         lang_hooks for the ObjC front end.
10983         * f/com.c (lang_hooks): Hooks for the Fortran front end.
10984         * java/lang.c (lang_hooks): Hooks for the Java front end.
10985
10986 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
10987
10988         * c-lex.c (init_c_lex): Request #define / #undef callbacks
10989         for verbose DWARF[2] debugging.
10990         (cb_define, cb_undef): The new callbacks.
10991         * toplev.h (debug_define, debug_undef): Make const correct.
10992         * toplev.c (debug_define, debug_undef): Similarly.  Do not
10993         perform the verbosity tests here anymore.
10994
10995 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
10996
10997         * reload.c (subst_reloads): Take INSN argument.  When
10998         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
10999         * reload.h (subst_reloads): Adjust prototype.
11000         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
11001         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
11002         present in JUMP_INSNs and copy them to JUMP_LABEL.
11003         * flow.c (find_label_refs, find_basic_blocks_1): Skip
11004         JUMP_INSNs and insns with REG_LABELs that are followed by
11005         JUMP_INSNs with the same REG_LABEL.
11006         * sched-rgn.c (is_cfg_nonregular): Likewise.
11007         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
11008         note is available.
11009         * unroll.c (unroll_loop): Look for REG_LABEL notes in
11010         JUMP_INSNs too.
11011         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
11012
11013 2001-01-06  Richard Henderson  <rth@redhat.com>
11014
11015         * loop.c (scan_loop): Use xcalloc for the regs array.
11016         (load_mems_and_recount_loop_regs_set): Zero the new memory
11017         received from xrealloc.
11018
11019 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
11020
11021         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
11022
11023 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
11024
11025         * integrate.c (copy_rtx_and_substitute): When copying
11026         an ignored return value, strip REG_FUNCTION_VALUE_P.
11027
11028 2001-01-06  Michael Hayes  <mhayes@redhat.com>
11029
11030         * loop.c (debug_biv, debug_giv): New.
11031         (loop_biv_dump): Break out from ...
11032         (record_biv): ... here.
11033         (loop_giv_dump): Break out from ...
11034         (record_giv): ... here.
11035         (loop_bivs_check): Use print_simple_rtl.
11036         * unroll.c (loop_iterations): Use print_simple_rtl.
11037
11038 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11039
11040         * pa.md (return, return_internal): Modify patterns to prevent regrename
11041         mucking with the return pointer.
11042
11043 2001-01-05  Richard Henderson  <rth@redhat.com>
11044
11045         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
11046
11047 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
11048
11049         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
11050         version supplied by Matteo Frigo.
11051
11052 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
11053
11054         * cpp.texi: Update for -MQ.
11055         * cppinit.c (cpp_create_reader): Always create pfile->deps.
11056         (cpp_cleanup): Always free pfile->deps.
11057         (initialize_dependency_output): Don't create pfile->deps.
11058         (cpp_handle_option): Similarly.
11059         (OPT_MQ): New.
11060         * gcc.c (cpp_options): Handle -MQ.
11061         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
11062         * mkdeps.c (base_name): Remove.
11063         (deps_init): Don't allocate vector space until it's needed.
11064         (deps_free): Only free vectors if allocated.
11065         (deps_add_target, deps_add_dep): Update for initial allocation.
11066         (deps_add_default_target): Don't strip to the base_name.
11067
11068 2001-01-05  DJ Delorie <dj@redhat.com>
11069
11070         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
11071         (INIT_EXPANDERS): Define.
11072
11073         * config/v850/v850.c (struct machine_function): Define.
11074         (v850_save_machine_status): New function.
11075         (v850_restore_machine_status): New function.
11076         (v850_return_addr): New function.
11077         (v850_init_expanders): New function.
11078
11079         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
11080         and v850_init_expanders.
11081
11082 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
11083
11084         * cpplib.h (struct cpp_reader): Add help_only field.
11085         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
11086         (cpp_handle_option): Set pfile->help_only if we see -h,
11087         --help, -target-help, or --version.  Print version string but
11088         do not set help_only if we see -v or -version.  Make text
11089         printed by -v match that printed by (-)-version.
11090
11091         * cppmain.c (main): Exit after option parsing if
11092         pfile->help_only is true.
11093
11094         * toplev.c (independent_decode_option): Call print_version,
11095         then exit, if we see --version (but not -version).
11096         (print_version): Split lengthy message into two lines.
11097
11098 2001-01-05  Nick Clifton  <nickc@redhat.com>
11099
11100         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
11101         temporary string for initialisation before calling ggc_alloc_string.
11102
11103 2001-01-06  Michael Hayes  <mhayes@redhat.com>
11104
11105         * rtl.h (print_simple_rtl): New.
11106         * print-rtl.c (print_simple_rtl): New.
11107         (flag_simple): New.
11108         (print_rtx): Disable printing of flags and modes, etc.,
11109         if `flag_simple` nonzero.
11110
11111 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
11112
11113         * function.c (fixup_var_refs): Use push_to_full_sequence where
11114         possible.
11115
11116 2001-01-05  Michael Meissner  <meissner@redhat.com>
11117
11118         * flags.h (flag_reorder_blocks): Add declaration.
11119         (flag_rename_block): Ditto.
11120
11121 2001-01-05  DJ Delorie  <dj@redhat.com>
11122
11123         * function.c (reorder_blocks): Make sure the flags are all reset
11124         before using them to mark blocks, else a second invocation will
11125         corrupt the block chain.
11126         (reorder_blocks_0): New, resets the flags.
11127
11128 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
11129
11130         * cse.c (find_comparison_args): Stop if the argument is known to
11131         be constant.
11132
11133 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11134
11135         * config/sh/sh.md (movdf): When splitting load into pair of
11136         registers, don't clobber the register used in the address too
11137         early.
11138
11139 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
11140
11141         * varasm.c (mark_constant_pool): Improve initial comments.
11142         (mark_constants): Move marking of constants to mark_constant.
11143         (mark_constant): New function to recursively mark all constants
11144         referred to by a constant.
11145
11146 2001-01-05  Catherine Moore  <clm@redhat.com>
11147
11148         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
11149
11150 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
11151
11152         * cp/lang-options.h:  Bring comment in line with reality.
11153         * f/lang-options.h:  Likewise.
11154         * java/lang-options.h:  Likewise.
11155         * objc/lang-options.h:  Likewise.
11156         * ch/lang-options.h:  Likewise.
11157         * f/g77.texi:  And update the manual.
11158
11159 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
11160             Denis Chertykov  <denisc@overta.ru>
11161
11162         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
11163         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
11164         * config/avr/avr.md (all peepholes that request a scratch register):
11165         Call it, FAIL the peephole if not safe (in interrupt functions).
11166
11167 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
11168
11169         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
11170
11171 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
11172
11173         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
11174         Define.
11175         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
11176         BUILT_IN_CREAL and BUILT_IN_CIMAG.
11177         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
11178         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
11179         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
11180         BUILT_IN_CIMAG.
11181         * extend.texi: Document these builtins.
11182
11183 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
11184
11185         * c-common.c (lang_get_alias_set): Say we know nothing of
11186         VECTOR_TYPE aliasing.
11187
11188         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
11189
11190 2001-01-05  Bruce Korb  <bkorb@gnu.org>
11191
11192         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
11193         their x* equivalent versions for atexit-less systems
11194         * fixinc/fixincl.c(main): do not return from main() on atexit-less
11195         systems (or any other system any more).
11196
11197 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
11198
11199         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
11200         output operands.  Use arm_hard_register_operand for operand 4.
11201         (stmsi_postinc): Similarly.
11202         (ldmsi): Use arm_hard_register_operand for opernand 2.
11203         (stmsi): Similarly.
11204         * arm.c (arm_hard_register_operand): New function.
11205         * arm-protos.h (arm_hard_register_operand): Prototype it.
11206
11207         * arm.h (HARD_REGNO_RENAME_OK): Define.
11208
11209 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
11210
11211         * simplify-rtx.c (cfc_args): add "unordered" field.
11212         (check_fold_consts): Set unordered field.
11213         (simplify_relational_operation): Simplify the unordered
11214         comparisons.
11215
11216         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
11217         is valid.
11218
11219         * emit-rtl.c (try_split): Fix code to mark labels.
11220         * jump.c (mark_jump_label): Make global.
11221         * rtl.h (mark_jump_label): Declare.
11222
11223         * predict.c (estimate_probability): Handle unordred comparisons.
11224
11225 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
11226
11227         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
11228         * cppinit.c (initialize_dependency_output):  Update.
11229         (cpp_finish): Output dummy targets for -MP.
11230         (OPT_MP): New.
11231         (cpp_handle_option): Handle -MP.  Don't quote -MT options.
11232         * cpplib.h (struct cpp_options): Add deps_phony_targets.
11233         * gcc.c (cpp_options): Update to handle -MP.
11234         * mkdeps.c (deps_add_target, deps_add_default_target): Update
11235         to quote only the default target.
11236         (deps_phony_targets): Insert a preceding newline.  Rename from
11237         deps_dummy_targets for consistency.
11238         * mkdeps.h: Update
11239
11240 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11241
11242         * calls.c (emit_library_call_value_1): Support
11243         INIT_CUMULATIVE_LIBCALL_ARGS.
11244         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
11245
11246 2001-01-04  Richard Henderson  <rth@redhat.com>
11247
11248         * c-decl.c (finish_struct): Detect flexible array members
11249         used in an inappropriate context.
11250         * c-typeck.c (really_start_incremental_init): Special case
11251         constructor_max_index for zero length arrays.
11252         (pop_init_level): Allow initialization of flexible array
11253         members.  Deprecate initialization of zero length arrays.
11254         Don't issue missing initializer warning for flexible array
11255         members or zero length arrays.
11256         (process_init_element): Don't dereference null DECL_SIZE.
11257         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
11258         Don't abort for empty constructors.  Use size_binop
11259         (output_constructor): Add commentary regarding zero length
11260         array futures.  Abort if we try to initialize an array of
11261         unspecified length with a non-empty constructor in the middle
11262         of a structure.
11263
11264         * extend.texi (Zero Length): Update and clarify documentation
11265         on static initialization.
11266
11267 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11268
11269         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
11270         with more than 32767 words of local storage.
11271
11272 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11273
11274         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
11275         for 'abs', 'labs', and 'fabs'.
11276         (c4x_expand_builtin): Likewise.
11277         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
11278
11279 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11280
11281         * config/sh/sh.md (prget, prset): New insn types.
11282         (return delay slot): Dont' allow prset.
11283         (call, sfunc delay slot): Don't allow prget.
11284         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
11285         for prset and prget.
11286
11287 2001-01-05  Michael Hayes  <mhayes@redhat.com>
11288
11289         * loop.h (struct loop_reg): New.
11290         (struct loop_regs): Change to use array of `struct loop_reg'.
11291         * loop.c: Replace assortment of varrays with single regs array.
11292         (count_one_set): Delete may_not_move array argument
11293         and use regs array instead.  All caller's changed.
11294         (count_loop_regs_set): Delete may_not_move and single_usage
11295         arguments and use regs array instead.  All caller's changed.
11296         (find_single_use_in_loop): Replace usage array argument with pointer
11297         to regs structure.  All caller's changed.
11298         (loop_optimize): Delete `moved_once' array.
11299
11300 2001-01-05  Michael Hayes  <mhayes@redhat.com>
11301
11302         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
11303         Use it instead of loop_info->has_call for scanning loop mems.
11304         (check_dbra_loop): Replace loop_info->has_call test with
11305         loop_info->has_nonconst_call.
11306
11307 2000-01-04  Matthew Hiller  <hiller@redhat.com>
11308
11309         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
11310         for TARGET_SH3E.
11311
11312 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11313
11314         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
11315         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
11316
11317 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11318
11319         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
11320         (flag_short_double, flag_short_wchar): Define.
11321         (c_common_nodes_and_builtins): Create many tree nodes shared
11322         between C and C++ here instead of in cp/decl.c and ...
11323         * c-decl.c (init_decl_processing): ... here.
11324         (SIZE_TYPE, WCHAR_TYPE): Don't define.
11325         (flag_short_double, flag_short_wchar): Don't define.
11326         (record_builtin_type): New function.
11327         (build_void_list_node): New function.
11328         * c-common.h (flag_short_double, flag_short_wchar,
11329         record_builtin_type, build_void_list_node): Declare.
11330
11331 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
11332
11333         * integrate.c (expand_inline_function): Don't put a virtual
11334         register into the reg map.
11335
11336         * function.c (fixup_var_refs_1): If force_operand didn't put
11337         the address into the target, move it there.
11338
11339 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
11340
11341         Special-case tree_decl/tree_list allocations.
11342         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
11343         (OBJECT_SIZE): New macro.
11344         (NUM_EXTRA_ORDER): Likewise.
11345         (extra_order_size_table): New variable.
11346         (NUM_ORDERS): New macro.
11347         (objects_per_page_table): New variable.
11348         (object_size_table): New variable.
11349         (G.pages): Use NUM_ORDERS to bound the array.
11350         (G.page_tails): Likewise.
11351         (DIV_ROUND_UP): Remove.
11352         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
11353         (alloc_page): Use OBJECT_SIZE.
11354         (size_lookup): Don't make it const.
11355         (ggc_alloc): Use OBJECT_SIZE.
11356         (ggc_set_mark): Likewise.
11357         (ggc_get_size): Likewise.
11358         (init_ggc): Set up the object_size_table, objects_per_page_table,
11359         and adjust size_lookup.
11360         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
11361         (ggc_pop_context): Use NUM_ORDERS.
11362         (clear_marks): Likewise.
11363         (sweep_pages): Likewise.
11364         (poison_pages): Likewise.
11365         (ggc_print_statistics): Use OBJECT_SIZE.
11366
11367 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11368
11369         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
11370         Only call array_size_for_constructor if last field and array type
11371         with no upper bound.
11372
11373 2001-01-04  Philip Blundell  <philb@gnu.org>
11374
11375         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
11376         from bit 31 downwards, if this requires no more insns.
11377         (count_insns_for_constant): New helper function for above.
11378
11379 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
11380
11381         * gencodes.c (output_predicate_decls): Remove empty initializer.
11382
11383 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
11384
11385         * tree.c (copy_node): Remove documentation about obstacks.
11386         (buidl1): Check that nobody tries to build 2-argument nodes this
11387         way.
11388
11389 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11390
11391         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
11392         fp_high_losum_p.
11393
11394         * gencodes.c (output_predicate_decls): Fill empty initializer
11395         braces.
11396
11397 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
11398
11399         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
11400         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
11401         or -MM.
11402         (do_include): Handle missing headers like cpp0.
11403         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
11404         paths with first include pathname.  Don't strcat to uninitialized
11405         string.
11406
11407 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
11408
11409         * regrename.c (regrename_optimize): Don't rename from frame pointer
11410         if frame_pointer_needed.
11411         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
11412         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
11413         (ia64_reorg): Use it instead of scheduling if ! optimize.
11414         (errata_emit_nops): Properly call asm_noperands.
11415         (ia64_sched_reorder): Finish cycle if we see an asm.
11416         (ia64_variable_issue): Clear scheduling state after asms.
11417
11418 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
11419
11420         * cpp.texi: Update for -MT.
11421         * cppinit.c (initialize_dependency_output): Add a default
11422         target if none has been given already.
11423         (no_tgt, OPT_MT): New.
11424         (cpp_handle_option): Handle -MT.  Update -M etc.
11425         * cpplib.h (struct cpp_options): Remove deps_target.
11426         * gcc.c (cpp_options): Handle -MT.
11427         * mkdeps.c (struct deps): Move from mkdeps.h.
11428         (deps_calc_target): Rename deps_add_default_target.  Add a
11429         default target if none has been specified already.
11430         * mkdeps.h (struct deps): Move to mkdeps.c.
11431         (deps_calc_target): Rename deps_add_default_target.
11432
11433 2000-01-03  Richard Henderson  <rth@redhat.com>
11434
11435         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
11436         Remove dead code.
11437         * c-typeck.c (push_init_level): Move checks for flexible array
11438         members and zero length arrays ...
11439         (pop_init_level): ... here.  Silently discard empty initializations.
11440         Remove dead code.
11441         * varasm.c (output_constructor): Update for sizeof change to
11442         zero-length arrays.
11443
11444         * extend.texi (Zero Length): Clarify semantics.
11445
11446 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11447
11448         * configure.in (tm.h): Include isns-codes.h last.
11449         * configure: Rebuilt.
11450
11451 2001-01-03  Richard Henderson  <rth@redhat.com>
11452
11453         * config/alpha/alpha.md (addvsi3, addvdi3): New.
11454         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
11455
11456 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11457
11458         * tradcpp.c (main): Make sure finclude() is called with a valid
11459         indepth value while handling -include.
11460
11461 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11462
11463         * gencodes.c (output_predicate_decls): New function.
11464         (main): Call it.
11465         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
11466         even if it is not the first time machmode.h is #included.
11467         * config/sh/sh.c (fpul_operand): Declare MODE argument.
11468         * tm.texi (PREDICATE_CODES): Document predicate declarations.
11469         * gcc.texi (Copyright): Added 2001.
11470
11471 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11472
11473         * c-common.c (c_common_lang_init): New function.  Warn if format
11474         warning options which only have effects when used with -Wformat
11475         are used without -Wformat.
11476         * c-common.h (c_common_lang_init): Declare.
11477         * c-lang.c (lang_init): Call c_common_lang_init.
11478         * objc/objc-act.c (lang_init): Call c_common_lang_init.
11479
11480 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11481
11482         * configure.in: Check for the mktemp command.
11483         * configure: Regenerate.
11484         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
11485         $TEMP.  Create temporary files with mktemp, if available at
11486         configure time; otherwise use set -C.  Remove temporary files
11487         before exit.
11488
11489 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11490
11491         * configure.in: Require at least texinfo 4.0.  Check for whether
11492         Pod::Man is sufficiently recent to regenerate GCC manpages.
11493         * configure:  Regenerate.
11494         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
11495         on #!.
11496         (GENERATED_MANPAGES): Define.
11497         (generated-manpages): New target.  Depend on cpp.1 as well as
11498         gcov.1.
11499         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
11500         configure to generated-manpages or empty) rather than on the
11501         manpages directly.  Remove execute permission from installed
11502         gcov.1 as well as cpp.1.
11503         * cpp.1, gcov.1: Regenerate.
11504
11505 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11506
11507         * builtins.c (expand_builtin_strncmp): Use host_integerp and
11508         tree_low_cst.  Allow using cmpstrsi in more cases.
11509
11510 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11511
11512         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
11513         sized types.
11514
11515 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
11516
11517         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
11518         * Makefile.in (HOST_CFLAGS): Mention build-make.
11519
11520 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11521
11522         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
11523         as JUMP_INSN.
11524
11525 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
11526
11527         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
11528         a REG rtx.
11529
11530         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
11531         callers changed.
11532
11533         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
11534         reg_base_value and reg_known_value arrays.
11535         (init_alias_analysis): Add more cases to detect known values.
11536         * sched-deps.c (deps_may_trap_p): New function.
11537         (sched_analyze_2): Use it.
11538
11539 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11540
11541         * combine.c (simplify_shift_const): Even if we're sign-extracting,
11542         don't discard an ASHIFTRT if we're shifting in a wider mode.
11543
11544 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11545
11546         * toplev.c (rest_of_compilation): Don't print basic block information
11547         when CFG isn't up to date.
11548
11549 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
11550
11551         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
11552         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
11553         (UNALIGNED_SHORT_ASM_OP): Define.
11554         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
11555
11556 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
11557
11558         * fold-const.c (fold_convert): Fix typo.
11559
11560 2001-01-02  Richard Henderson  <rth@redhat.com>
11561
11562         * c-common.h (ASM_INPUT_P): New.
11563         * c-parse.in (asm): Set it when needed.
11564         * c-semantics.c (genrtl_asm_stmt): Test it instead of the
11565         existance of an operand.
11566
11567 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
11568
11569         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
11570         (dwarf2out_frame_debug_expr): Likewise.
11571         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
11572
11573 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
11574
11575         * i386.c (ix86_split_to_parts): Return number of part required;
11576         handle TFmodes.
11577         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
11578         TFmodes.
11579         (ix86_split_long_move): Use number of part returned
11580         by ix86_split_to_parts
11581         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
11582         New macros.
11583         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
11584         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
11585         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
11586         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
11587         (ALIGN_MODE_128): Add TFmode.
11588         (IS_STACK_MODE): Likewise.
11589         (HARD_REGNO_NREGS): TFmode needs 3 registers.
11590         (HARD_REGNO_OK): Support TFmodes.
11591         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
11592         * i386.md (scheduler definitions): Use memory operand to determine
11593         fst/fld instructions; use mode attribute to determine real mode of
11594         the instruction.
11595         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
11596         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
11597
11598 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
11599
11600         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
11601
11602 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
11603
11604         * expr.c (store_constructor_field): Update ALIGN before calling
11605         store_constructor.
11606
11607 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
11608
11609         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
11610         host_integerp.
11611
11612 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
11613
11614         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
11615         incomplete type.
11616
11617 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
11618
11619         * c-decl.c (start_function): Don't warn on third parameter to main.
11620
11621 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11622
11623         * tsystem.h: Define HAVE_DECL_GETOPT.
11624
11625 2001-01-02  Philip Blundell  <pb@futuretv.com>
11626
11627         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
11628         of input operand.
11629
11630 2001-01-02  Richard Henderson  <rth@redhat.com>
11631
11632         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
11633
11634 2001-01-02  Andreas Jaeger  <aj@suse.de>
11635
11636         * c-decl.c (c_decode_option): Remove support of
11637         -Wmissing-noreturn.
11638
11639         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
11640         (W_options): Add -Wmissing-noreturn here.
11641
11642         * flow.c: Define lang_missing_noreturn_ok_p.
11643         (check_function_return_warnings): Use it.
11644
11645         * c-common.h: Declare lang_missing_noreturn_ok_p.
11646
11647         * c-lang.c (c_missing_noreturn_ok_p): New function.
11648         (lang_init): Set lang_missing_noreturn_ok_p.
11649
11650         * invoke.texi (Warning Options): Document this.
11651
11652 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
11653
11654         * extend.texi (C++ Extensions):  New node for C++ attributes;
11655         describe init_priority and com_interface.
11656         * invoke.texi:  Remove -finit-priority as it now has zero effect.
11657         * install.texi:  Fix xref syntax.
11658         * md.texi:  Likewise.
11659
11660 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11661
11662         * config.gcc (sparc64-wrs-vxworks*): New case.
11663         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
11664
11665         * config/sparc/sparc.c (sparc_override_options): Do support different
11666         pointer and architecture size.
11667         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
11668         (POINTERS_EXTEND_UNSIGNED): Define.
11669         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
11670         (FUNCTION_MODE): Define to be Pmode.
11671         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
11672
11673         * function.c (expand_function_end): Properly handle DECL_RESULT
11674         and copy when ptr_mode != Pmode.
11675         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
11676
11677 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11678
11679         * c-common.c (c_common_nodes_and_builtins): Set prototype
11680         parameters for __builtin_fputs, __builtin_fputc and
11681         __builtin_fwrite.  Don't declare plain fputc as a builtin.
11682
11683 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11684
11685         * loop.c (add_label_notes): Increment the label usage count when
11686         a note is added to an insn which refers to a CODE_LABEL.
11687         * gcse.c (add_label_notes): Likewise.
11688
11689 2001-01-01  Andreas Jaeger  <aj@suse.de>
11690
11691         * loop.c (scan_loop): Use xmalloc to allocate movables.
11692
11693 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
11694
11695         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
11696         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
11697         * reload1.c (REGISTER_MOVE_COST): Likewise.
11698         * regclass.c (REGISTER_MOVE_COST): Likewise.
11699         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
11700         dimension.  Adjust all users.
11701         (init_reg_sets_1): Iterate on all modes.
11702         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
11703         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
11704         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
11705         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
11706         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
11707         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
11708         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
11709         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
11710         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
11711         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
11712         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
11713         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
11714         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
11715         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
11716         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
11717         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
11718         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
11719         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
11720         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
11721         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
11722         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
11723         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
11724         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
11725         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
11726         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
11727         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
11728         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
11729
11730 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
11731
11732         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
11733         arg VARIES_P.  Call it with extra arg.
11734         (true_dependence): Likewise.
11735         * rtl.h (rtx_addr_can_trap_p): Declare.
11736         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
11737         prototypes.
11738         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
11739         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
11740         pic offset table register if it's zero.  All callers changed.
11741         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
11742
11743 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11744
11745         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
11746         STRING_POOL_ADDRESS_P.
11747
11748         * config/sparc/sparc.c (input_operand): Properly test for short op.
11749
11750         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
11751         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
11752         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
11753         * config/sparc/elf.h: No longer include sol2.h.
11754         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
11755         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
11756
11757         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
11758
11759 2001-01-01  Michael Hayes  <mhayes@redhat.com>
11760
11761         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
11762         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
11763         (record_initial): Likewise.
11764         * unroll.c (copy_loop_body, loop_iterations): Likewise.
11765         (remap_split_bivs): Likewise.
11766
11767 2001-01-01  Michael Hayes  <mhayes@redhat.com>
11768
11769         * loop.c (loop_ivs_free): New function.
11770         (strength_reduce): Break out from...
11771
11772 2001-01-01  Michael Hayes  <mhayes@redhat.com>
11773
11774         * loop.h (struct iv): New.
11775         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
11776         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
11777         'reg_biv_class' fields with 'regs' and 'n_regs'.
11778         (struct ivs): Rename 'loop_iv_list' field to 'list'.
11779         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
11780         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
11781
11782 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
11783
11784         * resource.c (mark_referenced_resources): Abort() before
11785         attempting to mark a pseudo register.
11786         (mark_set_resources): Likewise.
11787
11788 2001-01-01  Michael Hayes  <mhayes@redhat.com>
11789
11790         * loop.h (REG_IV_CLASS): New accessor macro.
11791         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
11792         * unroll.c (REG_IV_CLASS): Likewise.
11793
11794 See ChangeLog.4 for earlier changes.