OSDN Git Service

* gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-05-30  Tom Tromey  <tromey@redhat.com>
2
3         * gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
4         use it in the new association.
5
6 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
7             John David Anglin  <dave@hiauly1.hia.nrc.ca>
8
9         * gthr-posix.h (__gthread_active_ptr): Cast function pointer
10         to target type to allow ISO C++ compiler to accept it.
11         * gthr-dce.h (__gthread_active_ptr): Likewise.
12         * gthr-solaris.h (__gthread_active_ptr): Likewise.
13
14 2001-05-30  Neil Booth  <neil@daikokuya.demon.co.uk>
15
16         * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
17         so that we do accept comments in preprocessed input.
18
19 2001-05-30  Neil Booth  <neil@daikokuya.demon.co.uk>
20
21         * cpphash.c (alloc_node): Cast allocated pointer.
22
23 2001-05-30  Gordon Sadler <gbsadler1@lcisp.com>
24
25         * invoke.texi (Option Summary): Remove -isystem-c++ from options.
26
27 2001-05-29  Stan Shebs  <shebs@apple.com>
28
29         * gcc.texi: Add links for information about Objective-C.
30
31 2001-05-29  Nathan Sidwell  <nathan@codesourcery.com>
32
33         * configure.in (gcc_version): Remove unrequired \ on ". (Solaris
34         /bin/sed fails on [^\"]).
35         (configargs.h): Likewise.
36
37 2001-05-29  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
38
39         * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
40
41 2001-05-28  Stan Shebs  <shebs@apple.com>
42
43         * objc/objc.gperf: Remove, no longer used.
44
45 2001-05-28  Joseph S. Myers  <jsm28@cam.ac.uk>
46
47         * c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
48         gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
49         Remove trailing whitespace.
50
51 2001-05-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
52
53         * doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
54         became http://freeware.sgi.com/.
55
56 2001-05-27  Geoffrey Keating  <geoffk@redhat.com>
57
58         * local-alloc.c (update_equiv_regs): Don't eliminate constant
59         expressions at -O0.
60
61 2001-05-27  Stan Shebs  <shebs@apple.com>
62
63         * objc/objc-act.c: Add/fix various comments.
64         (init_selector): Remove, no longer used.
65         (build_msg_pool_reference): Ditto.
66         (objc_debug): Ditto.
67
68 2001-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
69
70         * c-decl.c (init_decl_processing):
71          Don't call start_identifier_warnings.
72         * flags.h (warn_id_clash, id_clash_len): Remove.
73         * stringpool.c: Don't include flags.h.
74         (scan_for_clashes, do_identifier_warnings,
75         start_identifier_warnings): Remove.
76         * toplev.c (warn_id_clash, id_clash_len): Remove.
77         (display_help): Don't document -Wid-clash.
78         (decode_W_option): Print warning on -Wid-clash.
79         * tree.h (start_identifier_warnings): Remove.
80         * invoke.texi: Remove documentation of -Wid-clash.
81
82 2001-05-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
83
84         * fixinc/fixtests.c: Declare entries in ENV_TABLE.
85
86 2001-05-27  Bruce Korb  <bkorb@gnu.org>
87
88         * fixinc/check.tpl(HACK) add and use a Scheme variable
89         (has no test text): error out if no "test_text" is defined
90         * fixinc/fixincl.tpl: likewise
91         (FIXIDX): make it an enumeration so we minimize diffs
92         * fixinc/inclhack.def: re-alphabetize and add sort instructions
93         * fixinc/fixincl.x: regenerate
94         * fixinc/tests/base/stdio.h: test output got moved due to
95         the alphabetizing
96         * README-fixinc: rewrite (mostly)
97
98 2001-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
99
100         * cpplib.c (run_directive): Set pfile->directive.
101
102 2001-05-23  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
103
104         * c-tree.texi: Reformat the manual as a single chapter now
105         included by gcc.texi.
106         * gcc.texi: Include c-tree.texi. Merge all indexes.
107         * Makefile.in (dvi): Add generation for the cppinternals
108         documentation. Added dependencies on fdl.texi and c-tree.texi
109         where appropriate.  Use TEXI2DVI instead of custom tex calls.
110         (info): Added dependencies on fdl.texi and c-tree.texi where
111         appropriate.  Remove the target c-tree.info.
112
113 2001-05-27  Lars Brinkhoff  <lars@nocrew.org>
114
115         * combine.c (try_combine): Fix typo in comment.
116         * expr.c (expand_expr): Likewise.
117         * config/i370/i370.md (untyped_call): Likewise.
118
119 2001-05-26  Bruce Korb  <bkorb@gnu.org>
120
121         * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
122         when fixincl is operating in test mode
123         * fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
124         (AAB_ultrix_limits): remove redundant text
125         (AAB_ultrix_memory): ditto
126         (AAB_ultrix_string): ditto
127         (djgpp_wchar_h): fix the test text
128         (irix_stdio_va_list): add test text
129         (irix_limits_const): add a testing output file (limits.h is overwritten)
130         (strict_ansi_not_ctd): put limits.h second in list for same reason
131         (solaris27_mutex_init): test text needed selection text, too
132
133         * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
134         when fixincl is operating in test mode
135
136 2001-05-26  Philip Blundell  <philb@gnu.org>
137
138         * config/c4x/c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
139         * config/i960/i960-protos.h: Likewise.
140         * config/i370/i370-protos.h: Likewise.
141         * config/h8300/h8300-protos.h: Likewise,
142         * config/sh/sh-protos.h: Likewise.
143         * config/v850/v850-protos.h: Likewise.
144
145 2001-05-26  Philip Blundell  <philb@gnu.org>
146
147         * config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
148
149 2001-05-25  Zack Weinberg  <zackw@stanford.edu>
150
151         * toplev.c (debug_args, f_options, W_options): Mark
152         descriptions for translation.
153         (display_help): Translate descriptions on output.
154
155         * cp/lang-options.h, f/lang-options.h, java/lang-options.h,
156         objc/lang-options.h: Mark descriptions for translation.
157
158         * aclocal.m4: Quote final argument of patsubst.  Use
159         3-argument form of AC_DEFINE.  Restore quotes to [] while
160         using AC_FD_CC.
161         * configure.in: Remove unnecessary changequote calls.
162         * configure, config.in: Regenerate.
163
164 2001-05-25  Sam TH  <sam@uchicago.edu>
165
166         * basic-block.h: Fix header include guards.
167         * bitmap.h c-dump.h c-lex.h c-pragma.h c-tree.h collect2.h
168         cppdefault.h cpphash.h cpplib.h defaults.h diagnostic.h errors.h
169         except.h flags.h gcc.h gcov-io.h graph.h gstab.h gthr-aix.h
170         gthr-dce.h gthr-posix.h gthr-rtems.h gthr-single.h gthr-solaris.h
171         gthr-vxworks.h gthr-win32.h gthr.h hard-reg-set.h hwint.h
172         insn-addr.h libgcc2.h mbchar.h mkdeps.h params.h prefix.h real.h
173         rtl.h sbitmap.h system.h timevar.h toplev.h tradcpp.h tsystem.h
174         varray.h version.h: Likewise.
175         * config/dbxelf.h config/fp-bit.h config/arm/arm-protos.h
176         config/arm/arm.h config/c4x/c4x-protos.h
177         config/h8300/h8300-protos.h config/h8300/h8300.h
178         config/i370/i370-protos.h config/i370/i370.h
179         config/i960/i960-protos.h config/mcore/mcore.h
180         config/mips/mips-protos.h config/sh/sh-protos.h config/sh/sh.h
181         config/v850/v850-protos.h config/v850/v850.h: Likewise.
182         * fixinc/fixlib.h fixinc/server.h: Likewise.    
183
184 2001-05-25  Stacey Sheldon  <ssheldon@Catena.com>
185
186         * config/arc/initfini.c (.init): Fix typo.
187
188 2001-05-25  Geoffrey Keating  <geoffk@redhat.com>
189
190         * config/rs6000/rs6000.md (fseldfsf4): Correct mode of operand 4.
191
192 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
193
194         * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
195
196 2001-05-25  Richard Henderson  <rth@redhat.com>
197
198         * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
199
200 2001-05-25  Richard Henderson  <rth@redhat.com>
201
202         * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
203         (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
204         (sparc*-*-solaris2): Likewise.
205         * config/t-linux: Remove shared libgcc macros.
206         * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
207         * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.
208
209 2001-05-25  Loren J. Rittle  <ljrittle@acm.org>
210
211         * config.gcc (*-*-freebsd*): Report bad configuration.
212
213 2001-05-25  David Edelsohn  <edelsohn@gnu.org>
214
215         * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
216
217         * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
218         any prefix.
219         (ASM_OUTPUT_LABELREF): Delete.
220
221 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
222
223         * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
224         strict_ansi_only): Don't run if stdc_0_in_system_headers.
225         * fixinc/fixincl.x: Regenerate.
226         * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
227         (FIX_TEST_TABLE): Declare it.
228         * fixinc/fixlib.h: Include config.h.
229
230 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
231
232         * fixinc/inclhack.def (alpha___assert): Change char * args to
233         const char * on Tru64 UNIX to avoid excessive warnings from
234         assert.h.
235         * fixinc/fixincl.x: Regenerate.
236
237 2001-05-25  Geoff Keating  <geoffk@redhat.com>
238
239         * dbxout.c (dbxout_symbol): Invert previous patch, which was
240         outputting a tag only for variable-size records.
241
242 2001-05-25  Jeff Knaggs  <jknaggs@redhat.com>
243
244         * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
245         instead of rtx_equal_p for early clobber test.
246
247 2001-05-26  Mark Mitchell <mark@codesourcery.com>
248
249         * builtins.def: Encode additional information, such as names and
250         types, here.
251         * builtin-types.def: New file.
252         * builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
253         (built_in_decls): Likewise.  Don't explicitly initialize global
254         data to NULL.
255         (expand_builtin_mathfn): Handle float and long double variants of
256         math builtins.
257         (expand_builtin): Likewise.
258         * c-common.c (c_common_nodes_and_builtins): Make it table-driven.
259         (expand_tree_builtin): Handle long, long long, float, and long
260         double variants of math functions.
261         * c-common.h (c_tree_index): Remove some unused nodes.
262         (void_ftype): Remove.
263         (void_type_ptr): Likewise.
264         (int_ftype_int): Likewise.
265         (ptr_ftype_sizetype): Likewise.
266         * c-decl.c (init_decl_processing): Remove creation of DWARF
267         builtins.
268         * defaults.h (MD_INIT_BUILTINS): Provide default definition.
269         * tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
270         * Makefile.in (c-common.o): Depend on builtin-types.def.
271         
272 2001-05-25  Dale Johannesen  <dalej@apple.com>
273
274         * config/rs6000/t-darwin: Fix dependencies for darwin.o.
275
276 2001-05-25  Neil Booth  <neil@daikokuya.demon.co.uk>
277
278         * c-parse.in (notype_initdcl): Remove redundant line.
279
280 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
281
282         * aclocal.m4: Fixed typo.
283         (gcc_AC_HEADER_STDBOOL): Define.
284         (gcc_AC_C__BOOL): Define.
285         * configure.in: Use them.
286         (AC_CHECK_HEADERS): Remove stdbool.h
287         * configure, config.in: Regenerate.
288
289 2001-05-25  Richard Henderson  <rth@redhat.com>
290
291         * function.c (expand_function_start): Don't abort on PARALLEL
292         returns from hard_function_value.
293
294 2001-05-25  Richard Henderson  <rth@redhat.com>
295
296         * config/i386/i386.md: Revert previous change.  Do not apply
297         the peephole if the components do not die after the sequence.
298
299 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
300
301         * c-parse.in (array_declarator): New.  Handle C99 constructs.
302         Don't restrict [*] declarators to C only.
303         (after_type_declarator, parm_declarator_starttypename,
304         parm_declarator_nostarttypename, notype_declarator,
305         direct_absdcl1): Use it.
306         * c-decl.c (build_array_declarator, set_array_declarator_type):
307         New functions.  Warn that [*] isn't properly implemented; pedwarn
308         for [*] outside C99 mode if pedantic rather than giving a hard
309         error.
310         (grokdeclarator): Handle static and type qualifiers in parameter
311         array declarators.
312         * c-tree.h (build_array_declarator, set_array_declarator_type):
313         Declare.
314         * extend.texi (Attribute Syntax): Document attributes in parameter
315         array declarators.
316
317 2001-05-25  Mark Mitchell  <mark@codesourcery.com>
318
319         * config/i386/i386.md: Make sure cmpstr peepholes do not 
320         affect liveness information.
321
322 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
323
324         * c-typeck.c (digest_init): Issue error messages about 
325         invalid constants, not warnings.
326
327 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
328
329         * invoke.texi (-fno-builtin): Document that this is always on
330         in C++.
331
332 2001-05-24  Philip Blundell  <philb@gnu.org>
333
334         * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
335         required.
336
337 2001-05-24  Philip Blundell  <philb@gnu.org>
338
339         * config/arm/arm.c (output_return_instruction): Correctly handle
340         interworking and interrupt functions.
341
342 2001-05-24  Philip Blundell  <philb@gnu.org>
343
344         * config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
345         -m{no-}sched-prolog.  Fix typos and improve formatting.
346
347 2001-05-24  Philip Blundell  <philb@gnu.org>
348
349         * invoke.texi (ARM Options): Improve wording slightly.  Add
350         documentation for more options, including those for Thumb mode.
351         Don't mention options that don't exist or are unimplemented.
352         (Thumb Options): Delete; merged into above section.
353
354 2001-05-24  Geoff Keating  <geoffk@redhat.com>
355
356         * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
357         (MD_FALLBACK_FRAME_STATE_FOR): Use it.
358
359 Thu May 24 19:47:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
360
361         * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
362         fix hard register simplification.
363
364 Thu May 24 00:15:17 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
365
366         * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
367         of just copying CPP_CPU_SPEC.
368
369 Thu May 24 15:56:48 CEST 2001  Jan Hubicka  <jh@suse.cz>
370
371         * i386.c (incdec_operand): Accept only 1 and -1.
372
373 2001-05-23  Kelley Cook  <kelley.cook@home.com>
374
375         * Makefile.in: Move many of the *_H definitions eariler in the
376         file, so that rules in t-* files that use them for
377         dependencies will work in a parallel build.
378         * config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).
379
380 2001-05-23  Richard Henderson <rth@redhat.com>
381
382         * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
383
384 2001-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
385
386         * cpp.texi: Update for handling of charconsts.
387         * cpplex.c (maybe_read_ucs): Don't accept D800-DFFF.  Update
388         diagnostics.  Skip to the end if the UCS is too short.
389         (cpp_interpret_charconst): Long charconsts issue a warning
390         not an error.
391
392 2001-05-23  Richard Henderson  <rth@redhat.com>
393
394         * doc/install.texi (alpha-linux): Require binutils 2.11.
395
396 2001-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
397
398         * c-lex.c (read_escape, read_ucs): Delete.
399         (lex_string): Use cpp_parse_escape.
400         * cpplex.c (read_ucs): Rename maybe_read_ucs.  Do nothing
401         if not C++ or not C99.  Warn if traditional.
402         (parse_escape): Rename cpp_parse_escape.  Make the bitmask
403         unsigned.  Warn for out-of-range escape sequences here.
404         Update to use maybe_read_ucs.
405         (cpp_interpret_charconst):  Don't warn here.
406         * cpplib.h (cpp_parse_escape): New exported function.
407
408 2001-05-23  Joseph S. Myers  <jsm28@cam.ac.uk>
409
410         * extend.texi (Attribute Syntax): Clarify application of
411         attributes to parameters declared as functions or arrays.
412
413 2001-05-23  Jason Merrill  <jason_merrill@redhat.com>
414
415         * dbxout.c (dbxout_type_methods): Do still group methods by name.
416
417 2001-05-23  Zack Weinberg  <zackw@stanford.edu>
418
419         * diagnostic.c (vnotice): Kill.
420         (fnotice): Call vfprintf directly.
421         (diagnostic_for_decl, output_do_verbatim, output_verbatim,
422         verbatim, set_diagnostic_context): Rename string argument to
423         indicate that it is run through gettext.
424         (vbuild_message_string, build_message_string, output_do_printf):
425         Rename string argument to indicate that it is NOT run through
426         gettext.
427         (output_printf, diagnostic_for_decl, fatal_io_error, sorry,
428         output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
429         Run msgid argument through gettext.
430         (default_print_error_function): Run constant strings through
431         gettext when nothing else will.
432         (fatal_error, internal_error, error_recursion): Use fnotice.
433         Present complete sentences to gettext.
434
435 2001-05-23  Mark Mitchell  <mark@codesourcery.com>
436
437         * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
438
439 2001-05-23  Richard Henderson  <rth@redhat.com>
440
441         * function.c (expand_function_start): Always use a pseudo
442         for the function result value.
443
444 2001-05-22  Richard Henderson  <rth@redhat.com>
445
446         * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
447         section pointer alignment.
448
449         * doc/install.texi (alpha-linux): Require binutils >= 2.10.
450
451         * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
452         of __USER_LABEL_PREFIX__.
453
454 2001-05-22  Richard Henderson  <rth@redhat.com>
455
456         * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
457         (__deregister_frame_info_bases): New.
458         * unwind-dw2-fde.h: Declare it.
459         * libgcc-std.ver: Export it.
460         * crtstuff.c (__do_global_dtors_aux): Call it if we would have
461         called __register_frame_info_bases.
462
463 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
464
465         * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
466         instead of #elif (which is OK for this case but not in general).
467
468 2001-05-22  Andrew MacLeod  <amacleod@redhat.com>
469
470         * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
471         * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
472         parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
473         * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing 
474         "r2" to the assembly file. Only issue allocs with non-zero parameters.
475
476 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
477             David O'Brien  <obrien@freebsd.org>
478
479         * config/freebsd.h (LIB_SPEC): Key the exact setting to
480         configure-time options and target version of FreeBSD.  Set-up
481         to match architectural change in threading support.  Correctly
482         report when -pthread option is not supported by configure-time
483         options.
484         (FBSD_CPP_PREDEFINES): Move from architecture-specific files
485         and extend to encode target version number in run-time setting
486         of __FreeBSD__ macro to match the system compiler.
487         (CPP_PREDEFINES): Likewise.
488         (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
489
490         * config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
491         * config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
492
493 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
494             David O'Brien  <obrien@freebsd.org>
495
496         * config.gcc (the unlabeled system switch statement): Add
497         generic configuration section to handle *-*-freebsd*.  Also,
498         to match the system compiler, default to threading support (it
499         may be disabled with the standard --disable-threads
500         configuration-time switch).
501         (i[34567]86-*-freebsd* in machine-specific section): Use it.
502         (alpha*-*-freebsd* in machine-specific section): Likewise.
503
504         * config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
505         * config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
506         * config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
507         * config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
508         * config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
509
510 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
511             David O'Brien  <obrien@freebsd.org>
512
513         * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
514         * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
515         -pthread instead setting macro.
516
517 2001-05-22  Richard Henderson  <rth@redhat.com>
518
519         * crtstuff.c (__register_frame_info_bases): Declare.
520         (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
521         (__do_global_dtors_aux, __do_global_dtors): Streamline.
522
523         * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
524         (CRT_GET_RFIB_DATA): New.
525         * config/i386/sysv4.h: Likewise.
526         * config/i386/sco5.h: Likewise.
527         (ASM_PREFERRED_EH_DATA_FORMAT): New.
528
529 2001-05-22  Richard Henderson  <rth@redhat.com>
530
531         * rtl.c (read_string): Break out from ...
532         (read_rtx): ... here.
533
534 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
535
536         * doc/install.texi (Specific): Remove a bogus and duplicate part
537         copied from the end of the document.
538
539 2001-05-22  Bernd Schmidt  <bernds@redhat.com>
540
541         * Makefile.in (LIBGCC_DEPS): Correct LIB1ASMSRC dependency.
542
543 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
544
545         * install.texi: Remove obsolete information on SunOS as well as
546         i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
547         (Installing GNU CC on the Sun): Remove section.
548
549 2001-05-22  Alexandre Oliva  <aoliva@redhat.com>
550
551         * cppfiles.c (remove_component_p): Don't assume lstat/stat will
552         keep errno unchanged on success.
553
554 2001-05-22  Joseph S. Myers  <jsm28@cam.ac.uk>
555
556         * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
557         once for hexadecimal floats, whether or not they contain a decimal
558         point.  Don't let the setting of pedantic otherwise affect the
559         parsing of hexadecimal floats.
560
561 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
562
563         * README.ACORN: Remove obsolete file.
564
565 2001-05-22  Jan Hubicka  <jh@suse.cz>
566
567         * combine.c (gen_binary): Use swap_commutative_operands_p
568         (simplify_comparison): Likewise.
569         * expmed.c (emit_store_flag): Likewise.
570         * expr.c (compare_from_rtx): Likewise.
571         (do_compare_rtx_and_jump): Likewise.
572         * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
573         if not emitting a branch and operands want swapping.
574
575 2001-05-22  Neil Booth  <neil@daikokuya.demon.co.uk>
576
577         * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
578         * stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
579         (maybe_get_identifier): Update.
580         * tree.h (make_identifier): Delete.
581
582 2001-05-21  Richard Henderson  <rth@redhat.com>
583
584         * combine.c (subst): Do not substitute for a register as
585         a destination subreg/strict_low_part/zero_extract.
586
587         * combine.c (simplify_comparison): Update op1 after constant
588         extension.
589         * recog.c (const_int_operand): Accept only constants valid
590         for the given mode.
591         * genrecog.c: Update comments wrt const_int_operand.
592
593         * emit-rtl.c (init_emit_once): Zero unused memory in a
594         CONST_DOUBLE.
595
596 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
597
598         * tree.h (type_num_arguments): Declare it.
599         * tree.c (type_num_arguments): New function.
600
601 2001-05-21  Richard Henderson  <rth@redhat.com>
602
603         * dwarf2out.c (current_funcdef_number): Move outside dwarf2
604         conditional ifdef.
605
606 2001-05-21  Geoff Keating  <geoffk@redhat.com>
607
608         * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
609         (maxsf3+1): Delete.
610         (minsf3): Use rs6000_emit_minmax.
611         (minsf3+1): Generalize to handle both SMIN and SMAX.  Use
612         rs6000_emit_minmax.
613         (movsfcc): Use rs6000_emit_cmove.
614         (fselsfsf4): Don't compare a CONST_INT with a floating-point value.
615         Don't generate emit_fselsfsf4.
616         (fseldfsf4): Likewise.
617         (maxdf3): Use rs6000_emit_minmax.
618         (maxdf3+1): Delete.
619         (mindf3): Use rs6000_emit_minmax.
620         (mindf3+1): Generalize to handle both SMIN and SMAX.  Use
621         rs6000_emit_minmax.
622         (movdfcc): Use rs6000_emit_cmove.
623         (fseldfdf4): Don't compare a CONST_INT with a floating-point value.
624         Don't generate emit_fselsfsf4.
625         (fselsfdf4): Likewise.
626         * config/rs6000/rs6000.c (zero_fp_constant): New predicate.
627         (min_max_operator): New predicate.
628         (rs6000_emit_cmove): New function.
629         (rs6000_emit_minmax): New function.
630         * config/rs6000/rs6000-protos.h: Prototype new functions.
631         * config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
632         and min_max_operator.
633
634         * config/rs6000/rs6000.c (output_cbranch): Handle all
635         conditional types in the switch statement.
636
637 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
638
639         * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
640         non-register variables.
641         * extend.texi: Document that asm-specifications do not make sense
642         for non-static local variables.
643
644 2001-05-21  Jason Merrill  <jason_merrill@redhat.com>
645
646         * dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
647         (dbxout_type_fields): Lose minimal_debug support.
648         (dbxout_type_methods, dbxout_type): Likewise.
649
650 2001-05-17  Andrew Haley  <aph@redhat.com>
651
652         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
653
654 2001-05-21  Richard Henderson  <rth@redhat.com>
655
656         * dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
657         Update all users.
658
659 2001-05-20  Richard Henderson  <rth@redhat.com>
660
661         * dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
662         DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
663         DEBUG_STR_SECTION): Rename from s/DEBUG_//.  Update all users.
664         * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
665         DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
666         Likewise.
667         * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
668         DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
669         DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
670         (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
671         * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
672         DEBUG_PUBNAMES_SECTION): Rename as above.
673         (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
674
675 2001-05-20  Richard Henderson  <rth@redhat.com>
676
677         * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
678         operands unless the operation is commutative.
679
680 2001-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
681
682         * fold-const.c (tree_expr_nonnegative_p): Detect more non-negative
683         cases.
684
685 2001-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
686
687         * extend.texi: Clarify documentation of extensions included in ISO
688         C99.  Prefer C99 terminology and syntax to old GNU terminology and
689         syntax.  Add more index entries.  Document mixed declarations and
690         code as an extension in C89 mode.  Warn about future changes to
691         semantics of inline functions.  Fixes PR other/930.
692
693 Sun May 20 16:39:24 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
694
695         * expr.c (expand_expr, case ARRAY_REF): Don't fold constant
696         access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
697         (expand_expr, case COMPONENT_REF): Do copy if misaligned even
698         if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
699
700         * stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
701
702 2001-05-20  Richard Henderson  <rth@redhat.com>
703
704         * sched-deps.c (sched_analyze_insn): Force volatile memory reads
705         to be output before a branch.
706
707 2001-05-20  Richard Henderson  <rth@redhat.com>
708
709         * Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
710
711 2001-05-20  Richard Henderson  <rth@redhat.com>
712
713         * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
714         (ASM_DOUBLE): Remove.
715         * config/i386/bsd.h, config/i386/sco5.h: Likewise.
716         * config/i386/sun386.h: Likewise.
717
718         * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
719         (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
720         
721         * config/i386/cygwin.h (INT_ASM_OP): Remove.
722         * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
723         * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
724         * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
725         
726         * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
727         * config/i386/djgpp.h, config/i386/i386.h: Likewise.
728         * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
729         * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
730         * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
731         * config/i386/win32.h: Likewise.
732
733 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
734
735         * invoke.texi: Add more options to summary list.
736
737 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
738
739         * invoke.texi: Document meaning of -pedantic when -std=gnu* is
740         used.  Fixes PR c/2291.
741         * gcc.1: Regenerate.
742
743 2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
744
745         * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
746         the -fpic and -fPIC options, clear flag_pic.
747
748 2001-05-20  Neil Booth  <neil@daikokuya.demon.co.uk>
749
750         * hashtable.c (calc_hash): Fix HASHSTEP definition.
751         * stringpool.c (make_identifier): No statistics here anymore.
752         * objc-act.c (steup_string_decl): Remove redundant check.
753
754 2001-05-20  Neil Booth  <neil@daikokuya.demon.co.uk>
755
756         * Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
757         cpplib.o, cpphash.o, fix-header): Update.
758         (hashtable.o): New target.
759         * c-common.h: Include cpplib.h.  Define C_RID_CODE and
760         struct c_common_identifier here.
761         * c-lang.c (c_init_options): Update.  Call set_identifier_size.
762         * c-lex.c (c_lex): Update.
763         * c-pragma.h: Update.
764         * c-tree.h (struct lang_identifier): Contain c_common_identifier.
765         Delete rid_code.
766         (C_RID_CODE): Delete.
767         * cpphash.c: Rewrite to use hashtable.c.
768         * cpphash.h: Update include guards.
769         (struct cpp_reader): Remove hashtab.
770         hash_ob and buffer_ob are no longer pointers.  Add hash_table
771         and our_hashtable.
772         (HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
773         (_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
774         (_cpp_cleanup_stacks): Rename _cpp_init_directives.
775         * cppinit.c (cpp_create_reader): Update.
776         * cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
777         (cpp_interpret_charconst): Eliminate warning.
778         * cpplib.c (do_pragma, do_endif, push_conditional,
779         cpp_push_buffer, cpp_pop_buffer): Update.
780         (_cpp_init_stacks): Rename cpp_init_directives.
781         (_cpp_cleanup_stacks): Remove.
782         * cpplib.h: Update include guards.  Include tree-core.h and c-rid.h.
783         (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
784          cpp_forall_identifiers, cpp_create_reader): Update.
785         (C_RID_CODE, cpp_make_node): New.
786         (c_common_identifier): New identifier node for C front ends.
787         * cppmain.c (main): Update.
788         * fix-header.c (read_scan_file): Update.
789         * flags.h (id_clash_len): Make unsigned.
790         * ggc.h (ggc_mark_nonnull_tree): New.
791         * hashtable.c: New.
792         * hashtable.h: New.
793         * stringpool.c: Update comments and copyright.  Update to use
794         hashtable.c.
795         * toplev.c (approx_sqrt): Move to hashtable.c.
796         (id_clash_len): Make unsigned.
797         * toplev.h (ident_hash): New.
798         * tree.c (gcc_obstack_init): Move to hashtable.c.
799         * tree.h: Include hashtable.h.
800         (IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
801         (GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
802         (struct tree_identifier): Update.
803         (make_identifier): New.
804 cp:
805         * cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
806         (C_RID_CODE): Remove.
807         * lex.c (cxx_init_options): Call set_identifier_size.  Update.
808         (init_parse): Don't do it here.
809 objc:
810         * objc-act.c (objc_init_options): Call set_identifier_size. Update.
811
812 Sat May 19 18:23:04 2001  Richard Henderson <rth@redhat.com>
813
814         * except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
815         as ncessary.
816         (expand_eh_return): Convert between word_mode and Pmode.
817         * unwind-dw2.c (extract_cie_info): Do not assume words and pointers
818         are the same size.
819         (execute_stack_op): Likewise.
820         (execute_cfa_program): Likewise.
821         (uw_frame_state_for): Likewise.
822         (uw_update_context_1): Likewise.
823         * unwind.inc (_Unwind_Reason_Code): Likewise.
824         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
825         (EH_RETURN_STACKADJ_RTX): Likewise.
826         * config/mips/mips.c (compute_frame_size): Make space for saving
827         EH return registers.
828         (mips_expand_epilogue): Handle EH stack adjustments.
829         * config/mips/mips.md (eh_return): New pattern.
830         (eh_set_lr_si): Likewise.
831         (eh_set_lr_di): Likewise.
832         Add splitter to perform EH return after reload.
833                 
834 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
835
836         * jump.c (mark_jump_label): Tidy previous change.
837
838 2001-05-19  Bruce Korb  <bkorb@gnu.org>
839
840         * fixinc/genfixes: no need for two warnings
841         * fixinc/Makefile.in: open stdin for those building with a closed one.
842
843 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
844
845         * jump.c (jump_optimize_1): Tidy.
846         (mark_jump_label): When changing the label in a LABEL_REF, change
847         update any REG_EQUAL notes as well.
848
849 2001-05-19  Joseph S. Myers  <jsm28@cam.ac.uk>
850
851         * c-parse.in (parm_declarator): Split into
852         parm_declarator_starttypename and parm_declarator_nostarttypename.
853         (parm_declarator_starttypename, parm_declarator_nostarttypename):
854         New.  Allow parenthesised sub-declarators which don't begin with a
855         TYPENAME.  Fixes PR c/166.
856
857 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
858
859         * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
860         macro.
861         * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
862         Document it.
863         * toplev.c (main): If the target does not allow profiling without
864         a frame pointer, issue an error message.
865         * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): 
866         Define it to false.
867         
868 Sat May 19 07:53:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
869
870         * recog.c (general_operand): Modify last change to allow it if reload
871         has completed.
872
873 Sat May 19 10:23:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
874
875         * recog.c (general_operand): Prohibit nonzero subreg bytes on
876         subregs containing mem.
877
878 Sat May 19 09:40:45 2001  Denis Chertykov  <denisc@overta.ru>
879
880         * regrename.c (regrename_optimize): frame pointer register can
881         use a few hardregs.
882
883 2001-05-18  Jason Merrill  <jason_merrill@redhat.com>
884
885         * README.DWARF: Move into dwarfout.c.
886
887 2001-05-18  Dale Johannesen  <dalej@apple.com>
888
889         * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
890         specific misuse of r0 as a reload address.
891
892 Fri May 18 22:42:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
893
894         * combine.c (combine_simplify_rtx): Clear op0_mode if simplification
895         suceeded.
896
897 Fri May 18 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
898
899         * genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
900         (add_to_sequence): Make that decision type.
901         (maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
902         (write_switch, write_cond, debug_decision_2): Likewise.
903
904         * dbxout.c (dbxout_type): Use host_integerp and fix typo in testing
905         for INTEGER_TYPE.
906         (dbxout_symbol, case TYPE_DECL): Don't generate tag for records of
907         variable size.
908
909 2001-05-18  Stan Shebs  <shebs@apple.com>
910
911         * configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
912         * configure: Regenerate.
913
914 2001-05-18  Per Bothner  <per@bothner.com>
915
916         Changes needed for java/jvspec.c
917         * gcc.h (n_infiles, outfiles):  Add declarations.
918         * gcc.c (n_infiles, outfiles):  Mske no longer static.
919
920 Fri May 18 10:14:42 2001  Jeffrey A Law  (law@cygnus.com)
921
922         * config/pa/som.h (EXCEPTION_SECTION): Define.
923
924 2001-05-18  Daniel Berlin  <dan@cgsoftware.com>
925
926         * dwarf2out.c: Add dw_loc_list_ref, a reference to a location
927         list.
928         Add have_location_lists, a variable to determine whether we need a
929         .debug_loc section or not.
930         (enum dw_val_class): Add dw_val_class_loc_list.
931         (dw_val_struct): Add val_loc_list.
932         (dw_loc_list_struct): New structure, represents location lists.
933         (new_loc_list): New function, return a new location list, given
934         the range and location expression.
935         (add_loc_descr_to_loc_list): New function, add a location
936         expression to a location list, given the expression and range.
937         (output_loc_list): New function, output a location list.
938         (gen_internal_sym): Modified to take symbol prefix, so we can
939         reuse it for location list symbols.
940         (add_AT_loc_list): New function, add a location list to a DIE at
941         the named attribute.
942         (AT_loc_list): New function, return the location list reference
943         for a given attribute, if it's a location list.
944         (print_die): Handle dw_val_class_loc_list.
945         (size_of_die): Ditto.
946         (value_format): Ditto.
947         (output_die): Ditto.
948         (output_location_lists): New function, output all of the location
949         lists for a DIE and it's children.
950         (dwarf2out_finish): Call output_location_lists if we have location
951         lists.
952
953
954 Fri May 18 15:39:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
955
956         * gcse.c (try_replace_reg): First try global replace, later try to
957         simplify the expression.
958
959         * gcse.c (find_used_regs): Change calling convention; work via
960         note_uses.
961         (cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.
962
963 2001-05-18  Bernd Schmidt  <bernds@redhat.com>
964
965         Revert
966         2001-02-09  Nick Clifton  <nickc@redhat.com>
967         * config/arm/arm.md: Change output constraint on post inc
968         load/store multiple patterns to be a read/write constraint.
969
970 2001-05-18  Mark Mitchell  <mark@codesourcery.com>
971
972         * basic-block.h (struct basic_block_def): Add documentation about
973         what a basic block is, and what the various fields are used for.
974         * flow.c (calculate_globlal_regs_live): Add documentation about
975         how the algorithm works, and how we know that it will terminate.
976         Check that the the inductive assumption that guarantees
977         termination actually holds.
978         (mark_used_regs): Treat conditionally set registers as used.
979         (debug_regset): Add comment.
980         * rtl.texi (cond_exec): Add documentation.
981
982         * function.c (expand_function_start): Avoid creating BLKmode
983         pseudos.
984
985 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
986
987         * dwarf2out.c (output_comp_unit): Always output a compilation-unit
988         DIE, even if it has no children.
989         (dwarf2out_finish): Always output the line-number table, even if
990         it has no content.
991
992 2001-05-18  David Edelsohn  <edelsohn@gnu.org>
993
994         * rs6000.md (movsfcc,movdfcc): Remove NE case.
995
996 2001-05-17  Bruce Korb <bkorb@gnu.org>
997
998         * fixinc/fixincl.tpl: rewritten as an AutoGen version 5 template
999         * fixinc/genfixes: emit a warning if AutoGen is out of date
1000
1001 2001-05-17  Brendan Conoboy <blc@cygnus.com>
1002             Bruce Korb <bkorb@gnu.org>
1003
1004         * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not
1005         found in fixinc directory.  Facilitates binary distributions.
1006
1007 2001-05-17  Jeffrey Oldham  <oldham@codesourcery.com>
1008
1009         * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
1010         COMPLEX_TYPE.
1011
1012 Thu May 17 19:42:39 2001  Mark Kettenis  <kettenis@wins.uva.nl>
1013
1014         * dwarf2out.c (modified_type_die): Equate qualified type to die.
1015
1016 Thu May 17 23:19:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
1017
1018         * integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
1019         (simplify_subreg): Handle complex types represented as CONCAT.
1020
1021         * recog.c (validate_replace_rtx_1): Properly canonicalize expression
1022         * rtl.h (swap_commutative_operands_p): Declare.
1023         * rtlanal.c (swap_commutative_operands_p): New.
1024         (operand_preference): New static function.
1025
1026         * combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
1027         (gen_binary): Likewise.
1028         * optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
1029         * simplify-rtx.c (simplify_gen_binary,
1030         simplify_gen_relational): Likewise.
1031
1032 Thu May 17 20:43:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
1033
1034         * cse.c (fold_rtx): Use simplify_subreg.
1035
1036         * simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
1037         (simplify_gen_subreg): New.
1038         (simplify_rtx): Use simplify_subreg.
1039         * rtl.h (simplify_gen_subreg): Declare.
1040
1041 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
1042
1043         * doc/install.texi: Update Solaris information.
1044
1045         * except.h (protect_cleanup_actions): Remove it.
1046         (lang_protect_cleanup_actions): Declare it.
1047         * except.c (protect_cleanup_actions): Remove it.
1048         (lang_protect_cleanup_actions): New variable.
1049         (init_eh): Don't make protect_cleanup_actions a GC root.
1050         (expand_eh_region_and_cleanup): Call
1051         lang_protect_cleanup_actions.
1052         (output_function_exception_table): Remove unused `align'
1053         variable.
1054         * varasm.c (assemble_external): Abort if we have not yet
1055         opened the assembly output file.
1056         
1057 Thu May 17 11:54:50 2001  Jeffrey A Law  (law@cygnus.com)
1058
1059         * except.c (sjlj_emit_function_enter): Call assemble_external_libcall
1060         for eh_personality_libfunc.
1061
1062 Thu May 17 19:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
1063
1064         * recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
1065         when calling simplify_subreg.  This is needed to allow replacing
1066         of expression of one mode by expression of different mode.
1067
1068 Thu May 17 19:40:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
1069
1070         * simplify-rtx.c  (simplify_subreg): Avoid creating of incorrect subregs.
1071
1072 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
1073
1074         * expr.c (protect_from_queue): Protect against subsequent calls to
1075         emit_queue.
1076         (expand_expr, case ADDR_EXPR): Prevent protect_from_queue from being
1077         too clever.
1078
1079 Thu May 17 18:17:34 CEST 2001  Jan Hubicka  <jh@suse.cz>
1080
1081         * simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
1082
1083 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1084
1085         * gccbug.in (CATEGORIES): Add "bootstrap".
1086
1087 Thu May 17 16:59:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
1088
1089         * simplify-rtx.c (simplify_subreg): Break out from ...
1090         * combine.c (combine_splify_rtx) ... here and ...
1091         * recog.c (validate_replace_rtx_1): ... here;
1092         * rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
1093         * emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
1094         (subreg_lowpart_p): ... here.
1095
1096 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
1097
1098         * stmt.c (expand_asm_operands): For inout operands, make sure
1099         the substitution of '=' for '+' makes it into the rtl.
1100
1101         * reload1.c (delete_output_reload): Call eliminate_regs on substed.
1102         (reload_as_needed): Call update_eliminable_offsets a bit later.
1103
1104 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1105
1106         * gcc.texi (gccbug): Refer to the web pages for detailed information
1107         on GNATS.
1108
1109 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
1110
1111         * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
1112
1113         * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
1114         OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
1115         LIB1FUNCS, and LIB1FUNCS_EXTRA.  Delete rules: libgcc1-test,
1116         libgcc1-test.o.  Clarify commentary now that libgcc1 no longer exists.
1117         * cross-make: Don't set LIBGCC1.
1118         * mklibgcc.in: Delete all code for building from libgcc1.c.
1119         Always honor LIB1ASMFUNCS if set.
1120
1121         * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
1122         config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
1123         config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
1124         config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
1125         config/i386/uwin.asm, config/m68hc11/larith.asm,
1126         config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
1127         config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
1128         config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
1129         config/v850/lib1funcs.asm, config/c4x/libgcc.S:
1130         Delete or update references to libgcc1 in commentary.
1131
1132         * config/t-libc-ok, config/t-linux, config/t-linux-aout,
1133         config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
1134         config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
1135         config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
1136         config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
1137         config/arm/t-semi, config/arm/t-strongarm-coff,
1138         config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
1139         config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
1140         config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
1141         config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
1142         config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
1143         config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
1144         config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
1145         config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
1146         config/m68k/t-m68kbare, config/m68k/t-m68kelf,
1147         config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
1148         config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
1149         config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
1150         config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
1151         config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
1152         config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
1153         config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
1154         config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
1155         config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
1156         config/mips/t-ultrix, config/mn10200/t-mn10200,
1157         config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
1158         config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
1159         config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
1160         config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
1161         config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
1162         config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
1163         config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
1164         config/sparc/t-sparclite, config/sparc/t-splet,
1165         config/sparc/t-sunos41, config/sparc/t-vxsparc,
1166         config/sparc/t-vxsparc64, config/v850/t-v850:
1167         Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
1168
1169         * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h: 
1170         Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
1171         * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
1172         FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
1173         nongcc_SI_type, nongcc_word_type, or perform_*
1174         * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
1175
1176         * config/i386/386bsd.h, config/i386/beos-elf.h,
1177         config/i386/linux-aout.h, config/i386/linux-oldld.h,
1178         config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
1179         config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
1180         Don't include i386/perform.h.
1181
1182         * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
1183         config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
1184         config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
1185         config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
1186         config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
1187         config/vax/t-openbsd, config/vax/t-vax: Delete.
1188
1189         * config.gcc: Remove references to deleted files.
1190         (arm-semi-aof): Use arm/t-semi for tmake_file.
1191
1192         * gcc.texi, install.texi, invoke.texi, tm.texi:
1193         Delete or rewrite text which is no longer relevant now that
1194         libgcc1 no longer exists.
1195
1196         * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
1197         No need to set INSTALL_ASSERT_H.  (Missed in previous sweep.)
1198
1199 2001-05-16  Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1200         Bruce Korb <bkorb@gnu.org>
1201
1202         * fixinc/inclhack.def(solaris27_mutex_init):  Fix broken mutex
1203         initializer
1204
1205 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
1206
1207         * i386.md: Add two peepholes to clean up code generated by
1208         cmpstr* expanders.
1209
1210 2001-05-16  Richard Henderson  <rth@redhat.com>
1211
1212         * dwarf2asm.c (eh_data_format_name): Add names for "pointer size" 
1213         variants of non-absolute encodings.
1214
1215         * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1216
1217         * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
1218         __register_frame_info_table_bases): Export.
1219
1220 2001-05-16  Richard Henderson  <rth@redhat.com>
1221
1222         * except.c (eh_data_format_name): Move to ...
1223         * dwarf2asm.c: ... here.  Use designated initializers if available.
1224         (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
1225         * dwarf2asm.h: Update declarations.
1226         * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
1227         ASM_PREFERRED_EH_DATA_FORMAT.
1228         (output_call_frame_info): Likewise.  Use 'L' augmentation for
1229         the LSDA encoding.
1230
1231         * unwind-dw2-fde.h (struct fde_vector): New.
1232         (struct old_object): Rename from struct object.
1233         (struct object): New.
1234         (__register_frame_info_bases): Declare.
1235         (__register_frame_info_table_bases): Declare.
1236         (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
1237         * unwind-dw2-fde.c (objects): Remove.
1238         (unseen_objects, seen_objects): New.
1239         (__register_frame_info_bases): New.
1240         (__register_frame_info): Use it.
1241         (__register_frame_info_table_bases): New.
1242         (__register_frame_info_table): Use it.
1243         (__deregister_frame_info): Rewrite for changed object struct.
1244         (base_from_object, get_cie_encoding, get_fde_encoding): New.
1245         (fde_unencoded_compare): Rename from fde_compare; uninline.
1246         (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
1247         (start_fde_sort): Adjust for new definition of fde_vector.
1248         (fde_insert): Likewise.
1249         (end_fde_sort): Likewise.  Select comparison function based
1250         on properties of the object.
1251         (fde_split): Take object and fde_compare_t arguments.
1252         (frame_heapsort, fde_merge): Likewise.
1253         (classify_object_over_fdes): Rename from count_fdes.  Handle
1254         encoded pointers.  Collect encoding, mixed_encoding, and pc_begin
1255         for the object.
1256         (add_fdes): Handle encoded pointers.
1257         (init_object): Rename from frame_init.  Update for new struct object.
1258         (linear_search_fdes): Rename from search_fdes.  Handle encoded
1259         pointers.
1260         (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
1261         (binary_search_single_encoding_fdes): New.
1262         (binary_search_mixed_encoding_fdes): New.
1263         (search_object): New.
1264         (_Unwind_Find_FDE): Update for new struct object.  Fill in
1265         the dwarf_eh_bases.
1266         * unwind-dw2.c: Include unwind-pe.h.  Constify all pointers
1267         iterating over EH data.
1268         (_Unwind_FrameState): Remove saw_lsda, addr_encoding.  Add
1269         fde_encoding, lsda_encoding.
1270         (read_uleb128, read_sleb128): Remove.
1271         (read_encoded_pointer): Remove.  All callers use read_encoded_value.
1272         (extract_cie_info): Set lsda_encoding from 'L' augmentation.
1273         (uw_frame_state_for): Don't set bases.func.  Handle encoded fde
1274         pointers.
1275         * unwind-pe.h: Add "struct" to _Unwind_Context references.
1276
1277 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1278
1279         * cppexp.c (lex): Use NODE_NAME and NODE_LEN.
1280         * cpphash.c (_cpp_lookup_with_hash): Similarly.
1281         * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
1282         cpp_spell_token, cpp_output_token): Similarly.
1283         * cpplib.c (lex_macro_node, do_undef, do_pragma,
1284         do_pragma_poison, parse_assertion, do_assert): Similarly.
1285         * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
1286         save_parameter, _cpp_create_definition, check_trad_stringification,
1287         cpp_macro_definition): Similarly.
1288         * cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
1289         * c-lex.c (cb_undef, c_lex): Similarly.
1290         * fix-header.c (recognized_function): Similarly.
1291         * cpplib.h (NODE_LEN, NODE_NAME): New.
1292         (cpp_hashnode): Rename length len.
1293
1294 Wed May 16 13:41:10 2001  Jeffrey A Law  (law@cygnus.com)
1295
1296         * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
1297         GPRs.
1298
1299 2001-05-16  Andreas Jaeger  <aj@suse.de>
1300
1301         * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
1302
1303         * toplev.c: Include dwarf2asm.h for prototype of
1304         dw2_output_indirect_constants.
1305
1306 Wed May 16 19:53:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
1307
1308         * stmt.c (expand_asm_operands): Be able to offload addressof
1309         expression to memory. (PR optimization/185)
1310
1311 Wed May 16 18:53:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
1312
1313         * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
1314         applying distributive law.
1315
1316 2001-05-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1317
1318         * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
1319
1320         * gthr-dce.h (UNUSED): Attribute unused macro.
1321         (__gthread_key_dtor): Make arguments UNUSED.
1322         (__gthread_key_delete): Revise for compatibility with DRAFT4
1323         implementation.
1324
1325 2001-05-16  David Edelsohn  <edelsohn@gnu.org>
1326
1327         * doc/install.texi: Update AIX information.
1328         * README.RS6000: Remove obsolete file.
1329
1330 2001-05-16  Jakub Jelinek  <jakub@redhat.com>
1331             Nathan Sidwell  <nathan@codesourcery.com>
1332
1333         * gcc.c (give_switch): Don't write before start of string.
1334         Always append suffix.
1335
1336 2001-05-16  Nathan Sidwell  <nathan@codesourcery.com>
1337
1338         * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
1339         after stage3.
1340
1341 2001-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1342
1343         * README.ALTOS: Remove obsolete file.
1344
1345 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1346
1347         * c-lex.h (save_and_forget_protocol_qualifiers,
1348         forget_protocol_qualifiers, remember_protocol_qualifiers):
1349         Remove deleted functions' prototypes.
1350
1351 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1352
1353         * c-parse.in (methodtype): New production.
1354         (methoddef, methodproto): Collapse separate '-' and '+'
1355         handlers into 1.
1356
1357 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1358
1359         * c-common.h (RID_FIRST_PQ): New.
1360         * c-parse.in (objc_pq_context): New.
1361         (objc parser): Set objc_pq_context rather than calling
1362         remember_protocol_qualifiers and forget_protocol_qualifiers.
1363         Don't call save_and_forget_protocol_qualifiers.
1364         (yylexname): Handle objc protocol qualifiers here.
1365         * stringpool.c (struct str_header): Replace with sp_hashnode.
1366         (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
1367         (alloc_string): Rename alloc_ident.  Use the SP_ accessors.
1368         Allocate an IDENTIFIER_NODE for each identifier.
1369         (FORALL_STRINGS, set_identifier): Delete.
1370         (FORALL_IDS, expand_string_table, stringpool_statistics): Update.
1371         (ggc_alloc_string): Use an obstack.
1372         (get_identifier, maybe_get_identifier, mark_string_hash): Update.
1373         * tree.h: Update comments.
1374         (set_identifier): Delete.
1375         * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
1376         save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
1377         remember_protocol_qualifiers): Delete.
1378
1379 Tue May 15 22:14:09 2001  Jeffrey A Law  (law@cygnus.com)
1380
1381         * flow.c (life_analysis): After life analysis is complete, do
1382         an optional scan over insns looking for REG_LABEL notes that
1383         reference a deleted label.
1384         (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
1385         before peeking at LABEL_NUSES.
1386
1387 2001-05-15  Richard Henderson  <rth@redhat.com>
1388
1389         * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
1390         (_Unwind_GetTextRelBase): New.
1391
1392 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
1393
1394         * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
1395
1396 2001-05-15  Geoffrey Keating  <geoffk@redhat.com>
1397
1398         * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
1399         so that CHOOSE_SECTION gets used.
1400
1401         * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
1402         TARGET_RELOCATABLE like flag_pic for now.
1403
1404 2001-05-15  David Edelsohn  <edelsohn@gnu.org>
1405
1406         * rs6000.md (movdi splitter): Sign extend more efficiently.
1407         * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
1408         to "long long" valid on 32-bit and 64-bit hosts.
1409         (logical_operand): Cast trunc_int_for_mode return value.
1410         (rs6000_emit_move): Shift macro to encapsulate variable.
1411         (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
1412         (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
1413         plus_constant requires signed argument.
1414
1415 2001-05-15  Loren J. Rittle  <ljrittle@acm.org>
1416
1417         * gthr-posix.h: Make additional pthread-* functions weak.
1418
1419 Tue May 15 13:51:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
1420
1421         * recog.c (apply_change_group): Avoid unneeded validating.
1422
1423 2001-05-14  David Edelsohn  <edelsohn@gnu.org>
1424
1425         * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
1426         (num_insns_constant): CONST_INT can be 64-bits.
1427
1428 2001-05-14  Stan Shebs  <shebs@apple.com>
1429
1430         * config/darwin.h (LIB_SPEC): Just use -lSystem.
1431         (LIBGCC_SPEC): Don't define.
1432
1433 2001-05-14  Richard Henderson  <rth@redhat.com>
1434
1435         * configure.in (gcc_cv_as_eh_frame): New test.
1436         * config.in, configure: Rebuild.
1437         * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
1438
1439 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
1440
1441         * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
1442         extended precision divide.
1443
1444 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
1445
1446         * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
1447         for RETURNS as well.
1448
1449 Mon May 14 17:34:48 CEST 2001  Jan Hubicka  <jh@suse.cz>
1450
1451         * i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
1452         (CPP_CPU??_SIZE_TYPE): New.
1453         (CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
1454         (CPP_CPU_SPEC): ... here; support choosing of CPU.
1455         (EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
1456         (MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
1457         compiler.
1458         * i386.c (override_options): Add sorry about not suported modes.
1459
1460 Mon May 14 08:56:47 2001  Jeffrey A Law  (law@cygnus.com)
1461
1462         * config/pa/som.h (NM_FLAGS): Remove.
1463         (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
1464         (ASM_OUTPUT_SECTION_NAME): Remove.
1465         (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
1466
1467 2001-05-14  Mark Mitchell  <mark@codesourcery.com>
1468
1469         * regrename.c (regrename_optimize): Do not rename registers to
1470         leaf registers.
1471
1472 2001-05-14  Alexandre Oliva  <aoliva@redhat.com>
1473
1474         * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
1475         contain MEMs.  Remove useless distinction about clobbering
1476         registers.
1477
1478 2001-05-13  Geoff Keating  <geoffk@redhat.com>
1479
1480         * config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
1481         * config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
1482         * config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
1483         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1484         (EXCEPTION_SECTION): Define.
1485
1486 2001-05-13  Zack Weinberg  <zackw@stanford.edu>
1487
1488         * libgcc2.c, libgcc2.h: Restore __eprintf.  Label as used for
1489         binary backward compat only.
1490         * Makefile.in (LIB2FUNCS_ST): New.  Put _eprintf here, not
1491         in LIB2FUNCS.  Pass it to mklibgcc.
1492         * mklibgcc.in: Handle LIB2FUNCS_ST.
1493
1494         * Makefile.in (installdirs): Don't create $(gcc_tooldir).
1495
1496 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
1497
1498         * tm.texi (THREAD_MODEL_SPEC): Document it.
1499         * gcc.c (main): Use it.
1500         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
1501         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
1502
1503 2001-05-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1504
1505         * rtl.h (SYMBOL_REF_WEAK): New macro.
1506         * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
1507         * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
1508         * rtl.texi (SYMBOL_REF_WEAK): Document it.
1509         * gcc.texi: Remove wrong description.
1510
1511 2001-05-13  Mark Mitchell  <mark@codesourcery.com>
1512
1513         * Makefile.in (STAMP): New macro.
1514         Replace all uses of `touch' with $(STAMP).
1515         * fixinc/Makefile.in: Likewise.
1516
1517 Sun May 13 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1518
1519         * configure.in: ldopen is never in -lexc, so don't test for it.
1520         Add test for exc_resume in -lexc for Ada.
1521         * configure: Regenerated.
1522
1523 2001-05-12  Richard Henderson  <rth@redhat.com>
1524
1525         * dwarf2asm.c (size_of_encoded_value): New function.
1526         * dwarf2asm.h: Declare it.
1527         * except.c (output_function_exception_table): Align the TType
1528         array only as wide as the encoding.
1529
1530 2001-05-12  Zack Weinberg  <zackw@stanford.edu>
1531
1532         * extend.texi: Document #pragma GCC java_exceptions.
1533
1534 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1535
1536         * c-parse.in (bison parser, init_reswords): Remove uses of
1537         doing_objc_thang.
1538         * c-tree.h (doing_objc_thang): Remove.
1539
1540 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
1541
1542         * cpplex.c (_cpp_lex_token): Ensure we warn at most once
1543         about files not ending in newlines.
1544
1545 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1546
1547         * dwarfout.c (dwarfout_init): Add cast.
1548         * sched-deps.c (sched_analyze_insn): Remove unused vars.
1549         * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
1550 cp:
1551         * method.c (build_mangled_C99_name): Remove unused prototype.
1552
1553 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
1554
1555         * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
1556
1557 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
1558
1559         * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
1560         * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
1561
1562 2001-05-11  Richard Henderson  <rth@redhat.com>
1563
1564         * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1565         * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
1566         dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
1567         * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
1568         (dw2_output_indirect_constants): Prototype.
1569         * dwarf2out.c (dwarf2out_begin_prologue): Generate
1570         current_function_func_begin_label if we'll need it for EH.  Exit
1571         early for IA64_UNWIND_INFO.
1572         * except.c: Get DW_EH_PE_* defines from dwarf2.h.
1573         (eh_data_format_name): Update for indirect references.
1574         (output_function_exception_table): Care for IA64_UNWIND_INFO.
1575         Handle ASM_PREFERRED_EH_DATA_FORMAT.
1576         * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
1577         define HAVE_eh_return etc.
1578         * final.c (final_start_function): Always call dwarf2out_begin_prologue.
1579         (final_end_function): Don't call output_function_exception_table.
1580         * toplev.c (compile_file): Call dw2_output_indirect_constants.
1581         (rest_of_compilation): Invoke output_function_exception_table
1582         for ia64 before assemble_end_function.
1583         * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
1584         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
1585
1586         * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
1587         * unwind.h: Declare them.
1588         * libgcc-std.ver: Export them.
1589         * unwind-pe.h: New file.
1590
1591         * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1592
1593         * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
1594         instead of "fde".
1595         (find_fde_for_dso): Extract DT_PLTGOT.
1596         (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
1597         the segment and gp as well.
1598         * config/ia64/frame-ia64.c: Remove file.
1599         * config/ia64/frame-ia64.h: Remove file.
1600         * config/ia64/unwind-ia64.c: New file.
1601         * config/ia64/unwind-ia64.h: New file.
1602         * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
1603         (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
1604         (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
1605         (ASM_PREFERRED_EH_DATA_FORMAT): New.
1606         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
1607         (IA64_UNWIND_INFO): Re-enable.
1608         (HANDLER_SECTION): Remove.
1609         (EH_RETURN_DATA_REGNO): New.
1610         * config/ia64/ia64.md (exception_receiver): Remove.
1611         * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
1612         * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
1613
1614 2001-05-11  Richard Henderson  <rth@redhat.com>
1615
1616         * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
1617         calls and jumps to be bundled together.
1618         (ia64_reorg): Emit a break after a noreturn call that ends
1619         a function.
1620         * config/ia64/ia64.md (break_f): New.
1621
1622 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
1623
1624         * c-lex.c (lex_charconst): Convert into a simple wrapper
1625         around cpp_interpret_charconst, to which most of the code
1626         body is moved.
1627         * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
1628         MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
1629         MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
1630         (lex): Use cpp_interpret_charconst.
1631         * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
1632         hex_digit_value): New functions.
1633         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
1634         * cpplib.h (cpp_interpret_charconst): New prototype.
1635         * Makefile.in: Update.
1636
1637 2001-05-12  Dean Wakerley  <dean@wakerley.com>
1638
1639         * doc/install.texi: New file. Converted to texinfo from the HTML
1640         documentation in wwwdocs/htdocs/install.
1641
1642 Fri May 11 15:50:13 2001  Jeffrey A Law  (law@cygnus.com)
1643
1644         * gcse.c (insert_insn_end_bb): Do not search for assignments to
1645         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
1646
1647         * toplev.c (compile_file): Move comment for opening output
1648         file to just before the code that opens the output file.
1649
1650 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1651
1652         * regmove.c (regmove_optimize): Suppress the optimization for
1653         unchanging destination register.  Add comment above function.
1654
1655 2001-05-11  Zack Weinberg  <zackw@stanford.edu>
1656
1657         * Makefile.in: Exterminate all references to assert.h.
1658         * cross-make: Likewise.
1659         * assert.h: Delete.
1660         * configure.in: Correct commentary.
1661         * configure: Regenerate.
1662
1663         * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
1664         Remove __eprintf.
1665
1666         * config/t-freebsd, config/t-linux, config/t-linux-aout,
1667         config/t-netbsd, config/t-rtems, config/x-linux,
1668         config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
1669         No need to override INSTALL_ASSERT_H.
1670
1671         * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
1672         fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
1673         fixinc/fixincl.sh: Don't install assert.h into objdir/include.
1674
1675 2001-05-11  Graham Stott  <grahams@redhat.com>
1676
1677         * combine.c (simplify_comparison): Fix typo.
1678
1679 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
1680
1681         * loop.h (struct movables): Remove `num'.
1682         * loop.c (scan_loop): Don't set it.  Use count_insns_in_loop.
1683         Adjust call to strength_reduce.
1684         (num_unmoved_movables): New function.
1685         (move_movables): Don't set movables->num.
1686         (strength_reduce): Compute the number of instructions in the loop
1687         here, rather than in the caller.
1688         (check_dbra_loop): Always clear reversible_mem_store if there
1689         are any memory sets.
1690         (loop_regs_scan): Don't count instructions here.
1691         (count_insn_in_loop): New function.
1692
1693 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
1694
1695         * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
1696
1697 2001-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
1698
1699         * c-common.c (finish_label_expr): New function, lifted from
1700         from cp/semantics.c.
1701         * c-common.h (finish_label_expr, lookup_label): New prototypes.
1702         * c-parse.in: Move 3 blocks of parser code into new functions.
1703         * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
1704         * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
1705         (lookup_label): Remove.
1706
1707 2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
1708
1709         * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
1710         FLOAT_BIT_ORDER_MISMATCH.
1711
1712 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
1713
1714         * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
1715         bytes.  Reported by Kazu Hirata <kazu@hxi.com>.
1716
1717 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
1718
1719         * expr.c (emit_group_load): extract_bit_field requires a REG or
1720         MEM as an argument.
1721
1722 Thu May 10 14:45:44 2001  Jeffrey A Law  (law@cygnus.com)
1723
1724         * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
1725         a computed jump into an unconditional jump.
1726         In second hunk of code for collapsing computed and conditional jumps
1727         into unconditional jumps, reemit the jump in additional cases.
1728
1729         * jump.c (jump_optimize_1): Do not wrap the new jump target
1730         inside a LABEL_REF; gen_jump will do that automatically.
1731
1732 2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>
1733
1734         * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
1735         contents for a SYMBOL_REF in case of floating point constants.
1736
1737 2001-05-10  DJ Delorie  <dj@redhat.com>
1738
1739         * c-common.c (combine_strings): Widen strings in a
1740         host-endian-independent way.
1741
1742 2001-05-10  Joseph S. Myers  <jsm28@cam.ac.uk>
1743
1744         * c-parse.in: Remove many shift/reduce conflicts.  Update
1745         %expect values.
1746         (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
1747         declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
1748         declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
1749         declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
1750         declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
1751         declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
1752         declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
1753         declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
1754         declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
1755         declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
1756         maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
1757         typespec_reserved_nonattr, typespec_reserved_attr,
1758         typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
1759         structsp_nonattr, components_notype, component_notype_declarator,
1760         absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
1761         firstparm, setspecs_fp): New
1762         (typed_declspecs, reserved_declspecs, typed_typespecs,
1763         reserved_typespecquals, declmods, typespec, typespecqual_reserved,
1764         typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
1765         declmods_no_prefix_attr, nonempty_type_quals, structsp,
1766         type_quals): Remove.  Users updated.
1767         (initdecls, notype_initdecls, after_type_declarator,
1768         parm_declarator, notype_declarator, absdcl1, components, ivars):
1769         Don't allow attributes at the start of a declarator; include them
1770         in the production containing the declarator instead.  Always
1771         require type specifiers before trying to redeclare a typedef name.
1772         (typename): Allow for attributes but warn that they are ignored.
1773         (parmlist, firstparm, setspecs_fp): Include attributes in
1774         parmlist; suck them off the parser stack in firstparm using
1775         setspecs_fp.
1776
1777 Thu May 10 09:17:42 2001  Jeffrey A Law  (law@cygnus.com)
1778
1779         * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
1780         to determine if a block has an unconditional jump at its end.
1781
1782         * jump.c (jump_optimize_1): When converting a conditional jump
1783         to an unconditional jump, build the jump using gen_jump instead
1784         of just modify operands in-place.
1785
1786 2001-05-09  Zack Weinberg  <zackw@stanford.edu>
1787
1788         * cppinit.c (cpp_post_options): Shut off macro expansion if
1789         -fpreprocessed.
1790         * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
1791         IN_I directives only if the # is in column 1 and the directive
1792         name begins in column 2.
1793         * cppmain.c (scan_buffer): Insert a space between # and an
1794         identifier, when that identifier is a directive name.
1795
1796         * tradcpp.c (struct file_buf): Add a pointer to the next entry
1797         in the header search path.
1798         (enum node_type): Add T_INCLUDE_NEXT.
1799         (directive_table): Add entry for include_next.
1800         (do_include_next): New function.
1801         (process_include): New routine, broken out of do_include.
1802         (finclude): Insert 'nhd' argument, to be copied into
1803         next_header_dir of the new buffer.
1804         (main): Adjust to match.
1805         * gsyslimits.h, limity.h: Un-indent #include_next.
1806
1807 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
1808
1809         * objc.texi: Move from ../libobjc/objc-features.texi.  Adjust for
1810         inclusion as a chapter of the GCC manual.
1811         * gcc.texi: Include objc.texi.
1812         * fdl.texi: Use @unnumberedsec for the addendum.
1813         * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
1814
1815 Wed May  9 16:01:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
1816
1817         * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
1818
1819 Wed May  9 10:40:25 2001  Alexandre Oliva  <aoliva@redhat.com>
1820
1821         * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
1822         handling of two-address insns.
1823
1824 Wed May  9 10:36:18 2001  Alexandre Oliva  <aoliva@redhat.com>
1825
1826         * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
1827         ../binutils/nm-new instead of ../binutils/nm.
1828
1829 Wed May  9 12:15:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
1830
1831         * i386.md (movdi splitter): Fix the splitting condition
1832         (float_extenddftf splitter): Fix mode.
1833
1834 Wed May  9 12:05:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
1835
1836         * genrecog.c (write_switch): Avoid outputting of switch for
1837         types wider than int.
1838
1839 2001-05-03  Andrew Haley  <aph@cambridge.redhat.com>
1840
1841         * reload1.c (copy_eh_notes): New function.
1842         (emit_input_reload_insns): Call it.
1843         (emit_output_reload_insns): Call it.
1844
1845 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
1846
1847         * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
1848         Delete stanzas.
1849         * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
1850         config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
1851
1852         * optabs.c: Delete #ifdef BROKEN_LDEXP block.
1853
1854 2001-05-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1855
1856         * pa.md (interspace_jump): Revise comment.
1857         (builtin_longjmp): Block initial setup insns from delay slot of
1858         interspace branch.
1859         (builtin_setjmp_receiver): New expander to save and restore PIC
1860         register.
1861
1862         * som.h (NM_FLAGS): Remove `-n' sort option.  Revise comment.
1863
1864 Mon May  7 09:30:14 2001  Jeffrey A Law  (law@cygnus.com)
1865
1866         * toplev.c (compile_file): Set up the output file before we call
1867         the various initializers for the compiler.
1868
1869         * except.c (sjlj_mark_call_sites): Do not search for assignments to
1870         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
1871
1872         * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
1873         * pa-64.h (*_TYPE_SIZE): Undefine before redefining.
1874
1875 2001-05-06  Zack Weinberg  <zackw@stanford.edu>
1876
1877         * Makefile.in (tradcpp0): Correct typo in dependency list.
1878
1879 2001-05-06  Geoff Keating  <geoffk@redhat.com>
1880
1881         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
1882         the link register if we're not going to use it.
1883
1884         * config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
1885         (output_function_profiler): Likewise.
1886
1887 2001-05-07  Alan Modra  <amodra@one.net.au>
1888
1889         * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
1890
1891 2001-05-06  Alexandre Oliva  <aoliva@redhat.com>
1892
1893         * unroll.c (loop_iterations): Don't sign-extend abs_diff;
1894         zero-extend it.  Make abs_inc unsigned.
1895
1896         * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
1897         widest mode in narrowing and widening operations.
1898
1899         * config/mips/mips.md: Sign extend CONST_INTs.
1900
1901 2001-05-06  Andreas Jaeger  <aj@suse.de>
1902
1903         * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
1904         (i386 Options): Document -momit-leaf-frame-pointer.
1905
1906 2001-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
1907
1908         * c-typeck.c (internal_build_compound_expr): Check for
1909         array to pointer conversion just once.
1910
1911 2001-05-05  Richard Henderson  <rth@redhat.com>
1912
1913         * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
1914
1915 2001-05-05  Richard Henderson  <rth@redhat.com>
1916
1917         * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
1918         to the parent of the fixup region.
1919
1920 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1921
1922         * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
1923         "inline" keyword.
1924         * cpp.texi (__NO_INLINE): Document it.
1925
1926 2001-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1927
1928         * cppfiles.c (struct include_file): New member err_no.
1929         (find_or_create_entry): Set it.
1930         (open_file): Don't set fds to -2.  Instead, use err_no to
1931         remember previous errors, if any.
1932
1933 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1934
1935         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
1936         between X and Y by using sequences of xgdx and xgdy.
1937
1938 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1939
1940         * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
1941         of '!' for the 'D' alternative ('!' is too strong).
1942         ("*logicalsi3_silshl16"): Likewise.
1943         ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
1944         ("movstrictsi"): Remove spurious '+'.
1945         ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
1946         ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
1947         ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
1948         a reload to them.
1949
1950 2001-05-04  David Edelsohn  <edelsohn@gnu.org>
1951
1952         * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
1953
1954 2001-05-04  Lars Brinkhoff  <lars@nocrew.org>
1955
1956         * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
1957         into -a.
1958
1959 2001-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1960
1961         * config/rs6000/rs6000.md (ashldi3 splits): Guard with
1962         TARGET_POWERPC64.
1963
1964 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1965
1966         * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
1967         soft register, use ror instead of rol.
1968
1969 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1970
1971         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
1972         into account pre/post increment decrement for 68HC12.
1973         Fix other problems in replacement and fix call to reg_mentioned_p.
1974
1975 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1976
1977         * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
1978         Put the soft registers in bss for 68HC12.
1979         (L_regs_d3_4): New for _.d3 and _.d4.
1980         (L_regs_d5_6): Likewise.
1981         (L_regs_d1_2): Likewise.
1982         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
1983
1984 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1985
1986         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
1987         to the pre-processor when -fshort-double is specified.
1988         * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
1989
1990 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1991
1992         * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
1993         (__mulsi3): Rewrite for 68HC12.
1994         * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
1995         Mark 'x' constraint with earlyclobber to prevent a
1996         RELOAD_FOR_OTHER_ADDRESS to go in it.
1997         (mulhi3_m68hc12): New pattern.
1998         (mulhi3_m68hc11): Rename of mulhi3.
1999         (mulhi3): New expand for 68HC12 optimisation.
2000         (umulhisi3, mulhisi3): New patterns for 68HC12.
2001
2002 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2003
2004         * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
2005         (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
2006         (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
2007
2008 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2009
2010         * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
2011         constants cheap after reload.
2012         * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
2013         are cheap.
2014         (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
2015         so that gcc prefers a shift by 16.
2016         (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
2017
2018 2001-05-04  Nick Clifton  <nickc@cambridge.redhat.com>
2019
2020         * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
2021
2022 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2023
2024         * alpha.h: NULL_PTR -> NULL.
2025         * arm.c: Likewise.
2026         * arm.h: Likewise.
2027         * avr.h: Likewise.
2028         * c4x.c: Likewise.
2029         * c4x.h: Likewise.
2030         * i386.c: Likewise.
2031         * i386.md: Likewise.
2032         * i860.c: Likewise.
2033         * ia64.c: Likewise.
2034         * m68hc11.h: Likewise.
2035         * rs6000.h: Likewise.
2036         * sh.c: Likewise.
2037         * sh.h: Likewise.
2038         * sparc.h: Likewise.
2039         * v850.c: Likewise.
2040
2041         * expr.c: Likewise.
2042         * final.c: Likewise.
2043         * gcc.c: Likewise.
2044         * recog.c: Likewise.
2045
2046 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2047
2048         * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
2049         `bool' parameter to `int'.
2050
2051         * hash.c (hash_lookup): Likewise.
2052
2053         * hash.h (hash_lookup): Likewise.
2054
2055         * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
2056
2057 Fri May  4 13:10:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
2058
2059         * i386.c (x86_initialize_trampoline): Fix mode of constant.
2060
2061 2001-05-03  Geoff Keating  <geoffk@redhat.com>
2062
2063         * invoke.texi (i386 Options): Delete references to -malign-jumps,
2064         -malign-loops, -malign-functions.
2065         * i386.c (ix86_align_funcs): Delete.
2066         (ix86_align_loops): Delete.
2067         (ix86_align_jumps): Delete.
2068         (override_options): Mark -malign-* as obsolete.  Emulate their
2069         behaviour with the -falign-* options.  Default -falign-* from
2070         the processor table.
2071         * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
2072         patch of Wed May 2 13:09:36 2001.
2073         (LOOP_ALIGN): Delete.
2074         (LOOP_ALIGN_MAX_SKIP): Delete.
2075         (LABEL_ALIGN_AFTER_BARRIER): Delete.
2076         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.
2077
2078 2001-05-04  Andreas Jaeger  <aj@suse.de>
2079
2080         * except.h: Add prototype declaration for
2081         expand_builtin_init_dwarf_reg_sizes.
2082
2083 2001-05-03  Geoffrey Keating  <geoffk@redhat.com>
2084
2085         * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.
2086
2087 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2088
2089         * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
2090         instruction.
2091         ("bitcmpqi2"): New pattern for bit-extract and test.
2092         ("bitcmphi"): New pattern for bitb/bita instructions.
2093
2094 2001-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
2095
2096         * gccbug.in: Use a temporary directory when the mktemp command is
2097         not available.
2098
2099 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2100
2101         * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
2102         instead of _.d1.
2103         (INITIALIZE_TRAMPOLINE): Call it.
2104         (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
2105         (TRAMPOLINE_TEMPLATE): Remove.
2106         * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
2107         * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
2108         Declare.
2109
2110 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
2111
2112         * config/t-freebsd: Don't install "assert.h" in gcc.  Compile crtbeginS.o
2113         and crtendS.o with PIC.
2114
2115 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2116
2117         * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
2118         negative numbers.
2119         (___subdi3, ___adddi3): Use x instead of y as index register.
2120         (__init_bss_section, __map_data_section): Optimize for 68HC12.
2121         (__memset, __memcpy): Likewise.
2122         (regs): Put the soft registers in bss for 68HC12.
2123         (abort): Use trap to abort for 68hc12.
2124         (__mulhi3, __mulhi32): Use emul for 68hc12.
2125         (__mulsi3): Avoid to use the tmp soft register for 68hc12.
2126
2127 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2128
2129         * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
2130         * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
2131         * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
2132         (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
2133         Set 68HC12 min offset to -65536.
2134         (print_operand): Put parenthesis arround the operand if it refers
2135         to a symbol having the same name as a register.
2136         (m68hc11_z_replacement): When z register is replaced by its
2137         equivalent soft register, force the insn to be re-recognized.
2138         (m68hc11_check_z_replacement): Fix the test when destination is
2139         the index register and z dies in the insn.
2140         (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
2141
2142 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2143
2144         * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
2145         costs according to processor variant.
2146         (m68hc11_shift_cost): New function to compute shift costs.
2147         (m68hc11_rtx_costs): Define costs according to processor variant.
2148         (m6811_cost): Costs for 68HC11.
2149         (m6812_cost): Costs for 68HC12.
2150         (COSTS_N_INSNS): Remove.
2151
2152         * config/m68hc11/m68hc11.h (RTX_COSTS): New.
2153         (DEFAULT_RTX_COSTS): Remove.
2154         (CONST_COSTS): Define costs according to OUTER_CODE.
2155         (processor_costs): New struct to define costs.
2156         (m68hc11_cost): Pointer to current costs.
2157
2158 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2159
2160         * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
2161         and use m68hc11_notice_keep_cc when using leax/leay.
2162         (addhi3 split): Reject split if the insn is handled by
2163         leax/leay above.
2164         * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
2165         push must be handled in a special way if the source operand uses
2166         sp as index register.
2167         (m68hc11_notice_keep_cc): New function.
2168         (m68hc11_gen_movhi): Use it when an insn changes a register but
2169         not the flags.
2170         (m68hc11_gen_movqi): Fix move for 68HC12.
2171         * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
2172
2173 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2174
2175         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
2176         and don't pass operands[0] to emit_library_call_value.
2177
2178 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2179
2180         * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
2181         (zero_extendsi split): Simplify and use (zero_extendhi).
2182         (*addhi3): Remove 'w' constraint since stack pointer is handled
2183         by (addhi3_sp).
2184         (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
2185         (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
2186         (*ashrhi3_const): Fix shift by 7.
2187         (*lshrsi3_const16): Fix template.
2188         (call, call_value): Fix constraint and predicate.
2189
2190 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2191
2192         * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
2193         (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
2194         (CC_REGNUM): Likewise.
2195         (*unnamed splits): Use above constants instead of hard coded numbers.
2196         (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
2197         (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
2198         (*return_16bit, *unnamed peepholes): Likewise.
2199
2200 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
2201
2202         * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix):  Do not include
2203         rs6000/rs6000.h twice.
2204
2205 2001-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
2206
2207         * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
2208         (CPP_SPEC): Conditionally define MSDOS and GO32.
2209         (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
2210         (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
2211         ignored.
2212         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
2213
2214 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2215
2216         * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
2217
2218 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
2219
2220         * integrate.h (struct inline_remap): Add leaf_reg_map table.
2221         * integrate.c (expand_inline_function): Use xcalloc to allocate
2222         memory.
2223         (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
2224         registers.
2225
2226 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
2227
2228         * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
2229         if it is not set.
2230
2231 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2232
2233         * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
2234         linker if -mrelax is given.
2235         (TARGET_SWITCHES): Document -mrelax.
2236
2237         Re-installed 2001-01-09's patch:
2238         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
2239         if it's wider than long and the target's long is wider than the
2240         host's.
2241
2242 2001-05-02  David O'Brien  <obrien@FreeBSD.org>
2243
2244         * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h:  Do not
2245         directly include rs6000/rs6000.h.  Instead do it in tm.h.
2246
2247 2001-05-02  Stan Shebs  <shebs@apple.com>
2248
2249         * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
2250         NSConstantString for NeXT-style runtimes.
2251         (STRING_OBJECT_GLOBAL_NAME): New macro.
2252         (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
2253         OCTI_STRING_CLASS_DECL.
2254         (constant_string_global_id): New macro.
2255         (string_class_decl): Ditto.
2256         (setup_string_decl): New function.
2257         (build_objc_string_object): Use it to build a NeXT runtime
2258         compatible string initializer.
2259
2260 2001-05-02  Jakub Jelinek  <jakub@redhat.com>
2261
2262         * tradcpp.c (do_define): Make sure we don't walk past limit.
2263
2264 2000-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2265
2266         * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
2267         offsets if not REG_OK_STRICT.
2268
2269         * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
2270         (INT_REG_OK_FOR_INDEX_P): Likewise.
2271         (INT_REG_OK_FOR_BASE_P): Likewise.
2272         (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
2273         (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
2274         (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
2275         INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
2276         REG_OK_FOR_BASE_P. Take an additional parameter.
2277         (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
2278         (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
2279         (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
2280         (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
2281         rs6000_legitimate_address() and use it.
2282         * config/rs6000/rs6000.c: Update all callers.
2283         (rs6000_legitimate_address): New function.
2284
2285 2001-05-02  David Edelsohn  <edelsohn@gnu.org>
2286
2287         * config/rs6000/rs6000.c (rs6000_emit_move): Merge
2288         special_constant conditional blocks together.
2289
2290 2001-05-02  Dale Johannesen  <dalej@apple.com>
2291
2292         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
2293         parameter.
2294         (STRICT_ARGUMENT_NAMING): Define.
2295         * config/rs6000/rs6000.c (function_arg_advance, function_arg,
2296         function_arg_partial_nregs, setup_incoming_varargs): Remove
2297         args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
2298         is defined.
2299
2300 Wed May  2 13:09:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2301
2302         * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
2303
2304         * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
2305         for replacement.
2306
2307         * expr.c (store_field): Do nothing except elaborate side-effects if
2308         zero-bit field.
2309
2310 2001-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2311
2312         * c-lex.c: NULL_PTR -> NULL.
2313         * cse.c: Likewise.
2314         * emit-rtl.c: Likewise.
2315         * gcse.c: Likewise.
2316         * genpeep.c: Likewise.
2317         * jump.c: Likewise.
2318         * mips-tdump.c: Likewise.
2319         * reload1.c: Likewise.
2320         * rtlanal.c: Likewise.
2321         * stmt.c: Likewise.
2322         * stor-layout.c: Likewise.
2323         * toplev.c: Likewise.
2324
2325 2001-05-01  Per Bothner  <per@bothner.com>
2326
2327         * expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
2328         call do_pending_stack_adjust before emiting label.
2329
2330 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
2331
2332         * extend.texi: Fix typo.
2333
2334 2001-05-01  Stan Shebs  <shebs@apple.com>
2335
2336         * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
2337         of UOBJC_MODULES_decl.
2338         (generate_strings): Clear DECL_CONTEXT of new decl nodes.
2339         (generate_descriptor_table): Ditto.
2340         (generate_protocols): Ditto.
2341         (generate_protocol_list): Ditto.
2342         (generate_classref_translation_entry): Ditto.
2343
2344 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
2345
2346         * invoke.texi (Optimize Options): Add documentation for `--param
2347         max-delay-slot-insn-search' and `--param
2348         max-delay-slot-live-search' and reorder --param section.
2349         * params.def: Modify initial comment.
2350         * params.h (param_info): Add `help' member.
2351         * toplev.c (lang_independent_params): Include `help' description.
2352         (display_help): Print --param parameters.
2353
2354 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
2355
2356         * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
2357         Remove references to deleted files.
2358         (*-*-openbsd): No need to override xmake_file.
2359         (*-*-sysv4): Treat like *-*-sysv.
2360
2361         * configure.in: Probe for ldopen in various places, and set up
2362         collect2 to be linked with them if found.
2363         Don't dink with Windows registry stuff unless $host_os is a
2364         Win32 os name.  Check to see if we need -ladvapi32.
2365         * configure: Regenerate.
2366
2367         * Makefile: Get rid of CLIB and HOST_CLIB.
2368         Substitute in COLLECT2_LIBS and link collect2 against its contents.
2369         * build-make: Get rid of HOST_CLIB.
2370
2371         * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
2372         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
2373         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
2374         config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
2375         config/rs6000/x-rs6000: Delete.
2376
2377         * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
2378         Don't set CLIB.
2379
2380         24 x-host fragments remain, 0 x-cpu, 3 top level.
2381
2382 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
2383
2384         * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
2385         * configure: Regenerate.
2386
2387 2001-05-01  Angela Marie Thomas <angela@cygnus.com>
2388
2389         * Makefile.in (install-headers): Remove redundant dependency.
2390
2391 2001-05-01  Nathan Sidwell  <nathan@codesourcery.com>
2392
2393         * c-tree.texi (USING_STMT): Document.
2394
2395 2001-05-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2396
2397         * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
2398         * c-common.c: Likewise.
2399         * c-decl.c: Likewise.
2400         * combine.c: Likewise.
2401         * rs6000.c: Likewise.
2402         * except.c: Likewise.
2403         * explow.c: Likewise.
2404         * expr.c: Likewise.
2405         * fold-const.c: Likewise.
2406         * function.c: Likewise.
2407         * gcc.c: Likewise.
2408         * gcse.c: Likewise.
2409         * integrate.c: Likewise.
2410         * loop.c: Likewise.
2411         * objc/objc-act.c: Likewise.
2412         * recog.c: Likewise.
2413         * reg-stack.c: Likewise.
2414         * reload.c: Likewise.
2415         * reload1.c: Likewise.
2416         * simplify-rtx.c: Likewise.
2417         * stmt.c: Likewise.
2418         * varasm.c: Likewise.
2419
2420 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2421
2422         * diagnostic.def: New file.
2423         * diagnostic.h (diagnostic_t): New enum.
2424         * Makefile.in (diagnostic.o): Depend on diagnostic.def
2425
2426 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
2427
2428         * tsystem.h: Test only POSIX for availability of string.h
2429         and time.h.
2430         * config.gcc (all systems): If USG appeared in xm_defines,
2431         change it to POSIX.  If both USG and POSIX appeared, just
2432         delete USG. Remove unnecessary quotes around xm_defines
2433         settings.
2434         (m68k-crds-unos*): Don't #define unos - tested nowhere.
2435         (m68k-apple-aux*): Don't #define AUX - tested nowhere.
2436         (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
2437         powerpc-*-linux*): No need to set xm_defines - handled by
2438         global settings for *-*-linux*.
2439
2440 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
2441
2442         * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
2443         Always include gstab.h, not system stab.h.  Don't provide
2444         default definitions of N_CATCH or N_OPT.  Always use the
2445         gstab.h variant of STAB_CODE_TYPE.
2446         * final.c: Don't include stab.h/gstab.h at all, or provide
2447         defaults for N_SLINE and N_SOL.
2448
2449         * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
2450         N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
2451         available.
2452         * sdbout.c: Always include gsyms.h instead of system syms.h.
2453
2454         * configure.in: No need to check for stab.h.
2455         * configure, config.in: Regenerate.
2456         * Makefile.in (final.o): Don't depend on gstab.h.
2457
2458 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2459             Richard Henderson  <rth@redhat.com>
2460
2461         * extend.texi: Improve documentation of volatile asms.
2462
2463 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2464
2465         * c-tree.texi: Fix thinko.
2466         * gcc.texi: Likewise.
2467
2468 2001-04-30  Richard Henderson  <rth@redhat.com>
2469
2470         * c-common.c (c_promoting_integer_type_p): New function, from the
2471         corpse of old macro.  Properly promote too-small enumerations and
2472         booleans.  Adjust all callers.
2473         * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
2474         (c_promoting_integer_type_p): Declare.
2475         * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
2476         * c-typeck.c: Likewise.
2477         (default_conversion): Remove now redundant boolean check.
2478
2479 2001-04-30  Jan Hubicka  <jh@suse.cz>
2480             Richard Henderson  <rth@redhat.com>
2481
2482         * regmove.c (try_apply_stack_adjustment): Remove now redundant
2483         sanity checks.
2484         (combine_stack_adjustments_for_block): Don't combine stack
2485         allocation followed by deallocations.  Handle grow-up stacks.
2486
2487 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2488
2489         * fdl.texi: New file.
2490         * c-tree.texi: Use the GFDL.
2491         * gcc.texi: Likewise.
2492
2493 2001-04-30  Stan Shebs  <shebs@apple.com>
2494
2495         * invoke.texi: Add a section documenting Objective-C options.
2496
2497 2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>
2498
2499         * emit-rtl.c (try_split):  Copy EH notes to sequence.
2500
2501 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2502
2503         * regmove.c (record_stack_memrefs): Catch all references to the
2504         stack pointer.
2505
2506 2001-04-29  Toomas Rosin <toomas at ns dot tklabor dot ee>
2507
2508         * Makefile.in (stmp-fixinc): quote shell assignment values
2509
2510 2001-04-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2511
2512         * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
2513
2514         * gcc.c: Likewise.
2515
2516         * prefix.c: Likewise.
2517
2518 2001-04-28  Stan Shebs  <shebs@apple.com>
2519
2520         * objc/objc-act.c (handle_class_ref): Rewrite to flush target
2521         specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
2522         * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
2523         * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
2524
2525         * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
2526         (NEXT_OBJC_RUNTIME): Define.
2527
2528 Sat Apr 28 21:02:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
2529
2530         * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
2531         * simplify-rtx.c (simplify_gen_relational): Likewise.
2532
2533         * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
2534
2535         * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
2536         * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
2537
2538         * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
2539         registers in SSE case; fix handling of the immediates.
2540         (negsf2_ifs, abssf2_ifs): Tweak constraints; require
2541         operands to be in regsiters before reload.
2542         (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
2543         (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
2544         (abstf,absxf,negtf,negxf splitters): Compute
2545         properly the regnum for x86_64.
2546         (avsdf2_if_rex64): New.
2547
2548 Sat Apr 28 10:36:23 2001  Jeffrey A Law  (law@cygnus.com)
2549
2550         * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
2551         and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
2552         into the constant pool.
2553         * jump.c (jump_optimize_1): Remove barrier successors after all
2554         the LABEL_NUSES counds have been computed.
2555         (delete_barrier_successors): When deleting a tablejump insn, also
2556         delete the jump table it uses.
2557         * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
2558         label into memory.
2559
2560 2001-04-28  Martin Kalen  <martin.kalen@todaysystems.com.au>
2561
2562         * pa.c (FRP): Remove erroneous white space in macro definition.
2563
2564 2001-04-28  Andreas Jaeger  <aj@suse.de>
2565
2566         * invoke.texi: Use XX-bit instead of XXbit or XX bit where
2567         appropriate.
2568         * extend.texi: Likewise.
2569         * tm.texi: Likewise.
2570
2571 2001-04-28  Andreas Jaeger  <aj@suse.de>
2572
2573         * md.texi: Use XX-bit instead of XXbit or XX bit where
2574         appropriate.
2575
2576 2001-04-28  Jens Schweikhardt <schweikh@schweikhardt.net>
2577
2578         * gcc.c (process_command): Allow -l lib in addition to -llib
2579         for POSIX compliance. This fixes PR c/2347.
2580
2581         * invoke.texi: Update section on Link Options accordingly.
2582
2583 2001-04-27  Zack Weinberg  <zackw@stanford.edu>
2584
2585         * function.c (purge_addressof_1): Remove the duplicate
2586         if (code == SET) block.  Fold the two if (code == ADDRESSOF)
2587         blocks together.
2588
2589 2001-04-28  Jason Merrill  <jason_merrill@redhat.com>
2590
2591         * except.c (expand_eh_region_start): Don't start a new block.
2592         (expand_eh_region_end): Don't end a block.
2593         * stmt.c (expand_end_bindings): Don't end EH blocks.
2594         (expand_decl_cleanup): Starting an EH region won't change the block.
2595         (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
2596         (is_eh_region): Lose.
2597         * tree.h: Adjust.
2598
2599 2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
2600
2601         * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
2602
2603         * collect2.c (main): Add `-L' case to remove duplicate entries.
2604         (is_in_args): New function to check for a duplicate argument.
2605         * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
2606         * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
2607         * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
2608         Define to be nonzero.
2609
2610 2001-04-27  Andreas Jaeger  <aj@suse.de>
2611             Richard Henderson  <rth@redhat.com>
2612
2613         * md.texi (Machine Constraints): Document additional i386
2614         constraints and fix description of "A".
2615
2616 Fri Apr 27 10:43:49 2001  Jeffrey A Law  (law@cygnus.com)
2617
2618         * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
2619
2620 2001-04-27  Jason Merrill  <jason_merrill@redhat.com>
2621
2622         * except.c (get_exception_filter): word_mode, not Pmode.
2623
2624 2001-04-26  Geoffrey Keating  <geoffk@redhat.com>
2625
2626         * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
2627         common to other movsf patterns.  Move up so that in future
2628         people who change the other patterns will change it too.
2629         (movsf_lo_sum): Allow even for soft-float; add appropriate
2630         constraints.
2631         (movsf_high): Likewise.
2632         (movsf_high+1): Allow even for soft-float.
2633
2634         * function.c (expand_function_end): Always clobber the
2635         return registers, even if there is no return label.
2636
2637 Thu Apr 26 20:28:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
2638
2639         * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
2640
2641 Thu Apr 26 19:20:28 CEST 2001  Jan Hubicka  <jh@suse.cz>
2642
2643         * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
2644         (pushqi2_rex64, pushhi2_rex64): Add.
2645
2646 2001-04-26  Andrew Haley  <aph@cambridge.redhat.com>
2647
2648         * except.c (expand_eh_region_end_cleanup): Force pending stack
2649         adjust before emitting label that branches around cleanup code.
2650
2651 2001-04-26  H.J. Lu  (hjl@gnu.org)
2652
2653         * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
2654
2655         * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
2656         define.
2657         * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
2658         (ASM_OUTPUT_SECTION_NAME): Likewise.
2659         (ASM_WEAKEN_LABEL): Likewise.
2660         (UNIQUE_SECTION): Likewise.
2661         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2662         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2663         * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
2664         (ASM_OUTPUT_SECTION_NAME): Likewise.
2665         (ASM_WEAKEN_LABEL): Likewise.
2666         (UNIQUE_SECTION): Likewise.
2667         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2668         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2669         * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
2670         * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
2671         (ASM_FILE_START): Likewise.
2672         (ASM_OUTPUT_SOURCE_LINE): Likewise.
2673         (ASM_DECLARE_OBJECT_NAME): Likewise.
2674         (ASM_FILE_END): Likewise.
2675         (ASM_DECLARE_FUNCTION_NAME): Likewise.
2676         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
2677         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2678         (ASM_OUTPUT_CASE_LABEL): Likewise.
2679         (ASM_OUTPUT_SKIP): Likewise.
2680         (ASM_OUTPUT_ASCII): Likewise.
2681         (ASM_OUTPUT_IDENT): Likewise.
2682         (READONLY_DATA_SECTION): Likewise.
2683         (EXTRA_SECTIONS): Likewise.
2684         (EXTRA_SECTION_FUNCTIONS): Likewise.
2685         (SELECT_RTX_SECTION): Likewise.
2686         (SELECT_SECTION): Likewise.
2687
2688         * config/mips/linux.h (INVOKE__main): Undefine.
2689         (CTOR_LIST_BEGIN): Likewise.
2690         (CTOR_LIST_END): Likewise.
2691         (DTOR_LIST_BEGIN): Likewise.
2692         (DTOR_LIST_END): Likewise.
2693         (SET_ASM_OP): Defined it to ".dummy".
2694         (ASM_OUTPUT_DEF): Defined.
2695         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
2696
2697 2001-04-26  Nick Clifton  <nickc@cambridge.redhat.com>
2698
2699         * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
2700         assembler supports .p2align.
2701
2702 2001-04-26  Nathan Sidwell <nathan@codesourcery.com>
2703
2704         * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
2705
2706 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
2707
2708         * integrate.c (expand_inline_function): Check for error_mark_node
2709         in actual argument.
2710
2711 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
2712
2713         * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
2714         -m386 and -m486.
2715
2716 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
2717
2718         * configure.in (configargs.h): Define thread_model.
2719         * configure: Rebuilt.
2720         * gcc.c (main): Print it with -v.
2721
2722 2001-04-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2723
2724         * invoke.texi: Document -Wmissing-braces, -dumpspecs,
2725         -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
2726         * gcc.1: Regenerate.
2727
2728 2001-04-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2729
2730         * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
2731         is_redundant_typedef): Use static inline instead of inline static.
2732
2733 Wed Apr 25 18:21:01 2001  Christopher Faylor <cgf@cygnus.com>
2734
2735         * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
2736         this directory is always searched.
2737
2738 2001-04-25  Richard Henderson  <rth@redhat.com>
2739
2740         * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
2741         of registers to restore along non eh_return path.
2742
2743 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2744
2745         * c-format.c (check_format_info_recurse): Handle
2746         PLUS_EXPR for format string.
2747
2748 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2749
2750         * config/ia64/ia64.h (CC1_SPEC): Define.
2751         * config/ia64/linux.h (CC1_SPEC): Define.
2752
2753 Wed Apr 25 17:09:50 2001  J"orn Rennecke <amylaar@redhat.com>
2754
2755         * emit-rtl.c (constant_subword): Also do sign extension in
2756         BITS_PER_WORD == 16 case.
2757
2758 2001-04-25  Jason Merrill  <jason_merrill@redhat.com>
2759
2760         * loop.c (try_swap_copy_prop): Go back to checking insn.
2761
2762 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2763
2764         * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
2765         if check_mode is non-zero.
2766
2767 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2768
2769         * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
2770         out and comparison sequence has been detected, put result into
2771         proper temporary pseudo.
2772
2773 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
2774
2775         * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
2776         * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
2777         * libgcc2.c: Remove __dummy and __builtin_saveregs.
2778         * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
2779         * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
2780         for future reference.
2781
2782 2001-04-24  Jason Merrill  <jason_merrill@redhat.com>
2783
2784         * except.c (reachable_handlers): Step out one level from a RESX.
2785
2786         * except.c (struct eh_region): Rename 'last' to 'resume'.
2787         (mark_eh_region, duplicate_eh_region_1): Adjust.
2788         (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
2789         (build_post_landing_pads): Likewise.
2790         (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
2791         (expand_eh_region_end_must_not_throw): Likewise.
2792         (connect_post_landing_pads): Thread (only) regions with non-deleted
2793         resume insns.
2794
2795         * except.c (expand_eh_region_end_cleanup): Save the EH return data
2796         registers around the cleanup.
2797         (get_exception_filter): New fn.
2798         (finish_eh_generation): Use it.
2799
2800 2001-04-24  Nathan Sidwell <nathan@codesourcery.com>
2801
2802         * c-semantics.c (add_scope_stmt): Don't call
2803         current_scope_stmt_stack multiple times.
2804
2805 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
2806             Nathan Sidwell <nathan@codesourcery.com>
2807
2808         Lazy __FUNCTION__ generation.
2809         * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
2810         RID_C99_FUNCTION_NAME): New _RIDs.
2811         (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
2812         (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
2813         CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
2814         global tree slots.
2815         (function_id_node, pretty_function_id_node, func_id_node): Remove.
2816         (c99_function_name_decl_node, function_name_decl_node,
2817         pretty_function_name_decl_node, saved_function_name_decls):
2818         Declare.
2819         (struct language_function): Remove x_function_name_declared_p.
2820         (make_fname_decl): Remove a parameter.
2821         (declare_function_names): Remove prototype.
2822         (start_fname_decls, finish_fname_decls): Prototype.
2823         (fname_as_string): Likewise.
2824         (fname_string, fname_decl): Likewise.
2825         * c-common.c (make_fname_decl): Adjust.
2826         (struct fname_var_t): New struct.
2827         (fname_vars): New static array.
2828         (declare_function_name): Remove.
2829         (start_fname_decls, finish_fname_decls): New functions.
2830         (fname_as_string): New function from remnants of
2831         declare_function_name.
2832         (fname_string, fname_decl): New functions.
2833
2834         * c-decl.c (c_function_name_declared_p): Remove.
2835         (init_decl_processing): Don't generate __FUNCTION__ et al ids,
2836         don't call declare_function_name. Call start_fname_decls.
2837         (c_make_fname_decl): Adjust parameters. Generate the name. Don't
2838         clobber the line number. Call finish_decl.
2839         (start_function): Call start_fname_decls.
2840         (finish_function): Call finish_fname_decls.
2841         Remove c_function_name_declared_p.
2842         (push_c_function_context): Don't push c_function_name_declared_p.
2843         (pop_c_function_context): Don't pop c_function_name_declared_p.
2844         (c_begin_compound_stmt): Don't check c_function_name_declared_p.
2845         * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
2846         (program): Call finish_fname_decls for C.
2847         (primary): Add VAR_FUNC_NAME.
2848         (reswords): Add slots for __FUNCTION__ et al.
2849         (rid_to_yy): Add mappings for __FUNCTION__ et al.
2850         (yylexname): If it's a STRING_FUNC_NAME generate the function name
2851         now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
2852         * c-semantics.c (prune_unused_decls): Remove.
2853         (finish_stmt_tree): Don't call prune_unused_decls.
2854         (genrtl_decl_stmt): Don't prune unused decls here.
2855
2856 2001-04-24  Nick Clifton  <nickc@cambridge.redhat.com>
2857
2858         * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
2859         constant pool, use the pool's SYMBOL_REF instead.
2860
2861         * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
2862         v850e.
2863
2864 2001-04-23  Joseph S. Myers  <jsm28@cam.ac.uk>
2865
2866         * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
2867         passing nested NOP_EXPRs to fold.
2868
2869 Mon Apr 23 14:32:12 CEST 2001  Jan Hubicka  <jh@suse.cz>
2870
2871         * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
2872
2873 2001-04-22  Mark Mitchell  <mark@codesourcery.com>
2874
2875         * loop.c (loop_delete_insns): Add prototype.
2876
2877 2001-04-23  Phil Edwards  <pme@sources.redhat.com>
2878
2879         * configure.in:  Remove ENABLE_STD_NAMESPACE.
2880         * config.in:  Regenerated.
2881         * configure:  Regenerated.
2882
2883 2001-04-22  Stan Shebs  <shebs@apple.com>
2884
2885         * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
2886         into xm_defines.
2887         * config/rs6000/xm-darwin.h: Remove file.
2888
2889 2001-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2890
2891         * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
2892         (write_c_file_stat): Likewise.
2893
2894         * dbxout.c (dbxout_init): Likewise.
2895
2896         * profile.c (output_func_start_profiler): Likewise.
2897
2898 2001-04-22  Philipp Thomas  <pthomas@suse.de>
2899
2900         * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
2901         require it instead of the CVS version.
2902         * cpperror.c (v_message): Put a blank before the macro
2903         body to not confuse exgettext.
2904
2905 2001-04-21  Mark Mitchell  <mark@codesourcery.com>
2906
2907         * flow.c (proagate_one_insn): Remove useless assignment.
2908         * jump.c (delete_insn): Tidy.
2909         * loop.c (try_copy_prop): When deleting an instruction with a
2910         REG_RETVAL note, delete the entire libcall sequence.
2911         (loop_delete_insns): New function.
2912         * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
2913         we're not substituting into them yet.
2914
2915 2001-04-21  Kazu Hirata  <kazu@hxi.com>
2916
2917         * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
2918
2919         * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
2920         Fix a comment typo.
2921         * config/i960/i960.c (signed_arith_operand): Likewise.
2922
2923         * calls.c (expand_call): Fix a comment typo.
2924
2925 2001-04-20  Zack Weinberg  <zackw@stanford.edu>
2926
2927         * configure.in: Probe for times, clock, struct tms, and clock_t.
2928         * configure, config.in: Regenerate.
2929         * timevar.c: Replace ifdef forest in get_time with (relatively)
2930         straightforward series of checks based on autoconf's probes.
2931
2932 Fri Apr 20 12:24:50 2001  Jeffrey A Law  (law@cygnus.com)
2933
2934         * config/pa/som.h (NM_FLAGS): Define.
2935
2936 2001-04-20  Bernd Schmidt  <bernds@redhat.com>
2937
2938         * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
2939         function.
2940         * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
2941         * ia64.c (nop_cycles_until): New function.
2942         (prev_cycle, prev_first, last_issued): New static variables.
2943         (ia64_sched_reorder): Additional arg for clock.
2944         On final scheduling pass, emit extra NOPs as needed.
2945         Set prev_first and prev_cycle.
2946         (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
2947         (ia64_variable_issue): Set last_issued.
2948
2949 2001-04-20  Alexandre Oliva  <aoliva@redhat.com>
2950
2951         * config/i386/i386.c (ix86_expand_int_movcc,
2952         ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
2953
2954 2001-04-20  Geoff Keating  <geoffk@redhat.com>
2955
2956         * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
2957         ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
2958         ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
2959         ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
2960         ctrdi_internal6): In the short-branch case, this insn is only 4
2961         bytes long.  Reported by Reza Yazdani <reza@apple.com>.
2962
2963 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
2964
2965         * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
2966         "=u" is used together with "st" resp. "st(1)" clobber.
2967
2968 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
2969
2970         * gcse.c (gcse_main): Fix comment typo.
2971         (delete_null_pointer_check): Likewise.
2972         (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
2973         * cse.c (cse_insn): Likewise.
2974         * function.c (fixup_var_refs_insns_with_hash): The sequence is
2975         toplevel.
2976
2977 2001-04-19  Zack Weinberg  <zackw@stanford.edu>
2978
2979         * toplev.c: Excise all code for the undocumented -dm option.
2980         (float_signal): Call signal just once, unconditionally.
2981
2982 2001-04-19  Geoff Keating  <geoffk@redhat.com>
2983
2984         * fold-const.c (fold): Use first_rtl_op rather than
2985         TREE_CODE_LENGTH when looping over parameters of a tree.
2986         Correct strange grouping in test for evaluated SAVE_EXPR.
2987
2988 Thu Apr 19 19:15:26 2001  Jeffrey A Law  (law@cygnus.com)
2989
2990         * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
2991         * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
2992
2993         * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
2994         name at 32 total characters.
2995         (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
2996         functions in named sections -- data items can still go into unique
2997         sections, but they have normal names (ie $LIT$ and $DATA$).
2998
2999         * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
3000         INIT_PRIORITY.
3001
3002 2001-04-19 DJ Delorie  <dj@redhat.com>
3003
3004         * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
3005         to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
3006         * config/i386/cygwin.h: Likewise.
3007         * config/i386/mingw32.h: Likewise.
3008         * config/vax/vms.h: Likewise.
3009         * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
3010
3011         * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
3012         to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
3013         * config/i386/xm-cygwin.h: Likewise.
3014         * config/i386/xm-djgpp.h: Likewise.
3015         * config/i386/xm-mingw32.h: Likewise.
3016         * config/vax/xm-vms.h: Likewise.
3017
3018         * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
3019         instead of OBJECT_SUFFIX.
3020         * collect2.c (find_a_file): Look for files matching the extension
3021         HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
3022         * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
3023         TARGET_EXECUTABLE_SUFFIX.
3024         (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
3025         (make_relative_prefix): Likewise.
3026         (convert_filename): Use TARGET_ suffixes throughout.  Remove
3027         NO_AUTO_EXE_SUFFIX.
3028         (process_command): Likewise.
3029         (do_spec_1): Likewise.
3030         * java/lang.c (init_parse): Likewise.
3031
3032         * gcc.texi : Document four new options matching the pattern
3033         (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX.  Remove documentation
3034         for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.  Remove
3035         documentation for NO_AUTO_EXE_SUFFIX.
3036
3037 2001-04-19  Mark Mitchell  <mark@codesourcery.com>
3038
3039         * toplev.h (struct lang_hooks): Allow decode_option to indicate
3040         that language-independent processing should not be done.
3041         * toplev.c (main): Adjust accordingly.
3042
3043         * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
3044         * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
3045
3046         * mips.md (reload_outputdi): Require that operand0 be a
3047         general_operand.
3048
3049 2001-04-19  Jakub Jelinek  <jakub@redhat.com>
3050
3051         * invoke.texi (-Wshadow): Clarify.
3052
3053 2001-04-18  Mark Mitchell  <mark@codesourcery.com>
3054
3055         * loop.c (load_mems): Examine all the instructions in the loop
3056         before concluding that all jumps branch to the first instruction
3057         after the loop.
3058
3059 Wed Apr 18 20:32:03 2001  Christopher Faylor <cgf@cygnus.com>
3060
3061         * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
3062
3063 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
3064
3065         * cpp.texi (-Wwhite-space): Remove.
3066         (-Wall): -Wall does not imply -Wwhite-space.
3067
3068 2001-04-17  Zack Weinberg  <zackw@stanford.edu>
3069
3070         * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
3071         use it instead of blindly generating a .stabs.
3072         * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
3073         in the right place.
3074         * xcoffout.c: Don't bother defining default for N_CATCH.
3075         (UNKNOWN_STAB): Use internal_error.
3076         (stab_to_sclass): Remove now-unnecessary aborts.
3077         Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.
3078
3079 Tue Apr 17 21:41:11 2001  Jeffrey A Law  (law@cygnus.com)
3080
3081         * jump.c (mark_all_labels): Canonicalize the tail recursion
3082         label attached to CALL_PLACEHOLDER insns.
3083
3084 2001-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3085
3086         * output.h (dump_flow_info, free_basic_block_vars,
3087         which_alternative): Delete redundant prototypes.
3088
3089         * rtl.h (bss_section): Likewise.
3090
3091 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
3092
3093         * dbxout.c (N_OPT): Define if not available from <stab.h>
3094
3095 2001-04-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3096
3097         * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
3098         libraries and native K&R compilers.
3099
3100 2001-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3101
3102         * c-typeck.c (convert_arguments): Don't check for width changes
3103         with -Wtraditional.
3104
3105         * invoke.texi (-Wtraditional): Update documentation.
3106
3107 2001-04-16  Zack Weinberg  <zackw@stanford.edu>
3108
3109         * toplev.c (output_lang_identify): Delete.
3110         (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
3111         Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
3112         If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
3113         after calling ASM_FILE_END.
3114
3115         * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
3116         Instead, unconditionally emit an N_OPT stab with string equal
3117         to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
3118
3119         * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
3120
3121         * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
3122         config/psos.h, config/ptx4.h, config/1750a/1750a.h,
3123         config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
3124         config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
3125         config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
3126         config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
3127         config/i370/i370.h, config/i386/beos-elf.h,
3128         config/i386/osf1elf.h, config/i386/osfrose.h,
3129         config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
3130         config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
3131         config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
3132         config/m68k/tower-as.h, config/mcore/mcore-elf.h,
3133         config/mips/iris6.h, config/mips/osfrose.h,
3134         config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
3135         config/sparc/sp64-elf.h:
3136         Delete definitions of any or all of: ASM_IDENTIFY_GCC,
3137         ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
3138
3139         * config/elfos.h, config/freebsd.h, config/linux.h,
3140         config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
3141         config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
3142         config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
3143         of ASM_FILE_START which merely emit a .version directive.  Delete
3144         definitions of ASM_FILE_END which merely emit an .ident directive.
3145
3146         * config/avr/avr.h, config/vax/vax.h: Delete definition of
3147         ASM_IDENTIFY_GCC and move part of its logic into
3148         ASM_FILE_START.
3149
3150         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
3151         config/sparc/linux-aout.h: Don't emit .version directive in
3152         ASM_FILE_START.
3153
3154         * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
3155         (output_file_start): Correct comment.
3156
3157         * config/i386/osfrose.h: Don't emit trailing .ident directive.
3158         * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
3159         to match gdb.
3160         * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
3161         * config/rs6000/aix.h: Correct comment.
3162
3163         * config/i386/i386afe.h: Delete.
3164         * config.gcc: Remove references to i386afe.h.
3165
3166         * tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
3167         other macros deleted by this patch were undocumented.
3168
3169 Mon Apr 16 08:03:48 2001  Jeffrey A Law  (law@cygnus.com)
3170
3171         * pa.md (reload_outdi): Operand 0 must be a non hard register.
3172
3173         * pa.c (secondary_reload_class): SAR<->FP copies require a
3174         secondary register.
3175
3176         * install.texi (mips-mips-bsd): Update list of functions
3177         required to include memmove.
3178         * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
3179         used functions to include memmove.
3180
3181 2001-04-15  Toon Moene  <toon@moene.indiv.nluug.nl>
3182
3183         * i386.md (sqrtdf2): SFmode should be DFmode.
3184
3185 2001-04-15  Alexandre Oliva  <aoliva@redhat.com>
3186
3187         * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
3188         (find_moveable_store): Likewise.
3189
3190 2001-04-15  Jim Wilson  <wilson@redhat.com>
3191
3192         * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
3193
3194 Sat Apr 14 16:24:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
3195
3196         * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
3197         (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
3198
3199 2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
3200
3201         * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
3202         first alternative.
3203
3204 2001-04-14  Alan Modra  <amodra@one.net.au>
3205
3206         * pa.c (force_mode): New function.
3207         (emit_move_sequence): Use it instead of generating new rtx_REGs.
3208
3209 2001-04-13  Jim Wilson  <wilson@redhat.com>
3210
3211         * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
3212         (first_instruction): New static variable.
3213         (rtx_needs_barrier): Return 1 for alloc.
3214         (init_insn_group_barriers): Set first_instruction.
3215         (rws_sum): Delete duplicate definition.
3216         (group_barrier_needed_p): Return 0 when first_instruction true.
3217         (safe_group_barrier_needed_p): Save and restore first_instruction
3218         around group_barrier_needed_p call.
3219
3220 Fri Apr 13 21:40:28 2001  Loren J. Rittle  <ljrittle@acm.org>
3221
3222         * expr.h (enum libfunc_index): Add LTI_memmove.
3223         (memmove_libfunc): Define macro.
3224         * optabs.c (init_optabs): Initialize memmove_libfunc.
3225         * expr.c (expand_assignment): Use memmove_libfunc instead of
3226         memcpy_libfunc.
3227
3228 2001-04-13  Alan Modra  <alan@linuxcare.com.au>
3229
3230         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
3231         fp mode addresses.
3232
3233 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3234
3235         * Makefile.in (reg-stack.o): Depend on reload.h.
3236         (insn-attrtab.o): Depend on flags.h.
3237
3238         * genattrtab (main): Include flags.h in insn-attrtab.c.
3239
3240         * reg-stack.c: Include reload.h.
3241
3242         * sparc.h (flag_pic): Delete redundant declaration.
3243
3244         * output.h (flag_pic): Likewise.
3245
3246         * tree.h (pedantic): Likewise.
3247
3248 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3249
3250         * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
3251
3252         * jump.c, regmove.c, toplev.c: Include reload.h.
3253
3254         * reload.h (reload_cse_regs): Declare.
3255
3256         * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
3257         reload_cse_regs, init_reload, mark_home_live, reload,
3258         init_caller_save): Delete redundant prototypes.
3259
3260 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3261
3262         * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
3263
3264         * regclass.c, ssa.c: Include expr.h.
3265
3266         * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
3267         gen_move_insn): Delete redundant declarations.
3268
3269 2001-04-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3270
3271         * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
3272         (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
3273         MAKEINFO and MAKEINFOFLAGS too.
3274         (stage4_build): Correctly order -B flags.
3275
3276 2001-04-13  Alan Modra  <amodra@one.net.au>
3277
3278         * pa.c (hppa_init_pic_save): Set rtx_unchanging for
3279         PIC_OFFSET_TABLE_SAVE_RTX.
3280         (zdepi_cint_p): Describe zdepi insn.
3281         Formatting and white space fixes throughout file.
3282
3283         * pa.c (uint32_operand): Don't use long constant >= 2^32.
3284         (emit_move_sequence): Use HOST_WIDE_INT constants.  Don't worry
3285         about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
3286         (compute_movstrsi_length): Make `align' unsigned to avoid warning.
3287         (output_64bit_and): Use plain `int's for shift counts.
3288         (output_64bit_ior): Likewise.
3289         (function_arg_partial_nregs): Use unsigned vars to avoid warnings.
3290         * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
3291         `N', and simplify.
3292
3293         * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
3294         * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
3295         * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
3296         NEW_HP_ASSEMBLER into one.  Kill warnings.
3297
3298         * pa-gas.h: Delete file.
3299         * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
3300         Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*.  Update
3301         hppa*-*-linux*.  For all pa targets, remove pa/gas.h from tm_file,
3302         instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
3303
3304         * config/pa/mill32.S: New file.
3305         * config/pa/mill64.S: New file.
3306         * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
3307         LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
3308         * config/pa/t-linux64: New file.
3309         * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
3310         (LIB1ASMFUNCS, LIB1ASMSRC): Define.
3311         (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
3312
3313         * elfos.h (SELECT_SECTION): Undef before defining.
3314         * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
3315         (LIB_SPEC): Remove -lmilli.
3316         (DBX_REGISTER_NUMBER): Remove.
3317         (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
3318         (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
3319         NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
3320         DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
3321         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
3322         ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
3323         ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
3324         TARGET_GAS): Define.
3325         * pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
3326         (function_arg): If TARGET_ELF32, pass fp args in both general and fp
3327         regs if we don't have a prototype.
3328         * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
3329         * pa.h (TARGET_ELF32): Default to 0 if undefined.
3330         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
3331         EH_RETURN_HANDLER_RTX): Define.
3332         * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
3333         (DWARF_FRAME_REGNUM): Define.
3334         * pa64-regs.h (DWARF_FRAME_REGNUM): Define.
3335         * pa32-linux.h: New file.
3336         * pa64-linux.h: New file.
3337
3338         * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
3339         (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
3340         (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
3341         NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
3342         DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
3343         DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
3344         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
3345         FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
3346         READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
3347         DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
3348         UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
3349         ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
3350         TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
3351         * pa64-hpux.h: New file.
3352         (ASM_FILE_START): Correct typo.
3353         (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
3354         * config.gcc: Modify for above.
3355
3356 Fri Apr 13 00:09:22 EDT 2001  John Wehle  (john@feith.com)
3357
3358         * jump.c (jump_optimize_1): Don't delete dead stores here.
3359         * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
3360         prior to running jump optimize before cse2.
3361
3362 2001-04-12  Richard Henderson  <rth@redhat.com>
3363
3364         * Makefile.in (regmove.o): Depend on except.h.
3365         * regmove.c: Include it.
3366
3367 2001-04-12  Stan Shebs  <shebs@apple.com>
3368
3369         * objc/objc-act.c: Remove all code ifdefed with the never-used
3370         macro OBJC_INT_SELECTORS.
3371         * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
3372         * tm.texi: Remove doc for OBJC_INT_SELECTORS.
3373
3374 Thu Apr 12 18:13:37 2001  Rodney Brown  <RodneyBrown@mynd.com>
3375
3376         * config/pa/quadlib.c: Add prototypes.
3377
3378 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3379
3380         * bitmap.h (debug_bitmap): Delete redundant prototype.
3381
3382         * rtl.h (get_frame_size): Likewise.
3383
3384 2001-04-12  Jim Wilson  <wilson@redhat.com>
3385
3386         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
3387         to just emit an fnorm.
3388
3389 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3390
3391         * c-common.h (truthvalue_conversion, type_for_mode,
3392         type_for_size): Delete redundant declarations.
3393
3394         * c-lex.h (is_class_name): Likewise.
3395
3396         * c-tree.h (pedantic, convert, getdecls, gettags,
3397         global_bindings_p, init_decl_processing, insert_block,
3398         maybe_build_cleanup, poplevel, print_lang_decl,
3399         print_lang_identifier, print_lang_type, pushdecl, pushlevel,
3400         set_block, incomplete_type_error, build_function_call,
3401         lvalue_or_else, mark_addressable): Likewise.
3402
3403         * expr.h (expand_tree_builtin): Likewise.
3404
3405 2001-04-12  Mark Mitchell  <mark@codesourcery.com>
3406
3407         * invoke.texi: Document --param max-gcse-memory.
3408
3409 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3410
3411         * configure.in (errno): Check for declaration.
3412         * configure, config.in: Regenerated.
3413
3414         * system.h (errno): Only declare if not already done.
3415
3416 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3417
3418         * recog.c (general_operand, immediate_operand,
3419         nonmemory_operand): Require CONST_INTs to be sign-extended
3420         values for their modes.
3421
3422 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3423
3424         * expmed.c (store_bit_field): Truncate CONST_INTs.
3425         (expand_mult_highpart, expand_divmod): Likewise.
3426         * expr.c (convert_modes, store_field): Likewise.
3427         * integrate.c (expand_inline_function): Use promote_mode() to
3428         determine whether to convert_modes() an argument as signed
3429         or unsigned.
3430         * optabs.c (expand_binop): Get CONST_INT operands
3431         sign-extended for their appropriate modes.
3432         * stmt.c (emit_case_nodes): Convert node values to the
3433         appropriate mode.
3434         (expand_end_case): Convert minval and range to the appropriate
3435         mode.
3436         * unroll.c (loop_iterations): Truncate abs_diff to the mode of
3437         the iteration variable.
3438         * varasm.c (immed_double_const): Don't require words to be
3439         narrower than host wide ints to properly sign-extend
3440         CONST_INTs.
3441
3442 2001-04-12  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3443
3444         * sh.md (builtin_setjmp_receiver): New expander.
3445
3446 2001-04-12  David Edelsohn  <dje@watson.ibm.com>
3447
3448         * config/rs6000/rs6000.c (rs6000_emit_move): Do not
3449         special-case HOST_BITS_PER_WIDE_INT != 32.  Use same criteria
3450         for generating CONST_INT and CONST_DOUBLE.
3451
3452 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3453
3454         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
3455         already sign-extended.
3456         (rs6000_emit_prologue): Make register iterator signed.
3457         (rs6000_emit_epilogue): Likewise.
3458         * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
3459         and low.
3460         (movsf split, movdf split): Sign-extend CONST_INTs.
3461         (movdi splits): Likewise.
3462
3463 2001-04-12  Kelley Cook <kelley.cook@home.com>
3464
3465         * config-lang.in (lang_dirs): Add in zlib.
3466
3467 2001-04-11  Alexandre Oliva  <aoliva@redhat.com>
3468
3469         * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
3470         operands that make it to RTL.
3471
3472 2001-04-11  Stan Shebs  <shebs@apple.com>
3473
3474         Add Darwin (Mac OS X kernel) native support.
3475         * config.gcc (powerpc-*-darwin*): Add native bits.
3476         * config/darwin.c: New file, generic Darwin support functions.
3477         * config/darwin.h: New file, generic Darwin definitions.
3478         * config/darwin-protos.h: New file, generic Darwin prototypes.
3479         * rs6000/darwin.h: New file, Darwin for PowerPC.
3480         * rs6000/t-darwin: New file, Darwin makefile fragment.
3481         * rs6000/rs6000.h (OBJECT_MACHO): New macro.
3482         (TARGET_MACHO): Ditto.
3483         (rs6000_abi): Add ABI_DARWIN.
3484         (RS6000_REG_SAVE): Add ABI_DARWIN case.
3485         (RS6000_SAVE_AREA): Ditto.
3486         (FP_ARG_MAX_REG): Ditto.
3487         (RETURN_ADDRESS_OFFSET): Ditto.
3488         * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
3489         cases.
3490         (rs6000_emit_move): Add ABI_DARWIN cases.
3491         (print_operand): Ditto.
3492         (first_reg_to_save): Ditto.
3493         (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
3494         (debug_stack_info): Ditto.
3495         (rs6000_emit_prologue): Ditto.
3496         (rs6000_emit_epilogue): Ditto.
3497         (output_profiler_hook): Ditto.
3498         (output_function_profiler): Ditto.
3499         (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
3500         (output_mi_thunk): Add TARGET_MACHO case.
3501         (add_compiler_stub): Ditto.
3502         (output_compiler_stub): Ditto.
3503         (no_previous_def): Ditto.
3504         (output_call): Ditto.
3505         (machopic_output_stub): Ditto.
3506         (rs6000_machopic_legitimize_pic_address): Ditto.
3507         (toc_section): Ditto.
3508         * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
3509         (macho_high): Ditto.
3510         (macho_low): Ditto.
3511         (movsi_low): Ditto.
3512         (load_macho_picbase): Ditto.
3513         (call): Add TARGET_MACHO case to modify function.
3514         (call_value): Ditto.
3515         (call_nonlocal_sysv): Add ABI_DARWIN case.
3516         (call_value_nonlocal_sysv): Ditto.
3517         * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
3518         Add prototype.
3519         (machopic_output_stub): Ditto.
3520         * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
3521
3522 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3523
3524         * dwarf2out.c (modified_type_die): Don't create new types here.
3525         * tree.h (get_qualified_type): New function.
3526         (build_qualified_type): Adjust comment.
3527         * tree.c (get_qualified_type): New function.
3528         (build_qualified_type): Use it.
3529
3530 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3531
3532         * cpp.texi (-Wtraditional): Update description.
3533
3534         * invoke.texi (-Wtraditional): Likewise.
3535
3536 2001-04-11  Jim Wilson  <wilson@redhat.com>
3537
3538         * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
3539         requires more than 64 bits of alignment.
3540
3541 2001-04-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3542
3543         * cpplib.c (do_line): Sanity check iff enable checking.
3544
3545 2001-04-11  Richard Henderson  <rth@redhat.com>
3546
3547         * Makefile.in (insn-recog.o): Depend on toplev.h.
3548         (insn-emit.o, doloop.o): Likewise.
3549         * genrecog.c, genemit.c: Include toplev.h in generated file.
3550         * doloop.c: Include toplev.h.
3551
3552 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3553
3554         * Makefile.in (gcse.o): Depend on params.h.
3555         * gcse.c: Include params.h.
3556         (gcse_main): Don't do GCSE if doing so will take inordinate
3557         amounts of memory.
3558         * params.def (PARAM_MAX_GCSE_MEMORY): New  parameter.
3559         * params.h (MAX_GCSE_MEMORY): New macro.
3560
3561 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3562
3563         * Makefile.in (insn-output.o): Depend on $(EXPR_H).
3564
3565         * genoutput.c (output_prologue): Include expr.h in insn-output.c.
3566
3567 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3568
3569         * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
3570
3571         * real.h (ereal_atof, real_value_truncate, target_isnan,
3572         target_isinf, target_negative, assemble_real, debug_real): Delete
3573         redundant prototypes.
3574
3575         * Makefile.in (ifcvt.o): Depend on toplev.h.
3576
3577         * c-semantics.c: Include expr.h.
3578
3579         * ifcvt.c: Include toplev.h.
3580
3581         * expr.h (rtx_equal_p): Delete prototype.
3582
3583         * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
3584         protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
3585         eliminate_constant_term, expand_complex_abs, find_single_use,
3586         make_tree, init_expr_once, init_optabs, supports_one_only):
3587         Likewise.
3588
3589         * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
3590         rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
3591         expand_assignment, store_expr, emit_line_note_after,
3592         emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
3593
3594         * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
3595
3596         * sparc-protos.h: Delete redundant prototypes.
3597
3598 2001-04-11  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
3599
3600         * reload.c (push_reload): Add condition missed in SUBREG byte
3601         offset patch.
3602
3603 Wed Apr  4 00:28:23 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3604
3605         * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
3606
3607 Wed Apr 11 14:06:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
3608
3609         * i386.md (floatsisf_sse): Fix output template
3610         * i386.c (ix86_expand_fp_movcc)
3611
3612         * reg-stack.c (emit_pop_insn): Handle complex modes.
3613         (move_for_stack_reg): Emit proper move mode.
3614         (subst_stack_regs_pat): Handle complex modes.
3615
3616 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3617
3618         * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
3619
3620 2001-04-10  Richard Henderson  <rth@redhat.com>
3621
3622         * libgcc2.h (__terminate_func_ptr): Remove typedef.
3623         (__pure_virtual, __terminate, __terminate_set_func,
3624         __default_terminate, __throw_type_match, __empty,
3625         __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
3626         __eh_rtime_match, __unwinding_cleanup, __rethrow,
3627         __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
3628         Remove prototypes of deleted functions.
3629
3630 2001-04-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3631
3632         * c-typeck.c (convert_arguments): -Wtraditional now activates
3633         -Wconversion warnings, except for changes in signed-ness.
3634         Detect complex<->int & int<->complex conversions as well.
3635
3636         * invoke.texi (-Wtraditional): Document it.
3637
3638 Tue Apr 10 17:45:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3639
3640         * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
3641         * flow.c (set_block_for_new_insns): Remove needless cast and
3642         properly check for unset block number.
3643
3644 2001-04-10  Andrew MacLeod  <amacleod@redhat.com>
3645
3646         * function.c (purge_single_hard_subreg_set): Only check REGNO if
3647         the subreg was a hard register. Pseudos are left as subregs.
3648
3649 2001-04-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3650
3651         * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
3652         (LIB2ADD_ST): New macro, pass it to mklibgcc.
3653         * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
3654         (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
3655         * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
3656
3657 2001-04-09  Bo Thorsen  <bo@suse.co.uk>
3658
3659         * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
3660
3661 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3662
3663         * output.h (set_block_num): Missed it earlier, remove deprecated
3664         prototype.
3665
3666 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3667
3668         * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
3669         (load_killed_in_block_p): Change bb parameter from int to basic_block.
3670         (oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
3671         (handle_rd_kill_set): Change bb parameter from int to basic_block.
3672         (compute_kill_rd): Pass basic_blocks instead of ints as parameters.
3673         (expr_killed_p): Change bb parameter from int to basic_block, pass
3674         basic_blocks instead of ints as parameters.
3675         (compute_ae_kill): Pass basic_blocks instead of ints as parameters.
3676         (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
3677         from int to basic_block, pass basic_blocks instead of ints as parms.
3678         (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
3679         parameter from int to basic_block, pass basic_blocks instead of ints.
3680         (process_insert_insn): Pass basic_blocks instead of ints as parameters.
3681         (insert_insn_end_bb): Change bb parameter from int to basic_block,
3682         pass basic_blocks instead of ints.
3683         (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
3684         basic_blocks instead of ints as parameters.
3685         (pre_delete): Pass basic_blocks instead of ints as parameters.
3686         (hoist_expr_reaches_here_p): Change bb parameter from int to
3687         basic_block, pass basic_blocks instead of ints.
3688         (hoist_code): Pass basic_blocks instead of ints as parameters.
3689         (reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
3690         Change bb parameter from int to basic_block.
3691         (build_store_vectors): Pass basic_blocks instead of ints as parameters.
3692         (insert_insn_start_bb): Change bb parameter from int to basic_block,
3693         pass basic_blocks instead of ints.
3694         (insert_store): Pass basic_blocks instead of ints as parameters.
3695         (replace_store_insn, delete_store): Change bb parameter from int to
3696         basic_block, pass basic_blocks instead of ints.
3697         (store_motion): Pass basic_blocks instead of ints as parameters.
3698
3699 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3700
3701         * basic-block.h (set_new_block_for_insns): New Prototype.
3702         (set_block_num): Delete prototype.
3703         * flow.c (set_block_num): Remove obsolete function.
3704         (set_block_for_new_insns): Set BB for single or multiple insns.
3705         * gcse.c (handle_avail_expr): Use set_block_for_new_insns.
3706         (process_insn_end_bb): Use set_block_for_new_insns or
3707         set_block_for_insn instead of set_block_num.
3708         (pre_insert_copy_insn): Use set_block_for_new_insns.
3709         (update_ld_motion_stores): Use set_block_for_new_insns.
3710         (insert_insn_start_bb): Use set_block_for_new_insns.
3711         (replace_store_insn): Use set_block_for_new_insns.
3712
3713 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3714             Jeff Law  <law@redhat.com>
3715
3716         * alias.c (get_addr): Externalize.
3717         (canon_true_dependence): New function. Behaves like true_dependance
3718         except it already assumes a MEM has been canonicalized.
3719         * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
3720         * gcse.c (struct ls_expr): Add load/store expressions structure.
3721         (modify_mem_list, canon_modify_mem_list): New variable.
3722         (gcse_main): Initialize & finalize alias analysis. Use enhanced
3723         load motion and store motion if requested.
3724         (alloc_gcse_mem): Allocate space for modify_mem_list array.
3725         (free_gcse_mem): Free the modify_mem_list array.
3726         (oprs_unchanged_p): Use load_killed_in_block_p.
3727         (gcse_mems_conflict_p, gcse_mem_operand): New variables.
3728         (mems_conflict_for_gcse_p): New function.  Don't kill loads
3729         with stores to themselves if its in the load/store expression list.
3730         (load_killed_in_block_p): New function.
3731         (canon_list_insert): New Function.
3732         (record_last_mem_set_info): Keep a list of all instructions which
3733         can modify memory for each basic block.
3734         (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
3735         (oprs_not_set_p): Use load_killed_in_block_p.
3736         (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
3737         (expr_killed_p): Use load_killed_in_block_p.
3738         (compute_transp): Do not pessimize memory references.
3739         (pre_edge_insert): Update stores for a load motion expression.
3740         (one_pre_gcse_pass): Check loads/stores for extra load motion.
3741         (ldst_entry): Find or create a ldst_expr structure.
3742         (free_ldst_entry): Free memory for an individual item.
3743         (free_ldst_mems): Free entire load/store expression list.
3744         (print_ldst_list): Print debug info.
3745         (find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
3746         (enumerate_ldsts): Assign integer values to each entry in list.
3747         (first_ls_expr): First expression in the list.
3748         (next_ls_expr): Next expression in the list.
3749         (simple_mem): Check if expression qualifies for ld/st expression list.
3750         (invalidate_any_buried_refs): Remove from expression list if its
3751         used in some other way we dont understand.
3752         (compute_ld_motion_mems): Find all potential enhanced load motion
3753         expression.
3754         (trim_ld_motion_mems): Remove any expressions which are invalid.
3755         (update_ld_motion_stores): Copy store values to registers for loads
3756         which have been moved.
3757         (regvec, st_antloc, num_store): New global statics.
3758         (reg_set_info): Marks registers as set.
3759         (store_ops_ok): Verfies registers expressions are valid in a block.
3760         (find_moveable_store): Look for moveable stores in a pattern.
3761         (compute_store_table): Find stores in a function worth moving, maybe.
3762         (load_kills_store): Check dependance of a load and store.
3763         (find_loads): Find any loads in a pattern.
3764         (store_killed_in_insn): Check if a store is killed in an insn.
3765         (store_killed_after): Check is store killed after an insn in a block.
3766         (store_killed_before): Check is store killed before an insn in a block.
3767         (build_store_vectors): Generate the antic and avail vectors.
3768         (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
3769         (insert_store): Add a store to an edge.
3770         (replace_store_insn): Replace a store with a SET insn.
3771         (delete_store): Delete a store insn.
3772         (free_store_memory): Free memory.
3773         (store_motion): Perform store motion.
3774         * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
3775         * rtl.h (get_addr, canon_true_dependence): Add prototypes.
3776         * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
3777         (f_options): Add gcse-lm and gcse-sm.
3778
3779 Mon Apr  9 16:18:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
3780
3781         * i386.c (expand_fp_movcc): Fix condition reversal code.
3782
3783         * i386.c (ix86_register_move_cost): Fix handling of reformating penalty
3784         * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
3785         (CLASS_MAX_NREGS): Use it.
3786
3787         * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
3788         handle properly complex values.
3789         (CLASS_MAX_NREGS): Likewise; update comment.
3790
3791 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
3792
3793         * ia64.c (ia64_flag_schedule_insns2): New variable.
3794         (ia64_override_options): Initialize it.  Clear
3795         flag_schedule_insns_after_reload.
3796         (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
3797
3798 Mon Apr  9 15:09:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
3799
3800         * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
3801         Do not require source to match destination anymore;
3802         Add abort to the nontrivial cases that should be handled by split.
3803         (fix_trunc?fdi): Add SSE case for x86_64.
3804         (floatdi?f): Likewise.
3805         (floatdi?f_sse): New.
3806         (fix_trunc?fdi_sse): New.
3807
3808 2001-04-09  Richard Sandiford   <rsandifo@redhat.com>
3809
3810         * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
3811         (DEBUG_ARANGES_END_LABEL): Ditto.
3812         (dwarfout_init): Generate length and version fields at the start
3813         of the .debug_aranges info.  Insert DEBUG_ARANGES_BEGIN_LABEL
3814         after the length field.
3815         (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
3816         the .debug_aranges info.
3817
3818 Sun Apr  8 00:43:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
3819
3820         * i386.c (call, call_value): Make sure that resulting call_insn
3821         does have proper second operand.
3822
3823 Sun Apr  8 22:50:49 2001  Christopher Faylor <cgf@cygnus.com>
3824
3825         * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
3826         function.  Remove include of sys/cygwin.h.
3827
3828 Sun Apr  8 22:20:27 2001  Christopher Faylor <cgf@cygnus.com>
3829
3830         * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
3831         (CPP_SPEC): Always search */include/w32api for header files.
3832         (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
3833         (LINK_SPEC): Add "cyg" to the library search prefixes.
3834
3835 2001-04-08  Philip Blundell  <philb@gnu.org>
3836
3837         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
3838
3839 2001-04-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3840
3841         * cpperror.c (print_location): Don't special case <stdin>.
3842         (_cpp_begin_message): Handle WARNING_SYSHDR the same as
3843         WARNING, but we don't check if we're in system headers.
3844         * cpplib.h (enum error_type): WARNING_SYSHDR: New.
3845         * cpplib.c (do_warning): Warn in system headers.
3846
3847 2001-04-07  Mumit Khan <khan@NanoTech.Wisc.EDU>
3848
3849         * mbchar.c: Include config.h first.
3850
3851 2001-04-07  Zack Weinberg  <zackw@stanford.edu>
3852
3853         * config.gcc: Set default for xmake_file at top, not bottom.
3854         Change places that set xmake_file to "none" to set to the
3855         empty string instead, or remove them entirely if there is no
3856         default xmake_file for this cpu_type.  Remove references to
3857         deleted files.
3858
3859         * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
3860         config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
3861         config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
3862         config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
3863         config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
3864         config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
3865         config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
3866         config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
3867         config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
3868         config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
3869         Delete.
3870
3871         * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
3872         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
3873         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
3874         config/mips/x-sysv, config/rs6000/x-aix31:
3875         Just set CLIB to -lld or -lmld, as appropriate.
3876
3877         * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
3878         config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
3879         config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
3880         config/mips/x-iris, config/pa/x-pa:
3881         Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
3882         OTHER_FIXINCLUDES_DIRS.
3883
3884         * config/i386/x-djgpp: Don't set LN or LN_S.
3885         * config/m88k/x-dolph: Don't define __m88k__.
3886         * config/m88k/x-tekXD88: Don't set AR_FLAGS.
3887         * config/pa/x-pa-mpeix: Just set up quadlib.asm.
3888         * config/i860/fx2800.h: No need to #undef SVR4.
3889
3890         38 x-host fragments remain, 2 x-cpu.
3891
3892 2001-04-07  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3893
3894         * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
3895
3896 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3897
3898         * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
3899
3900 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3901
3902         * configure.in: Add check for lstat.
3903         * configure, config.in: Regenerate.
3904         * cppinit.c (append_include_chain): Make empty path ".".
3905         * cpplib.c (do_line): Don't simplify #line paths.
3906         * cppfiles.c (remove_component_p): New function.
3907         (find_or_create_entry): Acknowledge stat () errors during
3908         path simplification.
3909         (handle_missing_header): Don't simplify paths.
3910         (_cpp_simplify_pathname): Don't simplify VMS paths.  Return
3911         the empty path untouched.  Don't leave a trailing '/'.
3912
3913 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3914
3915         * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
3916         * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
3917
3918 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3919
3920         * cppfiles.c (open_file): Fail directories silently, but
3921         with an errno of NOENT set.
3922         (read_include_file): Move the common exit code to the sole
3923         caller.  Return an int indicating success or failure.  Let
3924         open_file handle directories.
3925         (stack_include_file): If read_include_file fails,
3926         push a "null" buffer.
3927
3928 2001-04-05  DJ Delorie  <dj@redhat.com>
3929
3930         * function.h (virtuals_instantiated): Declare.
3931         * function.c: (virtuals_instantiated): Make global.
3932         * calls.c (emit_library_call_value_1): Use
3933         virtual_outgoing_args_rtx only if it hasn't been instantiated.
3934         Otherwise, use the stack pointer directly.
3935
3936 Thu Apr  5 19:13:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
3937
3938         * i386.c (x86_initialize_trampoline): New global function.
3939         * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
3940         (INITIALIZE_TRAMPOLINE): Move offline.
3941         * i386-protos.h (x86_initialize_trampoline): Declare.
3942
3943 Thu Apr  5 19:02:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
3944
3945         * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
3946         (lea_0): Rename to lea_1.
3947         (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
3948         (lea_general_?): Allow SImodes on TARGET_64BIT
3949         (lea_general_?_zext): New patterns.
3950         (call_1, call_1_rex64): Fix.
3951
3952 Thu Apr  5 19:00:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
3953
3954         * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
3955
3956 Thu Apr  5 18:25:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
3957
3958         * i386.c (function_arg): Return constm1_rtx for last argument.
3959         (ix86_expand_prologue): Update gen_call calls.
3960         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
3961         * i386.md (call_pop): Likewise.
3962         (call): Second operand is VOIDmode.
3963         (call_0): Likewise; Support 64bits.
3964         (call_exp): New expander.
3965         (call_1): Get to the sync.
3966         (call_1_exp): New pattern.
3967         (call_value): Support 64bit.
3968         (call_value_exp): New pattern.
3969         (untyped_call): Update gen_call call.
3970         (call_value_pop): Disable for 64bit.
3971         (call_value_0_rex64): New pattern.
3972         (call_value_1_rex64): Likewise.
3973
3974 2001-04-05  Bo Thorsen  <bo@suse.de>
3975
3976         * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
3977
3978 Thu Apr  5 13:44:17 2001  J"orn Rennecke <amylaar@redhat.com>
3979
3980         * i386.md (*andsi_1+3): If used after reload, make sure the operand
3981         satisfies ANY_QI_REG_P.
3982
3983 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
3984
3985         * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain
3986         ASM_OPERAND.
3987
3988         * sched-deps.c (sched_analyze_insn): Revert more of the March 27
3989         change.
3990
3991 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
3992
3993         * config.gcc: Remove default for xm_file.  Clean up local
3994         machine type handling.  Remove settings of xm_file to
3995         something that doesn't exist.  In the big switch, set xm_file,
3996         don't append to it (the value before the big switch is always
3997         null).  Don't force build_xm_file or host_xm_file to have a value.
3998         * configure.in: Remove default for xm_file.  Do not special
3999         case $cpu/xm-$cpu.h not existing.
4000         * configure: Regenerate.
4001
4002 2001-04-04  Diego Novillo  <dnovillo@redhat.com>
4003
4004         * simplify-rtx.c (simplify_binary_operation): Check for overflow
4005         when folding integer division and modulo operations.
4006
4007 2001-04-04  Andrew MacLeod  <amacleod@redhat.com>
4008
4009         * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
4010         instead of DWARF2_ADDR_SIZE for EH addresses.
4011         (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
4012         EH addresses.
4013
4014 2001-04-04  Richard Henderson  <rth@redhat.com>
4015
4016         * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
4017         * config/ia64/t-glibc (LIB2ADDEH): Disable.
4018         * config/ia64/t-ia64 (LIB2ADDEH): Disable.
4019
4020 2001-04-04  Richard Henderson  <rth@redhat.com>
4021
4022         * configure.in (gcc_cv_as_leb128): Escape "." in regexp.
4023         * configure: Rebuilt.
4024
4025 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
4026
4027         * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
4028         push insns to delete to it instead of deleting them.
4029         (delete_null_pointer_checks): Delete insns from delete_list after
4030         all delete_null_pointer_checks_1 passes are done.
4031
4032 2001-04-04  Richard Henderson  <rth@redhat.com>
4033
4034         * configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
4035         * configure: Rebuilt.
4036
4037 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
4038
4039         * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
4040         * config/romp/xm-romp.h: Delete.
4041
4042 2001-04-04  Bernd Schmidt  <bernds@redhat.com>
4043
4044         * sched-deps.c (sched_analyze_insn): Partially revert March 27
4045         change.
4046
4047 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4048
4049         * emit-rtl.c (mark_label_nuses) Increment the label uses for
4050         all labels present in rtx.
4051         (try_split) Call new function for all split insns.
4052
4053 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
4054
4055         * recog.c (validate_replace_rtx_1): Instead of aborting just make
4056         sure the change won't be validated.
4057
4058 Wed Apr  4 00:45:38 EDT 2001  John Wehle  (john@feith.com)
4059
4060         * rtl.h (set_noop_p): Declare.
4061         * flow.c (set_noop_p): Move from here ...
4062         * rtlanal.c (set_noop_p): ... to here and enhance.
4063         * cse.c (delete_trivially_dead_insns): Use it.
4064         * gcse.c (hash_scan_set): Likewise.
4065         * jump.c (delete_noop_moves): Likewise.
4066         * recog.c (split_all_insns): Likewise.
4067
4068 2001-04-04  Alan Modra  <alan@linuxcare.com.au>
4069
4070         * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
4071         stack pointer via a LO_SUM.  Ditto for setting a temp register
4072         used to save to the stack.  Set cfa_temp when setting fp, and
4073         allow matches to cfa_temp in addition to cfa_store when saving
4074         regs.  Handle POST_INC and LO_SUM register stores.  Document the
4075         changes and errors in rule 12 doco.
4076
4077         * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
4078         (actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
4079         (load_reg): Move closer to epilogue code.
4080         (DO_FRAME_NOTES): Define to control the following..
4081         (FRP): Define to set RTX_FRAME_RELATED_P on insns.
4082         (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
4083         notes as necessary.
4084         (hppa_expand_epilogue): Likewise.
4085
4086 2001-04-03  Richard Henderson  <rth@redhat.com>
4087
4088         * configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
4089         * configure: Rebuild.
4090
4091 2001-04-03  Richard Henderson  <rth@redhat.com>
4092
4093         * rtl.h (LCT_THROW): New.
4094         * calls.c (emit_library_call_value_1): Handle it.
4095         * except.c (connect_post_landing_pads): Use it.
4096
4097 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
4098
4099         * gansidecl.h: Delete file.
4100         * configure.in: Change all refs to gansidecl.h to use
4101         ansidecl.h.  Adjust *_file_list so they know where ansidecl.h
4102         lives.
4103         * configure: Regenerate.
4104
4105         * Makefile.in (intl.o): Don't depend on gansidecl.h.
4106         * defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
4107         * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
4108         Don't include gansidecl.h.
4109         * intl.c, main.c, version.c, fixinc/fixlib.h,
4110         fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
4111         gansidecl.h.
4112
4113 Tue Apr  3 19:41:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
4114
4115         * i386.c (ix86_force_to_memory, ix86_free_from_memory):
4116         Update for 64bit.
4117
4118 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
4119
4120         * config/i386/xm-beos.h, config/i386/xm-isc.h,
4121         config/i386/xm-next.h, config/i386/xm-sco.h,
4122         config/i386/xm-sco5.h, config/m68k/xm-plexus.h,
4123         config/m88k/xm-m88k.h: Delete.
4124
4125         * config/i386/xm-djgpp.h: Don't define __MSDOS__.
4126         * config/romp/xm-romp.h: Don't define bcopy.
4127         * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF,
4128         HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA.
4129
4130         * config.gcc: Remove references to deleted files.
4131
4132         14 xm-host.h remain, 1 xm-cpu.h.
4133
4134 2001-04-03  Jakub Jelinek  <jakub@redhat.com>
4135             David S. Miller  <davem@pierdol.cobaltmicro.com>
4136             Andrew MacLeod  <amacleod@redhat.com>
4137
4138         Use byte offsets in SUBREGs instead of words.
4139
4140         * alias.c (nonlocal_mentioned_p): Use subreg_regno function.
4141         * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
4142         to pass new argument.
4143         (add_stored_regs): Use subreg_regno_offset function.
4144         * calls.c (expand_call): For non-paradoxical SUBREG take endianess
4145         into account.
4146         (precompute_arguments): Use gen_lowpart_SUBREG.
4147         * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
4148         (combine_simplify_rtx): Rework to use SUBREG_BYTE.
4149         (simplify_set): Rework to use SUBREG_BYTE.
4150         (expand_field_assignment): Use SUBREG_BYTE.
4151         (make_extraction): Use SUBREG_BYTE.
4152         (if_then_else_cond): Use SUBREG_BYTE.
4153         (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
4154         (gen_lowpart_for_combine): Compute full byte offset.
4155         * cse.c (mention_regs): Use SUBREG_BYTE.
4156         (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
4157         (canon_hash): Use SUBREG_BYTE.
4158         (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
4159         (gen_lowpart_if_possible): Formatting.
4160         * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
4161         correctly.
4162         * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
4163         (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4164         (loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4165         * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
4166         (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4167         (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4168         * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
4169         certain invariants about SUBREGs the compiler creates.
4170         (gen_lowpart_SUBREG): New function.
4171         (subreg_hard_regno): New function to get the final register number.
4172         (gen_lowpart_common): Use SUBREG_BYTE.
4173         (gen_imagpart): Spacing nits.
4174         (subreg_realpart_p): Use SUBREG_BYTE.
4175         (gen_highpart): Use SUBREG_BYTE.
4176         (subreg_lowpart_p): Always compute endian corrected goal offset,
4177         even at the byte level, then compare against that.
4178         (constant_subword): New function, pulled out all constant cases
4179         from operand_subword and changed second argument name to offset.
4180         (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
4181         and call constant_subword to do the work.  Return const0_rtx if
4182         looking for a word outside of OP.
4183         (operand_subword_force): Change second arg name to offset.
4184         * expmed.c (store_bit_field): Use SUBREG_BYTE.
4185         (store_split_bit_field): Use SUBREG_BYTE.
4186         (extract_bit_field): Use SUBREG_BYTE.
4187         (extract_split_bit_field): Use SUBREG_BYTE.
4188         (expand_shift): Use SUBREG_BYTE.
4189         * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
4190         * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
4191         * flow.c (set_noop_p): Use SUBREG_BYTE.
4192         (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
4193         * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
4194         (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
4195         correction code.
4196         (optimize_bit_field): Use SUBREG_BYTE.
4197         (purge_addressof_1): Use SUBREG_BYTE.
4198         (purge_single_hard_subreg_set): Use subreg_regno_offset function.
4199         (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
4200         actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
4201         * gengenrtl.c (special_rtx): Add SUBREG.
4202         * global.c (mark_reg_store): Use SUBREG_BYTE.
4203         (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
4204         * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
4205         * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
4206         final byte offset is congruent to subreg's mode size.
4207         (subst_constants): Use SUBREG_BYTE.
4208         (mark_stores): Use subreg_regno_offset function.
4209         * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
4210         function and SUBREG_BYTE.
4211         * local-alloc.c (combine_regs): Use subreg_regno_offset function.
4212         (reg_is_born): Use subreg_hard_regno.
4213         * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
4214         endian correction code.  Don't combine subregs unless resulting
4215         offset aligns with type.  Fix subreg constant extraction for DImode.
4216         Simplify SUBREG of VOIDmode CONST_DOUBLE.
4217         (general_operand): Remove dead mode_altering_drug code.
4218         (indirect_operand): Use SUBREG_BYTE.
4219         (constrain_operands): Use subreg_regno_offset function.
4220         * reg-stack.c (get_true_reg): Use subreg_regno_offset function.
4221         * regmove.c (regmove_optimize): Use SUBREG_BYTE.
4222         (optimize_reg_copy_3): Use gen_lowpart_SUBREG.
4223         * regs.h (REG_SIZE): Allow target to override.
4224         (REGMODE_NATURAL_SIZE): New macro which target can override.
4225         * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
4226         on the entire subreg rtx.
4227         (push_reload): Use SUBREG_BYTE in comments and code.
4228         (find_dummy_reload): Use subreg_regno_offset.  Only adjust offsets
4229         for hard registers inside subregs.
4230         (operands_match_p): Use subreg_regno_offset.
4231         (find_reloads): Use SUBREG_BYTE and only advance offset for subregs
4232         containing hard regs.
4233         (find_reload_toplev): Use SUBREG_BYTE.  Remove byte endian
4234         corrections when fixing up MEM subregs.
4235         (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
4236         subreg_regno_offset where appropriate.
4237         (find_reloads_subreg_address): Use SUBREG_BYTE.  Remove
4238         byte endian corrections when fixing up MEM subregs.
4239         (subst_reloads): When combining two subregs, make sure final
4240         offset is congruent to subreg's mode size.
4241         (find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
4242         (refers_to_regno_for_reload_p): Use subreg_regno.
4243         (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
4244         * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
4245         correction code for memory subreg fixups.
4246         (forget_old_reload_1): Use subreg_regno_offset.
4247         (choose_reload_regs): Use subreg_regno.
4248         (emit_input_reload_insns): Use SUBREG_BYTE.
4249         (reload_combine_note_store): Use subreg_regno_offset.
4250         (move2add_note_store): Use subreg_regno_offset.
4251         * resource.c (update_live_status, mark_referenced_resources): Use
4252         subreg_regno function.
4253         (mark_set_resources): Use subreg_regno function.
4254         * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
4255         (subreg_regno_offset, subreg_regno): Define prototypes.
4256         (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
4257         (gen_lowpart_SUBREG): Add prototype.
4258         * rtl.texi (subreg): Update to reflect new byte offset representation.
4259         Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
4260         * rtlanal.c (refers_to_regno_p): Use subreg_regno.
4261         (reg_overlap_mentioned_p): Use subreg_regno.
4262         (replace_regs); Make sure final offset of combined subreg is
4263         congruent to size of subreg's mode.
4264         (subreg_regno_offset): New function.
4265         (subreg_regno): New function.
4266         * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
4267         * sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
4268         * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
4269         * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
4270         (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
4271         * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
4272         (a29k_get_reloaded_address): Use SUBREG_BYTE.
4273         (print_operand): Use SUBREG_BYTE.
4274         * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
4275         * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
4276         (arm_reload_out_hi): Use SUBREG_BYTE.
4277         * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
4278         instead of SUBREG_WORD.
4279         (d30v_print_operand_memory_reference): Use subreg_regno_offset.
4280         * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
4281         SUBREG creation to use byte offset.
4282         * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
4283         inverted load insns): Fix explicit rtl subregs to use byte
4284         offsets.
4285         * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
4286         udivsi3, umodsi3): Generate SUBREGs with byte offsets.
4287         * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
4288         * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
4289         to use byte offsets.
4290         (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
4291         * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
4292         offsets, also make sure it is congruent to SUBREG's mode size.
4293         (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
4294         unnamed ldob insn): Generate SUBREGs with byte offset.
4295         (zero_extendqihi2): SUBREG's are byte offsets.
4296         * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
4297         (m68hc11_gen_highpart): Use SUBREG_BYTE.
4298         * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
4299         zero-extendqisi2): Generate SUBREGs with byte offset.
4300         (umulsidi3, mulsidi3, subreghi1ashrdi_const32,
4301         subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
4302         subregs in rtl to use byte offsets.
4303         * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
4304         * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
4305         (mips_move_2words): Use subreg_regno_offset.
4306         (mips_secondary_reload_class): Use subreg_regno_offset.
4307         * config/mips/mips.md (DImode plus, minus, move, and logical op
4308         splits): Fixup explicit subregs in rtl to use byte offsets.
4309         * config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
4310         * config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
4311         * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
4312         rtl to use byte offsets.
4313         * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
4314         * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
4315         subregs to use byte offsets.
4316         * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
4317         Fixup explicit subregs in rtl to use byte offsets.
4318         * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
4319         and remove byte endian correction code.
4320         * config/sh/sh.c (output_movedouble): Use subreg_regno.
4321         (gen_ashift_hi): Use SUBREG_BYTE.
4322         (regs_used): Use subreg_regno_offset.
4323         (machine_dependent_reorg): Use subreg_regno_offset.
4324         * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
4325         * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
4326         (movdf_i4): Subregs are byte offsets now.
4327         * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
4328         * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
4329         (REGMODE_NATURAL_SIZE): Override.
4330         (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
4331         * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
4332         with byte offsets.
4333         (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
4334         extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
4335         extendqidi2): Generate SUBREGs with byte offsets, also make sure
4336         it is congruent to SUBREG's mode size.
4337         (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
4338         offsets.
4339         (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
4340         cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
4341         lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
4342         SUBREG_BYTE offset for non-paradoxical subregs in patterns.
4343         * config/v850/v850.c (print_operand, output_move_double): Use
4344         subreg_regno function.
4345
4346 2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
4347
4348         * configure.in (target_subdir): Use target_alias, not target.
4349         * configure: Rebuilt.
4350
4351         * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
4352         other way round.
4353         * config/sh/crti.asm: Fix typos in comments.
4354
4355 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4356
4357         * pa.h: Revise comments for TARGET_NO_SPACE_REGS and
4358         TARGET_FAST_INDIRECT_CALLS.
4359         * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
4360         -fPIC.  Don't warn.
4361         (return_addr_rtx): Short circuit export stub matching when
4362         TARGET_NO_SPACE_REGS.
4363         (output_millicode_call): For out of range calls, make -fPIC
4364         take precedence, then TARGET_PORTABLE_RUNTIME, then ble.  Don't
4365         return before delay slot checks when TARGET_PORTABLE_RUNTIME.
4366         * pa.md: Modify length attr calculation of all millicode insns to
4367         match above.
4368
4369 2001-04-02  Geoffrey Keating  <geoffk@redhat.com>
4370
4371         * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
4372         Require at least 2.11 in the version test.  Specifically check
4373         for and reject GAS version 2.10.90.
4374         * configure: regenerate.
4375
4376 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4377
4378         * pa.c (override_options): Remove PIC profiling warning.
4379         (hp_profile_labelno): Delete.
4380         (hp_profile_label_rtx): Delete.
4381         (hp_profile_label_name): Delete.
4382         (pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
4383         (output_function_prologue): Remove profiling code and all tests on
4384         profile_flag.  Move store of PIC_OFFSET_TABLE_REGNUM now that
4385         merge_sp_adjust_with_store can work for PIC and profiling.
4386         (hppa_expand_epilogue): Remove profile_flag test.
4387         (hppa_can_use_return_insn_p): Likewise.
4388         (hppa_init_pic_save): Emit before tail_recursion_reentry, and
4389         cater for PROFILE_HOOK.
4390         (hppa_profile_hook): New function.
4391         * pa.h (FUNCTION_PROFILER): Now does nothing.
4392         (PROFILE_HOOK): Define.
4393         (hppa_profile_hook): Declare.
4394         (PROFILE_BEFORE_PROLOGUE): Delete.
4395         (ASM_OUTPUT_REG_PUSH): Delete.
4396         (ASM_OUTPUT_REG_POP): Delete.
4397         * pa.md (call_profiler): Turn it into a call insn, and don't `use'
4398         r24.  Accept function name operand, and use this and a locally
4399         generated label to calculate pc-rel offset to func start.
4400
4401 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4402
4403         * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
4404         ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
4405         $(SYSTEM_H).
4406
4407 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4408
4409         * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
4410         LO_SUM cases to where they belong.
4411
4412 2001-04-02  Richard Henderson  <rth@redhat.com>
4413
4414         * except.h (lang_eh_type_covers): Mark extern.
4415         (lang_eh_runtime_type): Likewise.
4416
4417 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4418
4419         * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
4420         gengenrtl.c:  Wrap generated header in multiple-include guard.
4421         Improve error checking.
4422
4423 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4424
4425         * configure.in: Don't check for putenv.
4426         * configure: Regenerate.
4427         * gcc.c (putenv): Don't define.
4428         * vax/xm-vms.h: Handle putenv.
4429
4430 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
4431
4432         * ifcvt.c (noce_emit_move_insn): New.
4433         (noce_try_store_flag, noce_try_store_flag_constants,
4434         noce_try_store_flag_inc, noce_try_store_flag_mask,
4435         noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
4436         noce_try_abs): Use it.
4437         (noce_process_if_block): Likewise.
4438         For STRICT_LOW_PART, take mode from its SUBREG.
4439
4440 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
4441
4442         * fold-const.c (fold): Before optimizing unsigned comparison with
4443         0x7fffffffU, make sure arg0 is integral type.
4444
4445 2001-04-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4446
4447         * c-tree.texi: Document representation of wide strings.
4448
4449 2001-04-01  Richard Henderson  <rth@redhat.com>
4450
4451         * except.h (expand_builtin_dwarf_fp_regnum): Declare.
4452
4453 Sun Apr  1 11:49:05 CEST 2001  Jan Hubicka  <jH@suse.cz>
4454
4455         * i386.md: remove obsoleted comments.
4456         (adddi_?): Rename to adddi_?_rex64; disable for 32bit.
4457         (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
4458         fix output template.
4459
4460 2001-03-31  Marek Michalkiewicz  <marekm@linux.org.pl>
4461
4462         * config/avr/libgcc.S (__mulhi3): Optimize previous change.
4463
4464 2001-03-30  Bernd Schmidt  <bernds@redhat.com>
4465
4466         * loop.c (load_mems): When generating a load from a pseudo, update
4467         REGNO_LAST_UID.
4468
4469 Fri Mar 30 17:36:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
4470
4471         * i386.c (ix86_split_long_move): Use change address to compensate
4472         stack pointer change in push instruction.
4473
4474 Fri Mar 30 00:31:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
4475
4476         * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
4477         instead of rtx_equal_p; fix the output template.
4478
4479 Fri Mar 30 00:21:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
4480
4481         * i386.c (ix86_expand_setcc): Support 64bit.
4482         (ix86_expand_int_movcc): Likewise.
4483         * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
4484         New patterns.
4485
4486         * i386.md (allocate_stack_worker): Turn to expander.
4487         (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.
4488
4489         * i386.c (print_reg): Do not print x86_64 style regs on IA-32
4490
4491 2001-03-29  Richard Henderson  <rth@redhat.com>
4492
4493         * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
4494
4495 2001-03-28  Matthew Hiller  <hiller@redhat.com>
4496
4497         * config/mn10300/mn10300.md (cmpsi): Fix first alternative's
4498         output template.
4499
4500         * MAINTAINERS: Added self.
4501
4502 2001-03-28  Richard Henderson  <rth@redhat.com>
4503
4504         * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
4505         Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
4506
4507 2001-03-28  Jim Wilson  <wilson@redhat.com>
4508
4509         * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
4510         operand_subword.
4511
4512 2001-03-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4513
4514         * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
4515
4516         * tradcif.y (yyerror): Likewise.  Add format specifier in call to
4517         `error'.
4518
4519         * tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
4520
4521 2001-03-28  DJ Delorie  <dj@redhat.com>
4522
4523         * Makefile.in (stage1_build): Revert CFLAGS patch.
4524
4525 2001-03-28  Marek Michalkiewicz  <marekm@linux.org.pl>
4526
4527         * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
4528         when multiplier or multiplicand is zero.
4529
4530 2001-03-28  Bernd Schmidt  <bernds@redhat.com>
4531
4532         * cselib.c (hash_rtx): Don't do tail recursion elimination by hand.
4533
4534         * config/ia64/ia64.c (update_set_flags): New function, broken out of
4535         rtx_needs_barrier.
4536         (set_src_needs_barrier): Likewise.
4537         (rtx_needs_barrier): For SET case, use these two functions.  Rework
4538         PARALLEL case to handle all inputs before all outputs.
4539         (emit_insn_group_barriers): Call init_insn_group_barriers only if we
4540         saw a label and no stop bit since then.
4541         (maybe_rotate, process_epilogue): Add prototypes.
4542
4543 2001-03-28  Richard Henderson  <rth@redhat.com>
4544
4545         * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
4546         not TARGET_TOC for special toc restore handling.
4547         * config/rs6000/rs6000.md (eh_return): Likewise.
4548
4549 2001-03-28  Richard Henderson  <rth@redhat.com>
4550
4551         * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
4552         current_function_calls_eh_return.
4553         (output_function_epilogue): Handle eh_return.
4554         * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
4555         (EH_RETURN_DATA_REGNO): New.
4556         (EH_RETURN_STACKADJ_RTX): New.
4557         (EH_RETURN_HANDLER_RTX): New.
4558         * config/sparc/sparc.md (call/short branch peepholes): Check
4559         can_throw_internal instead of in_same_eh_region.
4560
4561         * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
4562         for eh_return data registers.
4563         (rs6000_emit_prologue): Save eh_return data registers.
4564         (rs6000_emit_epilogue): Force inline restores if eh_return.
4565         Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
4566         * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
4567         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
4568         (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
4569         the target uses one.
4570         * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
4571         (return_eh_si, return_eh_di): Remove.
4572         (eh_return): New, from corpse of eh_epilogue.
4573         (eh_set_lr_si, eh_set_lr_di): New.
4574
4575         * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
4576         (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
4577         True for pic register if current_function_calls_eh_return.
4578         (ix86_expand_epilogue): Change "emit_return" argument into "style".
4579         Handle eh_return requirements.
4580         * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
4581         (EH_RETURN_STACKADJ_RTX): New.
4582         * config/i386/i386.md (exception_receiver): Remove.
4583         (eh_return, eh_return_1): New.
4584         * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4585
4586         * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
4587         (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
4588         (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
4589         * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
4590         (EH_RETURN_DATA_REGNO): New.
4591         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
4592         * config/alpha/alpha.md (eh_epilogue): Remove.
4593         (exception_receiver): Use $26 for ldgp input.
4594         * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4595
4596 2001-03-28  Richard Henderson  <rth@redhat.com>
4597
4598         * except.c: Rewrite entirely for IA-64 ABI exception handling.
4599         * except.h: Likewise.
4600
4601         * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
4602         (LIB2ADDEHDEP): New.
4603         (LIB2FUNCS_EH): Remove.
4604         (LIB2ADD): Remove LIB2ADDEH.
4605         (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
4606         (LIBGCC_DEPS): Use LIB2ADDEHDEP.
4607         (crt{begin,end}[S].o): Likewise.
4608         (except.o): Update includes.
4609         * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
4610         (libgcc2_c_dep): Use LIB2ADDEHDEP.
4611
4612         * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
4613         * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
4614         * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
4615         * builtins.c (expand_builtin): Implement it.
4616         [BUILT_IN_EH_RETURN]: Update for nr arguments change.
4617         * c-common.c (c_common_nodes_and_builtins): Declare it.
4618         * c-decl.c (init_decl_processing): Update __builtin_eh_return.
4619         * calls.c (libfunc_nothrow): Remove.
4620         (emit_library_call_value_1): Don't call it.
4621         * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
4622         * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
4623         (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
4624         * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
4625         (current_funcdef_number): Globalize.
4626         (output_call_frame_info): Emit frame data if an lsda is needed.
4627         Generate augmentation for personality routine.  Don't play with
4628         difference symbols.
4629         (dwarf2out_begin_prologue): Record funcdef_number.
4630         * dwarf2out.h (current_funcdef_number): Declare.
4631         * expr.c (expand_expr): Update for except.h name changes.
4632         Remove POPDCC_EXPR, POPDHC_EXPR.  Add EXC_PTR_EXPR.
4633         * expr.h (LTI_throw, LTI_rethrow): Remove.
4634         (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
4635         (LTI_eh_rtime_match): Remove.
4636         (LTI_unwind_resume, LTI_eh_personality): Add.
4637         (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
4638         * final.c (final): Don't call check_exception_handler_labels,
4639         init_insn_eh_region, or free_insn_eh_region.
4640         (final_scan_insn): Always emit debug labels for
4641         NOTE_INSN_EH_REGION notes.
4642         * flags.h (flag_new_exceptions): Remove.
4643         * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
4644         (record_active_eh_regions): Remove.
4645         (count_basic_blocks): Check all instructions for REG_EH_REGION.
4646         Use can_throw_internal.
4647         (find_basic_blocks_1): Likewise.
4648         (move_stray_eh_region_notes): Remove.
4649         (find_label_refs): No eh_return_stub_label.
4650         (make_edges): Likewise.  No init/free_eh_nesting_info.  Handle RESX.
4651         (make_eh_edge): No eh_nest_info.  Update for reachable_handlers
4652         changes.
4653         (delete_unreachable_blocks): Don't track deleted handlers.
4654         (flow_delete_block): Use maybe_remove_eh_handler.
4655         (delete_eh_regions): Remove.
4656         (merge_blocks): Don't check for eh region match.
4657         (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
4658         EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
4659         (init_propagate_block_info): Disable dead frame store optimization
4660         when current_function_calls_eh_return.
4661         (dump_bb): Don't print eh_beg, eh_end.
4662         * function.c (fixup_var_refs): No catch_clauses.
4663         (expand_function_end): Likewise.  Call expand_eh_return before
4664         the return register use.  Call sjlj_emit_function_exit_after.
4665         (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
4666         * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
4667         * ifcvt.c (dead_or_predicable): Remove eh region check.
4668         * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
4669         Don't check for EH vs parameters.
4670         (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
4671         (expand_inline_function): Call duplicate_eh_regions.
4672         (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
4673         (copy_insn_notes): Remap REG_EH_REGION notes.
4674         (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
4675         * integrate.h (struct inline_remap): Add local_return_label.
4676         * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
4677         check_exception_handler_labels, nor exception_optimize.
4678         (find_cross_jump): No EH region check.
4679         * optabs.c (init_optabs): Update for changed eh libfuncs.
4680         * rtl.def (RESX): New.
4681         * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
4682         * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
4683         checks.  Update for except.h name changes.
4684         (expand_cleanups): Likewise.
4685         (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
4686         * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
4687         (compile_file): Call init_eh before init_optabs.  Don't
4688         output_exception_table here.
4689         (rest_of_compilation): Call convert_from_eh_region_ranges,
4690         convert_to_eh_region_ranges, output_function_exception_table.
4691         Don't emit_eh_context.
4692         * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
4693         (EXC_PTR_EXPR): New.
4694
4695         * md.texi (eh_epilogue): Remove.
4696         (eh_return): Document.
4697         * tm.texi (EH_RETURN_DATA_REGNO): Document.
4698         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
4699
4700         * eh-common.h: Remove file.
4701         * frame-dwarf2.c, frame.c, frame.h: Remove files.
4702         * libgcc2.c (L_eh): Remove.
4703
4704         * unwind-dw2-fde.c: New file, largely copied from frame.c.
4705         * unwind-dw2-fde.h: New file.
4706         * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
4707         * unwind-sjlj.c, unwind.h, unwind.inc: New files.
4708         * libgcc-std.ver: Update for eh symbols.
4709
4710 2001-03-27  Richard Henderson  <rth@redhat.com>
4711
4712         * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
4713         reduce false positives.
4714         (regmove_optimize): Disable if flag_non_call_exceptions.
4715
4716         * stmt.c (expand_return): Remove always true predicate.
4717         (expand_decl_cleanup_no_eh): Remove dead code.
4718
4719         * sched-deps.c (sched_analyze_insn): Consolidate scheduling
4720         barrier code.  Add a scheduling barrier if a non-call insn
4721         can throw internally.
4722
4723         * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
4724         Auto-inc addresses trap only if their base register does.
4725
4726         * except.c (can_throw_internal): Rename from can_throw.
4727         * except.h, resource.c: Update references.
4728
4729         * integrate.c (copy_insn_list): Use returnjump_p.
4730         (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
4731
4732         * function.h (struct function): Move all boolean valued fields
4733         to single bit fields at the end of the struct.
4734
4735         * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
4736         jump.c, toplev.c:
4737         Rename asynchronous_exceptions to flag_non_call_exceptions.
4738
4739         * gthr-single.h (UNUSED): New.  Distinguish between how C
4740         and C++ mark unused function arguments.  Use throughout.
4741
4742         * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
4743         value to target configuration header.
4744         * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
4745         * config.in, configure: Rebuild.
4746         * except.h (USING_SJLJ_EXCEPTIONS): New.  Define based on
4747         configuration and target defines.
4748         (exceptions_via_longjmp): Remove.
4749         * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
4750         Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
4751
4752         * except.h (flag_non_call_exceptions): Move ...
4753         * flags.h: ... here.
4754
4755         * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
4756         exceptions, put the note on the trapping instruction.
4757
4758         * flags.h (flag_new_exceptions): Remove.
4759         * toplev.c: Don't set it.
4760         * final.c: Don't check it.
4761         * except.c: Provide stub definition.
4762
4763         * flow.c (tidy_fallthru_edges): Don't combine complex edges.
4764         (calculate_global_regs_live): Kill call-clobbered registers
4765         across exception edges.
4766         * reg-stack.c (convert_regs_1): Kill the entire target stack
4767         across non-call exception edges.
4768
4769         * flow.c (cleanup_cfg): Take no argument.
4770         * output.h, sibcall.c, toplev.c: Update all calls.
4771
4772 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4773
4774         * configure.in: Don't check for bcopy.
4775         * configure, config.in: Regenerate.
4776
4777         * system.h: Don't define or prototype bcopy, instead poison it.
4778
4779 2001-03-27  Richard Henderson  <rth@redhat.com>
4780
4781         * function.c (expand_function_start): Set DECL_REGISTER on
4782         a pseudo used for DECL_RESULT.
4783
4784         * rtl.h (LCT_NORETURN): New.
4785         * calls.c (emit_library_call_value_1): Handle it.
4786
4787 2001-03-27  Stan Shebs  <shebs@apple.com>
4788
4789         * objc/objc-act.c (objc_init): Use dump_base_name.
4790         (gen_declaration): Clear the buffer arg.
4791         (gen_declaration_1): New function, body of gen_declaration.
4792         (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
4793         (gen_method_decl): Ditto, plus always clear buffer arg.
4794         (error_with_ivar): Simplify.
4795         (warn_with_method): Ditto.
4796         (build_message_expr): Don't clear buffers.
4797         (dump_interface): Ditto.
4798         (objc_debug): Ditto.
4799         (build_keyword_selector): Clear the buffer by only zeroing
4800         the first element.
4801         (objc_implementation_context): Declare.
4802         (start_class): Warn about missing @end.
4803         (finish_objc): Ditto.
4804
4805 2001-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4806
4807         * reload1.c (eliminate_regs): Don't abort on MEM USEs.
4808
4809 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4810
4811         * Makefile.in (SYSTEM_H): Define.
4812         Depend on $(SYSTEM_H), not system.h.
4813
4814         * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
4815
4816 2001-03-27  Jim Wilson  <wilson@redhat.com>
4817
4818         * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
4819         IA64_UNWIND_EMIT.
4820         * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
4821         (process_epilogue): New static function.
4822         (process_set): Call process_epilogue instead of emitting .restore
4823         directly.
4824         (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
4825
4826         * flow.c (struct reg_cond_life_info): New fields orig_condition
4827         and stores.
4828         (init_propagate_block_info): Set new fields.
4829         (mark_regno_cond_dead): Set and use new fields.
4830         (flush_reg_cond_reg_1): Likewise.
4831         (and_reg_cond, case AND): Check for redundant AND conditions.
4832         (mark_used_reg): Delete unnecessary clears before freeing splay trees.
4833         Set new fields.
4834
4835 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4836
4837         * cppmacro.c (stringify_arg): Null terminate strings.
4838
4839 2001-03-27  Zack Weinberg  <zackw@stanford.edu>
4840
4841         * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
4842         inclusion style.  xm-m68hc11.h no longer exists.
4843         * config/m68hc11/xm-m68hc11.h: Delete file.
4844         * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
4845
4846         * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
4847         Don't define GCC_VERSION, N_, or PARAMS; don't include
4848         gansidecl.h or stdio.h.  Define inhibit_libc here.
4849         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
4850         Delete code conditioned on #if GCC_VERSION == 2095.
4851
4852         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
4853         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
4854         Delete code conditioned on #if GCC_VERSION == 2095.
4855
4856 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4857
4858         * system.h: Include symcat.h.
4859         (STRINGIFY): Don't define.
4860
4861         * configure.in: Adjust comment.
4862
4863         * builtins.c: Use STRINGX, not STRINGIFY.
4864         * gencheck.c: Likewise.
4865         * gengenrtl.c: Likewise.
4866         * protoize.c: Likewise.
4867
4868         * cpplex.c: Don't include symcat.h.
4869         * cpplib.c: Likewise.
4870
4871         * gansidecl.h (HAVE_STRINGIZE): Don't define.
4872
4873 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
4874
4875         * c-typeck.c (digest_init): Fold init expression.
4876
4877 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4878
4879         * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
4880
4881 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
4882
4883         * except.c (eh_regs): Save results of build_pointer_type to a temp
4884         as FUNCTION_VALUE macro may evaluate its args multiple times.
4885
4886 2001-03-26  Mark Mitchell  <mark@codesourcery.com>
4887
4888         * c-common.h (DECL_NUM_STMTS): New macro.
4889         * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
4890         DECL_FRAME_SIZE.
4891         (pushdecl): Likewise.
4892         * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
4893         * integrate.c (expand_inline_function): Don't check
4894         DECL_FRAME_SIZE.
4895         * print-tree.c (print_node): Don't print it.
4896         * toplev.c (rest_of_compilation): Don't try to inline when
4897         flag_no_inline is on.
4898         * tree.h (DECL_FRAME_SIZE): Remove.
4899         (tree_decl): Adjust accordingly.
4900
4901 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4902
4903         * combine.c (try_combine): Use memcpy, not bcopy.
4904
4905         * genattrtab.c (expand_units): Likewise.
4906
4907 Mon Mar 26 15:55:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
4908
4909         * i386.md (push mem DI peep2): New.
4910         (mov 0, mov -1 peep2): Handle 64bit.
4911         (lea to arithmetics peep2): Handle 64bit leas.
4912         (rsp arithmetics to push/pop peep2s): New.
4913
4914         * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
4915
4916 Mon Mar 26 14:35:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
4917
4918         * i386.c (struct machine_function): Add save_varrargs_registers.
4919         (ix86_save_varrargs_registers): New macro.
4920         (ix86_frame_layout): Support 64bit; support red zones and varrargs area.
4921         (ix86_expand_prologue): Likewise.
4922         (ix86_emit_epilogue_esp_adjustement): Likewise.
4923         (ix86_expand_epilogue): Likewise.
4924         * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
4925         (pro_epilogue_adjust_stack_1): New insn.
4926         (pro_epilogue_adjust_stack_rex64): Likewise.
4927         * i386.h (MASK_NO_RED_ZONE): New constant.
4928         (TARGET_RED_ZONE): New macro.
4929         (TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
4930         (RED_ZONE_SIZE): New constant.
4931         (RED_ZONE_RESERVE): New constant.
4932
4933 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4934
4935         * toplev.c (set_float_handler): Use memcpy, not bcopy.
4936
4937 2001-03-25  Kazu Hirata  <kazu@hxi.com>
4938
4939         * config/h8300/h8300.md (umodqi3): Output a tab instead of a
4940         space.
4941         (modqi3): Likewise.
4942         (umodhi3): Likewise.
4943         (modhi3): Likewise.
4944
4945 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4946
4947         * mkconfig.sh (DEFINES): Handle entries with '='.
4948
4949         * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
4950         Set xm_defines to MACRO=value instead.
4951
4952         * i370/xm-mvs.h: Delete.
4953
4954         * ns32k/xm-pc532-min.h: Likewise.
4955
4956 Sun Mar 25 15:01:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
4957
4958         * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
4959         shiftdi_operand;
4960         use ix86_expand_binary_operator
4961         (?sh??i_?): Disable for 64bit.
4962         * i386.h (PREDICATE_CODES): Add shiftdi_operand.
4963         * i386.c (shiftdi_operand): New predicate.
4964
4965         * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
4966         ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
4967         ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
4968         ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
4969         ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
4970         lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
4971         lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
4972         rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
4973         rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
4974         rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
4975         (rotldi3, rotrdi3): New expanders.
4976
4977 Sun Mar 25 14:25:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
4978
4979         * i386.md (movstrsi): Move offline.
4980         (movstrdi): New.
4981         (strmovdi_rex64): New.
4982         (strmov?i): Accept 64bit.
4983         (strmov?i_rex64): New.
4984         (strmov?i_rex_1): New.
4985         (strmov?i_1): Disable for 64bit.
4986         (rep_mov?i_rex64): New.
4987         (rep_mov?i): Disable for 64bit.
4988         (clrstrsi): Move offline.
4989         (strset?i_rex64): New.
4990         (strset?i: Accept 64bit.
4991         (rep_stos?i): Disable for 64bit.
4992         (rep_stos?i_rex64): New.
4993         (strset?i_rex_1): New.
4994         (strset?i_1): Disable for 64bit.
4995         (cmpstrsi): Accept 64bit.
4996         (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
4997         (cmpstrqi_nz_rex_1): New.
4998         (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
4999         (strlensi): Move offline.
5000         (strlendi): New.
5001         (strlenqi_1): Disable for 64bit; fix constraints.
5002         (strlenqi_rex_1): New.
5003         * i386.c (ix86_adjust_counter): New static function.
5004         (ix86_zero_extend_to_Pmode): Likewise.
5005         (ix86_expand_aligntest): Likweise.
5006         (ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
5007         (ix86_expand_movstr): New global function.
5008         (ix86_expand_clrstr): New global function.
5009         (ix86_expand_strlen): New global function.
5010         * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
5011         ix86_expand_strlen): Declare.
5012         (ix86_expand_strlensi_unroll_1): Delete.
5013
5014 Sat Mar 24 23:15:19 CET 2001  Jan Hubicka  <jh@suse.cz>
5015
5016         * i386.md (cmpdi): Fix operand predicates.
5017         (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
5018          cmpdi_1_insn_rex64): New patterns.
5019         (adddi3): Turn to expander.
5020         (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
5021         (addsi3_carry_zext): New pattern.
5022         (adddi_?_rex64): New patterns and splitters.
5023         (addsi_?_zext): New patterns.
5024         (subsi3_carry_zext): New pattern.
5025         (subdi_?_rex64): New patterns and splitters.
5026         (iorsi_?_zext): New patterns.
5027         (iordi_?_rex64): New patterns and splitters.
5028         (iorsi_?_zext): New patterns.
5029         (iorsi_?_zext_imm): New patterns.
5030         (xorsi_?_zext): New patterns.
5031         (xordi_?_rex64): New patterns and splitters.
5032         (xorsi_?_zext): New patterns.
5033         (negdi*): New patterns.
5034         (one_cmpldi*): Likewise.
5035         (one_cmplsi*_zext, negsi*_zext): Likewise.
5036         (testqi_ext_3_rex64): New pattern.
5037
5038 Sat Mar 24 21:13:28 CET 2001  Jan Hubicka  <jh@suse.cz>
5039
5040         * i386-protos.h (ix86_split_long_move): Return void.
5041         * i386.c (ix86_split_to_parts): Handle 64bit target.
5042         (ix86_split_long_move): Likewise.
5043         * i386.md (all calls to ix86_split_long_move): Update.
5044
5045 2001-03-23  Richard Henderson  <rth@redhat.com>
5046
5047         * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
5048         to avoid shadowing arguments.
5049
5050 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
5051
5052         * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
5053         to variable names where DECL_NAME is different from
5054         DECL_ASSEMBLER_NAME.
5055
5056 2001-03-23  Jim Wilson  <wilson@redhat.com>
5057
5058         * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
5059         (assemble_alias): Call make_decl_rtl.
5060
5061 Fri Mar 23 16:59:08 2001  J"orn Rennecke <amylaar@redhat.com>
5062
5063         * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
5064
5065 2001-03-23  Bryce McKinlay  <bryce@albatross.co.nz>
5066
5067         * extend.texi: Document the "java_interface" attribute.
5068
5069 2001-03-22  Zack Weinberg  <zackw@stanford.edu>
5070
5071         * mkconfig.sh: Use a subshell with redirected stdout,
5072         instead of closing stdout and confusing commands that run
5073         afterward.  Throw away output of cmp.
5074
5075 2001-03-22  Gordon Sadler  <gbsadler1@lcisp.com>
5076
5077         * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
5078
5079 Thu Mar 22 22:15:59 CET 2001  Jan Hubicka  <jh@suse.cz>
5080
5081         * i386.md (zero_extendsidi2_32): Break out from ...
5082         (zero_extendsidi2): ... here ; turn to expander.
5083         (zero_extendsidi2_rex64): New.
5084         (extendsidi2_32): Break out from ...
5085         (extendsidi2): ... here ; turn to expander.
5086         (extendsidi2_rex64): New.
5087         (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
5088         (trunc?f?f splitters): Add 64bit versions.
5089
5090 Thu Mar 22 21:41:16 CET 2001  Jan Hubicka  <jh@suse.cz>
5091
5092         * i386.md (pushsi, pushsi2_prologue): Disable.
5093         (pushsi2_rex64): New.
5094         (movabs?i_1_rex64, movabs?i_2_rex64): New.
5095         (movqi_ext_1): Disable for 64bit.
5096         (movqi_ext_1_rex64): New.
5097         (pushdi2_rex64): New pattern, peep2s and splitter.
5098         (pushdi2_prologue_rex64): New pattern.
5099         (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
5100         Likewise.
5101         (movdi splitters): Disable for 64bit.
5102         (movdi_1_rex64): New pattern, peep2s and splitters.
5103         (swapdi): New pattern.
5104         (pushsf): Disable for 64bit.
5105         (pushsf_rex64): New pattern and splitter.
5106         (pushdf_nointeger): Disable for 64bit.
5107         (pushdf_integer): Handle the 64bit case.
5108         (pushtf): Likewise; update splitters.
5109
5110 2001-03-22  Richard Henderson  <rth@redhat.com>
5111
5112         * mkconfig.sh: Include insn-flags.h.
5113         * Makefile.in (CONFIG_H): Include insn-flags.h.
5114         (lots of objects): Remove insn-codes.h and insn-flags.h.
5115
5116         * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
5117         integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
5118         regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
5119         avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
5120         dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
5121         i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
5122         m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
5123         mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
5124         pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
5125         v850/v850.c, vax/vax.c:
5126         Don't include insn-flags.h.
5127
5128         * diagnostic.c, expr.h, reload.c, toplev.c:
5129         Don't include insn-codes.h.
5130
5131         * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
5132         final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
5133         c4x/c4x.c, i960/i960.c, mips/mips.c:
5134         Don't include insn-codes.h or insn-flags.h.
5135
5136         * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
5137         or insn-flags.h in the generated code.
5138         * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
5139         (main): Forward declare struct rtx_def.
5140
5141 2001-03-22  Joseph S. Myers  <jsm28@cam.ac.uk>
5142
5143         * invoke.texi (-ffast-math): Remove duplicate line about
5144         __FAST_MATH__.
5145
5146         * gcc.texi: Remove more obsolete documentation of bugs and
5147         installation problems.
5148
5149 2001-03-21  Kazu Hirata  <kazu@hxi.com>
5150
5151         * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
5152         into two parts.
5153
5154 2001-03-20  Jason Merrill  <jason@redhat.com>
5155
5156         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
5157         not '.' or '$'.
5158         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
5159         * varasm.c (CHKR_PREFIX): Likewise.
5160
5161 Wed Mar 21 14:27:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5162
5163         * gcse.c (hash_scan_set): An expression is not anticipatible if it
5164         is part of a multi-SET insn.
5165
5166         * cse.c (find_comparison_args): Remove previous change.
5167         * ifcvt.c (noce_process_if_block): When moving an insn, remove any
5168         REG_EQUAL notes.
5169
5170         * config/i386/i386.md (conditional_trap): Remove warning.
5171
5172         * recog.c (push_operand): Fix error in last change that caused
5173         undefined symbol on many targets.
5174
5175         * sdbout.c: #include ggc.h.
5176         (sdbout_init): Move to end of file.
5177         Call ggc_add_tree_root for anonymous_types.
5178         (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
5179         (sdbout_one_type): Use DECL_NAME for field name.
5180         * Makefile.in (sdbout.o): Show includes ggc.h.
5181
5182 Wed Mar 21 20:33:26 CET 2001  Jan Hubicka  <jh@suse.cz>
5183
5184         * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
5185         (override_options): Use properlimits for preferred_stack_boundary.
5186         (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
5187         on x86_64.
5188         (ext_register_operand): Accept DImode.
5189         (load_pic_register): Abort on 64bit.
5190         (gen_push): Use Pmode instead of SImode.
5191         (ix86_save_reg): Pic reg is never used on 64bit.
5192         (ix86_expand_prologue): Likewise.
5193         (ix86_emit_save_regs): Use Pmode instead of SImode.
5194         (legitimate_address_p): Check displacement for 64bit.
5195         (print_operand): Avoid outputting of (%rip) on 64bit.
5196         (print_operand_address): Output (%rip) where possible.
5197         (split_di): Abort on 64bit registers.
5198         (ix86_expand_branch): DImode comparison is simple for x86_64.
5199         (memory_address_length): Recognize memory addresses formed using
5200         PRE/POST modify.
5201         (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes
5202         for x86_64.
5203         * i386.h (TARGET_USE_SAHF): Disable for 64bit.
5204
5205 Wed Mar 21 18:51:19 CET 2001  Jan Hubicka  <jh@suse.cz>
5206
5207         * recog.c (push_operand): Recognize new format of push instructions.
5208
5209 Wed Mar 21 10:53:57 CET 2001  Jan Hubicka  <jh@suse.cz>
5210
5211         * i386.md (pushqi1): New.
5212         * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
5213         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
5214         x86_64_immediate_operand, x86_64_immediate_operand,
5215         x86_64_zext_immediate_operand): Declare.
5216         * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
5217         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
5218         x86_64_immediate_operand, x86_64_immediate_operand,
5219         x86_64_zext_immediate_operand): define.
5220         * i386.h (PREDICATE_CODES): Add new predicates.
5221
5222 Wed Mar 21 10:25:13 CET 2001  Jan Hubicka  <jh@suse.cz>
5223
5224         * i386.md (pophi1, popqi1, pushqi1): Remove.
5225
5226         * expr.c (emit_single_push_insn): New function.
5227         (move_by_pieces): Accept NULL as destination for push instructions.
5228         (gen_push_operand): Kill.
5229         (emit_push_insn): Pass NULL when pushing; avoid updating of
5230         stack_pointer_delta.
5231         * expr.h (gen_push_operand): Kill.
5232
5233 Tue Mar 20 20:15:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5234
5235         * rtl.texi (COMPARE): Clarify documentation and reference section
5236         on comparisons.
5237
5238 2001-03-20  Stan Shebs  <shebs@apple.com>
5239
5240         * objc/objc-act.c (get_static_reference): Use NULL_TREE.
5241         (get_object_reference): Ditto.
5242         (error_with_ivar): Use error_with_file_and_line.
5243         (warn_with_method): Use warning_with_file_and_line.
5244
5245 2001-03-20  Tom Tromey  <tromey@redhat.com>
5246
5247         * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
5248
5249 2001-03-20  Mark Mitchell  <mark@codesourcery.com>
5250
5251         * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
5252         variables that are TREE_PUBLIC, even if not TREE_STATIC.
5253
5254 2001-03-20  DJ Delorie  <dj@redhat.com>
5255
5256         * Makefile.in (install-libgcc): Pass complete list of variables.
5257         (install-multilib): Ditto.
5258
5259 2001-03-20  David Billinghurst  <David.Billinghurst@riotinto.com>
5260
5261         * config/i386/cygwin.h: Declare ctor_section, dtor_section
5262         drectve_section, switch_to_section.
5263
5264         * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
5265         i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
5266         i386_pe_mark_dllimport.
5267
5268 2001-03-20  David Billinghurst <David.Billinghurst@riotinto.com>
5269
5270         * config/i386/cygwin.h: Include <stdio.h> Declare and constify
5271         functions i386_pe_*.
5272
5273         * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
5274         i386_pe_* functions with char * arguments.
5275
5276 2001-03-20  Alexandre Oliva  <aoliva@redhat.com>
5277
5278         * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
5279         and store.
5280         (movsi_ie): Introduce fpul store.
5281
5282 2001-03-20  Alan Modra  <alan@linuxcare.com.au>
5283
5284         * Makefile.in (OBJS): Remove hashtab.o.
5285
5286 2001-03-19  Stan Shebs  <shebs@apple.com>
5287
5288         * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
5289         * c-lang.c (maybe_objc_method_name): Ditto.
5290         * c-tree.h (maybe_objc_method_name): Remove decl.
5291
5292 2001-03-19  Tom Tromey  <tromey@redhat.com>
5293
5294         * gcc.c (init_gcc_specs): Fix comment.
5295
5296 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
5297
5298         Compute DECL_ASSEMBLER_NAME lazily.
5299         * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
5300         (DECL_ASSEMBLER_NAME_SET_P): New macro.
5301         (SET_DECL_ASSEMBLER_NAME): Likewise.
5302         (COPY_DECL_ASSEMBLER_NAME): Likewise.
5303         (set_decl_assembler_name): Declare.
5304         (lang_set_decl_assembler_name): Likewise.
5305         * tree.c (lang_set_decl_assembler_name): New variab.e
5306         (set_decl_assembler_name): New function.
5307         (init_obstacks): Set lang_set_decl_assembler_name.
5308         (build_decl): Don't set DECL_ASSEMBLER_NAME.
5309         * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
5310         COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
5311         where it's not necessary.
5312         (builtin_function): Likewise.
5313         (finish_decl): Likewise.
5314         * dbxout.c (dbxout_type_methods): Likewise.
5315         * ggc-common.c (ggc_mark_trees): Likewise.
5316         * profile.c (output_func_start_profiler): Likewise.
5317         * varasm.c (make_decl_rtl): Likewise.
5318
5319         * cse.c (find_comparison_args): Update documentation.  Fix
5320         mishandling of COMPARE operations.
5321
5322         * tree.def (ABS_EXPR): Add documentation.
5323         * fold-const.c (fold): Improve folding of ABS_EXPRs.
5324
5325 2001-03-19  Zack Weinberg  <zackw@stanford.edu>
5326
5327         * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
5328
5329 2001-03-19  Jakub Jelinek  <jakub@redhat.com>
5330
5331         * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
5332         Remove ia32 linux PIC kludge and move it...
5333         * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
5334
5335 Mon Mar 19 18:53:54 CET 2001  Jan Hubicka  <jh@suse.cz>
5336
5337         * i386.md (absdf2 expander): Fix 64bit case.
5338
5339 2001-03-19  Brad Lucier  <lucier@math.purdue.edu>
5340
5341         * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
5342
5343 2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>
5344
5345         * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
5346
5347 2001-03-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5348
5349         * README.X11: Remove obsolete file.
5350
5351 2001-03-18  Anthony Green  <green@redhat.com>
5352
5353         * config/pj/pj.h: Remove some trailing commas.
5354         (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
5355
5356 2001-03-18  Richard Henderson  <rth@redhat.com>
5357
5358         * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
5359         * calls.c: ... here.
5360         * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
5361         defaults for them here.
5362
5363 2001-03-17  Anthony Green  <green@redhat.com>
5364
5365         * config/pj/lib1funcs.S: Fix broken comment.
5366         * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
5367         labels with '.'.
5368
5369 2001-03-18  Joseph S. Myers  <jsm28@cam.ac.uk>
5370
5371         * gcc.texi: Remove obsolete information relating to build and
5372         installation problems with enquire or the Pyramid C compiler.
5373
5374 2001-03-17  Richard Henderson  <rth@redhat.com>
5375
5376         * dwarf2out.c (queue_reg_save): New.
5377         (flush_queued_reg_saves, clobbers_queued_reg_save): New.
5378         (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
5379         dwarf2out_reg_save.
5380         (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
5381         (cfa, cfa_store, cfa_temp): Make static.
5382         * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
5383
5384 2001-03-17  Richard Henderson  <rth@redhat.com>
5385
5386         * integrate.h (struct inline_remap): Add local_return_label.
5387         * integrate.c (expand_inline_function): Initialize it and emit
5388         it after copy_insn_notes.
5389         (copy_insn_list): Don't store local_return_label here.
5390         (copy_insn_notes): New function split out from copy_insn_list.
5391
5392 2001-03-17  Richard Henderson  <rth@redhat.com>
5393
5394         * dwarf2out.c (lookup_filename): Emit .file if the assembler
5395         is generating .debug_line.
5396         (dwarf2out_init): Add main_input_filename to the file table first.
5397         * configure.in (as_dwarf2_debug_line): Test with file number 1
5398         instead of file number 0.
5399
5400 Sat Mar 17 11:52:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5401
5402         * combine.c (undobuf): Remove field previous_undos; all refs deleted.
5403         (gen_rtx_combine): Deleted; all references changed as appropriate.
5404         (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
5405
5406         * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
5407
5408 2001-03-17  David Billinghurst  <David.Billinghurst@riotinto.com>
5409
5410         * config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused
5411         variable.
5412
5413 2001-03-16  Jim Wilson  <wilson@redhat.com>
5414
5415         * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
5416         then set it to LOC_REG (79) instead of aborting.
5417
5418 2001-03-16  Phil Edwards  <pme@sources.redhat.com>
5419
5420         * gccbug.in:  Remove high priority.
5421
5422 2001-03-16  Richard Henerson  <rth@redhat.com>
5423
5424         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
5425         output with a space instead of deleting it.
5426         * configure: Regenerate.
5427
5428 2001-03-16  Zack Weinberg  <zackw@stanford.edu>
5429
5430         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
5431         handles the gory details of converting an object file into
5432         something that's safe to grep.
5433         (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
5434         gcc_AC_C_COMPILE_ENDIAN.  Use gcc_AC_EXAMINE_OBJECT.  Put
5435         newlines at either end of the string we're looking for.
5436         Make 'checking ...' message less stilted.
5437         (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT.  Handle
5438         ARM in-memory layout and its hypothetical converse.  Don't
5439         define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
5440         HOST_WORDS_BIG_ENDIAN.
5441
5442         * configure.in: Adjust for renamed macro.  Move
5443         gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
5444         * configure, config.in: Regenerate.
5445
5446 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5447
5448         * fixinc/Makefile.in: Set SHELL.
5449
5450 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5451
5452         * fixinc/fixincl.c (fix_with_system): Quote file names before
5453         passing them to shell.
5454
5455 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5456
5457         * Makefile.in: Use fix-header$(build_exeext) instead
5458         of fix-header.
5459
5460 2001-03-16  Richard Henderson  <rth@redhat.com>
5461
5462         * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
5463         (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
5464         (size_of_line_prolog): Remove.
5465         (output_line_info): Compute prologue size via label difference.
5466         (lookup_filename): Return "unspecified" for <internal> and <built-in>.
5467
5468         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
5469         assembler error when redefining file numbers.
5470         * config.in, configure: Rebuild.
5471
5472         * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
5473         (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
5474         (dw2_asm_output_delta_uleb128): Likewise.
5475         (dw2_asm_output_delta_sleb128): Similarly.
5476         (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.
5477
5478 2001-03-16  Michael Meissner  <meissner@redhat.com>
5479
5480         * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
5481         warnings.
5482         (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
5483         warnings.
5484         (BITMASK_LOWER16): Replacement for 0x0000ffff.
5485
5486         * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
5487         instead of 0xffff0000/0x0000ffff to avoid warnings about constants
5488         being unsigned in ISO C and signed in traditional.
5489         (expand_prologue): Ditto.
5490         (RA_MASK): Use BITMASK_HIGH to avoid warnings.
5491
5492         * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
5493         warnings.
5494         (divsi3,divdi3): Ditto.
5495         (modsi3,moddi3): Ditto.
5496         (fix_truncdfsi2,fix_truncdfdi2): Ditto.
5497         (fix_truncsfsi2,fix_truncsfdi2): Ditto.
5498         (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
5499         warnings.
5500
5501 Fri Mar 16 14:47:57 CET 2001  Jan Hubicka  <jh@suse.cz>
5502
5503         * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
5504         SSE based conditional moves on LTGT/UNEQ conditions;
5505         Canonicalize EQ to NE.
5506         * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
5507         (sse_mov?fcc_ne): New.
5508
5509         * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
5510
5511 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5512
5513         * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
5514         register may be dead.
5515
5516 2001-03-16  Brad Lucier  <lucier@math.purdue.edu>
5517
5518         * Makefile.in (hash.o): Depend on CONFIG_H.
5519
5520 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5521
5522         * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
5523
5524 2001-03-15  Richard Henderson  <rth@redhat.com>
5525
5526         * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
5527         (ASM_OUTPUT_DWARF_PCREL): New.
5528         * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.
5529
5530 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5531
5532         * cppfiles.c (stack_include_file): Use MAX of sysp.
5533
5534 2001-03-15  Steve Ellcey  <sje@cup.hp.com>
5535
5536         * config.gcc (ia64*-*-hpux*): New case.
5537         * config/ia64/hpux.h: New file for HP-UX support.
5538         * config/ia64/t-hpux: New file for HP-UX support.
5539
5540 2001-03-16  Bruce Korb  <bkorb@gnu.org>, Alexandre Oliva  <aoliva@redhat.com>
5541
5542         * fixinc/inclhack.def (irix_stdio_va_list): New.
5543         * fixinc/fixincl.x: Rebuilt.
5544
5545 2001-03-15  Richard Henderson  <rth@redhat.com>
5546
5547         * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
5548         if provided by the target.
5549         (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
5550         (dw2_asm_output_addr): New.
5551         * dwarf2asm.h (dw2_asm_output_addr): Declare.
5552         * dwarf2out.c (output_cfi): Use it for program addresses.
5553         (output_call_frame_info, output_die): Likewise.
5554         (output_aranges, output_line_info): Likewise.
5555
5556 2001-03-15  Bruce Korb  <bkorb@gnu.org>
5557
5558         * gcc.c(main): make more rigorous
5559         * collect2.c(main): guard against ignoring SIGCHLD
5560         * protoize.c(main): ditto
5561         * gcc/fixinc/fixincl.c(initialize): ditto
5562
5563 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5564
5565         * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
5566         (sdbout_parms): Likewise.
5567
5568 Thu Mar 15 12:57:14 2001  Jeffrey A Law  (law@cygnus.com)
5569
5570         * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
5571         "widen" a destination that is already wider than a word.  Also do
5572         not widen if LOAD_EXTEND_OP is NIL for the given mode.
5573
5574 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
5575
5576         * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
5577
5578 Thu Mar 15 11:30:31 EST 2001  John Wehle  (john@feith.com)
5579
5580         * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
5581
5582 Thu Mar 15 11:24:29 EST 2001  John Wehle  (john@feith.com)
5583
5584         * i960.h (i960_maxbitalignment,
5585         i960_last_maxbitalignment): Declare.
5586         * i960.c (i960_maxbitalignment,
5587         i960_last_maxbitalignment): Make global.
5588         (process_pragma): Delete.
5589         (i960_pr_align, i960_pr_noalign): Move from here ...
5590         * i960-c.c: ... to this new file.
5591         * t-960bare (i960-c.o): New rule.
5592         * t-vxworks960 (i960-c.o): Likewise.
5593         * config.gcc (i960-*-*): Define c_target_objs and
5594         cxx_target_objs.
5595
5596 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
5597
5598         * cselib.c (hash_rtx): For REG and MEM, just use value of expression
5599         without adding in rtx code and mode.
5600
5601         * alias.c (init_alias_analysis): Don't use any rtx whose value
5602         varies as a known value.
5603         Delete a superfluous test.
5604
5605         * config/ia64/ia64.c (maybe_rotate): New function, broken out of
5606         ia64_sched_reorder.
5607         (ia64_sched_reorder): Call maybe_rotate; also rotate after
5608         scheduling a stop bit.
5609         (ia64_emit_nops): Correctly handle ASMs.
5610
5611 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5612
5613         * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
5614
5615 2001-03-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5616
5617         * cpp.texi: Update documentation for -include and -imacros.
5618         * cppfiles.c (struct include_file): Remove "defined" memeber.
5619         (find_or_create_entry): Make a copy of the file name, and
5620         simplify it.
5621         (open_file): Update to ensure we use the simplified filename.
5622         (stack_include_file): Don't set search_from.
5623         (cpp_included): Don't simplify the path name here.
5624         (find_include_file): New prototype.  Call search_from to
5625         get the start of the "" include chain.  Don't simplify the
5626         filenames here.
5627         (_cpp_execute_include): New prototype.  Move diagnostics to
5628         do_include_common.  Update.
5629         (_cpp_pop_file_buffer): Don't set defined.
5630         (search_from): New prototype.  Use the preprocessor's cwd
5631         for files included from the command line.
5632         (read_name_map): Don't simplify the pathname here.
5633         * cpphash.h (enum include_type): New.
5634         (struct buffer): Delete search from.  New search_cached.
5635         (_cpp_execute_include): Update prototype.
5636         * cppinit.c (do_includes): Use _cpp_execute_include.
5637         * cpplib.c (do_include_common): New function.
5638         (do_include, do_include_next, do_import): Use it.
5639
5640 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5641
5642         * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
5643         contents of the RTL, to determine the name of the object.
5644
5645 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5646
5647         * tree.h (DECL_RTL): Allocate RTL lazily.
5648         (SET_DECL_RTL): New macro.
5649         (DECL_RTL_SET_P): Likewise.
5650         (COPY_DECL_RTL): Likewise.
5651         (DECL_RTL_IF_SET): Likewise.
5652         * varasm.c (make_decl_rtl): Add assertions about the kind of
5653         declaration we are processing.
5654         * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
5655         (start_decl): Likewise.
5656         (finish_decl): Likewise.
5657         * c-semantics.c (emit_local_var): Likewise.
5658         * calls.c (expand_call): Likewise.
5659         * dbxout.c (dbxout_symbol): Likewise.
5660         * emit-rtl.c (unshare_all_rtl): Likewise.
5661         (unshare_all_decls): Likewise.
5662         (reset_used_decls): Likewise.
5663         * expr.c (store_constructor): Likewise.
5664         (safe_from_p): Likewise.
5665         (expand_expr): Likewise.
5666         * function.c (put_var_into_stack): Likewise.
5667         (instantiate_decls_1): Likewise.
5668         (assign_parms): Likewise.
5669         (expand_function_start): Likewise.
5670         (expand_function_end): Likewise.
5671         * ggc-common.c (gcc_mark_trees): Likewise.
5672         * integrate.c (function_cannot_inline_p): Likewise.
5673         (copy_decl_for_inlining): Likewise.
5674         (expand_inline_function): Likewise.
5675         (integrate_parm_decls): Likewise.
5676         (integrate_decl_tree): Likewise.
5677         * print-tree.c (print_node): Likewise.
5678         * reg-stack.c (stack_result): Likewise.
5679         * stmt.c (label_rtx): Likewise.
5680         (expand_return): Likewise.
5681         (expand_decl): Likewise.
5682         (expand_decl_cleanup): Likewise.
5683         (expand_anon_union_decl): Likewise.
5684         * toplev.c (check_global_declarations): Likewise.
5685         (rest_of_decl_compilation): Likewise.
5686         * tree.c (simple_cst_equal): Likewise.
5687         * objc/objc-act.c (generate_static_references): Likewise.
5688
5689 2001-03-14  Zack Weinberg  <zackw@stanford.edu>
5690
5691         * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
5692         gcc_AC_C_FLOAT_FORMAT): New macros.
5693         * configure.in: Add AC_PROG_CPP after CC tests;
5694         gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
5695         tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
5696         * configure, config.in: Regenerate.
5697
5698         * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
5699         config/arm/xm-arm.h, config/c4x/xm-c4x.h,
5700         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
5701         config/i370/xm-linux.h, config/i370/xm-oe.h,
5702         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
5703         config/m68k/xm-m68k.h, config/mips/xm-mips.h,
5704         config/pa/xm-linux.h, config/pa/xm-pa.h,
5705         config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
5706         config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
5707         config/sparc/xm-sparc.h, config/vax/xm-vax.h,
5708         config/we32k/xm-we32k.h: Delete.
5709
5710         * config/i370/xm-mvs.h, config/m88k/m88k.h,
5711         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
5712         config/vax/xm-vms.h: Don't define any of:
5713         HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
5714
5715         * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
5716
5717         * config.gcc: Remove references to deleted files.
5718         (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
5719         FATAL_EXIT_CODE, which is the same between oe and mvs).
5720
5721 2001-03-14  DJ Delorie  <dj@redhat.com>
5722             Vladimir Makarov  <vmakarov@redhat.com>
5723
5724         * config/i960/i960.c (i960_function_prologue): Compute size of
5725         frame according to number of registers actually saved there.
5726
5727 2001-03-14  Richard Henderson  <rth@redhat.com>
5728
5729         * expr.c (emit_move_insn_1): Fix else if around #endif.
5730
5731 Wed Mar 14 22:39:12 CET 2001  Jan Hubicka  <jh@suse.cz>
5732                               Vojtech Pavlik
5733
5734         * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
5735         constraints.
5736
5737 Wed Mar 14 22:26:10 CET 2001  Jan Hubicka  <jh@suse.cz>
5738
5739         * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
5740         (override_options): Parse cmodel string.
5741         (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
5742         * i386.h (TARGET_OPTIONS): Add "cmodel".
5743         (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
5744         (enum cmodel): New.
5745         (ix86_cmodel_string, ix86_cmodel): Declare.
5746
5747 Wed Mar 14 22:26:54 CET 2001  Jan Hubicka  <jh@suse.cz>
5748
5749         Spot by Matt Kraai:
5750         * i386.h (GENERAL_REG_P): Add missing REG_P.
5751
5752 2001-03-14  Laurynas Biveinis  <lauras@softhome.net>
5753
5754         * configure.in: Use $gcc_cv_as instead of $as.
5755         * configure: Regenerated.
5756
5757 2001-03-14  Neil Booth  <neil@daikokuya.demon.co.uk>
5758
5759         * cppfiles.c (stack_include_file): Only increase the include
5760         count if we actually process the file properly, as opposed
5761         to treating it as length zero.  Only call read_include_file
5762         if not DO_NOT_REREAD.  Handle the -H include file output
5763         here.
5764         (read_include_file): Remove now redundant DO_NOT_REREAD check.
5765         (cpp_included, find_include_file): Simplify pathnames after
5766         remapping them.  If remapping, don't use the remapped file
5767         name's buffer as our scratch buffer.
5768         (cpp_pop_file_buffer): Replace the multiple include macro
5769         only if it isn't yet set.
5770         (read_name_map): Simplify remapped names when reading in.
5771         (remap_filename): Move code to code path that uses it.
5772         (_cpp_simplify_pathname): Return the input pointer.
5773         * cpphash.h (_cpp_simplify_pathname): Update prototype.
5774
5775 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5776
5777         * expr.c (expand_expr): Revove bogus conditional.
5778
5779 Wed Mar 14 19:29:50 CET 2001  Jan Hubicka  <jh@suse.cz>
5780
5781         * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
5782
5783 2001-03-14  Jakub Jelinek  <jakub@redhat.com>
5784
5785         * reg-stack.c (stack_result): Unconditionally use
5786         FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
5787
5788 Wed Mar 14 16:36:25 CET 2001  Jan Hubicka  <jh@suse.cz>
5789
5790         * expr.c (emit_move_insn_1):  Split push of complex value when
5791         no suitable push instruction exist.
5792
5793         * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
5794         instead of QI_REG_P.
5795
5796 Tue Mar 13 22:22:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5797
5798         * alias.c (handled_component_p, can_address_p): New functions.
5799         (get_alias_set): Use them.
5800
5801 2001-03-13  Jim Wilson  <wilson@redhat.com>
5802
5803         * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
5804         from 80 in try_locals code.
5805         (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
5806
5807 2001-03-13  Zack Weinberg  <zackw@stanford.edu>
5808
5809         * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
5810         gcc_AC_C_LONG_LONG): New.
5811         * configure.in: Use them.  Probe the size of short, int, long,
5812         and long long/__int64 if we have them.  Move all the AC_C_*
5813         checks together, except gcc_AC_C_CHAR_BIT which has to go
5814         after AC_CHECK_HEADERS(limits.h).
5815         Take hwint.h out of host_xm_file and build_xm_file.
5816
5817         * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
5818         HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
5819         and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
5820         Move the HOST_WIDEST_INT setup logic here from system.h.
5821         Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
5822         defined.
5823         * system.h: Include hwint.h after limits.h.  HOST_WIDEST_INT
5824         is now handled by hwint.h.
5825
5826         * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
5827         config/c4x/xm-c4x.h, config/i370/xm-oe.h,
5828         config/ia64/xm-ia64.h: Don't define any of:
5829         HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
5830         HOST_BITS_PER_LONGLONG.
5831
5832         * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
5833         config/h8300/xm-h8300.h, config/mips/iris6.h,
5834         config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
5835         config/sparc/xm-sp64.h: Delete.
5836         * config.gcc: Remove references to deleted files.
5837
5838         * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
5839         HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
5840         * config/i370/xm-linux.h: Clarify floating-point situation in
5841         a comment.
5842
5843 2001-03-13  Neil Booth  <neil@daikokuya.demon.co.uk>
5844
5845         * cppfiles.c (NO_INCLUDE_PATH): New macro.
5846         (find_include_file): Decide here which part of the include
5847         chain to start the search.  Complain about an empty include
5848         chain in all cases apart from an abolsute file name.
5849         (_cpp_execute_include): Don't choose the search chain here.
5850         Don't call handle_missing_include in the case of an empty
5851         include chain.
5852         (_cpp_compare_file_date): Don't choose the search chain here.
5853         * cpplib.c (do_include_next): Move the in-main-file diagnostic
5854         here from _cpp_execute_include.  Behave like #include if
5855         we're in the main file.
5856
5857 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5858
5859         * system.h (malloc, realloc, calloc, strdup): Only poison these
5860         tokens when IN_GCC is defined.
5861
5862 Tue Mar 13 14:38:44 CET 2001  Jan Hubicka  <jh@suse.cz>
5863
5864         * i386.md (abs?f expander): Support SSE case.
5865         (abd?f_if): Add new "USE"; add splitters.
5866
5867 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5868
5869         * cpp.texi (poison): Explain the macro expansion exception.
5870
5871 2001-03-13  Jakub Jelinek  <jakub@redhat.com>
5872
5873         * expr.c (store_expr): Add dont_store_target.  If temp is already in
5874         target before copying to reg, don't store it into target again.
5875
5876 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
5877
5878         * cppinternals.texi: Update for file handling.
5879
5880 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
5881
5882         * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
5883         2001-02-24 which broke building the Java library.
5884         * function.c (identify_blocks): Likewise.
5885         (all_blocks): Likewise.
5886         * integrate.c (integrate_decl_tree): Likewise.
5887         * print-tree.c (print_node): Likewise.
5888         * tree.h (BLOCK_NUMBER): Likewise.
5889         (struct tree_block): Likewise.
5890
5891 2001-03-12  David Edelsohn  <edelsohn@gnu.org>
5892
5893         * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
5894         __WCHAR_TYPE__ definition.
5895         (WCHAR_TYPE_SIZE): #undef before #define.
5896
5897 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
5898
5899         * cppfiles.c: Update comments.
5900         (destroy_include_file_node): Rename destroy_node.
5901         (find_or_create_entry): New function.
5902         (open_file, _cpp_fake_include): Use it.
5903         (handle_missing_header): New function, broken out of
5904         _cpp_execute include.  Don't segfault if there is no
5905         system or quoted path.
5906         (_cpp_execute_include): Use handle_missing_header.
5907
5908 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
5909
5910         * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
5911         2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
5912
5913 Mon Mar 12 14:05:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5914
5915         * flow.c (insn_dead_p): Don't consider two memrefs equivalent
5916         unless anti_dependence says they are.
5917         * alias.c (objects_must_conflict): If neither has a type specified,
5918         they must conflict.
5919
5920 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
5921             David Billinghurst <David.Billinghurst@riotinto.com>
5922
5923         * config/mips/iris5.h:  Change WCHAR_TYPE to int.
5924
5925 Mon Mar 12 16:32:21 CET 2001  Jan Hubicka  <jh@suse.cz>
5926
5927         * i386.md (trunctfdf2_2): Rename missnamed pattern.
5928         (*_one_bit): Remove type on the match_operand in attributes.
5929
5930 Mon Mar 12 16:27:56 CET 2001  Jan Hubicka  <jh@suse.cz>
5931
5932         * i386.c: Commit forgotten hunk in previous patch.
5933         (regclass_map): Add extended registers.
5934         (dbx_register_map): Add missing frame register.
5935
5936 Mon Mar 12 15:41:08 CET 2001  Jan Hubicka  <jh@suse.cz>
5937
5938         * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
5939
5940         * i386.md (x86_sahf_1): Disable for 64bit.
5941         (popsi*, pophi*): Likewise.
5942         (pushqi, pushhi): Likewise.
5943         (movdi, pushdi): Likewise.
5944         (zero extend DImode splitter): Likewise.
5945         (adddi, minusdi splitter): Likewise.
5946         (umulsidi): Likewise.
5947         (umulsi): New.
5948         (mulsidi): Disable for 64bit
5949         (lshift:DI/ashift:DI): Disable for 64bit.
5950         (loop patterns): Likewise.
5951         (call_pop, call_value_pop expanders and patterns): Likewise.
5952         (prologue_get_pc): Likewise.
5953         (leave): Likewise.
5954         (fcmovDI pattern and splitter): Likewise.
5955         (movdfcc_1_rex64): New.
5956
5957 Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
5958
5959         * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
5960         (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
5961         (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
5962         (STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
5963         (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
5964         (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
5965         (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
5966         (PUSH_ROUNDING): x86_64 rounds to 64bits.
5967         (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
5968         (REGPARM_MAX): Set to 6 for x86_64.
5969         (SSE_REGPARM_MAX): Set to 16 for x86_64.
5970         * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
5971         registers.
5972
5973         * (patterns that does use upper halves): Update constraints
5974         'q' to 'Q' and 'r' to 'R'.
5975         (cmpqi_ext_1): Disable for 64bit.
5976         (cmpqi_ext_3_insn): Likewise.
5977         (movqi_extzv_1): Likewsie.
5978         (addqi_ext_1): Liekwsie
5979         (testqi_ext_1): Liekwsie
5980         (andqi_ext_1): Liekwsie
5981         (xorqi_ext_1): Liekwsie
5982         (cmpqi_ext_1_rex64): New.
5983         (cmpqi_ext_3_insn_rex64): Likewise.
5984         (movqi_extzv_1_rex64): Likewsie.
5985         (addqi_ext_1_rex64): Liekwsie
5986         (testqi_ext_1_rex64): Liekwsie
5987         (andqi_ext_1_rex64): Liekwsie
5988         (xorqi_ext_1_rex64): Liekwsie
5989
5990 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
5991
5992         * configure.in: Move check for unsigned enumerated bitfields
5993         to macro in aclocal.m4.  Disable it for now.
5994         * configure, config.in: Regenerate.
5995         * system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
5996         unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
5997         * varasm.c (struct rtx_const): Use ENUM_BITFIELD().  Move enum
5998         kind above its first use.
5999
6000         * config/xm-interix.h, config/alpha/xm-alpha.h,
6001         config/i370/xm-linux.h, config/i386/xm-beos.h,
6002         config/i386/xm-mingw32.h, config/mips/xm-mips.h,
6003         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
6004         config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
6005         Don't define ONLY_INT_FIELDS under any circumstances.
6006
6007         * config/pa/xm-pa.h: Don't define __BSD_NET2__.
6008
6009         * config/pa/xm-pahpux.h, config/pa/xm-papro.h,
6010         config/sparc/xm-sysv4.h: Delete - now identical with some
6011         other xm header.
6012         * config.gcc (hppa targets): Replace xm-pahpux.h and
6013         xm-papro.h with implicit xm-pa.h.
6014         (sparc targets): Replace xm-sysv4.h with implicit or explicit
6015         xm-sparc.h.
6016
6017 2001-03-12  Aldy Hernandez  <aldyh@redhat.com>
6018
6019         * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
6020         before reload_cse_noop_set_p.
6021
6022 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
6023
6024         * config.gcc: Where xm-host.h used to include another
6025         xm-host.h, list the nested header directly in xm_file.  Remove
6026         references to deleted files.  Can now use sparc/xm-sp64.h for
6027         sparcv9-*-solaris*.
6028
6029         * config/xm-linux.h, config/arm/xm-linux.h,
6030         config/i386/xm-dos.h, config/i386/xm-gnu.h,
6031         config/i386/xm-linux.h, config/i386/xm-openbsd.h,
6032         config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
6033         config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
6034         config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
6035         Delete.
6036
6037         * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
6038         * config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
6039         bother to wrap #undef in #ifdef.
6040         * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
6041         Don't include xm-linux.h.
6042         * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.
6043
6044         * configure.in: Wrap regexps using [] in changequote block.
6045         Use expr : not echo | grep.  Simplify regexps.
6046         * configure: Regenerate.
6047
6048         56 xm-files remain, 22 xm-arch.
6049
6050 2001-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6051
6052         * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
6053         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
6054         (local_index, local_rindex): Delete, use strchr/strrchr instead.
6055         (copy_object): Fix format specifier vs argument mismatch.
6056
6057         * mips-tdump.c: Make local functions static.
6058         (rindex): Don't #undef.
6059         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
6060         (fatal, fancy_abort): Delete.
6061         (read_seek): Avoid signed/unsigned compare.
6062
6063 Sun Mar 11 17:01:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6064
6065         * combine.c (try_combine): Fix error in change to try original
6066         register.
6067         (gen_rtx_combine): Do same as gen_rtx for now.
6068
6069 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
6070
6071         * configure.in: AC_SUBST xm_defines.
6072         * configure: Regenerate.
6073         * Makefile.in: Set DEFINES=$(xm_defines) when building
6074         tconfig.h.
6075
6076 2001-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6077
6078         * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
6079         (cpp_included, find_include_file): Update.
6080         (_cpp_compare_file_date): Make else unconditional.
6081
6082 2001-03-10  kaz Kojima <kkojima@rr.iij4u.or.jp>
6083
6084         * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
6085
6086 2001-03-10  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6087
6088         * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
6089         * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
6090
6091 Sat Mar 10 22:42:05 2001  Alexandre Oliva  <aoliva@redhat.com>
6092
6093         * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
6094         if it's a record type.
6095
6096 Sat Mar 10 17:52:54 2001  Christopher Faylor <cgf@cygnus.com>
6097
6098         * config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize
6099         mingw includes slightly.
6100
6101 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6102
6103         * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
6104         #undef token before poisoning it.
6105
6106 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6107
6108         * alpha.c (check_float_value): Use memcpy, not bcopy.
6109
6110         * m32r.c (m32r_sched_reorder): Likewise.
6111
6112         * vax.c (check_float_value): Likewise.
6113
6114 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
6115
6116         * toplev.c (file_name_nondirectory): Remove.
6117         * toplev.h: Similarly.
6118         * dwarf2out.c (compute_section_prefix): Use lbasename instead
6119         of file_name_nondirectory.
6120
6121 Sat Mar 10 10:36:45 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6122
6123         * mips-tdump.c (read_seek): Call xmalloc, not malloc.
6124         * mips-tfile.c: Don't #undef rindex; not used.
6125
6126 Sat Mar 10 14:34:59 CET 2001  Jan Hubicka  <jh@suse.cz>
6127
6128         * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
6129         (dbx64_register_map): Declare.
6130         (RETURN_ADDR_RTX): Fix for 64bit.
6131         (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
6132         (INCOMING_FRAME_SP_OFFSET): Set to 8.
6133         * i386.c (dbx64_register_map): New global array.
6134         * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
6135         linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
6136         for 64bits.
6137
6138 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
6139
6140         * cppfiles.c (search_from): Use lbasename.
6141         * mkdeps.c (deps_add_default_target): Use lbasename.
6142
6143 2001-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6144
6145         * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
6146         xcalloc in lieu of malloc, realloc & calloc.
6147
6148         * gencheck.c (xmalloc): Use really_call_malloc, not malloc.
6149
6150         * gengenrtl.c (xmalloc): Likewise.
6151
6152         * gensupport.c (xcalloc, xrealloc, xmalloc): Use the
6153         really_call_* memory allocation routines.
6154
6155         * stmt.c (check_for_full_enumeration_handling): Use
6156         really_call_calloc, not calloc.
6157
6158         * system.h (really_call_malloc, really_call_calloc,
6159         really_call_realloc): Define.
6160         (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.
6161
6162 Fri Mar  9 18:39:19 2001  Jeffrey A Law  (law@cygnus.com)
6163
6164         * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
6165
6166 2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>
6167
6168         * configure: Rebuilt.
6169         * configure.in: Only use `lang_requires' for languages athat are
6170         actually enabled.
6171
6172 2001-03-09  Joseph S. Myers  <jsm28@cam.ac.uk>
6173
6174         * invoke.texi: Fix typo.
6175         * gcc.1: Regenerate.
6176
6177 2001-03-09  Zack Weinberg  <zackw@stanford.edu>
6178
6179         * configure.in: Prune nonexistent files from build_xm_file,
6180         xm_file, and host_xm_file lists.  Warn unless they're
6181         $cpu/xm-$cpu.h.
6182         Don't generate *config.h here.
6183         AC_SUBST all variables needed to generate *config.h.
6184         * configure: Regenerate.
6185         * mkconfig.sh: New helper script, from code removed from
6186         configure.in.
6187         * Makefile.in: Zap all MALLOC variables - no longer used
6188         anywhere, and malloc.c doesn't exist.
6189         Substitute in variables needed to generate *config.h.
6190         Stop lying about the dependencies contained in CONFIG_H and
6191         GCONFIG_H.
6192         (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
6193         (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
6194         cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
6195         (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
6196         $(TM_P_H), etc. as appropriate.
6197
6198         * config.gcc: Zap references to deleted files.
6199         * ggc-none.c: Don't include rtl.h or tm_p.h.
6200
6201         * config/i386/xm-beos.h, config/i386/xm-dgux.h,
6202         config/i386/xm-djgpp.h, config/i386/xm-dos.h,
6203         config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
6204         config/i386/xm-linux.h, config/i386/xm-linux.h,
6205         config/i386/xm-next.h, config/i386/xm-openbsd.h,
6206         config/i386/xm-sun.h, config/i386/xm-sysv3.h:
6207         Don't include i386/xm-i386.h.
6208
6209         * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
6210         config/i386/xm-i386.h, config/i860/xm-i860.h,
6211         config/i960/xm-i960.h, config/mcore/xm-mcore.h,
6212         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6213         config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
6214         Delete (empty except comments, #includes of other deleted
6215         files, and macros used nowhere).
6216
6217 Fri Mar  9 20:05:27 CET 2001  Jan Hubicka  <jh@suse.cz>
6218
6219         * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
6220         independent on TARGET_FLAGS.
6221
6222 Fri Mar  9 19:52:52 CET 2001  Jan Hubicka  <jh@suse.cz>
6223
6224         * i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
6225
6226         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add
6227         extended ones.
6228         (CONDITIONAL_REGISTER_USAGE): Set proper values according to
6229         TARGET_64BIT.
6230         (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG,
6231         LAST_REX_SSE_REG): define.
6232         (enum reg_class): Add 'LEGACY_REGS'
6233         (REG_CLASS_CONTENTS): Likewise; add extended registers.
6234         (SSE_REGNO_P): Recognize extended registers.
6235         (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
6236         (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
6237         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P,
6238         REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers.
6239         (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
6240          REG_OK_FOR_STRREG_P): Remove.
6241         (HI_REGISTER_NAMES): Add extended registers.
6242         (ADDITIONAL_REGISTER_NAMES): Likewise.
6243         (QI_REGISTER_NAMES): Add 8bit extended registers.
6244         (DEBUG_REG): Support extended registers.
6245         * i386.c (regclass_map): Add extended registers.
6246         (dbx_register-map): Likewise.
6247         (svr4_dbx_register_map): Likewise.
6248         (print_reg): Support extended registers.
6249         (print_operand): Support 64bit operands.
6250
6251 Fri Mar  9 19:37:46 CET 2001  Jan Hubicka  <jh@suse.cz>
6252
6253         * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
6254         (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6255          FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
6256          DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
6257         (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
6258          STACK_BOUNDARY): Set properly for 64bits.
6259         (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
6260         (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
6261         (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
6262         (MOVE_MAX): Set to 16.
6263         (MOVE_MAX_PIECES): 8 for 64bit.
6264         (Pmode): Set to SImode.
6265
6266 Fri Mar  9 09:00:36 2001  Mike Stump  <mrs@wrs.com>
6267
6268         * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
6269
6270 Fri Mar  9 17:38:08 CET 2001  Jan Hubicka  <jh@suse.cz>
6271
6272         * i386.h (mask_64bit): New constant.
6273         (target_64bit): New macro.
6274         (target_options): Add '64'/'32'
6275         (target_default): Define.
6276         * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h
6277         isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h
6278         unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
6279
6280 Thu Mar  8 23:36:56 2001  Jeffrey A Law  (law@cygnus.com)
6281
6282         * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
6283
6284 Thu Mar  8 23:29:37 2001  John Wehle  (john@feith.com)
6285
6286         * rtlanal.c (rtx_varies_p): Check operand 0 of a
6287         LO_SUM unless for_alias is set.
6288
6289 2001-03-08  Stan Shebs  <shebs@apple.com>
6290
6291         * objc/objc-act.c: Fix old typos in comments, add comments for
6292         various functions.
6293         (hash_init): Fix file name in error message.
6294         (hash_enter): Ditto.
6295         (hash_add_attr): Ditto.
6296         (continue_class): Ditto.
6297
6298 2001-03-08  Bruce Korb  <bkorb@gnu.org>
6299
6300         gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
6301         wait4() can receive the signal.
6302
6303 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6304
6305         * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
6306         entities.
6307         * fixinc/fixincl.x: Regenerate.
6308
6309 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6310
6311         * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
6312         on Tru64 UNIX.
6313         * fixinc/fixincl.x: Regenerate.
6314
6315 2001-03-08  Richard Henderson  <rth@redhat.com>
6316
6317         * configure.in (HAVE_AS_LEB128): New assembler check.
6318         * configure, config.in: Rebuilt.
6319
6320 Thu Mar  8 19:54:04 CET 2001  Jan Hubicka  <jh@suse.cz>
6321
6322         * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
6323         TFmode too.
6324
6325 2001-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6326
6327         * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
6328         references to the MAXPATHLEN macro.
6329
6330         * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
6331         config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
6332         the POSIX macro.
6333
6334         * config/i386/xm-gnu.h, config/xm-gnu.h,
6335         config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
6336         config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
6337         config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
6338         and/or unused files.
6339
6340         * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
6341         doing so in various xm-*.h files.
6342
6343 Thu Mar  8 06:32:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6344
6345         * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
6346
6347 2001-03-08  Alexandre Oliva  <aoliva@redhat.com>
6348
6349         * configure.in (enable_shared): Support per-package shared-library
6350         enabling.
6351         * configure: Rebuilt.
6352
6353 2001-03-07  David Edelsohn  <edelsohn@gnu.org>
6354
6355         * rs6000.md (cr logic): Add original POWER mnemonic alternative
6356         for crnot.  Set operands[5] in splitter.
6357
6358 2001-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6359
6360         * config/i370/xm-mvs.h, config/i370/xm-oe.h,
6361         config/i386/xm-beos.h, config/i386/xm-mingw32.h,
6362         config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
6363         config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
6364         config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
6365         config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
6366         config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
6367         to the USG macro.
6368
6369         * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
6370         config/i370/xm-i370.h, config/i386/xm-dgux.h,
6371         config/i386/xm-sun.h, config/i386/xm-sysv3.h,
6372         config/m68k/xm-tower.h, config/m68k/xm-aux.h,
6373         config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
6374         config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
6375         config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
6376         config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
6377         config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
6378         config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
6379         Delete unused and/or empty files.
6380
6381         * config.gcc: Define USG in xm_defines as appropriate.  Define
6382         POSIX in lieu of xm-svr4.h.  Delete all references to the SVR3
6383         macro.  Remove deleted xm-* files from $xm_files variable.
6384
6385 2001-03-07  Tom Tromey  <tromey@redhat.com>
6386
6387         * configure: Rebuilt.
6388         * configure.in: Allow config-lang.in to set `lang_requires' to list
6389         of other required languages.
6390
6391 2001-03-07  Andrew MacLeod  <amacleod@redhat.com>
6392
6393         * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
6394         after its emitted.
6395         (output_prologue): Use xmalloc not oballoc.
6396         (output_epilog): Free a29k_first_epilogue_insn when finished.
6397         * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
6398
6399 2001-03-07  Brad Lucier  <lucier@math.purdue.edu>
6400
6401         * builtins.c (expand_builtin_mathfn): Check
6402         flag_unsafe_math_optimizations, not flag_fast_math.
6403         (expand_builtin): Likewise
6404         * combine.c (combine_simplify_rtx): Likewise.
6405         (simplify_if_then_else): Likewise.
6406         * cse.c (fold_rtx): Likewise.
6407         * flags.h: Remove flag_fast_math.  Add
6408         flag_unsafe_math_optimizations and flag_trapping_math.
6409         * fold-const.c (negate_expr): Check
6410         flag_unsafe_math_optimizations, not flag_fast_math.
6411         (invert_truthvalue): Likewise.
6412         (fold): Likewise.  Before associating operands, check that
6413         code == MULT_EXPR, not code != MULT_EXPR.
6414         * ifcvt.c (noce_try_minmax): Check
6415         flag_unsafe_math_optimizations, not flag_fast_math.
6416         (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
6417         * invoke.texi: Document -funsafe-math-optimizations and
6418         -fno-trapping-math.  Change documentation for -ffast-math.
6419         * jump.c (reversed_comparison_code_parts): Likewise.
6420         (rtx_equal_for_thread_p): Likewise.
6421         * optabs.c (emit_conditional_move): Likewise.
6422         * simplify-rtx.c (simplify_binary_operation): Likewise.
6423         (simplify_relational_operation): Likewise.
6424         (simplify_ternary_operation): Likewise.
6425         * toplev.c: Remove flag_fast_math.  Add flag_trapping_math and
6426         flag_unsafe_math_optimizations.  Remove fast-math entry from f_options.
6427         Add trapping-math and unsafe-math-optimizations entries to f_options.
6428         (set_fast_math_flags): New, sets flags for -ffast-math.
6429         (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
6430         (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
6431         * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
6432
6433         * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
6434         (alpha_emit_conditional_move): Initialize local_fast_math to
6435         flag_unsafe_math_optimizations, not flat_fast_math.
6436         * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
6437         instead of setting flag_fast_math to 1.
6438         * config/convex/convex.md: Check flag_unsafe_math_optimizations,
6439         not flag_fast_math.
6440         * config/i386/i386.c (override_options): Likewise
6441         * config/i386/i386.md: Likewise.
6442         * config/m68k/m68k.md: Likewise.
6443         * config/mips/mips.md: Likewise.
6444         * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
6445         (rs6000_generate_compare): Likewise.
6446
6447 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
6448
6449         * Makefile.in: Set RANLIB to @RANLIB@.
6450         Remove RANLIB_TEST.
6451
6452 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
6453
6454         * fixinc/inclhack.def (djgpp_wchar_h): New test.
6455         * fixinc/fixincl.x: Regenerated.
6456
6457 2001-03-07  Richard Henderson  <rth@redhat.com>
6458
6459         * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
6460
6461 2001-03-07  Richard Henderson  <rth@redhat.com>
6462
6463         * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
6464         of block notes and exception handling notes.
6465
6466         * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
6467         * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
6468         (compile_file): ... here.
6469
6470 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6471
6472         * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
6473
6474         * fixinc/gnu-regex.c: Don't include auto-host.h since we get
6475         config.h now.  Include libiberty.h to handle alloca.
6476
6477 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6478
6479         * c-parse.in (yylexname): New function, split out of _yylex.
6480         (objc_rid_sans_at): New table.
6481         (init_reswords): Initialize it.
6482         (_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
6483         retrieving the next token and checking it for significance as
6484         an ObjC keyword or string constant.
6485
6486         * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
6487         * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
6488
6489         * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
6490         to CPP_OSTRING.
6491
6492 2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
6493
6494         * config/m68k/m68k.c (const_uint32_operand): Accept any
6495         const_int on a 32-bit host.
6496
6497 2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
6498
6499         * objc/objc-act.c (init_objc): Set save_lang_status,
6500         restore_lang_status, and mark_lang_status.
6501
6502 2001-03-06  Krister Walfridsson  <cato@df.lth.se>
6503
6504         * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
6505
6506 2001-03-06  Neil Booth  <neil@daikokuya.demon.co.uk>
6507
6508         * cppinternals.texi: Update.
6509
6510 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6511
6512         * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
6513         config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
6514         config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
6515         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
6516         config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
6517         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
6518         config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
6519         config/i386/xm-i386.h, config/i860/xm-i860.h,
6520         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
6521         config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
6522         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6523         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
6524         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6525         config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
6526         config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
6527         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
6528         config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
6529         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6530         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6531         config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
6532         config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
6533         match the defaults provided in hwint.h.
6534
6535         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
6536         config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
6537
6538         * config.gcc (xm_file): Don't set to files which are deleted.
6539
6540         * hwint.h: Provide default values for HOST_BITS_PER_*.  No longer
6541         guard this file against these macros being undefined.
6542
6543 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6544
6545         * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
6546         and DECL_DEFER_OUTPUT on the decl we create, before calling
6547         rest_of_decl_compilation.
6548
6549 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6550
6551         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
6552         AC_FUNC_ALLOCA.
6553         * configure, config.in: Regenerate.
6554         * config.gcc: Remove references to deleted files.
6555
6556         * genattr.c, genattrtab.c, genextract.c, genoutput.c,
6557         genrecog.c, rtl.c: Do not use alloca anywhere.
6558
6559         * Makefile.in, build-make, system.h, config/x-interix,
6560         config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
6561         config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
6562         config/arc/xm-arc.h, config/arm/xm-arm.h,
6563         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6564         config/h8300/xm-h8300.h, config/i370/x-oe,
6565         config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
6566         config/i386/x-ncr3000, config/i386/x-sco5,
6567         config/i386/xm-dgux.h, config/i860/x-sysv4,
6568         config/i960/xm-i960.h, config/m32r/xm-m32r.h,
6569         config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
6570         config/m68k/x-hp320g, config/m69k/x-mot3300,
6571         config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
6572         config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
6573         config/m68k/xm-mot3300.h, config/m88k/x-dolph,
6574         config/m88k/x-sysv4, config/m88k/x-tekXD88,
6575         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6576         config/mips/x-iris, config/mips/x-iris3,
6577         config/mips/x-sni-svr4, config/mips/x-sysv,
6578         config/mips/xm-iris6.h, config/mips/xm-mips.h,
6579         config/mips/xm-nws3250v4.h, config/pa/x-hpux,
6580         config/pa/x-pa-mpeix, config/pa/xm-pa.h,
6581         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
6582         config/pa/xm-papro.h, config/romp/xm-romp.h,
6583         config/rs6000/x-aix31, config/rs6000/x-aix41,
6584         config/rs6000/x-beos, config/rs6000/x-lynx,
6585         config/rs6000/x-mach, config/rs6000/x-rs6000,
6586         config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
6587         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6588         config/sparc/x-sysv4, config/sparc/xm-linux.h,
6589         config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
6590         config/vax/xm-vms.h: Eradicate all references to alloca and
6591         related stuff.
6592
6593         * config/xm-alloca.h, config/clipper/x-clix,
6594         config/i386/xm-sysv4.h, config/i860/x-fx2800,
6595         config/i860/x-sysv3, config/m88k/x-sysv3,
6596         config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
6597         (contained only alloca related hacks).
6598
6599         * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
6600         USE_C_ALLOCA.
6601
6602 2001-03-05  Brad Lucier  <lucier@math.purdue.edu>
6603
6604         * invoke.texi: Document __FAST_MATH__.
6605
6606 2001-03-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6607
6608         * crtstuff.c: Restore include of auto-host.h.
6609
6610 2001-03-05  Fergus Henderson  <fjh@cs.mu.oz.au>
6611
6612         Put main() in a separate file, so that the language
6613         front-end can use a different main().
6614
6615         * main.c: New.
6616         * toplev.c: (main): Rename as toplev_main.
6617         * toplev.h: Declare toplev_main.
6618         * Makefile.in (OBJS): add toplev.o.
6619           (BACKEND): remove toplev.o, add main.o.
6620
6621 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
6622
6623         * cppfiles.c (search_from): Special case the empty string.
6624
6625 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
6626
6627         * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
6628         copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
6629         strlen or strcpy; we already know the length.
6630         (_cpp_compare_file_date): Similarly.
6631         * cpphash.h (struct cpp_reader): Delete done_initialising.
6632         (CPP_PREV_BUFFER): Delete.
6633         * cppinit.c (cpp_start_read): Don't set done_initialising.
6634         * cpplex.c (parse_string): Guarantee null-termination.
6635         (_cpp_equiv_toklists): Remove.
6636         * cpplib.c (glue_header_name): Null-terminate.
6637         (do_line): Don't leak memory.
6638         * cpplib.h (BT_WEAK): Delete.
6639         * cppmain.c (cb_ident): Strings are now null-terminated.
6640
6641 2001-03-04  Laurynas Biveinis  <lauras@softhome.net>
6642
6643         * gcc.c (convert_filename): Append executable suffix
6644         if NO_AUTO_EXE_SUFFIX is not defined.
6645         * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
6646         * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
6647
6648 2001-03-03  David O'Brien  <obrien@FreeBSD.org>
6649
6650         from 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
6651         * c-parse.gperf, c-gperf.h: Delete.
6652         (c-gperf.h was accidently re-added to the CVS repo in the rev
6653         1.16 commit by tromey)
6654
6655 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6656
6657         * cpplex.c (_cpp_lex_token): Don't warn about directives in
6658         macro arguments when looking for the '('.
6659         * cppmacro.c (funlike_invocation_p): Set parsing_args to
6660         2 when really parsing arguments; 1 when looking for '('.
6661         Always restore the lexer position.
6662
6663 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6664
6665         * longlong.h (umul_ppmm): Don't use a multiline string.
6666
6667 2001-03-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6668
6669         * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
6670         * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
6671         t_bool in declaration because pcc can't combine volatile with typedef
6672         types.
6673
6674 Sat Mar  3 19:47:13 CET 2001  Jan Hubicka  <jh@suse.cz>
6675
6676         * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
6677         until when it is really needed.
6678         (ix86_expand_compare): Update call of ix86_expand_fp_compare.
6679         * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
6680         * i386.md (float?i?f splitter): Don't force source operand to memory
6681         for SSE.
6682         (sse_movdfcc): Fix constraint.
6683         (sse_movdfcc splitter): Handle properly the second alternative.
6684
6685 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6686
6687         * cpplex.c (parse_string): Unconditionally pedwarn.
6688
6689 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6690
6691         * cpp.texi: Update.
6692         * cppexp.c (parse_number): Update.
6693         * cpplex.c (parse_string): Pedwarn if multiline string does not
6694         result from a system header's macro.
6695         * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
6696         * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
6697         for function-like macros too.
6698         * c-lex.c (lex_number): Update.
6699
6700 2001-03-03  Richard Henderson  <rth@redhat.com>
6701
6702         * dwarf2out.c (output_call_frame_info): Fix augmentation length.
6703
6704 Sat Mar  3 04:17:17 2001  J"orn Rennecke <amylaar@redhat.com>
6705
6706         * combine.c (try_combine): If split with mode-changed scratch
6707         register didn't work, try the original mode.
6708
6709 Sat Mar  3 03:46:47 2001  J"orn Rennecke <amylaar@redhat.com>
6710
6711         * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
6712         * config/c4x/c4x.h: Likewise.
6713         * stor-layout.c (compute_record_mode): Likewise.
6714         (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
6715
6716 2001-03-02  Zack Weinberg  <zackw@stanford.edu>
6717
6718         * configure.in: Kill tm.h.  Include the files in the $tm_file
6719         list in all three of config.h, hconfig.h, tconfig.h, after the
6720         relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
6721         three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
6722         * configure: Regenerate.
6723         * Makefile.in (clean): Don't delete tm.h.
6724
6725         * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
6726         defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
6727         those are not defined, set SEC and FEC to 0 and 1.
6728         * gcc.texi: Update to match.
6729
6730         * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
6731         * config/fp-bit.c, config/m68k/aux-crt2.asm,
6732         config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
6733         Include tconfig.h, not tm.h.
6734
6735         * config/xm-lynx.h, config/xm-std32.h,
6736         config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
6737         config/alpha/xm-alpha.h, config/arc/xm-arc.h,
6738         config/avr/xm-avr.h, config/c4x/xm-c4x.h,
6739         config/clipper/xm-clix.h, config/convex/xm-convex.h,
6740         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6741         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
6742         config/h8300/xm-h8300.h, config/i370/xm-linux.h,
6743         config/i386/xm-i386.h, config/i860/xm-i860.h,
6744         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
6745         config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
6746         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6747         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
6748         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6749         config/pa/xm-linux.h, config/pa/xm-pa.h,
6750         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
6751         config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
6752         config/pj/xm-pj.h, config/romp/xm-romp.h,
6753         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
6754         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6755         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6756         config/v850/xm-v850.h, config/vax/xm-vax.h,
6757         config/we32k/xm-we32k.h:
6758         Don't include tm.h.
6759         Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
6760
6761         * config/i370/xm-i370.h, config/i370/xm-mvs.h,
6762         config/i370/xm-oe.h: Don't include tm.h.  Don't define
6763         SUCCESS_EXIT_CODE.
6764         * config/vax/xm-vms.h: Don't include tm.h.
6765
6766         * config/xm-lynx.h, config/avr/xm-avr.h,
6767         config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
6768         Delete; made empty by above changes.
6769         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
6770         config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
6771         Don't include config/xm-lynx.h or tm.h.
6772
6773         * config/xm-gnu.h: Don't include fcntl.h.
6774         * config/sparc/xm-lynx.h: Don't include sys/types.h and
6775         sys/wait.h.
6776         * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
6777
6778 2001-03-02  Richard Henderson  <rth@redhat.com>
6779
6780         * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
6781         UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
6782
6783 2001-03-02  Richard Henderson  <rth@redhat.com>
6784
6785         * Makefile.in (OBJS): Add dwarf2asm.o.
6786         * dwarf2asm.c, dwarf2asm.h: New files.
6787         * dwarf2out.c (*): Use them.
6788         (size_of_uleb128, size_of_sleb128): Remove.
6789         (output_uleb128, output_sleb128): Remove.
6790         (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
6791         (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
6792         (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
6793         (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
6794         (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
6795         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
6796         (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
6797         (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
6798         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
6799         (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
6800         (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
6801         (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
6802         (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
6803         (dwarf2out_frame_debug): Remove unused variables.
6804         (output_loc_operands): Don't abort on 8 byte constants if
6805         host integers are wide enough.
6806         (output_symbolic_ref): Remove.
6807         (size_of_die): Don't assume 4 byte host integers.
6808         (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
6809         and end labels.
6810         (add_const_value_attribute) [CONST_INT]: Verify we're not doing
6811         something stupid with HOST_WIDE_INT to long truncation.
6812         [CONST_DOUBLE]: Likewise.
6813
6814         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
6815         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
6816         * config/arm/unknown-elf.h: Likewise.
6817         * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
6818         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
6819         (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
6820         (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
6821         (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
6822         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
6823         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
6824         (ASM_OUTPUT_DWARF_OFFSET): Remove.
6825         * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
6826         * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6827         (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
6828         (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
6829
6830 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6831
6832         * cselib.c (hash_rtx): Cast enums to unsigned int.
6833
6834 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6835
6836         * print-rtl.c (print_rtx): Cast enums to int for comparison.
6837         * c-decl.c (grokdeclarator): Cast enums to int for comparison and
6838         shifts.
6839         * c-format.c (C_STD_VER): Cast to int for comparisons.
6840         (check_function_format): Cast various enums to int for &.
6841         (maybe_read_dollar_number): Likewise.
6842         (check_format_info): Likewise.
6843         (check_format_info_main): Likewise.
6844         * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
6845         (safe_from_p): Likewise.
6846         * varasm.c (const_hash): Cast enum to int for %.
6847         * emit-rtl.c (init_emit_once): Use int loop variable to work around
6848         pcc enum problems with < and ++ operators.
6849         * regclass.c (init_reg_sets_1): Cast enums for comparison.
6850         (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
6851         (regclass_init): Change enum class to int to iterate over reg_classes.
6852         * genrecog.c (merge_trees): Cast enums for comparison.
6853         * rtl.h (GET_CODE): Cast to enum rtx_code.
6854         (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
6855         (GET_MODE): Cast to enum machine_mode.
6856         (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
6857         (GET_NOTE_INSN_NAME): Cast enum to int.
6858         * tree.h (TREE_CODE): Cast to enum tree_code.
6859         (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
6860         * timevar.c (timevar_print): Change loop variable id from enum to
6861         unsigned int.
6862         * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
6863         * config/i386/i386.md: Use PUT_MODE for mode assignment.
6864         * toplev.c (compile_file): Cast enum DFI to int.
6865         (decode_d_option): Likewise.
6866
6867 Fri Mar  2 12:18:13 2001  Christopher Faylor <cgf@cygnus.com>
6868
6869         * cppinit.c (append_include_chain): Mark "after" include file name list
6870         as a system directory.
6871         * cpp.texi: Document new behavior.
6872
6873 Fri Mar  2 11:59:43 CET 2001  Jan Hubicka  <jh@suse.cz>
6874
6875         * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
6876
6877 2001-03-02  Neil Booth  <neil@daikokuya.demon.co.uk>
6878
6879         * cppfiles.c (struct include_file): Update.
6880         (stack_include_file): Use search_from.
6881         (cpp_included, find_include_file): Update.
6882         (cpp_execute_include): Update.  ptr->name may not be
6883         null terminated.  Use the new search_from member variable
6884         of cpp_buffer.
6885         (_cpp_compare_file_date): Similarly.
6886         (search_from): New function, similiar to actual_directory.
6887         (actual_directory): Delete.
6888         (remap_filename): Update.  loc->name may not be null terminated.
6889         (struct file_name_list): Rename search_path.  Update.
6890         * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
6891         search_from and dir.
6892         (struct cpp_reader): Remove actual_dirs.
6893         * cppinit.c (struct cpp_pending): Update for renamed objects.
6894         (append_include_chain, remove_dup_dir, remove_dup_dirs,
6895         merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
6896         * cpplib.h (struct cpp_options): Similarly.
6897
6898 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6899
6900         * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
6901         config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
6902         config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
6903         config/clipper/xm-clix.h, config/convex/xm-convex.h,
6904         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6905         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
6906         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
6907         config/i370/xm-linux.h, config/i370/xm-mvs.h,
6908         config/i370/xm-oe.h, config/i386/xm-aix.h,
6909         config/i386/xm-i386.h, config/i386/xm-osf.h,
6910         config/i860/xm-i860.h, config/i960/xm-i960.h,
6911         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
6912         config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
6913         config/mcore/xm-mcore.h, config/mips/xm-mips.h,
6914         config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
6915         config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
6916         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
6917         config/pa/xm-pahpux.h, config/pa/xm-papro.h,
6918         config/pj/xm-pj.h, config/romp/xm-romp.h,
6919         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
6920         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6921         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6922         config/v850/xm-v850.h, config/vax/xm-vax.h,
6923         config/vax/xm-vms.h, config/we32k/xm-we32k.h:
6924         Do not define TRUE or FALSE.
6925
6926         * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
6927         empty by above change.
6928         * config.gcc: Remove references to these files.
6929
6930         * configure.in: Detect stdbool.h.
6931         * configure, config.in: Regenerate.
6932         * system.h: Include stddef.h here if available.
6933         Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
6934         Then set up a sensible boolean type at the very end.
6935
6936         * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
6937         config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
6938
6939         * hash.h: Delete 'boolean' typedef and related #undefs.
6940
6941         * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
6942         all uses of 'boolean' with 'bool'.
6943
6944 2001-03-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6945
6946         * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
6947         * cppexp.c (lex): Cast enums for comparison.
6948         * cppinit.c (parse_option): Cast enum for comparison.
6949         * cpplex.c (cpp_spell_token): Cast enums to int for minus.
6950         (cpp_output_token): Likewise.
6951         (cpp_can_paste): Cast enums for comparsion and plus/minus.
6952         (cpp_avoid_paste): Cast enums for minus and comparison.
6953
6954 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6955
6956         * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
6957         field to all array elements.
6958
6959 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6960
6961         * cpphash.h (struct cpp_reader): Add print_version field.
6962         * cppinit.c (cpp_handle_option): For -v, -version, and --version,
6963         just set print_version and other flags as appropriate.
6964         (cpp_post_options): Print version here if print_version is set.
6965
6966         * toplev.c (exit_after_options): New flag.
6967         (independent_decode_option): Don't exit here; just set
6968         exit_after_options.
6969         (main): Exit after calling lang_hooks.post_options if
6970         exit_after_options is true.
6971
6972         * cppinit.c (append_include_chain): Drop never-used case QUOTE.
6973         (merge_include_chains): Adjust comment to match code.
6974
6975 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
6976
6977         * stringpool.c (set_identifier): New function.
6978         * tree.h: Prototype it.
6979
6980         * c-parse.in: Kill D_YES. If compiled for objc, call
6981         save_and_forget_protocol_qualifiers from init_reswords.
6982         * objc/objc-act.c (remember_protocol_qualifiers,
6983         forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
6984         Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
6985         vice versa.
6986         (save_and_forget_protocol_qualifiers): New function.
6987         * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
6988
6989 2001-03-01  Diego Novillo  <dnovillo@redhat.com>
6990
6991         * c-semantics.c (prune_unused_decls): Return error_mark_node
6992         instead of (tree) 1 to stop traversing the tree chain.
6993
6994 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
6995
6996         Fix a problem introduced by Kenner's Feb 18 change.
6997         * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
6998         flag_cse_skip_blocks only temporarily, not for ever.
6999
7000 Thu Mar  1 09:49:58 2001  Jeffrey A Law  (law@cygnus.com)
7001
7002         * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
7003         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
7004
7005         * pa.c (emit_move_sequence): Verify operand0 is a hard register
7006         before determining its register class.
7007
7008 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
7009
7010         * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
7011         from reg 4 if current_function_calls_setjmp.
7012         (gen_nop_type): New function.
7013         (ia64_emit_nops): New function.
7014         (ia64_reorg): Call it.
7015         (ia64_sched_reorder): Move code that rotates bundles up a bit.
7016
7017         * reload1.c (eliminate_regs_in_insn): Restrict the special case
7018         code not to try to optimize adds with anything but a REG destination.
7019
7020         * sched-int.h (struct haifa_insn_data): Add new member priority_known.
7021         (INSN_PRIORITY_KNOWN): New accessor macro.
7022         * haifa-sched.c (priority): Use it instead of testing priority against
7023         zero.
7024
7025 2001-02-28  DJ Delorie  <dj@redhat.com>
7026
7027         * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
7028         since that doesn't work the way gcc wants on a generic m68k.
7029
7030 2001-02-28  Richard Henderson  <rth@redhat.com>
7031
7032         * caller-save.c (save_call_clobbered_regs): Fix typo in
7033         comparison last change.
7034
7035 Wed Feb 28 19:31:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7036
7037         * i386.c (pentium4_cost): New.
7038         (m_PENT4): New macro.
7039         (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
7040         x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
7041         x86_integer_DFmode_moves, x86_partial_reg_dependency,
7042         x86_memory_mismatch_stall): Add Pentium4
7043         (x86_use_q_reg, x86_use_any_reg): Kill.
7044         (override_options): Add pentium4.
7045         (incdec_operand): Return 0 for pentium4.
7046         (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
7047         * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
7048         (TARGET_PENTIUM4): Define.
7049         (enum processor_type): Add PROCESSOR_PENTIUM4.
7050         (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
7051         * i386.md (attribute "cpu"): Add pentium4.
7052         * invoke.texi (march): Add pentium4.
7053
7054 Wed Feb 28 19:28:06 CET 2001  Jan Hubicka  <jh@suse.cz>
7055
7056         * i386.md (sse_mov?fcc*): New patterns and splitters.
7057         * i386.c (ix86_expand_movcc): Work post-reload; recognize
7058         the SSE based conditional moves.
7059
7060 Wed Feb 28 19:18:23 CET 2001  Jan Hubicka  <jh@suse.cz>
7061
7062         * i386.md (attribute mode): Add "TI".
7063         (movsf_1): Add pxor support; remove constant propagation splitter.
7064         (movdf_integer): Likewise.
7065         (movdf_nointeger): Likewise.
7066         (movxf constant prop splitter): Handle all modes; update for SSE.
7067         * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
7068         * i386.c (standard_80387_constant_p): Rewrite.
7069         (standard_sse_constant_p): New.
7070         * i386-protos.h (standard_sse_constant_p): New.
7071
7072 Wed Feb 28 19:05:37 CET 2001  Jan Hubicka  <jh@suse.cz>
7073
7074         * i386.md (sse_setccsf, sse_setccdf): New.
7075         (sse_cmp* patterns): Use '%D' instead of outputtting condition
7076         flag directly.
7077         * i386.c (sse_comparison_operator): Accept the supported unordered
7078         comparses; be ready for fast_math.
7079         (print_operand): Support 'D'.
7080
7081 Wed Feb 28 18:54:51 CET 2001  Jan Hubicka  <jh@suse.cz>
7082
7083         * jump.c (reversed_comparison_code): Kill.
7084
7085 Wed Feb 28 18:50:15 CET 2001  Jan Hubicka  <jh@suse.cz>
7086
7087         * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
7088         for STACK_REGS
7089
7090 Wed Feb 28 18:47:37 CET 2001  Jan Hubicka  <jh@suse.cz>
7091
7092         * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
7093         add missing '%' in constraints.
7094
7095 Wed Feb 28 17:24:24 CET 2001  Jan Hubicka  <jh@suse.cz>
7096
7097         * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
7098         for HOST_BITS_PER_WIDE_INT == 32 too.
7099
7100 Wed Feb 28 17:22:35 CET 2001  Jan Hubicka  <jh@suse.cz>
7101
7102         * caller-save.c (reg_save_code, reg_restore_code):  Index by mode, not
7103         NREGS.
7104         (insert_save, insert_restore): New parameter save_mode.
7105         (init_caller_save): Update initialization of reg_save_code
7106         and reg_restore_code.
7107         (save_call_clobbered_regs):  Compute save_modes and update calls to
7108         reg_save_code and reg_restore_code.
7109         (insert_restore):  Unsignetize numbers; use save_modes to choose mode
7110         of spill; update use of reg_restore_code.
7111         (insert_save):  Likewise.
7112         * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
7113         * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
7114         * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
7115
7116 Wed Feb 28 17:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
7117
7118         * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
7119         noce_try_store_flag_inc, noce_try_store_flag_mask,
7120         noce_try_cmove_arith):
7121         Use reversed_comparison_code instead of reverse_comparison and
7122         can_reverse_comparison_p.
7123
7124 Wed Feb 28 17:17:29 CET 2001  Jan Hubicka  <jh@suse.cz>
7125
7126         * jump.c (reversed_comparison_code_parts): Allow reversal of
7127         unordered compares in -ffast-math mode; reverse ordered compares
7128         for FP even w/o -ffast-math.
7129
7130 2001-02-27  Richard Henderson  <rth@redhat.com>
7131
7132         * print-rtl.c (print_rtx) [i]: Don't print field five on
7133         NOTEs other than NOTE_INSN_DELETED_LABEL.
7134
7135 2001-02-27  Zack Weinberg  <zackw@stanford.edu>
7136
7137         * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
7138         * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
7139
7140 2001-02-27  Diego Novillo  <dnovillo@redhat.com>
7141
7142         * c-common.c (walk_stmt_tree): Visit the chain of the current tree
7143         even if walk_subtrees is 0.
7144         * c-semantics.c (prune_unused_decls): Return a non-null value to
7145         stop traversing the tree chain.
7146
7147 2001-02-27  DJ Delorie  <dj@redhat.com>
7148
7149         * config/m68k/m68k.c (output_function_prologue): Save the new CFA
7150         register, *then* define it as the new CFA.
7151
7152 Tue Feb 27 16:49:13 2001  Jeffrey A Law  (law@cygnus.com)
7153
7154         * pa.c (override_options): Promote -fpic to -fPIC.
7155         (legitimize_pic_address): Simplify due to removal of
7156         small PIC as a code generation option.
7157         (secondary_reload_class): Similarly.
7158         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
7159         (PRINT_OPERAND_ADDRESS): Similarly.
7160         * pa.md (various patterns): Similarly.
7161         (small pic lo_sum pattern): Remove.
7162
7163 Tue Feb 27 16:01:13 CET 2001  Jan Hubicka  <jh@suse.cz>
7164                               Fergus Henderson
7165
7166         * md.texi (min, max): Document
7167
7168 Tue Feb 27 15:51:35 CET 2001  Jan Hubicka  <jh@suse.cz>
7169
7170         * i386.md (movsf, movdf): Use movaps for reg-reg moves if
7171         TARGET_PARTIAL_REG_DEPENDENCY.
7172         (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
7173
7174 Tue Feb 27 15:36:48 CET 2001  Jan Hubicka  <jh@suse.cz>
7175
7176         * i386.md (mins*, maxs*): New patterns, expanders and splitters.
7177
7178 2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>
7179
7180         * mips.c (mips_make_temp_file): Fix thinko in last change.
7181
7182 2001-02-26  Jason Eckhardt  <jle@redhat.com>
7183
7184         * combine.c (known_cond): Do not reverse the condition when
7185         SMAX/UMAX is being considered and the condition is for equality
7186         or inequality.
7187
7188         * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
7189
7190 2001-02-26  Philip Blundell  <philb@gnu.org>
7191
7192         * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
7193         "armv2-*-linux".
7194         * config/arm/linux-elf.h: Remove historical relics related to
7195         above configurations.
7196         * config/arm/linux-oldld.h: Delete.
7197         * config/arm/linux-elf26.h: Delete.
7198
7199 2001-02-26  Jason Merrill  <jason@redhat.com>
7200
7201         * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
7202         definitions.
7203         * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
7204         recognize a tentative definition.  Lose obsolete code.
7205
7206         * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
7207         variables unless necessary, either.
7208
7209 2001-02-25  Richard Henderson  <rth@redhat.com>
7210
7211         * ifcvt.c (struct noce_if_info): Add test_bb.
7212         (noce_get_alt_condition): New.
7213         (noce_try_minmax, noce_try_abs): New.
7214         (noce_operand_ok): New.
7215         (noce_process_if_block): Use them.
7216         * rtlanal.c (may_trap_p): NEG and ABS can never trap.
7217
7218 Sun Feb 25 14:26:17 2001  Christopher Faylor <cgf@cygnus.com>
7219
7220         * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
7221         include.
7222
7223 2001-02-25  Zack Weinberg  <zackw@stanford.edu>
7224
7225         * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
7226         * config/mips/mips.c (mips_make_temp_file): Set temp_filename
7227         properly.
7228         (mips_asm_file_end): Free temp_filename here.
7229
7230 Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7231
7232         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
7233         * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
7234
7235         * config/i386/i386.md (movstrsi): Handle FAIL case.
7236
7237 2001-02-25  Neil Booth  <neil@daikokuya.demon.co.uk>
7238
7239         * cppinit.c (builtin_array): Update.
7240         (init_builtins): Flag builtins to warn if redefined or
7241         undefined.  Define __GXX_WEAK as a normal macro.
7242         * cpplib.c (do_undef): Warn if flagged NODE_WARN.
7243         * cpplib.h (NODE_WARN): New flag.
7244         * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
7245         Handle __STDC__ as a builtin only on Solaris.
7246         (warn_of_redefinition): Renamed from check_macro_definition.
7247         Reverse sense of test.  Always warn if NODE_WARN.
7248         (_cpp_create_definition): Use warn_of_redefinition.  Flag
7249         any macro beginning with "__STDC_" to require a mandatory
7250         warning if redefined or undefined.
7251
7252 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
7253
7254         * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
7255         i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
7256         i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
7257         i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
7258         m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
7259         mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
7260         Don't define any of:
7261         USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
7262         P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
7263         NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
7264         index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
7265         STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
7266
7267         * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
7268         fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
7269         definitions.
7270
7271         * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
7272         Delete now-empty file.
7273
7274         * alpha/vms.h: Define NEED_ATEXIT here...
7275         * alpha/xm-vms.h: ...not here.
7276
7277         * i386/cygwin.h: Don't define PARAMS.
7278         * mips/mips.c: Don't prototype mktemp.  Don't define
7279         P_tmpdir.  Use make_temp_file to create temporary files.
7280         Don't be clever and delete temporary files early.
7281         * config.gcc: Drop references to deleted files.  Don't define
7282         FULL_PROTOTYPES.
7283         * gcc.texi: Don't mention USE_PROTOTYPES.
7284
7285 Sat Feb 24 20:25:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7286
7287         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
7288         (ix86_set_move_mem_attrs_1): Likewise.
7289         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
7290         * config/i386/i386.md (movstrsi): Call it.
7291
7292 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
7293
7294         * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
7295         x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
7296         ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
7297         rs6000/x-aix41-gld.  These are nonexistent, empty, or obsolete.
7298
7299         (i750a-*-*): Error here if hosting on i750a.
7300         (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
7301
7302         * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
7303         Remove (empty modulo comments).
7304
7305         * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
7306         alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
7307         i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
7308         i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
7309         mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
7310         rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
7311
7312         * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
7313         Remove reference to winnt.h in comment.
7314         * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
7315
7316 2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7317
7318         * loop.c (check_dbra_loop): A biv has uses besides counting if it is
7319         used to set another biv.
7320
7321 Sat Feb 24 06:45:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7322
7323         * tree.h (BLOCK_DEAD): New macro.
7324         (struct tree_block): New flag, dead_flag.
7325         * print-tree.c (print_node, case 'b'): Print missing fields.
7326         * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
7327         * function.c (identify_blocks): Enable test for misplaced notes.
7328         (all_blocks): Skip BLOCK_DEAD blocks.
7329         * integrate.c (integrate_decl_tree): Likewise.
7330
7331         * errors.c (internal_error, trim_filename): New functions.
7332         (fancy_abort): Call internal_error.
7333         * errors.h (internal_error, trim_filename): New declarations.
7334
7335 2001-02-24  Alexandre Oliva  <aoliva@redhat.com>
7336
7337         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
7338         2000-08-26's patch.
7339         (EXTRA_CONSTRAINT): Formatting changes.
7340
7341 2001-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7342
7343         * rtl.c (rtl_check_failed_code2): Fix typo in last change.
7344
7345 2001-02-23  Per Bothner  <per@bothner.com>
7346
7347         * gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
7348         so they can be called from java/jvspec.c.
7349         * gcc.h (record_temp_file, pfatal_with_name, error):  Declare.
7350
7351 Sat Feb 24 03:32:50 CET 2001  Jan Hubicka  <jh@suse.cz>
7352
7353         * i386.c (ix86_frame): New structure.
7354         (ix86_compute_frame_size): Kill.
7355         (ix86_compute_frame_layout): New.
7356         (ix86_save_reg): New.
7357         (ix86_can_use_return_insn_p): Use frame layout stuff.
7358         (ix86_expand_prologue): Likewise.
7359         (ix86_expand_epilogue): Likewise.
7360         (ix86_initial_elimination_offset): Likewise.
7361         (ix86_nsaved_regs): Use ix86_save_reg.
7362         (ix86_emit_save_regs): Likewise.
7363
7364 Sat Feb 24 03:30:38 CET 2001  Jan Hubicka  <jh@suse.cz>
7365
7366         * flow.c (find_sub_basic_blocks): New function.
7367         (split_block): Be ready for basic block introduced by CODE_LABEL.
7368         (commit_one_edge_insertion): Call find_sub_basic_block.
7369
7370         * flow.c (make_edges): Add edge from entry for blocks starting with
7371         label having ALTERNATE_NAME
7372
7373 Sat Feb 24 03:19:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7374
7375         * function.c (epilogue_done): Be ready for first basic block not
7376         containing PROLOGUE_END note.
7377         (reposition_prologue_and_epilogue_notes): Avoid placing
7378         PROLOGUE_END note between BASIC_BLOCK.
7379
7380 Sat Feb 24 03:17:09 CET 2001  Jan Hubicka  <jh@suse.cz>
7381
7382         * loop.c (canonicalize_condition): Move to reversed_comparison_code.
7383
7384 2001-02-21  DJ Delorie  <dj@redhat.com>
7385
7386         * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
7387         check for current_function_has_nonlocal_goto from 1999-11-12.
7388
7389 Fri Feb 23 15:28:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7390
7391         * diagnostic.c (trim_filename): No longer static.
7392         * toplev.h (trim_filename): Declare.
7393         * rtl.c (rtl_check_failed_bounds): Call internal_error.
7394         (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
7395         (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
7396         (rtvec_check_failed_bounds): Likewise.
7397         * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
7398
7399         * convert.c (convert_to_integer): Don't do unsigned unless result or
7400         both inputs are unsigned.
7401
7402         * fold-const.c (fold_convert): Don't call size_int_type_wide if
7403         input overflows.
7404
7405         * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
7406
7407         * varasm.c (output_constant): Recompute CODE after lang-specific fn.
7408
7409 2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>
7410
7411         * Makefile.in (resource.o): Add params.h dependence.
7412         * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
7413         * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
7414         * resource.c: Add dependence on params.h.
7415         (current_live_regs): Fix explanatory comment.
7416         (find_basic_block): Add new parameter to permit limiting search
7417         for a BARRIER.
7418         (mark_target_live_regs): Add new argument to find_basic_block call.
7419         (incr_ticks_for_insn): Likewise.
7420
7421 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
7422
7423         * diagnostic.c (output_to_stream): Rename to
7424         output_buffer_to_stream. Loses the stream parameter.
7425         (init_output_buffer): Set diagnosic_buffer's stream.
7426         (flush_diagnostic_buffer): Adjust.
7427         (default_print_error_function): Likewise.
7428         (finish_diagnostic): Likewise.
7429         (verbatim): Likewise.
7430
7431         * diagnostic.h (struct output_buffer): Add `stream' field.
7432         (output_buffer_attached_stream): New macro.
7433
7434 2001-02-23  Jakub Jelinek  <jakub@redhat.com>
7435
7436         * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
7437         check if either operand is divisible by C.
7438         (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
7439         If type is signed, consider negative numbers as well.
7440
7441 2001-02-22  Richard Henderson  <rth@redhat.com>
7442
7443         * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
7444         reach .text instead of gp-relative relocs.
7445         * config/ia64/crtend.asm (.init): Likewise.
7446
7447 2001-02-22  Andreas Jaeger  <aj@suse.de>
7448
7449         * extend.texi (C++ Attributes): Fix typo.
7450
7451 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
7452
7453         * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
7454         functions, drop current_function_args_info.words test.
7455         (ia64_compute_frame_size): Mark syscall_linkage functions as
7456         using eight input registers.
7457
7458 2001-02-21  Loren J. Rittle  <ljrittle@acm.org>
7459         Bruce Korb  <bkorb@gnu.org>
7460
7461         * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
7462         * fixinc/README: Document how to convert sed substitutions
7463         to format style c_fix-es.
7464         * fixinc/fixincl.x: regen
7465
7466 2001-02-21  Jeffrey D. Oldham  <oldham@codesourcery.com>
7467
7468         * gcc.c: Add comment explaining how to add a command-line option.
7469         Add title to specs language comment.
7470
7471 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
7472
7473         * gcc.c (cc1_options): Add "-param".
7474         (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
7475         (option_map): Likewise.
7476         * toplev.c (display_help): Add entry for "--param".
7477         (independent_decode_option): Fix typographical error.
7478
7479 Wed Feb 21 18:57:28 CET 2001  Catherine Moore  <clm@redhat.com>
7480                               Bernd Schmidt  <bernds@redhat.com>
7481                               Jan Hubicka  <jh@suse.cz>
7482
7483         * i386.c (function_arg_advance):  Pass SSE arguments in registers.
7484         (function_arg): Likewise.
7485
7486 Wed Feb 21 18:12:41 CET 2001  Jan Hubicka  <jh@suse.cz>
7487
7488         * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
7489
7490 2001-02-21  Kazu Hirata  <kazu@hxi.com>
7491
7492         * config/h8300/h8300.md (iorsi3): Do not output an extra newline
7493         character.
7494         (xorsi3): Likewise.
7495
7496 Wed Feb 21 17:35:24 CET 2001  Jan Hubicka  <jh@suse.cz>
7497
7498         * flow.c (init_propagate_block_info): Canon address and use single_set
7499         for killing dead memory stores.
7500
7501 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
7502
7503         * Makefile.in (reorg.o): Add params.h dependence.
7504         * params.def: Fix typographical error in comment.
7505         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
7506         * params.h: Modify introductory comment.
7507         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
7508         * reorg.c: Add dependence on params.h.
7509         (redundant_insn): Add parameterized throttle for search.
7510         (fill_simple_delay_slots): Add a comment explaining a variable.
7511         Move conditional out of loop, simplifying code.
7512         (fill_eager_delay_slots): Fix typographical error in comment.
7513
7514 2001-02-20  Aldy Hernandez  <aldyh@redhat.com>
7515
7516         * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
7517
7518         * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
7519         (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
7520
7521 2001-02-21  Jason Merrill  <jason@redhat.com>
7522
7523         * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
7524         (struct tree_decl): Add uninlinable bitfield.
7525         * c-decl.c (duplicate_decls): Set it.
7526         * integrate.c (function_cannot_inline_p): Check it.
7527
7528         * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
7529         DW_AT_MIPS_linkage_name to abstract methods.
7530         (dwarf2out_abstract_function): Emit class context before calling
7531         set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
7532         (gen_subprogram_die): Remove obsolete code.
7533         (gen_member_die): Don't include clones in the member list.
7534         (gen_decl_die): Emit abstract info for clone origin.
7535         * dwarfout.c (output_type): Don't include clones in the member list.
7536         * dbxout.c (dbxout_type_methods): Ignore abstract methods.
7537         * toplev.c (note_deferral_of_defined_inline_function): Don't clear
7538         DECL_ABSTRACT on a function that already has it set.
7539
7540         * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
7541         (get_subprogram_die): Pass it in.
7542
7543 2001-02-21  Richard Earnshaw  <rearnsha@arm.com>
7544
7545         * flow.c (mark_set_1): Make not_dead unsigned long.  For
7546         non-pseudos, use it as a bitmask of the hard regs that
7547         don't die.
7548
7549 2001-02-21  Neil Booth  <neil@daikokuya.demon.co.uk>
7550
7551         * cppfiles.c: Update comments.
7552         (_cpp_read_file): Don't check for NULL filenames any more.
7553         * cppinit.c (cpp_start_read): Don't do canonicalization of
7554         in_fname and out_fname.  Use the passed file name exclusively.
7555         (_cpp_handle_options): Don't treat "-" as a command line option,
7556         but as a normal filename.
7557         (_cpp_post_options): Canonicalize in_fname and out_fname.
7558         * cppmain.c (printer_init): Don't check out_fname for NULL.
7559         * c-lex.c (orig_filename): Rename cpp_filename for clarity.
7560         (init_c_lex): Update, and use "" to represent stdin to CPP.
7561         (yyparse): Update.
7562
7563 2001-02-20  Will Cohen  <wcohen@redhat.com>
7564
7565         * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
7566         * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
7567         (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
7568         fixunstfsi_libfunc.
7569
7570 2001-02-20  Stan Shebs  <shebs@apple.com>
7571
7572         * config/rs6000/rs6000.c (output_cbranch): Output branches
7573         on separate lines instead of using ';' to separate.
7574
7575 2001-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
7576
7577         * cppinit.c (set_lang):  Move builtin handling to...
7578         (init_builtins): ...here.
7579         (_cpp_create_reader): Move call to set_lang.
7580
7581 2001-02-20  Mark Mitchell  <mark@codesourcery.com>
7582
7583         * stmt.c (expand_return): If an attempt is made to return the
7584         error_mar_node, treat the return like a return without a value.
7585
7586 2001-02-19  Zack Weinberg  <zackw@stanford.edu>
7587
7588         * sibcall.c (skip_copy_to_return_value): Call
7589         identify_call_return_value here, and return orig_insn if it
7590         returns zero.  Hardret and softret arguments now unnecessary.
7591         (call_ends_block_p): Don't call identify_call_return_value here.
7592
7593         * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
7594         's' slots in RTXen.
7595         * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
7596         * ggc.h (ggc_mark_if_gcable): Delete prototype.
7597
7598 Mon Feb 19 20:30:16 2001  Jeffrey A Law  (law@cygnus.com)
7599
7600         * pa.c (move_operand): Accept code to load the address of a
7601         symbol out of the DLT as a valid move operand.
7602         (print_operand, case 'A'): New to handle generating a DLT
7603         reference for a LO_SUM expression.
7604         * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
7605         * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
7606
7607 2001-02-19  Joseph S. Myers  <jsm28@cam.ac.uk>
7608
7609         * README, cpp.texi, gcc.texi, version.c: Update version number to
7610         3.1.
7611         * cpp.1, gcov.1, gcc.1: Regenerate.
7612
7613 2001-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
7614
7615         * cppfiles.c (stack_include_file): Generate dependencies
7616         here, and manage include_count here too.
7617         (PRINT_THIS_DEP): Delete.
7618         (_cpp_execute_include): Do not generate dependencies here,
7619         apart from the case of a missing header.  Do not manage
7620         include_count.
7621         (_cpp_read_file): Leave dependency generation to
7622         stack_include_file.
7623
7624 Mon Feb 19 10:17:47 2001  Jeffrey A Law  (law@cygnus.com)
7625
7626         * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
7627         target_cpu_default.  Remove dead assignment to
7628         target_cpu_default.
7629
7630 Mon Feb 19 16:47:39 CET 2001  Jan Hubicka  <jh@suse.cz>
7631
7632         * regclass.c (contains_reg_of_mode): Make global.
7633         (init_reg_sets): Remove contains_reg_of_mode; take into account
7634         CLASS_MAX_NREGS when looking for the proper mode.
7635         (dump_regclass): Dump only classes considered for the pseudo.
7636         (regclass): Use contains_reg_of_mode.
7637
7638 Mon Feb 19 16:45:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7639
7640         * gcc.c (do_spec_1): 'n' for printing notices.
7641         * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
7642
7643 Mon Feb 19 15:51:30 CET 2001  Jan Hubicka  <jh@suse.cz>
7644
7645         * reg-stack.c (next_flags_user): Use current_block->end
7646         (swap_rtx_condition): Look for next user if flags don't die;
7647         give up on CALL_INSNs; use current_block->end.
7648
7649 Mon Feb 19 08:27:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7650
7651         * sibcall.c (call_ends_block_p): New function.
7652         (optimize_sibling_and_tail_recursive_call): Use it.
7653
7654 2001-02-18  Kazu Hirata  <kazu@hxi.com>
7655
7656         * config/h8300/h8300.md: Update copyright.
7657         (andsi3): Do not output an extra newline character.
7658
7659 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7660
7661         * toplev.c (note_deferral_of_defined_inlined_function): Argument
7662         FNDECL may be unused.
7663
7664         * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
7665         follow jumps after first run.
7666         If -fexpensive-optimizations rerun CSE after GCSE and iterate until
7667         it doesn't change any jumps.
7668
7669 Sun Feb 18 17:05:50 2001  Jeffrey A Law  (law@cygnus.com)
7670
7671         * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
7672         ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
7673         (mostlyclean): Corresponding changes.
7674         * rtlanal.c (hard-reg-set.h): Include.
7675         (rtx_unstable_p): Do not treat the argument pointer specially
7676         if it is not a fixed register.
7677         (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
7678
7679 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7680
7681         * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
7682         against last real insn in basic block.
7683         Rework to avoid gotos.
7684
7685         * Makefile.in (gcse.o): Now includes ggc.h.
7686         * gcse.c: Include ggc.h.
7687         (want_to_gcse_p): Verify expression can be in SET as valid insn.
7688         (try_replace_reg): Remove warning of uninitialize variable.
7689         (process_insert_insn): Call invalid_insn_p to validate insn.
7690         * recog.c (insn_invalid_p): Now global.
7691         See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
7692         * recog.h (insn_invalid_p): New declaration.
7693
7694         * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
7695
7696         * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
7697         assignments from FP constants since 'Y' output code can't handle it.
7698         (eligible_for_sibcall_delay): Likewise.
7699
7700         * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
7701         Call fancy_abort directly, passing args.
7702         (print_rtl_and_abort): Now a macro, like fancy_abort.
7703
7704         * final.c (output_operand_lossage): Use internal_error, not error.
7705
7706 2001-02-18  Shane Nay  <shane@agendacomputing.com>
7707
7708         * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
7709         structure shift insns.
7710
7711 2001-02-18  Mark Mitchell  <mark@codesourcery.com>
7712
7713         * invoke.texi (-fsquangle): Remove documentation.
7714         (-fname-mangling-version): Likewise.
7715
7716 2001-02-18  Lars Brinkhoff  <lars@nocrew.org>
7717
7718         * optabs.c (expand_abs): Remove reference to
7719         HAVE_contitional_arithmetic.
7720         * combine.c (simplify_set): Likewise.
7721
7722 2001-02-18  Richard Henderson  <rth@redhat.com>
7723
7724         * ifcvt.c (dead_or_predicable): Don't move code if eh regions
7725         would be disrupted.
7726
7727 2001-02-18  Richard Henderson  <rth@redhat.com>
7728
7729         * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
7730
7731         * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
7732
7733         * reload1.c (reload_cse_simplify_set): Fix typo.
7734
7735 Sun Feb 18 09:30:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7736
7737         * diagnostic.c (_fatal_insn): Decrement errorcount.
7738
7739         * invoke.texi (-I): Add note avoiding use for system header files.
7740
7741         * rtl.h (add_clobbers): Remove duplicate declaration.
7742         * recog.h (added_clobbers_hard_reg_p): New declaration.
7743         * genemit.c (struct clobber_pat): New field has_hard_reg.
7744         (gen_insn): Record if added clobbers clobber hard reg.
7745         (gen_split): Avoid unused warning if number of operands is 0.
7746         (output_added_clobbers_hard_reg_p): New function.
7747         (main): Call it.
7748
7749 2001-02-18  Alan Modra <alan@linuxcare.com.au>
7750
7751         * pa.c (hppa_expand_prologue): Simplify code storing return
7752         pointer.  For large (>=8k) frames with a post_store, adjust stack
7753         pointer by 8k-64 first rather than by 64.  When testing with
7754         VAL_14_BITS_P, always use the actual value rather than the value
7755         negated.  Add blockage to prevent scheduling of spills before
7756         stack frame has been created.
7757         (hppa_expand_epilogue): Simplify code loading return pointer.
7758         Allow a slightly larger range for merge_sp_adjust_with_load case.
7759         When testing with VAL_14_BITS_P, always use the actual value.
7760
7761         * pa.c (pa_adjust_insn_length): Check that block move
7762         pattern is a set before looking at operands.
7763
7764 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
7765
7766         * fold-const.c (fold_binary_op_with_conditional_arg): New
7767         function, split out from ...
7768         (fold): ... here.
7769         * tree.def (COND_EXPR): Document the use of VOID_TYPE for
7770         conditional arms that throw exceptions.
7771
7772         * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
7773         looking at a BLOCK.
7774
7775 2001-02-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7776
7777         * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
7778         define HAVE_DECL_* to 1 to mask potential backup declarations.
7779         * configure: Regenerated.
7780
7781 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
7782
7783         * invoke.texi (-Woverloaded-virtual): Clarify documentation.
7784
7785 2001-02-17  Richard Henderson  <rth@redhat.com>
7786
7787         * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
7788         when replacing a memory load with a register.
7789
7790 Sat Feb 17 14:48:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7791                           Jan Hubicka  <jh@suse.cz>
7792
7793         * recog.c (validate_replace_src_1): New.
7794         (validate_replace_src_data): Likewise.
7795         (validate_replace_src): Use note_uses.
7796         * rtl.h (note_uses): Declare.
7797         * rtlanal.c (note_uses): New.
7798
7799 Sat Feb 17 10:52:34 CET 2001  Jan Hubicka  <jh@suse.cz>
7800
7801         * reg-stack.c (stack_def): Make field reg unsigned.
7802         (remove_regno_note): Unsignetize parameter.
7803
7804 2001-02-16  Jes Sorensen  <jes@linuxcare.com>
7805
7806         * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
7807         shladd_operand() call.
7808
7809 2001-02-16  Bruce Korb  <bkorb@gnu.org>
7810             Rodney Brown  <RodneyBrown@mynd.com>
7811
7812         * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
7813         * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
7814         machine restrictions
7815         * fixinc/fixincl.x: regen
7816
7817 Fri Feb 16 12:41:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7818
7819         * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
7820         Don't CSE a nop.
7821         (hash_scan_insn): Clean up calls to hash_scan_set.
7822         (compute_kill_rd): REGNO now unsigned.
7823         (try_replace_reg): Rework to use simplify_replace_rtx.
7824         (cprop_jump, cprop_cc0_jump): Likewise.
7825         (cprop_insn): Call find_reg_equal_equiv_note.
7826         Reflect changes to cprop_jump and cprop_cc0_jump.
7827
7828         * recog.c (validate_replace_src): Replace in operands of
7829         ZERO_EXTRACT in SET_DEST.
7830
7831         * cse.c (new_label_ref): New variable.
7832         (insert): Set it instead of recorded_label_ref.
7833         (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
7834         CODE_LABEL for this function, and not already in REG_LABEL note.
7835
7836 2001-02-16  Jeffrey Oldham  <oldham@codesourcery.com>
7837
7838         * resource.c (mark_referenced_resources): Fix typo in introductory
7839         comment.
7840         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
7841         string constant.
7842
7843 2001-02-16  Jason Merrill  <jason@redhat.com>
7844
7845         * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
7846         NULL.
7847         (gen_subprogram_die): Don't abort on seeing a second definition if
7848         the previous one was abstract.  Don't replace an abstract instance
7849         in the lookup table.
7850
7851         * dwarf2out.c (dwarf2out_abstract_function): Rename from
7852         gen_abstract_function.
7853         * dwarf2out.h: Declare it.
7854         * toplev.c (note_outlining_of_inline_function): New fn.
7855         * toplev.h: Declare it.
7856         * integrate.c (output_inline_function): Call it.
7857         * c-decl.c (duplicate_decls): Call it when redefining an extern
7858         inline.  Don't inline the new defn.
7859
7860         * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
7861
7862 2001-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7863
7864         * .gdbinit: Rename to gdbinit.in.
7865         * gdbinit.in: New file,
7866         * configure.in: Generate .gdbinit from gdbinit.in.
7867         * configure: Regenerated.
7868         * Makefile.in (distclean): Always remove .gdbinit.
7869
7870 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
7871
7872         * objc/objc-act.c (start_class): Register implemented_classes with
7873         GC.
7874
7875 2001-02-16  Neil Booth  <neil@daikokuya.demon.co.uk>
7876
7877         * cppfiles.c (_cpp_make_system_header): Generate a file
7878         change callback.
7879
7880 2001-02-15  Jim Meyering  <meyering@lucent.com>
7881
7882         * Makefile.in (install-common): Don't depend on installdirs here.
7883         Instead, make each of the lang.install-common targets (e.g.,
7884         c++.install-common in cp/Make-lang.in) depend on it.
7885         (install-driver): Depend on installdirs.
7886
7887 Thu Feb 15 21:30:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7888
7889         * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
7890
7891         * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
7892         do in memory.
7893
7894 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
7895
7896         * invoke.texi (--param): Document.
7897
7898 Thu Feb 15 15:16:38 2001  Alexandre Oliva  <aoliva@redhat.com>
7899
7900         * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
7901
7902 Thu Feb 15 10:52:31 CET 2001  Jan Hubicka  <jh@suse.cz>
7903
7904         * i386.md (extendsfdf2_2): Fix constraints.
7905
7906 Thu Feb 15 09:46:21 CET 2001  Jan Hubicka  <jh@suse.cz>
7907
7908         * i386.md (fop_df_3 splitter): Fix operand number.
7909
7910 Wed Feb 14 12:37:37 CET 2001  Jan Hubicka  <jh@suse.cz>
7911
7912         * invoke.texi (-mreg-alloc): Nuke.
7913         * i386.c (ix86_reg_alloc_order, regs_allocated,
7914         order_regs_for_local_alloc): Nuke.
7915         (override_options): Kill reg_alloc code.
7916         * i386.h (TARGET_OPTIONS): Kill reg-alloc.
7917         (REG_ALLOC_ORDER): SSE goes before I387.
7918         (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
7919         (ix86_reg_alloc_order): Likewise.
7920         * i386-protos.h (ix86_reg_alloc_order): Kill.
7921
7922 2001-02-14  Richard Henderson  <rth@redhat.com>
7923
7924         * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
7925
7926 Wed Feb 14 11:59:58 CET 2001  Jan Hubicka  <jh@suse.cz>
7927
7928         * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
7929
7930 Wed Feb 14 11:12:38 CET 2001  Jan Hubicka  <jh@suse.cz>
7931
7932         * i386-protos.h (ix86_memory_move_cost): Move offline.
7933         * i386.c (ix86_register_move_cost): Compute properly cost of
7934         SSE, MMX and i387 instructions.
7935         (*_cost): Add costs of SSE/MMX moves.
7936         (ix86_memory_move_cost): Move offline from ....; Likewise.
7937         * i386.h (MEMORY_MOVE_COST): .... here;
7938         (struct processor costs): Add new fields to represent costs
7939         of SSE/MMX moves.
7940
7941 Wed Feb 14 10:08:26 CET 2001  Jan Hubicka  <jh@suse.cz>
7942
7943         * regclass.c (init_reg_sets_1): Reinstall the optimization of
7944         move_cost together with Matt Kraai's fix.
7945
7946 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
7947
7948         * Makefile.in (OBJS): Add params.o.
7949
7950 2001-02-14  Richard Henderson  <rth@redhat.com>
7951             DJ Delorie  <dj@redhat.com>
7952
7953         * jump.c (jump_optimize_1): When we delete a conditional jump
7954         preceeding a non-conditional jump to effectively the same place,
7955         make sure that the combined jump skips any clobber insns between
7956         the two labels.
7957
7958 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
7959
7960         * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
7961
7962 2001-02-14  Mark Mitchell  <mark@codesourcery.com>
7963
7964         * Makefile.in (toplev.o): Depend on params.h.
7965         (intergate.o): Likewise.
7966         (params.o): New target.
7967         * flags.h (inline_max_insns): Remove.
7968         * integrate.c: Include params.h.
7969         Use MAX_INLINE_INSNS instead of inline_max_insns.
7970         * params.c: New file.
7971         * params.h: Likewise.
7972         * params.def: Likewise.
7973         * toplev.c: Include params.h.
7974         (lang_independent_params): New variable.
7975         (decode_f_option): Use the param machinery instead of setting
7976         max_inline_insns.
7977         (independent_decode_option): Handle "--param name=value".
7978         (main): Register language-independent parameters.
7979
7980 Wed Feb 14 11:13:45 CET 2001  Jan Hubicka  <jh@suse.cz>
7981
7982         * i386.md (pushsf, pushdf_nointeger): Fix constraint.
7983
7984 2001-02-14  Richard Henderson  <rth@redhat.com>
7985
7986         * regclass.c (init_reg_sets_1): Revert last two changes.
7987
7988 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
7989
7990         * stor-layout.c (is_pending_size, put_pending_size): New functions.
7991         (variable_size): Call put_pending_size.
7992         * tree.h (is_pending_size, put_pending_size): Add prototypes.
7993         * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
7994         sizes list, put newly created SAVE_EXPR there as well.
7995
7996 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
7997
7998         * config/ia64/ia64.c (last_group): Only 2 entries are needed.
7999         (errata_find_address_regs): load_group has only 2 entries.
8000         (errata_emit_nops): Likewise.  shladd is not problematic.
8001         Clear last_group if nop was emitted.
8002         (fixup_errata): load_group has only 2 entries.
8003         Optimize.
8004
8005 2001-02-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8006
8007         * c-lex.c (lex_number): Only warn traditionally for U suffix
8008         outside system macros.
8009         * cppexp.c (parse_number): Similarly.
8010         * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
8011         * cppmacro.c (struct cpp_macro): New member node.
8012         (parse_args): Only warn about missing rest args if not
8013         a system macro.
8014         (funlike_invocation_p): Similarly for uninvoked funlike macros.
8015         (cpp_sys_objmacro_p): New.
8016         (_cpp_create_definition): Store the node with the macro defn.
8017         Remember if the macro is defined in a system header.
8018
8019 2001-02-13  DJ Delorie  <dj@redhat.com>
8020
8021         * configure.in (check_languages): determine languages to check
8022         * Makefile.in (check-c++): alias for check-g++
8023         (check-f77): alias for check-g77
8024         (CHECK_TARGETS): depend on configured languages
8025
8026 Wed Feb 14 01:13:59 CET 2001  Jan Hubicka  <jh@suse.cz>
8027
8028         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
8029         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
8030         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
8031         (sqrtextendsfdf2): Disable for SSE2.
8032
8033 Wed Feb 14 00:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
8034
8035         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
8036         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
8037         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
8038         (sqrtextendsfdf2): Disable for SSE2.
8039
8040 Wed Feb 14 00:11:20 CET 2001  Jan Hubicka  <jh@suse.cz>
8041
8042         * i386.md (movsfcc_1): Support integer cmove instruction.
8043         (movdfcc_1): Likewise; new splitter.
8044
8045 Tue Feb 13 23:19:27 CET 2001  Jan Hubicka  <jh@suse.cz>
8046
8047         * i386.c (output_fp_compare): Support SSE.
8048         (prepare_fp_compare_args): SSE comparisons always support memory.
8049         * i386.h (TARGET_CMOVE): SSE imply cmove.
8050         * i386.md (cmp?f2): Enable for SSE too.
8051         (cmpfp_i*): Support SSE.
8052         (cmpfp_i_sse): New.
8053         (cmpfp_i_sse_only): New.
8054         (s*, b* fp expanters): Enable for SSE too.
8055         (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
8056         New patterns.
8057
8058 Tue Feb 13 23:05:42 CET 2001  Jan Hubicka  <jh@suse.cz>
8059
8060         * regclass.c (init_reg_sets_1): Silence warning.
8061
8062 Tue Feb 13 22:03:07 CET 2001  Jan Hubicka  <jh@suse.cz>
8063
8064         * i386.md (sqrt?f2): Change to expander.
8065         (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
8066
8067 Tue Feb 13 15:42:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8068
8069         * rtlanal.c (find_reg_equal_equiv_note): New function.
8070         * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
8071         (simplify_gen_relational, simplify_replace_rtx): Likewise.
8072         * rtl.h: Add declarations for above functions.
8073
8074 Tue Feb 13 21:09:11 CET 2001  Jan Hubicka  <jh@suse.cz>
8075
8076         * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
8077         conditionals.
8078         * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
8079         * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
8080         * flow.c (mark_regs_live_at_end): Likewise.
8081         (calculate_global_regs_live): Likewise.
8082         * gcse.c (compute_hash_table): Likewise.
8083         (compute_kill_rd): Likewise.
8084         * resource.c (mark_target_live_regs): Likewise.
8085         * rtl.h (INVALID_REGNUM): New macro.
8086
8087 Tue Feb 13 20:59:22 CET 2001  Jan Hubicka  <jh@suse.cz>
8088
8089         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
8090
8091 Tue Feb 13 16:32:20 CET 2001  Jan Hubicka  <jh@suse.cz>
8092
8093         * i386.md (fixsfsi2, fixdfdi2): Force operand to register
8094         for SSE.
8095
8096 Tue Feb 13 14:53:16 CET 2001  Jan Hubicka  <jh@suse.cz>
8097
8098         * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
8099         too.
8100         (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
8101         (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
8102         (fop_sf_1_sse, fop_df_1_sse): New patterns
8103         (fop_*): Disable float_extend and float patterns for SSE compilation.
8104         * i386.c (output_387_binary_op): Support SSE.
8105
8106 Tue Feb 13 14:16:34 CET 2001  Jan Hubicka  <jh@suse.cz>
8107
8108         * i386.md (dummy_extendsfdf2): Support SSE2
8109         (extendsfdf2): Enable if 80387 or SSE2.
8110         (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
8111         and no MIX_I387_SSE2
8112         (extendsfdf2_1_sse_only): New pattern.
8113         (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
8114         of SSE.
8115         (truncdfsf2_1): Support SSE.
8116         (truncdfsf2_2): Support SSE.
8117         (truncdfsf2_2_1_sse): New pattern.
8118         (fixtruncsfsi2): Always use SSE if available.
8119         (fix_truncsfsi_sse): New pattern.
8120         (fix_truncdfsi_sse): New pattern.
8121         (floatsis?f2): Support SSE.
8122         (floatsidf2_i387): New pattern.
8123         (floatsidf2_sse): Likewise.
8124
8125 Tue Feb 13 07:52:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8126
8127         * configure.in: Use "have_gnat" variable, not "gnat".
8128         * configure: Regenerated.
8129
8130         * config/sparc/sparc.c (function_value): Treat all non-record
8131         aggregate types like used to treat UNION_TYPE.
8132
8133 Tue Feb 13 13:31:33 CET 2001  Jan Hubicka  <jh@suse.cz>
8134
8135         * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
8136         * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
8137         (MASK_SSE2): New.
8138         (MASK_MIX_SSE_I387): New.
8139         (TARGET_SSE): SSE2 imply SSE.
8140         (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
8141         (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
8142         (enum reg_class): Add new classes.
8143         (REG_CLASS_NAMES): Likewise.
8144         (REG_CLASS_CONTENTS): Likewise.
8145         (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
8146         (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
8147         supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
8148         (CLASS_MAX_NREGS): Use new macros.
8149         (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
8150         * i386.md (pushsf, movsf): Support SSE.
8151         (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
8152         splitters to use ANY_FP_REGNO_P.
8153         (movdf_nointeger, movdf_integer): Likewise.
8154
8155 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
8156
8157         * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
8158         (try_combine): Use it.
8159
8160 Tue Feb 13 11:37:06 CET 2001  Jan Hubicka  <jh@suse.cz>
8161
8162         * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
8163         MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
8164         (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
8165         (REGISTER_MOVE_COST): Likewise.
8166         * i386-protos.h (ix86_secondary_memory_needed,
8167         ix86_preferred_reload_class, ix86_register_move_cost): Declare.
8168         * i386.c (ix86_secondary_memory_needed,
8169         ix86_preferred_reload_class, ix86_register_move_cost): New function.
8170
8171 Die Feb 13 11:04:25 CET 2001  Jan Hubicka  <jh@suse.cz>
8172
8173         * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
8174         (HARD_REGNO_MODE_OK): Move offline to ....
8175         * i386.c (ix86_hard_regno_mode_ok) ... here;
8176         refuse all incorrect modes.
8177         * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
8178
8179 2001-02-13  Richard Henderson  <rth@redhat.com>
8180
8181         * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
8182         entire operator; replicate that and match_dup the operands.
8183         (cmp_ccx_arith_op_set): Likewise.
8184         (cmp_cc_arith_op_not_set): Likewise.
8185         (cmp_ccx_arith_op_not_set): Likewise.
8186
8187 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
8188
8189         * explow.c (trunc_int_for_mode): Sign-extend value to mode.
8190
8191 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
8192
8193         * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
8194         (TARGET_NO_BITFIELD_WORD): New macro.
8195         (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
8196         (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
8197
8198 Mon Feb 12 18:13:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8199
8200         * cselib.c: New file, from simplify-rtx.c.
8201         * simplify-rtx.c: Remove cselib parts.
8202         * Makefile.in: Add cselib.o.
8203
8204 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
8205
8206         * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
8207         (setup_incoming_varargs): Remove warning.
8208
8209         * config/rs6000/rs6000.c (validate_condition_mode): When
8210         flag_fast_math, allow floating-point conditionals to be reversed.
8211         (rs6000_generate_compare): When flag_fast_math, don't generate
8212         cror operations for FP conditionals.
8213
8214         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
8215         -mcall-i960.
8216         (ASM_SPEC): Likewise.
8217         (CC1_ENDIAN_LITTLE_SPEC): Likewise.
8218         (CC1_SPEC): Likewise.
8219         (LINK_TARGET_SPEC): Likewise.
8220         (CPP_ENDIAN_SPEC): Likewise.
8221         * Makefile.in (check-consistency): New target.
8222
8223 2001-02-12  Joseph S. Myers  <jsm28@cam.ac.uk>
8224
8225         * c-decl.c (grokdeclarator): In C99 mode, give the more specific
8226         "return type defaults" warning for functions with return type
8227         defaulting to int.
8228         * c-lang.c (c_init): In C99 mode, enable warnings for implicit
8229         function declarations by default rather than only when pedantic.
8230
8231 Mon Feb 12 17:28:48 CET 2001  Jan Hubicka  <jh@suse.cz>
8232
8233         * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
8234         arrays.
8235
8236 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
8237
8238         * extend.texi (Deprecated): Deprecate new initializer lists.
8239
8240 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
8241
8242         * mkdeps.c (deps_add_default_target): Robustify. Add
8243         basename component only.
8244         * cpp.texi (-M): Describe how default target is generated.
8245         * invoke.texi (-M): Likewise.
8246
8247 2001-02-12  Kazu Hirata  <kazu@hxi.com>
8248
8249         * toplev.c (push_float_handler): Remove.
8250         (pop_float_handler): Remove.
8251         * toplev.h: Remove prototypes for the above functions.
8252
8253 2001-02-12  Jakub Jelinek  <jakub@redhat.com>
8254
8255         * c-common.c (constant_fits_type_p): New function.
8256         (convert_and_check): Use it.
8257
8258 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
8259
8260         * Makefile.in (GXX_ABI_FLAG): Don't define.
8261         * configure.in (--enable-new-gxx-abi): Remove option.
8262         * config.in: Regenerated.
8263         * configure: Likewise.
8264
8265 2001-02-12  Alexandre Oliva  <aoliva@redhat.com>
8266
8267         * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
8268         basic block.
8269         (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
8270         regular basic block, and arrange for all edges into it to switch
8271         to normal mode.
8272
8273 2001-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8274
8275         * Makefile.in (distclean): Do not remove .gdbinit.
8276
8277 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
8278
8279         * Makefile.in (gcc.o): Fix typos.
8280         (protize.o): Likewise.
8281         (unprotoize.o): Likewise.
8282
8283 2001-02-11  Richard Henderson  <rth@redhat.com>
8284
8285         * tree.c (build1): Check for null operand in last change.
8286
8287 2001-02-11  Richard Henderson  <rth@redhat.com>
8288
8289         * fold-const.c (split_tree): Don't assume a constant isn't splittable.
8290         (fold): Don't assume a constant isn't foldable.
8291         * tree.c (build): Set TREE_CONSTANT for an expression with no
8292         side-effects and constant operands.
8293         (build1): Likewise.
8294
8295 2001-02-10  Richard Henderson  <rth@redhat.com>
8296
8297         * jump.c (squeeze_notes): Revert 2000-05-12 change.
8298
8299 2001-02-10  Anthony Green  <green@redhat.com>
8300
8301         * cpp.texi (Standard Predefined): Add documentation for
8302         __OPTIMIZE_SIZE__.
8303
8304         * c-common.c (combine_strings): Improve warning message.
8305
8306 2001-02-10  Geoffrey Keating  <geoffk@redhat.com>
8307
8308         * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
8309         --oformat.
8310         * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
8311
8312 Fri Feb  9 15:05:27 2001  Christopher Faylor <cgf@cygnus.com>
8313
8314         * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
8315         CYGWIN_CROSS_DIR.
8316
8317 2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
8318
8319         * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
8320         fp_mode attribute.
8321
8322 2001-02-09  Nick Clifton  <nickc@redhat.com>
8323
8324         * config/arm/arm.md: Change output contraint on post inc
8325         load/store multiple patterns to be a read/write contraint.
8326
8327 2001-02-09  Neil Booth  <neil@daikokuya.demon.co.uk>
8328
8329         * gcc.c (cpp_options): Delete .d files on error.  Don't delete
8330         .o files when using the -M options.
8331
8332 2001-02-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8333             David Edelsohn  <edelsohn@gnu.org>
8334
8335         * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
8336         handle DImode constants.  Use one TOC entry for SImode and smaller
8337         constants, aligned properly.
8338
8339 2001-02-08  Jason Merrill  <jason@redhat.com>
8340
8341         * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
8342         about the SP adjustment for saving the static chain pointer.
8343         * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
8344         offset when setting a temporary CFA register.
8345
8346 2001-02-08  Chandrakala Chavva  <cchavva@redhat.com>
8347
8348         * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
8349         powerpc-*-chorusos* .
8350         * config/rs6000/chorus.h : New file.
8351         * config/i386/chorus.h : New file.
8352         * config/sparc/chorus.h : New file.
8353         * config/sparc/t-chorus-elf : New file.
8354
8355 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
8356
8357         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
8358         * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
8359         * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
8360         (__WCHAR_TYPE__): Correct macro name.
8361
8362 2001-02-08  Richard Henderson  <rth@redhat.com>
8363
8364         * config/i386/i386.c (ix86_frame_pointer_required): New.
8365         (ix86_setup_frame_addresses): New.
8366         (struct machine_funciton): Add accesses_prev_frame.
8367         * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
8368         ix86_frame_pointer_required.
8369         (SUBTARGET_FRAME_POINTER_REQUIRED): New.
8370         (SETUP_FRAME_ADDRESSES): New.
8371         * config/i386/i386-protos.h: Update.
8372         * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
8373         from FRAME_POINTER_REQUIRED.
8374         * config/i386/svr3gas.h: Likewise.
8375         * config/i386/sysv3.h: Likewise.
8376         * config/i386/v3gas.h: Likewise.
8377
8378 2001-02-08  Richard Henderson  <rth@redhat.com>
8379
8380         * config/sparc/sparc.c (function_arg_record_value_3): Fix
8381         calculation of the number of integer registers required.
8382         (function_arg_record_value): Likewise.
8383
8384 2001-02-08  Jason Merrill  <jason@redhat.com>
8385
8386         * diagnostic.c (internal_error): Say "confused" after 1 error, not
8387         two.  Print file and line with "confused" message.
8388
8389         * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
8390
8391 Thu Feb  8 11:21:28 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8392
8393         * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
8394
8395 2001-02-08  Bernd Schmidt  <bernds@redhat.com>
8396
8397         * final.c (cleanup_subreg_operands): The address of a MEM can
8398         contain SUBREGs.
8399
8400         * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
8401         for asms, too.
8402
8403 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8404
8405         * gcc.texi (Incompatibilities): Update documentation of
8406         preprocessing numbers.
8407
8408 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
8409
8410         * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
8411
8412 2001-02-07  Mark Mitchell  <mark@codesourcery.com>
8413
8414         * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
8415
8416         * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
8417         * gcc.c (struct compiler): Add cpp_spec field.
8418         (input_file_compiler): New variable.
8419         (do_spec_1): Allow a particular compiler to handle `%C'
8420         specially.
8421         (main): Store the current compiler in input_file_compiler.
8422         * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
8423
8424 2001-02-07  Zack Weinberg  <zack@wolery.stanford.edu>
8425
8426         * cpphash.h (struct spec_nodes): Add n_true and n_false.
8427         * cppinit.c (cpp_create_reader): Initialize them.
8428         (append_include_chain): cxx_aware arg might be unused.
8429         * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
8430         keywords and give them their phase 7 meaning.  Pedwarn about
8431         this unless '__bool_true_false_are_defined' is defined.
8432
8433 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
8434
8435         * lcm.c (optimize_mode_switching): Emit mode_set before the
8436         JUMP_INSN of an abnormal edge.
8437
8438 2001-02-07  Bernd Schmidt  <bernds@redhat.com>
8439
8440         * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
8441         a scheduling barrier at the end.
8442
8443         * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
8444
8445 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
8446
8447         * config/sh/sh.md (reload_outsf): Removed.
8448         (movsf_ie): Introduce constraints for FPUL loads and stores.
8449         (reload_insf): Broaden the output constraint.
8450
8451         * config/elfos.h (INT_ASM_OP): Don't define it if it's already
8452         defined.
8453         * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
8454         ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
8455
8456 2001-02-06  Chandrakala Chavva  <cchavva@redhat.com>
8457
8458         * final.c: Revert my previous changes.
8459         * output.h: Make profile_label_no extern.
8460         * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
8461         for generating label.
8462
8463 2001-02-06  Laurynas Biveinis  <lauras@softhome.net>
8464
8465         * config/i386/djgpp.h: Add comments about standard paths.
8466         (MD_EXEC_PREFIX): Undefine before defining.
8467         (MD_STARTFILE_PREFIX): New.
8468
8469 2001-01-30  Bruce Korb  <bkorb@gnu.org>
8470
8471         fixinc/fixincl.c(process):  Emit error message only if appropriate :)
8472         (load_file): do not rely on load_file_data() to close file pointer
8473         fixinc/fixlib.c(load_file_data): do not close passed in file pointer
8474         fixinc/inclhack.def(irix_limits_const): add test_text
8475
8476 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
8477
8478         * cppexp.c (parse_defined): Improve diagnostics for invalid
8479         syntax.
8480
8481 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
8482
8483         * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
8484
8485 2001-02-06  Mark Mitchell  <mark@codesourcery.com>
8486
8487         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
8488         * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
8489         * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
8490         (rs6000_output_symbol_ref): New function.
8491         (output_toc): Use VTABLE_NAME_P.
8492
8493 Tue Feb  6 07:54:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8494
8495         * print-tree.c (print_node, case PARM_DECL):
8496         Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
8497
8498         * stor-layout.c (reference_types_internal): New variable.
8499         (internal_reference_types): New function.
8500         (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
8501         * tree.h (internal_reference_types): New declaration.
8502
8503         * cse.c (find_best_addr): Fix typo in computing cost.
8504
8505 Mon Feb  5 21:56:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8506
8507         * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
8508         and this is the sum of a pointer and a constant, we know the result
8509         did not overflow.
8510         (num_sign_bit_copies, case PLUS): Likewise.
8511         * explow.c (convert_memory_address): Remove opposite SUBREG.
8512         * function.c (instantiate_new_reg): New function (from common code).
8513         (instantiate_virtual_regs_1): Call it.
8514         For PLUS, handle if (plus (subreg (virt-reg) (const_int))
8515         if pointers sign- or zero-extend.
8516         * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
8517         If pointers extend unsigned, use inside of SUBREG.
8518         (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
8519
8520 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
8521
8522         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
8523         subdir of gcc_gxx_include_dir.
8524         (gcc_gxx_target_include_dir): Remove.
8525
8526 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
8527
8528         * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
8529         (dwarf2out_frame_debug_expr): Revise introductory comments to add
8530         a high-level description.
8531
8532 2001-02-05  Chandrakala Chavva  <cchavva@redhat.com>
8533
8534         * final.c: Move the declaration of profile_label_no to ...
8535         * output.h: ... here.
8536         * function.c (expand_function_start): Call PROFILE_HOOK.
8537         * config/rs6000/aix.h: Define PROFILE_HOOK.
8538         * config/rs6000/rs6000-protos.h: output_profile_hook new.
8539         * config/rs6000/rs6000.c (output_profile_hook): Define.
8540         (output_prolog): Do nothing for ABI_AIX as it is taken care by
8541         output_profile_hook.
8542         tm.texi : Explain new macro PROFILE_HOOK.
8543
8544 2001-02-06  Hans-Peter Nilsson  <hp@axis.com>
8545
8546         * extend.texi (Extended Asm): Do not say that semicolon is always
8547         a valid line-breaking character for GNU assemblers.  Use
8548         newline-tab as the most commonly supported syntax.  Use
8549         newline-tab rather than semicolon in multi-insn examples.
8550
8551 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8552
8553         * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
8554
8555 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8556             David Edelsohn  <edelsohn@gnu.org>
8557
8558         * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
8559         code for AIX, even without flag_pic.
8560
8561 2001-02-05  Jakub Jelinek  <jakub@redhat.com>
8562
8563         * c-typeck.c (common_type): push and pop binding level around
8564         calling common_type on function parameters.
8565
8566 Mon Feb  5 14:30:37 2001  Christopher Faylor <cgf@cygnus.com>
8567
8568         * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
8569
8570 Mon Feb  5 11:23:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8571
8572         * config/mips/mips.c (override_options): Fix typo in last change.
8573         (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
8574         (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
8575
8576 2001-02-05  Nathan Sidwell  <nathan@codesourcery.com>
8577
8578         * invoke.texi (-fdump-class-layout): Document.
8579         (-fdump-translation-unit): Use `=' as filename separator.
8580
8581 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
8582
8583         * Makefile.in (s-mlib): Don't build multilibs if
8584         --disable-multilib.
8585         (DRIVER_DEFINES): Adjust accordingly.
8586         (gcc.o): Likewise.
8587         (protoize.o): Likewise.
8588         (unprotoize.o): Likewise.
8589         * configure.in: Recognize --enable-multilib.
8590
8591 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
8592
8593         * Makefile.in (DRIVER_DEFINES): Fix quoting.
8594
8595         * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
8596         * configure.in: Remove --enable-libstdcxx_v3 support.
8597         * configure: Regenerated.
8598
8599 Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8600
8601         * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
8602         Call abort instead of fatal.
8603         (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
8604         * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
8605         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
8606         (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
8607         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
8608         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
8609
8610         * diagnostic.h (set_internal_error_function): Renamed.
8611         * toplev.h (internal_error): Renamed from fatal.
8612         (pfatal_with_name): Deleted.
8613         (fatal_io_error): Now has printf-style arguments.
8614         * diagnostic.c (pfatal_with_name): Deleted.
8615         (fatal_io_error): Rework to have args in printf-style.
8616         (set_internal_error_function): Renamed from set_fatal_function.
8617         (internal_error): Renamed from fatal.
8618         (error_recursion, fancy_abort): Call internal_error instead of fatal.
8619         * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
8620         * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
8621         * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
8622         * flow.c (verify_flow_info): Likewise.
8623         * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
8624         * config/mips/mips.c (save_restore_insns): Likewise.
8625
8626         * except.c (duplicate_eh_handlers): Call abort instead of fatal.
8627         * flow.c (verify_flow_info): Likewise.
8628         * config/arm/arm.c (thumb_load_double_from_address): Likewise.
8629         * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
8630         (avr_normalize_condition): Likewise.
8631         * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
8632         * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
8633         (limit_reload_class, double_reg_to_memory): Likewise.
8634         (print_operand_address, emit_1600_code_shift): Likewise.
8635         (gen_tst_reg, gen_compare_reg): Likewise.
8636         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
8637         * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
8638         Deleted.
8639         * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
8640
8641         * c-parse.in (methoddef): Call fatal_error instead of fatal.
8642         * objc/objc-act.c (build_ivar_chain): Likewise.
8643         * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
8644         pfatal_with_name.
8645         * graph.c (clean_graph_dump_file): Likewise.
8646         * profile.c (init_branch_prob): Likewise.
8647         * objc/objc-act.c (objc_init): Likewise.
8648
8649         * config/arm/arm.c (arm_override_options): Make errors non-fatal.
8650         * config/avr/avr.c (avr_override_options): Likewise.
8651         * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
8652         * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
8653         * config/h8300/h8300.c (h8300_init_once): Likewise.
8654         * config/mips/mips.c (override_options): Likewise.
8655         * config/i386/i386.c (override_options): Likewise, rework.
8656         * config/m68k/m68k.c (override_options): Likewise.
8657
8658         * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
8659         instead of fatal.
8660         * config/mips/mips.c (print_operand): Likewise.
8661         * hash.c (hash_allocate): Don't check for failure returns from
8662         obstack functions that can't fail.
8663         (hash_table_init_n, hash_table_init): Likewise; also now return void.
8664         * hash.h (hash_table_init_n, hash_table_init): Now return void.
8665         * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
8666         (get_object_reference): Likewise.
8667
8668 2001-02-04  Nick Clifton  <nickc@redhat.com>
8669
8670         * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
8671         StrongARM1110, 10TDMI, and 1020T.
8672
8673 2001-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8674
8675         * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
8676
8677 2001-02-04  Alexandre Oliva  <aoliva@redhat.com>
8678
8679         * config/sh/sh.md (movdf load split): Pass register number to
8680         FP_OR_XD_REGISTER_P.
8681
8682 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
8683
8684         * cppinit.c (BC): New macro.
8685         (builtin_array): Add __GXX_WEAK__.
8686         * cpplib.h (builtin_type): Add BT_WEAK.
8687         * cppmacro.c (builtin_macro): Handle BT_WEAK.
8688         * defaults.h (SUPPORTS_ONE_ONLY): Define.
8689         * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
8690
8691 2001-02-03  Jakub Jelinek  <jakub@redhat.com>
8692
8693         * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
8694
8695 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
8696
8697         * cpphash.h: Rename _ALIGN POOL_ALIGN.
8698         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
8699
8700 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
8701
8702         * cpphash.h: Rename ALIGN _ALIGN.
8703         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
8704
8705 Fri Feb  2 23:15:29 2001  Christopher Faylor <cgf@cygnus.com>
8706
8707         * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
8708         compilation environment.
8709         * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
8710         control over location of cygwin includes and libs.
8711
8712 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
8713
8714         * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
8715
8716 2001-02-02  lars brinkhoff  <lars@nocrew.org>
8717
8718         * md.texi (Standard Names): remove reference to spur.md.
8719
8720 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
8721
8722         * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
8723         (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
8724         (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
8725         * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
8726         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
8727
8728 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8729
8730         * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
8731         c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
8732         number before reload.
8733         (c4x_adjust_cost): Return zero before reload.
8734         * c4x.md (load_immed_address+1, load_immed_address+2): Do not
8735         split before reload.
8736
8737 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8738
8739         * c4x.c (c4x_hard_regno_rename_ok): New.
8740         * c4x-protos.h (c4x_hard_regno_rename_ok): New.
8741         * c4x.h (HARD_REGNO_RENAME_OK): Define.
8742
8743 Fri Feb  2 20:03:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8744
8745         * diagnostic.h: Add missing "extern" in all declarations.
8746
8747 2001-02-02  Alex Samuel  <samuel@codesourcery.com>
8748
8749         * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
8750         as for gcc_gxx_include_dir.
8751
8752 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
8753
8754         * cpp.texi, invoke.texi: Update -Wtraditional documentation.
8755
8756 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
8757
8758         * config/sh/sh.c (output_far_jump): Don't use braf on SH1.  Emit
8759         label before alignment to be used as the braf base address.
8760         * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
8761         branches.
8762         (casesi_jump_2): Require at least TARGET_SH2.
8763
8764         * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
8765         truncation to 32-bit doubles on -m3e and -m4-single-only.
8766
8767 2001-02-02  Mark Mitchell  <mark@codesourcery.com>
8768
8769         * gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
8770         the default when building a shared object.
8771         (init_spec): Use it.
8772         * testsuite/lib/g++.exp: Include the directory where libgcc
8773         is located to the LD_LIBRARY_PATH list.
8774         * invoke.texi (-shared-libgcc): Document the cases in which
8775         GCC defaults to using the shared libgcc.
8776
8777 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
8778
8779         * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
8780         unsigned is wide enough.
8781         (BITS_PER_SI): New.
8782         * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
8783         (si_to_float): Likewise.
8784         (float_to_si, float_to_usi): Use BITS_PER_SI.
8785
8786 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
8787
8788         * dwarf2out.c: Added explanation of abbreviations.
8789         (def_cfa_1): Added comments listing DWARF2 instructions.
8790         (cfa_temp_reg): Removed in favor of cfa_temp.
8791         (cfa_temp_value): Removed in favor of cfa_temp.
8792         (cfa_temp): New global variable.
8793         (dwarf2out_frame_debug_expr): Added extensive introductory
8794         comments explaining the function's transformations.  Revised to
8795         use cfa_temp.  Added some rtx checking.  Generalize IOR case.
8796         (dwarf2out_frame_debug): Revised to use cfa_temp.
8797         (output_aranges): Cast as "unsigned" to avoid warning.
8798         * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
8799         explain which instructions must be marked.
8800
8801 2001-02-01  Richard Henderson  <rth@redhat.com>
8802
8803         * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
8804         new instruction.
8805
8806 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
8807
8808         * config/sh/crt1.asm (main_k): Modified so that start calls
8809         ___setup_argv_and_call_main.
8810
8811 2001-02-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8812
8813         * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
8814         * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
8815         and AVOID_LPASTE is cleared on meeting an unescaped newline.
8816         * cppmacro.c (builtin_macro): Set builtin flags here.
8817         (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
8818         (replace_args): Clarify intent.
8819         (cpp_get_token): Macro expansion tokens get the saved flags.
8820         Update.
8821         * cppmain.c (scan_buffer): Remove now-redundant print.printed
8822         check.
8823
8824 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
8825
8826         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
8827         2001-Jan-29.
8828
8829 Thu Feb  1 07:22:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8830
8831         * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
8832         returns Pmode pseudo, but we need ptr_mode.
8833         * explow.c (allocate_dynamic_stack_space): Use plus_constant.
8834         Remove bogus conversions; use HOST_WIDE_INT for size.
8835         Don't use TARGET if wrong mode.
8836
8837         * config/i386/i386.c (ix86_compute_frame_size): Allow
8838         stack_alignment_needed to be non-default even if size is zero.
8839
8840 2001-01-31  Alan Modra <alan@linuxcare.com.au>
8841
8842         * pa.c (hppa_init_pic_save): New function.
8843         * pa.h (hppa_init_pic_save): Declare.
8844         * pa.md (call, call_value, sibcall, sibcall_value): Use
8845         the above instead of duplicated code.
8846
8847         * pa.c (hppa_encode_label): Correct size of alloca buffer
8848         so we don't overrun it.  Correct leading `*' case.
8849         * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
8850         need to handle `*@'.
8851         (FUNCTION_NAME_P): Likewise.
8852
8853 2001-01-31  Richard Henderson  <rth@redhat.com>
8854
8855         * config.gcc (alpha-osf5): Use float-i128.h.
8856
8857         * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
8858         * config/float-i32.h: Likewise.
8859         * config/float-i64.h: Likewise.
8860         * config/float-sh.h: Likewise.
8861         * config/float-sparc.h: Likewise.
8862
8863 2001-01-31  DJ Delorie  <dj@redhat.com>
8864
8865         * expmed.c (extract_bit_field): allow non-integral modes if we
8866         want to extract a whole register from itself.
8867
8868 2001-01-31  Jakub Jelinek  <jakub@redhat.com>
8869
8870         * c-typeck.c (set_init_index): If first is equal to last, assume as
8871         if it was not a range at all.
8872
8873 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
8874
8875         * config/fp-bit.c: Include tm.h.
8876         (float_to_si): Don't assume SImode is 32-bits wide.
8877         (float_to_usi): Likewise.
8878
8879 2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
8880
8881         * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
8882         incomplete type.
8883         (typename): Call pending_xref_error after parsing typed_typespecs.
8884         * c-decl.c (lookup_tag): Give error immediately rather than
8885         leaving it pending if the tag of the wrong type is in the same
8886         binding level.
8887         (xref_tag): Don't pedwarn for forward declarations of enum types
8888         here.
8889         * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
8890         and enum tags.
8891
8892 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
8893
8894         * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
8895
8896 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8897
8898         * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
8899         (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
8900
8901 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8902
8903         * cpphash.h (struct cpp_reader): New saved_flags.
8904         * cppmacro.c (cpp_get_token): Use saved_flags to remember
8905         to avoid a paste after a pasted token.
8906
8907 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
8908
8909         * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
8910         * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
8911         Wtype_MIN instead of LONG_MIN.
8912
8913 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
8914
8915         * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
8916         README file.
8917         * fixinc/fixincl.x: Regenerated.
8918         * fixinc/inclhack.def (irix_limits_const): New definition to
8919         convert "const" to "__const" in limits.h.
8920
8921 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
8922
8923         * fixinc/genfixes (AG): Fix "autogen4" thinko.
8924
8925 2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8926
8927         * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
8928         when register dies in the insn.
8929
8930 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
8931
8932         * diagnostic.c (fatal): Fix word wrap.
8933
8934 2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
8935
8936         * combine.c (try_combine): Fix SUBREG setting for
8937         HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
8938
8939 2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8940
8941         * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
8942         comparison codes.
8943
8944 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
8945
8946         * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
8947         is not NULL.
8948         * toplev.c (decode_W_option): Update warn_larger_than
8949         unconditionally for each processed switch.
8950
8951 2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8952
8953         * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
8954         to NULL_RTX.
8955         (hppa_expand_prologue): Delete code to save pic offset table register
8956         in the function prologue.
8957         * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
8958         * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
8959         table register at the beginning of the function after the prologue.
8960
8961 2001-01-29  lars brinkhoff  <lars@nocrew.org>
8962
8963         * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
8964
8965 2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8966             Jeff Law <law@redhat.com>
8967
8968         * pa.md (return): Revise comment for trivial return.
8969         (return_internal): Non-trivial return pattern for non-PIC code.
8970         (return_internal_pic): Non-trivial return pattern for PIC code.
8971         It uses the PIC register to ensure it is restored after
8972         function calls.
8973         (epilogue): Generate appropriate return for PIC and non-PIC code.
8974
8975 Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
8976
8977         * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
8978
8979 2001-01-29  DJ Delorie  <dj@redhat.com>
8980
8981         * combine.c (if_then_else_cond): Pass the correct mode to
8982         operand_subword() for constants.
8983
8984 Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
8985
8986         * config/i386/cygwin.h: Add w32api to include search.  Search different
8987         directories in a cross-build environment.
8988
8989 2001-11-29  Tim Josling  <tej@melbpc.org.au>
8990
8991         * tree.h (TYPE_STUB_DECL): Add documentation.
8992
8993 2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
8994
8995         * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
8996         (sdbout_field_types): Likwise.  Fix use of host_integerp.
8997
8998 2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
8999
9000         * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
9001         cygwin.h.
9002
9003 2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
9004
9005         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
9006         to use flag_gnu_linker.
9007
9008 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
9009
9010         * cpplib.c (T_BAD_DIRECTIVE): Remove.
9011         (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
9012
9013 2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
9014
9015         * tree.c, tree.h (build_parse_node): Remove; was identical to
9016         build_nt.
9017         * c-lang.c (start_cdtor), objc/objc-act.c
9018         (build_module_descriptor): Use build_nt instead of
9019         build_parse_node.
9020
9021 2001-01-29  Jakub Jelinek  <jakub@redhat.com>
9022
9023         * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
9024         (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
9025         not have any upper bits set.
9026
9027 2001-01-29  Phil Edwards  <pme@sources.redhat.com>
9028
9029         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
9030
9031 2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9032
9033         * stmt.c (estimate_case_costs): Use integer_minus_one_node.
9034
9035         * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
9036
9037         * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
9038         (integer_minus_one_node): Define.
9039
9040 2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
9041
9042         * Makefile.in (bootstrap2-lean): Fix typo.
9043
9044 2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
9045
9046         * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
9047         : Don't set fe_value.
9048         * cpplib.h (AVOID_LPASTE): New flag.
9049         (struct cpp_hashnode): Remove fe_value.
9050         * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
9051         * cppmacro.c (builtin_macro): Don't set flags here.
9052         (replace_args): Set AVOID_LPASTE flag on first token of an
9053         argument, and the token following it.
9054         (cpp_get_token): Set AVOID_LPASTE flag on first token of a
9055         macro expansion, and on the token following it.  Do it for
9056         builtins too.
9057         * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
9058
9059 2001-01-27  Richard Henderson  <rth@redhat.com>
9060
9061         * config/alpha/t-ieee: Remove multilibbing.
9062         (TARGET_LIBGCC2_CFLAGS): Add -mieee.
9063
9064 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9065
9066         * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
9067
9068         * Makefile.in: Remove all dependencies on defaults.h.
9069         * builtins.c: Don't include defaults.h.
9070         * c-common.c: Likewise.
9071         * c-decl.c: Likewise.
9072         * c-pragma.c: Likewise.
9073         * c-typeck.c: Likewise.
9074         * combine.c: Likewise.
9075         * i386.c: Likewise.
9076         * frame-ia64.c: Likewise.
9077         * cppexp.c: Likewise.
9078         * crtstuff.c: Likewise.
9079         * dbxout.c: Likewise.
9080         * dwarf2out.c: Likewise.
9081         * dwarfout.c: Likewise.
9082         * emit-rtl.c: Likewise.
9083         * except.c: Likewise.
9084         * expr.c: Likewise.
9085         * final.c: Likewise.
9086         * frame-dwarf2.c: Likewise.
9087         * libgcc2.c: Likewise.
9088         * optabs.c: Likewise.
9089         * profile.c: Likewise.
9090         * sdbout.c: Likewise.
9091         * toplev.c: Likewise.
9092         * tradcif.y: Likewise.
9093         * tree.c: Likewise.
9094         * varasm.c: Likewise.
9095
9096 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9097
9098         * builtins.c (expand_builtin_fputs): Use size_one_node when
9099         transforming into fwrite.
9100
9101 2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
9102
9103         * extend.texi (Attribute Syntax): New section.
9104
9105 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9106
9107         * fixproto: Correctly install synthesised unistd.h and stdlib.h when
9108         they didn't need fixing.
9109
9110 2001-01-27  Janis Johnson <janis@us.ibm.com>
9111
9112         * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
9113         if appropriate.
9114         * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
9115         to remove macro definitions that are duplicated from elfos.h.
9116
9117 2001-01-27  Richard Henderson  <rth@redhat.com>
9118
9119         * config/i386/sco5gas.h: Move ...
9120         * config/usegas.h: ... here.
9121         * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
9122
9123 2001-01-27  Jakub Jelinek  <jakub@redhat.com>
9124
9125         * c-typeck.c (struct constructor_stack): Add range_stack member.
9126         (really_start_incremental_init): Clear it.
9127         (push_init_level): Save constructor_range_stack and clear it if
9128         pushing explicit braces.
9129         (pop_init_level): abort if constructor_range_stack is non-zero at
9130         explicit closing brace.  Restore saved constructor_range_stack if
9131         not implicit.
9132
9133 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
9134
9135         * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
9136         into register was forced into memory.
9137
9138 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
9139
9140         * Makefile.in: Remove uses of + before $(MAKE).
9141
9142 2001-01-26  Richard Henderson  <rth@redhat.com>
9143
9144         * stmt.c (cost_table): Remove.
9145         (COST_TABLE, cost_table_initialized): New.
9146         (estimate_case_costs): Use the later instead of the former.
9147         (balance_case_nodes): Likewise.
9148
9149 2001-01-26  Richard Henderson  <rth@redhat.com>
9150
9151         * alias.c (objects_must_conflict_p): Read-only slots may not
9152         conflict despite having the same type.
9153
9154 2001-01-27  Michael Hayes  <mhayes@redhat.com>
9155
9156         * loop.c (loop_giv_reduce_benefit): Copy mode size into
9157         int variable.
9158         (check_ext_dependant_givs): Initialise u_start_val and
9159         u_end_val.
9160         (load_mems): Make last_max_reg unsigned.
9161         (try_swap_copy_prop): Use INSN_P and initialise set.
9162
9163 Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
9164
9165         * README.AVR : Removed.
9166
9167 Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
9168
9169         * pa-64.h (text_section): Remove declaration.
9170
9171         * pa.md (return_internal): Remove mode on PIC register use.
9172
9173 2001-01-25  lars brinkhoff  <lars@nocrew.org>
9174
9175         * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
9176         ASM_CLOSE_PAREN): fix typos.
9177
9178 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
9179
9180         * acconfig.h: Define `const' to the empty string if neither
9181         __STDC__ nor __cplusplus is defined.
9182         * config.in: Regenerated.
9183
9184 2001-01-25  David Edelsohn  <edelsohn@gnu.org>
9185
9186         * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
9187         * collect2.c (main): Delete importf.  Add ".obj" file extension.
9188         (GCC_CHECK_HDR): Handle AIX V5 new magic number.
9189         (aix_std_libs): Add additional AIX libraries to skip.
9190         * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
9191         * config/rs6000/aix51.h: New file.
9192
9193 2001-01-25  Michael Hayes  <mhayes@redhat.com>
9194
9195         * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
9196         (loop_insn_emit_before): No longer static.
9197         (move_movables): Replace emit_insn_after with loop_insn_emit_after.
9198         (loop_givs_rescan, load_mems): Likewise.
9199         (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
9200         (maybe_eliminate_biv_1):
9201         (move_movables): Replace emit_call_insn_before with
9202         loop_call_insn_hoist.
9203         * loop.h (loop_insn_emit_before): Add.
9204         * unroll.c (copy_loop_body): Replace emit_insn_before with
9205         loop_insn_emit_before.
9206
9207 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
9208
9209         * diagnostic.c (fatal): Request preprocessed source.
9210
9211 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
9212
9213         * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
9214         olddecl has argument types and newdecl has none, use the argument
9215         types from olddecl.
9216
9217 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
9218
9219         * dwarf2out.c (prefix_of): New function.  Determine longest common
9220         prefix of the two arguments.  The units are whole path components.
9221         (output_file_names): When adding a new directory find the one entry
9222         with the longest common prefix already in the list.  Artificially
9223         generate entry if there is none for this prefix.
9224         Fix test to check whether the zeroth directory entry is used.
9225
9226 Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
9227
9228         * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
9229         Changed all callers.  Take it into account when deciding if a
9230         previously loaded value matches.
9231
9232 2001-01-24  Richard Henderson  <rth@redhat.com>
9233
9234         * reload.c (find_reloads_subreg_address): Fail the substitution
9235         if the resulting address is insufficiently aligned.
9236
9237 2001-01-24  DJ Delorie  <dj@redhat.com>
9238
9239         * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
9240         check the original operand's mode also.
9241         * simplify-rtx.c (simplify_ternary_operation): Ditto.
9242
9243 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9244
9245         * c-parse.in (cast_expr): Move compound literals from here ...
9246         (primary): ... to here.  Use standard terminology "compound
9247         literal" instead of "constructor expression".
9248
9249 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9250
9251         * gcc.1, cpp.1: Regenerate.
9252
9253 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
9254
9255         * calls.c (emit_library_call_value_1): Memory slot for
9256         pass-by-reference argument should have the mode of the argument,
9257         not of the pointer to it.
9258
9259 2001-01-24  Tom Tromey  <tromey@redhat.com>
9260
9261         * gcc.texi (G++ and GCC): Mention gcj manual.
9262         (Standards): Link to section of manual mentioning gcj/Java
9263         compatibility.
9264
9265 2001-01-24  Jakub Jelinek  <jakub@redhat.com>
9266
9267         * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
9268         * cppinit.c (cpp_start_read): Remove deps_add_dep call.
9269         * tradcpp.c (main): Add -imacros or -include'd dependencies
9270         for -M*.
9271         * cpp.texi (-M, -MM): Document -M -include behaviour.
9272
9273 2001-01-24  Roger Collins <roger@ProProject.com>
9274
9275         * config/i386/xm-i386.h: Make __i386__ a boolean macro.
9276
9277 2001-01-24  Will Cohen  <wcohen@redhat.com>
9278
9279         * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
9280         whether registers are 32 bits or 64 bits in size.
9281
9282 2001-01-24  Ben Elliston  <bje@redhat.com>
9283
9284         * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
9285
9286 2001-01-24  Richard Henderson  <rth@redhat.com>
9287
9288         * config/alpha/alpha.md (builtin_longjmp_internal): New.
9289         (builtin_longjmp): Use it instead of emit_indirect_jump.
9290
9291 2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9292
9293         * bb-reorder.c (make_reorder_chain_1): Handle case where
9294         jump edge goes to the same block as the fallthru edge.
9295
9296 2001-01-23  Jim Wilson  <wilson@redhat.com>
9297
9298         * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
9299         * frame.h (__ia64_personality_v1): Add prototype.
9300         * libgcc2.c (ia64_throw_helper): Change personality declaration to
9301         prototype form.  Add void * cast to first argument to personality
9302         call.
9303         * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
9304         (asctoe113): Likewise.
9305         * config/ia64/frame-ia64.c: Include eh-common.h.
9306         * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
9307         prototypes.
9308         * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
9309         to dump parameter.
9310         (itanium_split_issue): Add prototype.
9311         (gen_nop_type): Ifdef out.
9312         (find_best_packet): Initialize best_packet.
9313         (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
9314         result.
9315         * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
9316         * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
9317         (flushrs): Add explicit stop bit at end.
9318         * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
9319         trailing \ to >.
9320
9321 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
9322
9323         * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
9324         of EH symbols.
9325         * libgcc2.c (__terminate_func): Make variable static.
9326         (__terminate_set_func): New function to set __terminate_func.
9327         * libgcc2.h (__terminate_func_ptr): New typedef.
9328         (__terminate_set_func): New function.
9329
9330 2001-01-23  Richard Henderson  <rth@redhat.com>
9331
9332         * flow.c (init_propagate_block_info): Don't consider unchanging
9333         memories for dead frame store elimination.
9334
9335 2001-01-23  Richard Henderson  <rth@redhat.com>
9336
9337         * varasm.c (UNIQUE_SECTION): Move default implementation ...
9338         * defaults.h: ... here.
9339
9340 2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9341
9342         * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
9343
9344 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
9345
9346         * c-lex.c (lex_charconst): Fix typo: s/p/str.
9347
9348 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9349
9350         * rs6000.h (rs6000_return_addr): Move prototype from here...
9351         * rs6000-protos.h (rs6000_return_addr): ...to here.
9352         (rs6000_init_expanders): Delete prototype.
9353
9354 2001-01-23  Nick Clifton  <nickc@redhat.com>
9355
9356         * invoke.texi: Replace , with \, inside @gccoptlist macros.
9357         (Spec Files): Document %B and %j and %. and %v3 and %M and
9358         %{S*&T} spec switches.
9359
9360 2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9361
9362         * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
9363
9364 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
9365             Neil Booth  <neil@daikokuya.demon.co.uk>
9366
9367         * cpperror.c: Merge handlers of PEDWARN and WARNING.
9368         Have -Werror make pedantic warnings errors, like the
9369         rest of GCC.
9370
9371 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
9372
9373         * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
9374
9375 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
9376
9377         * integrate.h (struct inline_remap): Add compare_src, compare_mode.
9378         * integrate.c (expand_inline_function): Initialize them.
9379         (subst_constants): If changing COMPARE so that both its arguments
9380         will be VOIDmode and the comparison mode will be lost, note
9381         compare_mode.  Use the recorded compare_mode to optimize
9382         IF_THEN_ELSE.
9383
9384 2001-01-23  Jason Merrill  <jason@redhat.com>
9385
9386         * dwarf2out.c (new_die): Use xcalloc.
9387         (output_die): Abort rather than emit a local reference to offset 0.
9388
9389 2001-01-17  Andrew Haley  <aph@redhat.com>
9390
9391         * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
9392         of a saved register; return NULL instead.
9393         (copy_reg): Take a pointer to a source register rather than a
9394         frame_state.
9395         (next_stack_level): Remember the address in the stack frame of all
9396         saved registers.
9397         Use the saved register pointer array as the source of the CFA.
9398         (throw_helper): Rewrite.  Unwind once rather than twice and keep
9399         track of saved registers as we go.
9400
9401 2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9402
9403         * c4x-protos.h (c4x_legitimize_reload_address): Remove.
9404         * c4x.c (c4x_legitimize_reload_address): Remove.
9405         * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
9406         reload address for ldp(k) insn.
9407
9408 Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
9409
9410         * pa.md (return_internal): Add a USE of the PIC register to ensure
9411         it is restored after each call.
9412         (return expander): Corresponding changes.
9413
9414 2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9415
9416         * rs6000.h (INIT_EXPANDERS): Delete.
9417         (RETURN_ADDR_RTX): Call rs6000_return_addr().
9418         * rs6000.c (rs6000_override_options): Call *_machine_status from
9419         here...
9420         (rs6000_init_expanders): ...instead of here. Delete.
9421         (rs6000_mark_machine_status): New function.
9422         (rs6000_init_machine_status): Use xcalloc.
9423         (rs6000_return_addr): Generate RTX for the return address.
9424         (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
9425         (rs6000_stack_info): Use it.
9426
9427 2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
9428
9429         * gthr-win32.h: Include errno.h to get a declaration for
9430         EINVAL and _mingw.h if the target is mingw32.
9431
9432 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
9433
9434         * cpp.texi: Correct typos.
9435
9436 Mon Jan 22 13:59:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9437
9438         * explow.c (probe_stack_range): Ensure value passed to
9439         stack_check_libfunc is ptr_mode, not Pmode.
9440
9441 Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
9442
9443         * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
9444         case, don't use operand_subword to calculate a SUBREG that is
9445         wider than a word.
9446
9447         * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
9448
9449 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9450
9451         * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
9452         (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
9453         valid.  If not replace it by equivalent insns.
9454
9455 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9456
9457         * c4x.c (c4x_check_legit_addr): Only check CONST.  Not if CONST
9458         contains SYMBOL_REF, LABEL_REF and CONST_INT.
9459         (c4x_U_constraint, symbolic_address_operand): Likewise.
9460         (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
9461         memory.
9462         (c4x_r11_set_p, c4x_check_laj_p): New functions.
9463         * c4x-protos.h (c4x_check_laj_p): Add prototype.
9464         * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
9465         anulling slot because of silicon bug.
9466         (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
9467
9468 2001-01-22  Alan Modra <alan@linuxcare.com.au>
9469
9470         * cppexp.c (parse_charconst):  Change `mask' type to agree
9471         with parse_escape.
9472
9473 2001-01-21  Richard Henderson  <rth@redhat.com>
9474
9475         * config/i386/i386.c (ix86_asm_file_end): Disable putting
9476         pic_label_name in a linkonce section.
9477
9478 2001-01-17  Philipp Thomas  <pthomas@suse.de>
9479
9480         * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
9481         found in libintl.
9482         * configure: Regenerate.
9483
9484 Sun Jan 21 02:38:56 2001  J"orn Rennecke <amylaar@redhat.com>
9485
9486         * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
9487         uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
9488
9489 Sun Jan 21 09:44:17 2001  Denis Chertykov  <denisc@overta.ru>
9490
9491         * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
9492         If REVERSE nonzero then condition code in X must be reversed.
9493         (encode_section_info): Optimise if/else.
9494         (avr_function_value): Fix formatting.
9495
9496         * config/avr/avr.md (branch): Call to ret_cond_branch changed.
9497         (difficult_branch): Likewise.
9498         (rvbranch): Likewise.
9499         (difficult_rvbranch): Likewise.
9500
9501         * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
9502
9503         * config/avr/libgcc.S: Fix comment.
9504
9505 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9506
9507         * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
9508
9509 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9510
9511         * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
9512
9513 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9514
9515         * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
9516         * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
9517         * configure, config.in: Regenerate.
9518         * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
9519         (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
9520         (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
9521         (doprint.o): New rule.
9522
9523 2001-01-20  Joseph S. Myers  <jsm28@cam.ac.uk>
9524
9525         * c-typeck.c (digest_init): Handle boolean types as scalars.
9526
9527 Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9528
9529         * stmt.c (expand_return): Don't return anything if size is zero.
9530         Delete redundant assignment to BYTES.
9531         * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
9532
9533 2001-01-20  Marek Michalkiewicz  <marekm@linux.org.pl>
9534
9535         * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
9536         the same as the default library function names.
9537         * config/avr/avr.md: Document special characters after '%'.
9538         (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
9539         knowing which of the call-used registers are really clobbered.
9540         (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
9541         New.  Both quotient and remainder from one libgcc.S call.
9542         * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
9543         clobber as few registers as possible.
9544         * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
9545
9546 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
9547
9548         * cppmacro.c (funlike_invocation_p): Don't move back up to the
9549         context of the top of the stack.
9550
9551 2001-01-20  Jakub Jelinek  <jakub@redhat.com>
9552
9553         * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
9554         (fixup_var_refs_insns): ...here.
9555
9556 2001-01-20  Zack Weinberg  <zack@wolery.stanford.edu>
9557
9558         * function.c (fixup_var_refs_insns): Break up into
9559         fixup_var_refs_insn [body of loop], fixup_var_refs_insns
9560         [loop over entire insn list], and fixup_var_refs_insns_with_hash
9561         [loop over hash table entries].
9562         (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
9563         fixup_var_refs_insns_with_hash, to match above changes.
9564
9565 2001-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9566
9567         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
9568         (libgcc.a): Likewise.
9569         (stmp-multilib): Likewise.
9570         (STAGE2_FLAGS_TO_PASS): Likewise.
9571
9572 2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
9573
9574         * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
9575         temporary if no_new_pseudos.
9576
9577 2001-01-19  Neil Booth  <neil@daikokuya.demon.co.uk>
9578
9579         * cppinternals.texi: Update.
9580
9581 2001-01-19  Richard Earnshaw  <rearnsha@arm.com>
9582
9583         * arm.c (arm_init_builtins): Re-enable builtins.
9584
9585 Fri Jan 19 13:02:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9586
9587         * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
9588         * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
9589         element to be null, and always expect an EXPR_LIST.
9590         * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
9591         * sched-deps.c (sched_analyze_1): Likewise.
9592         * sched-rgn.c (check_live_1, update_live_1): Likewise.
9593
9594         * regclass.c (max_set_parallel): New variable.
9595         (reg_scan): Take it into account in computation of max_parallel.
9596         (reg_scan_mark_refs, case SET): Compute it.
9597
9598         * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
9599         args are REG.
9600         * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
9601         * function.c (assign_parms): Use INTVAL for a CONST_INT.
9602
9603 2001-01-19  Jason Merrill  <jason@redhat.com>
9604
9605         * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
9606         for the abstract instance of an inline function.
9607
9608 Fri Jan 19 14:31:35 2001  Alexandre Oliva  <aoliva@redhat.com>
9609                           J"orn Rennecke <amylaar@redhat.com>
9610
9611         * reload1.c (move2add_note_store): Treat all registers directly or
9612         indirectly derived from a base register as members of the same set
9613         of values.
9614         (reload_cse_move2add): Adjust accordingly.  Take mode and offset
9615         of base register into account.
9616
9617 Fri Jan 19 09:18:42 2001  J"orn Rennecke <amylaar@redhat.com>
9618
9619         * alias.c (find_base_value): Recognize TRUNCATE.
9620         (record_set): In PLUS case, invalidate if other summand is also a
9621         base value.
9622
9623 Thu Jan 18 06:43:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9624
9625         * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
9626         entry to be EXPR_LIST.
9627         * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
9628         be an EXPR_LIST (but not null, which other code doesn't allow).
9629         (note_stores): Properly handle PARALLEL in SET.
9630         Recursively call for top-level PARALLEL.
9631         * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
9632         * sched-rgn.c (check_live_1, update_live_1): Likewise.
9633
9634         * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
9635
9636 2001-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
9637
9638         * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
9639         not pfile->skipping (== 0).
9640
9641 2001-01-17  Nick Clifton  <nickc@redhat.com>
9642
9643         * config/rs6000/rs6000.c: Add prototypes for {init|free}_
9644         machine_status.
9645
9646 2001-01-17  Jim Wilson  <wilson@redhat.com>
9647
9648         * invoke.texi (IA-64 options): Improve.
9649
9650 2001-01-17  Tom Tromey  <tromey@redhat.com>
9651
9652         * invoke.texi (Optimize Options): Use `{}' to around @samp
9653         argument.
9654
9655 2001-01-17  Aldy Hernandez  <aldyh@redhat.com>
9656
9657         * invoke.texi (-fno-guess-branch-probability): New option.
9658
9659 Wed Jan 17 13:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9660
9661         * combine.c (try_combine): Don't set i3_subst_into_i2 for
9662         case of making new double-word constant.
9663         Revert last change: instead just test i3_subst_into_i2.
9664
9665 2001-01-17  Jakub Jelinek  <jakub@redhat.com>
9666
9667         * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
9668         Use q constraints instead of r.
9669
9670 Tue Jan 16 22:23:04 2001  Alan Modra (alan@linuxcare.com.au)
9671
9672         * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
9673         (machine_function): Define.
9674         (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
9675         * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
9676         pa_free_machine_status): New functions.
9677         (override_options): Set {init,mark,free}_machine_status to above.
9678         (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
9679         PIC_OFFSET_TABLE_REGNUM_SAVED.
9680         * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
9681         PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
9682         * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
9683         references to PIC_OFFSET_TABLE_REGNUM_SAVED.
9684         * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
9685
9686 2001-01-15  DJ Delorie  <dj@redhat.com>
9687
9688         * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
9689         (cpp.1): Ditto.
9690         (gcc.1): Ditto.
9691
9692 Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9693
9694         * flow.c (propagate_one_insn): Make trying to delete a prologue
9695         or epilogue insn an ICE, not a warning.  Allow doing this if
9696         the current function returns with stack pointer depressed.
9697
9698         * combine.c (try_combine): If i3_subst_into_i2, properly check for
9699         I3 having more than one SET.
9700
9701 2001-01-16  Jim Wilson  <wilson@redhat.com>
9702
9703         * invoke.texi: Document IA-64 options.
9704
9705         * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
9706         (fixup_errata): Delete TARGET_A_STEP use.
9707         * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
9708         (TARGET_SWITCHES): Delete -ma-step option.
9709         * config/ia64/ia64.md (all FP patterns): Delete %B0.
9710         (movqicc_astep, movqi_internal_astep, movhicc_astep,
9711         movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
9712         movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
9713         movdfcc_astep, movdf_internal_astep, movtfcc_astep,
9714         movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
9715         Delete.
9716         (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
9717         movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
9718         cmovsi_internal): Delete ! TARGET_A_STEP check.
9719
9720 2001-01-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9721
9722         * gcc.texi (Bug Lists): Do not mention newsgroups nor the
9723         possibility to report bugs via postal mail. Change a URL and
9724         merge in a nearly duplicate statement...
9725         (Bug Reporting): ...from here.
9726         (Service): Refer to the Bug Reporting section instead of
9727         duplicating an URL.
9728         (Contributing): Remove trivial explanations concerning snapshots.
9729
9730 2001-01-16  Alan Modra <alan@linuxcare.com.au>
9731
9732         * cppmain.c (general_init): Don't use ANSI prototype.
9733
9734 2001-01-16  Tom Tromey  <tromey@redhat.com>
9735
9736         * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
9737
9738 2001-01-16  Richard Henderson  <rth@redhat.com>
9739
9740         * config/i386/i386.h: Fix comment typo.
9741         * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
9742         (ashr+compare patterns): Match CCGOCmode not CCNOmode.
9743
9744 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
9745
9746         * gcc.c:  Revert previous -fsyntax-only-related change; move
9747         to cp/g++spec.c.
9748
9749 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
9750
9751         * config/i386/i386.c (fcmov_comparison_operator): Only initialize
9752         inmode after checking GET_CODE (op).
9753
9754 2001-01-16  Richard Henderson  <rth@redhat.com>
9755
9756         * flow.c (struct propagate_block_info): Add mem_set_list_len.
9757         (MAX_MEM_SET_LIST_LEN): New.
9758         (propagate_one_insn): Update mem_set_list_len.
9759         (invalidate_mems_from_autoinc): Likewise.
9760         (invalidate_mems_from_set): Likewise.
9761         (mark_used_regs): Likewise.
9762         (init_propagate_block_info): Likewise.  Stop collecting memories
9763         when we reach MAX_MEM_SET_LIST_LEN.
9764         (mark_set_1): Likewise.
9765
9766 2001-01-16  Richard Henderson  <rth@redhat.com>
9767
9768         * unroll.c (precondition_loop_p): Fail if no iteration
9769         variable found.
9770
9771 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
9772
9773         * gcc.c:  When -fsyntax-only is given, do not complain about
9774         unused libraries.
9775
9776 2001-01-15  Richard Henderson  <rth@redhat.com>
9777
9778         * config/i386/i386.c (asm_output_function_prefix): Remove.
9779         (ix86_asm_file_end): New.
9780         (load_pic_register): Generate pic_label_name into a
9781         staticly allocated buffer.
9782         * config/i386/i386-protos.h: Update.
9783         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
9784         (ASM_FILE_END): New.
9785         * config/i386/i386afe.h: New file.
9786         * config.gcc (i?86-*-elf) [tm_file]: Use it.
9787         (i?86-*-{freebsd,linux*,moss*}): Likewise.
9788         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
9789         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
9790         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
9791         * config/i386/sco5.h (ASM_FILE_END): Likewise.
9792         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
9793
9794 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
9795
9796         * Makefile.in (install-man): Remove explicit dependency on
9797         $(srcdir)/gcc.1.
9798
9799         * configure.in, configure: Revert previous patch requiring perl
9800         5.6.0.
9801
9802 2001-01-12  Aldy Hernandez  <aldyh@redhat.com>
9803
9804         * toplev.c (flag_guess_branch_prob): New.
9805         (f_options): Add guess-branch-probability option.
9806         (rest_of_decl_compilation): Only estimate branch probability if
9807         flag set.
9808         (main): set flag_guess_branch_prob.
9809
9810         * flags.h (flag_guess_branch_prob): New.
9811
9812 2001-01-15  DJ Delorie  <dj@redhat.com>
9813
9814         * gcc.texi (Makefile): Add documentation for Makefile targets.
9815
9816 2001-01-15  Philip Blundell  <philb@gnu.org>
9817
9818         * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
9819         (is_pic): Delete.
9820         * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
9821         (is_pic): Delete declaration.
9822         * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
9823         (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
9824         * config/arm/arm.md (builtin_setjmp_receiver): New.
9825
9826 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9827
9828         * arm.c (use_return_insn): Don't try to determine the function type
9829         until after reload has completed.
9830         (arm_output_epilogue): Don't adjust the sp value recovered from the
9831         stack.
9832         (emit_multi_reg_push): Don't record dwarf information for the pc.
9833         * arm.md (eh_epilogue): The function type may have changed, so it
9834         needs to be recalculated.
9835         * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete.  Can now use dwarf2
9836         unwind tables on arm/netbsd.
9837
9838 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9839
9840         * arm.md (cbranchsi4): Correct calculation of branch ranges.
9841         (negated_cbranchsi4): Likewise.
9842
9843 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9844
9845         * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
9846         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
9847         (ASM_SPEC): Call subtarget_extra_asm_spec.  Don't
9848         pass -mapcs-* options to assembler.
9849         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
9850         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
9851         (ASM_SPEC): Call subtarget_extra_asm_spec.
9852
9853 2001-01-15  Andreas Jaeger  <aj@suse.de>
9854
9855         * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
9856         warnings.
9857         (ix86_expand_builtin): Likewise.
9858
9859         * gencodes.c (output_predicate_decls): Make i size_t to avoid
9860         warning about comparison between signed and unsigned.
9861
9862 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
9863
9864         * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
9865
9866 2001-01-14  Ralf Baechle <ralf@gnu.org>
9867
9868         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
9869         SUBTARGET_CPP_SPEC apropriatly.
9870
9871 2001-01-12  Mark Mitchell  <mark@codesourcery.com>
9872
9873         * varasm.c (make_decl_rtl): Fix typo in last change.
9874
9875 2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>
9876
9877         * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
9878         linker supports the init_priority C++ attribute.
9879         * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
9880         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
9881         linker does not support init_priority C++ attribute.
9882
9883 Sun Jan 14 22:31:30 2001  J"orn Rennecke <amylaar@redhat.com>
9884
9885         * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
9886
9887 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
9888
9889         * c-parse.in (finish_parse): Add comment about cpp_destroy.
9890         * cp/lex.c (finish_parse): Similarly.
9891         * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
9892         Return the number of errors encountered.
9893         * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
9894         * cppmain.c (main): Don't call cpp_destroy.
9895
9896 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
9897
9898         * configure.in: Require at least perl 5.6.0 to regenerate
9899         manpages.
9900         * configure: Regenerate.
9901
9902 2001-01-14  Richard Henderson  <rth@redhat.com>
9903
9904         * genrecog.c (DT_veclen_ge): New.
9905         (add_to_sequence) [MATCH_PARALLEL]: Generate one.
9906         (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
9907         (nodes_identical_1): Handle DT_veclen_ge.
9908         (write_cond, debug_decision_2): Likewise.
9909
9910 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
9911
9912         * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
9913         with ...
9914         (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
9915
9916 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
9917
9918         * cppmain.c (do_preprocessing): New function; most of the old
9919         main.
9920         (main): Call it to do most of the work.
9921         (cb): Move from global scope to set_callbacks ().
9922         (setup_callbacks): Get the callback pointer.
9923         (general_init, printer_init): Clean up code and comments.
9924
9925 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
9926
9927         * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
9928         compiling PIC.
9929
9930 2001-01-14  Kazu Hirata  <kazu@hxi.com>
9931
9932         * config/h8300/h8300.c (get_shift_alg): Update comments.
9933
9934 Sun Jan 14 06:20:49 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9935
9936         * ggc-page.c (alloc_annon): Call perror and correctly call exit.
9937         (alloc_page, ggc_alloc): Add casts to remove warnings.
9938
9939 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
9940
9941         * combine.c (simplify_comparison): Don't change `code' when
9942         can't reverse comparison.
9943
9944 2001-01-14  Richard Henderson  <rth@redhat.com>
9945
9946         * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
9947         update all call sites.  Return true for all non-label constants.
9948
9949 Sun Jan 14 10:09:48 MET 2001  Jan hubicka  <jh@suse.cz>
9950
9951         * i386.c (ix86_expand_compare): Add bypass_test and second_test
9952         parameters.
9953         (ix86_expand_branch): Update.
9954         (ix86_expand_setcc): Update to handle multiple test conditions.
9955         (expand_int_movcc): Likewise.
9956         (expand_fp_movcc): Likewise.
9957         * i386-protos.h (ix86_expand_compare): New.
9958         * i386.md (andqi_?_slp, orqi_?_slp): New.
9959         (conditional trap expander): Update call to ix86_expand_compare.
9960
9961 2001-01-14  Richard Henderson  <rth@redhat.com>
9962
9963         * config/vax/vax.md: Use nonimmediate_operand instead of
9964         general_operand in destinations.
9965
9966         * config/vax/vax.md (indirect_jump): Use register_operand.
9967
9968         * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
9969         * config/vax/vax.md (call_pop): Turn into an expander.
9970         (call_value_pop): Likewise.
9971         (call, call_value): New.
9972
9973 2001-01-14  Andreas Jaeger  <aj@suse.de>
9974
9975         * config/i386/i386.c (ix86_split_fp_branch): Remove unused
9976         variables.
9977         (ix86_fp_compare_mode): Add unused attribute.
9978         (ix86_expand_fp_movcc): Remove unused variable.
9979         (ix86_expand_builtin): Make fcode unsigned.
9980
9981         * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
9982         (expand_expr): Add cast to avoid signed warning.
9983         (store_field): Likewise.
9984         (store_constructor_field): Likewise.
9985         (store_constructor): Likewise.
9986         (store_expr): Likewise.
9987         (clear_storage): Likewise.
9988         (emit_group_store): Likewise.
9989         (emit_group_load): Likewise.
9990
9991 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
9992
9993         * c-common.c: Move format checking code to ...
9994         * c-format.c: ... here.  New file.  Reorder some functions and
9995         declarations.
9996         (decl_handle_format_attribute, decl_handle_format_arg_attribute):
9997         New functions.
9998         * c-common.h (decl_handle_format_attribute,
9999         decl_handle_format_arg_attribute): Declare.
10000         * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
10001         (c-common.o): Adjust dependencies.
10002         (c-format.o): New list of dependencies.
10003
10004 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
10005
10006         * unroll.c (loop_iterations): If we cannot prove iteration variable
10007         is set once in each iteration, punt.
10008
10009 Sun Jan 14 00:23:15 2001  Denis Chertykov  <denisc@overta.ru>
10010
10011         * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
10012         (*strlenhi): Remove clobber (which was buggy) of output address.
10013
10014 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
10015
10016         * Makefile.in (generated-manpages): Add gcc.1
10017         ($(srcdir)/gcc.1): New target.
10018         (maintainer-clean): Delete $(srcdir)/gcc.1.
10019         * gcc.texi: Add macros @gccoptlist and @gol.
10020         * invoke.texi: Include option summary in manpage.  Mark up option
10021         summary with @gccoptlist and @gol.  Use @r in one place where
10022         appropriate.
10023         * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
10024         * gcc.1: Generate from invoke.texi.
10025
10026 2001-01-13  Richard Henderson  <rth@redhat.com>
10027
10028         * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
10029         (struct page_entry): Add group member.
10030         (struct page_group): New.
10031         (struct globals): Add page_groups member.
10032         (alloc_anon): Only define for using mmap; remove valloc call.
10033         (page_group_index): New.
10034         (set_page_group_in_use): New.
10035         (clear_page_group_in_use): New.
10036         (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
10037         (free_page, release_pages): Likewise.
10038         * configure.in (with-gc): Default to ggc-page always.
10039
10040 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
10041
10042         * reload1.c (replace_pseudos_in_call_usage): Use
10043         reg_equiv_constant and reg_equiv_address, and don't try
10044         regno_reg_rtx first.
10045
10046 2001-01-13  Richard Henderson  <rth@redhat.com>
10047
10048         * ggc-page.c (alloc_page): Round up allocation size to one page.
10049         Set e->order on extra pages.
10050
10051 2001-01-13  Richard Henderson  <rth@redhat.com>
10052
10053         * genrecog.c (nodes_identical): Expand commentary.
10054         (write_switch): Watch out for identical nodes.
10055
10056 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10057
10058         * cppfiles.c (_cpp_fake_include): New function.
10059         * cpphash.h (_cpp_fake_include): New.
10060         * cpplib.c (do_line): Call _cpp_fake_include when entering
10061         header files in preprocessed input.
10062         * cppmain.c (cb_pragma_implementation): Remove handling.
10063         (setup_callbacks): Don't register pragmas.
10064
10065 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10066
10067         * extend.texi: Udate for CPP.
10068
10069 2001-01-13  Andreas Jaeger  <aj@suse.de>
10070
10071         * reload1.c: Add prototype for replace_pseudos_in_call_usage.
10072
10073         * regmove.c: Add prototype for replace_in_call_usage.
10074
10075 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10076
10077         * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
10078         struct cpp_chunk, struct htab, struct toklist,
10079         struct cpp_context, CPP_STACK_MAX, struct lexer_state,
10080         struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
10081         CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
10082         ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
10083         (struct macro_args): Delete.
10084         * cpphash.h: See above.
10085
10086 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10087
10088         * cppmain.c (struct printer): Remove no_line_dirs.
10089         (options, cb): New.
10090         (main, setup_callbacks, scan_buffer, printer_init, cb_define)
10091         : Use options rather than CPP_OPTION.
10092         (setup_callbacks): Use cb rather than pfile->cb.
10093         (main): No need to check for a buffer.  Use cpp_errors.
10094         (printer_init): Don't set no_line_dirs.
10095         (maybe_print_line): Use options not no_line_dirs.
10096         (cb_file_change): Don't call print_line if -P.
10097
10098 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10099
10100         * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
10101         callbacks.
10102         * c-parse.in (finish_parse): Use cpp_errors.
10103         (__yylex): Use return value of cpp_pop_buffer.
10104         * cp/lex.c (finish_parse): Use cpp_errors.
10105         * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
10106
10107 Sat Jan 13 16:57:40 2001  Denis Chertykov  <denisc@overta.ru>
10108
10109         * README.AVR: URLs corrected.
10110
10111 Sat Jan 13 07:30:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10112
10113         * c-decl.c (start_function): Don't warn if old prototype is builtin
10114         that's not in C's namespace.
10115         * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
10116         (_bb): Add prototype for ctime.
10117         * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
10118
10119 Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
10120
10121         * i386.c (ix86_fp_comparison_arithmetics_cost,
10122         ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
10123         ix86_fp_comparison_cost): New functions.
10124         (ix86_expand_fp_compare): Use the costs to choose best bethod; add
10125         two new parameters SECOND_TEST and BYPASS_TEST; allow generating
10126         two-branch sequences; make static.
10127         (ix86_use_fcomi_compare): Do decision according to the costs.
10128         (split_fp_branch): New.
10129         * i386.md (compare-and-branch patterns): Use split_fp_branch.
10130         * i386-protos.h (ix86_expand_fp_compare): Remove
10131         (ix86_split_fp_branch): Declare.
10132
10133         * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
10134         and ix86_comparison_operator.
10135
10136         * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
10137         to make it cheaper.
10138
10139         * i386.c (put_condition_code): Output properly the unordered/ordered
10140         compares in fp case.
10141         (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
10142
10143         * tm.texi (REVERSE_CONDITION): Document.
10144         * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
10145         in -ffast-math mode.
10146         * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
10147
10148 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
10149
10150         * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
10151
10152         * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
10153         optimized away.
10154
10155         * config/sh/sh.c (mova_p): Fix test for mova_const.
10156
10157 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10158
10159         * fix-header.c (read_scan_file): Use cpp_get_callbacks and
10160         cpp_get_options rather than dereferencing pfile and using
10161         CPP_OPTION.
10162         * scan-decls.c (scan_decls): Use return value of
10163         cpp_pop_buffer rather than CPP_BUFFER.
10164
10165 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10166
10167         * cppinit.c (cpp_handle_option): help_only is now part of the
10168         cpp_options structure.
10169         * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
10170         cpp_set_callbacks): New functions.
10171         * cpplib.h (cpp_callbacks): Break out as a named structure.
10172         (cpp_options): Move help_only here from cpp_reader.
10173         (CPP_FATAL_ERRORS): Update to use cpp_errors.
10174         (cpp_errors, cpp_get_options, cpp_get_callbacks,
10175         cpp_set_callbacks): New prototypes.
10176         * cppmain.c (main): Update for help_only.
10177
10178 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
10179
10180         * Makefile.in (info, maintainer-clean, install-info, uninstall):
10181         Also build and remove and install and uninstall c-tree.info and
10182         cppinternals.info.
10183         ($(srcdir)/gcc.info): Add dependency on contrib.texi.
10184         ($(srcdir)/cppinternals.info): New target.
10185         * c-tree.texi: Change file name used when makeinfo used without -o
10186         from ir.info to c-tree.info.  Add info directory entry.
10187         * cppinternals.texi: Add info directory entry.
10188         * .cvsignore: Update.
10189
10190 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
10191
10192         * c-typeck.c (store_init_value): Don't require constant initializer
10193         elements with -pedantic -std=c99.
10194         (digest_init): Change error about non-constant initializer elements
10195         into pedwarn.
10196         (constructor_range_end): Remove.
10197         (constructor_incremental, designator_depth,
10198         designator_errorneous): New variables.
10199         (struct constructor_stack): Remove range_end, add incremental.
10200         (struct constructor_range_stack, constructor_range_stack): New.
10201         (struct initializer_stack): Add constructor_range_stack.
10202         (finish_init): Set it.
10203         (start_init): Likewise.  require_constant_elements for non-static
10204         trees only if not flag_isoc99.
10205         (really_start_incremental_init): Remove constructor_range_end, add
10206         constructor_incremental.
10207         (pop_init_level): Likewise.
10208         (push_init_level): Likewise.  If implicit and the subobject had some
10209         value set already, preinitialize the level with it.
10210         Warn about missing braces only if not pushing due to designators.
10211         (set_designator, push_range_stack): New functions.
10212         (set_init_label): Use them.
10213         (set_init_index): Likewise.  Remove constructor_range_end.
10214         Error if designator index is outside of array bounds.
10215         (add_pending_init): Compare values of purpose index trees, not the
10216         trees themselves.  Allow overwriting of already initialized element.
10217         Issue a warning if it had side-effects.
10218         (set_nonincremental_init, set_nonincremental_init_from_string): New
10219         functions.
10220         (pending_init_member): Rename to...
10221         (find_init_member): ...this function.  Call set_nonincremental_init
10222         if necessary.  Compare values of purpose index trees, not the trees
10223         themselves.  Return the actual value, not just non-zero if something
10224         is found.
10225         (output_init_element): Remove checks for duplicates.
10226         If field has zero size, only check the initializer for correctness.
10227         Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
10228         if constructor_incremental is zero.  Change error about initializers
10229         not computable at load time into pedwarn.
10230         (output_pending_init_elements): Compare bit positions, not
10231         FIELD_DECLs to take into account zero-sized fields.
10232         (process_init_element): Use constructor_range_stack to fill all
10233         ranges in the designator lists from current level up.
10234         * extend.texi: Update documentation for labeled elements.
10235
10236 2001-01-12  Alexandre Oliva  <aoliva@redhat.com>
10237
10238         * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
10239         to function usage for arguments passed by reference.  Optimize
10240         callee-copied arguments.
10241         * regmove.c (replace_in_call_usage): New function.
10242         (fixup_match_1): Call it.
10243         * cse.c (cse_insn): Canonicalize registers in function usage.
10244         * reload1.c (replace_pseudos_in_call_usage): New function.
10245         (reload): Call it.
10246
10247         * Makefile.in: Reverted yesterday's wrong patch.  Installed the
10248         right version.
10249
10250 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
10251
10252         * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
10253         not XEXP (tmp, 0).
10254
10255 2001-01-12  DJ Delorie  <dj@redhat.com>
10256
10257         * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
10258         restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
10259         targets.
10260
10261 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
10262
10263         * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
10264         tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
10265         -std options alongside references to -ansi.  Update some
10266         documentation for C99.
10267         * cpp.1: Regenerate.
10268
10269 2001-01-12  Andreas Jaeger  <aj@suse.de>
10270
10271         * haifa-sched.c (restore_line_notes): Remove argument block B
10272         since it's unused.
10273         * sched-ebb.c (schedule_ebb): Change caller.
10274         * sched-rgn.c (schedule_region): Likewise.
10275         * sched-int.h (restore_line_notes): Adjust prototype.
10276
10277         * loop.h: Remove wrong declaration of doloop_condition_get.
10278
10279 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
10280
10281         * extend.texi:  Move C++-extension-related node from the C section
10282         into the C++ section.
10283
10284 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
10285
10286         * extend.texi: Refer to an array of pointers to functions instead
10287         of one of functions.
10288
10289 Fri Jan 12 12:08:12 MET 2001  Andreas Jaeger  <aj@suse.de>
10290                               Jan Hubicka  <jh@suse.cz>
10291
10292         * combine.c (reversed_comparison): Fix typo in last patch.
10293         Check X for NULL.
10294         (combine_reversed_comparison_code): Make static to follow
10295         prototype declaration.
10296
10297 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
10298
10299         * install.texi:  Remove misplaced duplicate entry.
10300
10301 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
10302
10303         * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
10304
10305 Thu Jan 11 17:06:30 EST 2001  John Wehle  (john@feith.com)
10306
10307         * final.c: (leaf_function_p): Fix typo.
10308
10309 2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>
10310
10311         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
10312         Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
10313         which you have.
10314         (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
10315         * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
10316         mmap_anon, and valloc is available.
10317         * ggc-page.c: Restructure ifdef logic to match new autoconf
10318         spec.  Don't throw away the test page in init_ggc.
10319
10320         * configure, config.in: Regenerate.
10321
10322 2001-01-12  Michael Hayes  <mhayes@redhat.com>
10323
10324         * loop.h (total_biv_increment): Constify iv_class pointer.
10325         (struct induction): Replace `mem_mode' with `mem' rtx.
10326         * unroll.c (total_biv_increment): Constify iv_class pointer.
10327         * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
10328         (find_mem_givs, combine_givs_p): Likewise.
10329         (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
10330
10331 2001-01-10  Thomas Pfaff <tpfaff@gmx.net>
10332
10333         * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
10334         LastError.
10335         (__gthread_getspecific): Ditto.
10336
10337 Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
10338
10339         * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
10340         put_condition_code): Convert fp comparison codes to integer
10341         before handling.
10342         (ix86_expand_fp_compare): Postnote the fp comparison code converison
10343         to final.
10344
10345         * i386.c (unsigned_comparison, no_comparison_operator): Kill.
10346         * i386-protos.h (no_comparison_operator): Kill.
10347
10348         * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
10349
10350         * combine.c (REVERSIBLE_CC_MODE): Remove.
10351         (reversible_comparison_p): Remove.
10352         (combine_reversed_comparison_code): New.
10353         (reversed_comparison): New.
10354         (combine_simplify_rtx): Use
10355         combine_reversed_comparison_code/reversed_comparison instead
10356         of reversible_comparison_p.
10357         (simplify_if_then_else): Likewise.
10358         (simplify_set): Likewise.
10359         (simplify_logical): Likewise.
10360         (if_then_else_cond): Likewise.
10361         (known_cond): Likewise.
10362         (simplify_comparison): Likewise.
10363
10364 2001-01-11  Alan Lehotsky  <lehotsky@tiac.net>
10365
10366         * builtins.c (std_expand_builtin_va_start): Handle varargs when
10367         sizeof (int) is larger than sizeof(__word__).
10368
10369 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10370
10371         * cppinit.c (do_includes): Fix typo.
10372
10373 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10374
10375         * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
10376         in S_REGS does not occur because not all sources are possible
10377         when a S_REGS is a destination (sometimes needs a clobber).
10378         (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
10379         (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
10380         (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
10381         (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
10382         (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
10383         (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
10384         (lshrdi_const1, lshrsi3_const16): Likewise.
10385         (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
10386         (*movhi_68hc12, *movqi_68hc12): Likewise.
10387         (movstrictqi): Make sure reloading in D_REGS as a destination
10388         does not happen.
10389
10390 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10391
10392         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
10393
10394 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10395
10396         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
10397         -D, -U and -A, and don't initialize the builtins.
10398         (do_includes): Error if -include or -imacros with -fpreprocessed.
10399         * cppmain.c (cb_define, cb_undef): Unconditionally process
10400         the callback.
10401         * tradcpp.c (main): Fix typo.
10402
10403 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
10404
10405         * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
10406         (read_name_map): Use IS_ABSOLUTE_PATH.
10407         * tradcpp.c (get_filename): Likewise.
10408
10409 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10410
10411         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
10412         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
10413         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
10414         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
10415         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
10416         (cmphi_z_used): Don't use '@' for the output.
10417         (tstqi_z_used): Likewise.
10418         (cmpqi_z_used): Likewise.
10419         (one_cmplsi2): Likewise.
10420
10421 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
10422
10423         * config/sh/sh.c (barrier_align): Recognize branch around far
10424         branch and redundant insn.
10425
10426 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10427
10428         * invoke.texi: Restore documentation of the drivers' switches -MD
10429         and -MMD.
10430
10431 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
10432
10433         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
10434
10435         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
10436         check-objc//%): Support parallel testing of multilibs.
10437         (TESTSUITEDIR): Set to testsuite by default, but override for
10438         parallel testing.
10439         (check-gcc, check-g++, check-g77, check-objc): Enter
10440         $(TESTSUITEDIR).
10441
10442 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
10443
10444         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
10445         * sched-deps.c (deps_may_trap_p): Likewise.
10446         * basic-block.h: Remove a comment.
10447         * flow.c (PROP_POSTRELOAD): Remove.
10448         (update_life_info): Don't add it to prop_flags.
10449         (mark_set_1): Lose the code that was enabled by it.
10450
10451 2001-01-11  Michael Hayes  <mhayes@redhat.com>
10452
10453         * flow.c (flow_call_edges_add): New.
10454         * basic_block.h (flow_call_edges_add): New.
10455
10456 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
10457
10458         * reload1.c (move2add_note_store): Update reg_set_luid even if
10459         base reg remains the same.
10460
10461 2001-01-10  Nick Clifton  <nickc@redhat.com>
10462
10463         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
10464         machine_function structure to zero.
10465         Add prototypes for machine_status functions.
10466
10467 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
10468
10469         * c-common.h (CTI_VOID_LIST): Remove.
10470         (void_list_node): Likewise.
10471         * tree.h (TI_VOID_LIST_NODE): New enumeral.
10472         (void_list_node): New macro.
10473         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
10474         * config/i386/i386.c (ix86_init_builtins): Likewise.
10475         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
10476
10477 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10478
10479         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
10480         * cppinit.c (cpp_start_read): Update comment, remove unneeded
10481         if statement.
10482         * tradcpp.c: Include mkdeps.h.
10483         (deps, print_deps_phony_targets, deps_append, output_deps,
10484         init_dependency_output, output_deps): New.
10485         (deps_buffer, deps_allocated_size, deps_size, deps_column,
10486         deps_output): Delete.
10487         (print_deps_missing_files): Rename deps_missing_files.
10488         (inhibit_output): Make global.
10489         (main): Delete inhibit_output, deps_stream, deps_target.
10490         Use mkdeps functionality in the same way as cpplib.  Remove
10491         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
10492         -M and -MM.  Remove old handling of deps via deps_out, and
10493         old reading of environment variables.
10494         (get_filename): Update to use deps_add_dep.
10495
10496 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
10497
10498         * output.h (make_function_rtl): Remove prototype.
10499         (make_decl_rtl): Likewise.
10500         * varasm.c (make_function_rtl): Remove.
10501         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
10502         than from a third parameter.
10503         * tree.h (make_decl_rtl): Remove last parameter.
10504         * c-decl.c (builtin_function): Remove last argument in call to
10505         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
10506         (start_function): Likewise.
10507         * except.c (call_get_eh_context): Likewise.
10508         * expr.c (emit_block_move): Likewise.
10509         (clear_storage): Likewise.
10510         * profile.c (output_func_start_profiler): Likewise.
10511         * toplev.c (rest_of_decl_compilation): Likewise.
10512         * objc/objc-act.c (create_builtin_decl): Likewise.
10513         (synth_module_prologue): Likewise.
10514         (generate_static_reference): Likewise.
10515         (build_selector_reference_decl): Likewise.
10516         (build_class_reference_decl): Likewise.
10517         (build_objc_string_decl): Likewise.
10518         (build_protocol_reference): Likewise.
10519
10520 2001-01-10  Richard Henderson  <rth@redhat.com>
10521
10522         * hwint.h: Revert yesterday's change.
10523
10524 2001-01-10  Nick Clifton  <nickc@redhat.com>
10525
10526         * function.h (save_machine_status): Delete.
10527         (restore_machine_status): Delete.
10528         Amend comment describing {init|mark|free}_machine_status.
10529
10530         * function.c (save_machine_status): Delete.
10531         (restore_machine_status): Delete.
10532         Amend comment describing {init|mark|free}_machine_status.
10533         (push_function_context_to): Remove invocation of
10534         save_machine_status.
10535         (pop_function_context_from): Remove invocation of
10536         restore_machine_status.
10537
10538         * emit-rtl.c (init_emit_once): Amend comment describing
10539         {init|mark|free}_machine_status.
10540
10541         * tm.texi (Per-Function Data): New node.  Describe the
10542         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
10543         function pointers.
10544
10545 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10546
10547         * cppinit.c (OPT_g): Remove.
10548         (cpp_handle_option): Update for removed -g3.
10549         (print_help): Update.
10550         * cpplib.h (struct cpp_options): Remove debug_output.
10551         * cppmain.c (setup_callbacks, cb_define): Update.
10552         * gcc.c (cpp_options): Translate -g3 to -dD.
10553
10554 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
10555
10556         * config/i960/i960.md: Change modifier to + on the zero_extract
10557         pattern after the (rotate -2 reg) canonicalization pattern.
10558
10559 2001-01-10  Richard Henderson  <rth@redhat.com>
10560
10561         * config/alpha/alpha.c (alpha_free_machine_status): New.
10562         (override_options): Install it.
10563         (alpha_mark_machine_status): Verify machine non-null.
10564         * config/i386/i386.c (ix86_free_machine_status): New.
10565         (override_options): Install it.
10566         (ix86_init_machine_status): Use xcalloc.
10567         (ix86_mark_machine_status): Verify machine non-null.
10568         * config/ia64/ia64.c (ia64_free_machine_status): New.
10569         (ia64_override_options): Install it.
10570         (ia64_mark_machine_status): Verify machine non-null.
10571
10572 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
10573
10574         * function.c (instantiate_virtual_regs): Instantiate virtual
10575         registers found in CALL_INSN_FUNCTION_USAGE.
10576
10577 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10578
10579         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
10580         equivalent to -ansi in disabling -Di386.
10581
10582 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
10583
10584         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
10585         new functions.
10586         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
10587
10588 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
10589
10590         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
10591
10592 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10593
10594         * invoke.texi: Document that -fcond-mismatch isn't supported for
10595         C++.
10596
10597 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10598
10599         * gcc.texi: Define macro gcctabopt.
10600         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
10601         @command, @env and @option in some places where appropriate.  Use
10602         @gcctabopt where appropriate.  Put URLs and email addresses inside
10603         @w.
10604
10605 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
10606
10607         * gcc.c (cpp_options): Set MD file name from output
10608         filename, if specified.
10609         (suffix_subst): New static variable.
10610         (do_spec): Clear it.
10611         (do_spec_1, case '.'): Handle new `%.suffix' spec.
10612         Clear it.
10613         (give_switch): Handle suffix_subst.
10614
10615 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
10616
10617         * invoke.texi:  Fix another typo.
10618
10619 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
10620
10621         * invoke.texi:  Fix typo.
10622
10623 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10624
10625         * c-lang.c (lang_hooks): Update.
10626         (lang_decode_option): Remove.
10627         (lang_init_options): Rename c_init_options.
10628         * toplev.c (main): Use lang_hooks for lang_init_options
10629         and lang_decode_option.
10630         * toplev.h (lang_hooks): Add 2 new hooks.
10631         * tree.h: Remove lang_init_options and lang_decode_option.
10632         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
10633         * cp/decl2.c: Similarly.
10634         * cp/lex.c (lang_init_options): Rename cxx_init_options.
10635         (lang_hooks): Update.
10636         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
10637         for consistency.
10638         (lang_init_options): Rename ffe_init_options.
10639         (lang_hooks): Update.
10640         (lang_decode_option): Remove.
10641         * java/lang.c (lang_init_options): Rename java_init_options.
10642         (lang_decode_option): Rename java_decode_option.
10643         (lang_hooks): Update.
10644         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
10645         (lang_decode_option): Rename objc_decode_option.
10646         (lang_hooks): Update.
10647
10648 2001-01-09  Nick Clifton  <nickc@redhat.com>
10649
10650         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
10651         (d30v_return_addr_rtx): Delete.
10652         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
10653         cfun->machine structure.
10654         (struct machine_function): Move to d30v.h
10655         (d30v_save_machine_status): Delete.
10656         (d30v_restore_machine_status): Delete.
10657         (d30v_init_machine_status): New Function.
10658         (d30v_mark_machine_status): New Function.
10659         (d30v_free_machine_status): New Function.
10660         (d30v_init_expanders): Use new functions.
10661         (d30v_return_addr): Use ra_rtx field in cfun->machine.
10662         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
10663         d30v_return_addr_rtx.
10664
10665         * config/d30v/d30v.h (struct_machine): Move here.
10666         Add eh_epilogue_sp_ofs field.
10667
10668         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
10669         field in cfun->machine structure.
10670
10671 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10672
10673         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
10674         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
10675         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10676
10677 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
10678
10679         * objc/lang-options.h: Remove bogus reference to
10680         Java trademark.
10681
10682 2001-01-09  Kazu Hirata  <kazu@hxi.com>
10683
10684         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
10685         return the result.
10686
10687 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
10688
10689         * reload.c (find_reloads_address): Check for eliminable registers
10690         when substituting a constant expression for a pseudo.
10691
10692 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
10693
10694         * c-common.c (enum format_type): Add format_type_error.
10695         (decode_format_type): New function.
10696         (decl_attributes): Use it.
10697         (format_kind_info): Adjust comment.
10698
10699 2001-01-09  David O'Brien  <obrien@BSDi.com>
10700
10701         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
10702         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
10703         files in tm_file.
10704         * config/i386/gnu.h: Don't include required platform specific .h files,
10705         tm.h will do it instead.
10706         * config/i386/i386elf.h: Likewise.
10707         * config/i386/linux.h: Likewise.
10708         * config/i386/moss.h: Likewise.
10709         * config/mips/gnu.h: Likewise.
10710
10711 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10712
10713         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
10714         (rs6000-ibm-aix3.[01]*): Likewise.
10715         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
10716         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
10717         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
10718         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10719         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
10720         (powerpc-*-eabiaix*): Likewise.
10721         (powerpc-*-eabisim*): Likewise.
10722         (powerpc-*-elf*): Likewise.
10723         (powerpc-*-eabi*): Likewise.
10724         (powerpc-*-rtems*): Likewise.
10725         (powerpc-*-linux*libc1): Likewise.
10726         (powerpc-*-linux*): Likewise.
10727         (powerpc-wrs-vxworks*): Likewise.
10728         (powerpcle-wrs-vxworks*): Likewise.
10729         (powerpcle-*-sysv*): Likewise.
10730         (powerpcle-*-elf*): Likewise.
10731         (powerpcle-*-eabisim*): Likewise.
10732         (powerpcle-*-eabi*): Likewise.
10733         (powerpcle-*-solaris2*): Likewise.
10734         * config/rs6000/aix31.h: Delete includes.
10735         * config/rs6000/aix3newas.h: Likewise.
10736         * config/rs6000/aix41.h: Likewise.
10737         * config/rs6000/aix43.h: Likewise.
10738         * config/rs6000/beos.h: Likewise.
10739         * config/rs6000/rtems.h: Likewise.
10740         * config/rs6000/sysv4.h: Likewise.
10741
10742 2001-01-09  Kazu Hirata  <kazu@hxi.com>
10743
10744         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
10745         Change an argument mode of machine_mode to shift_mode of
10746         shift_mode.  Remove an extra error check.
10747         (emit_a_shift): Adopt to the new calling prototype of
10748         get_shift_alg.
10749         (function_prologue): Fix code for a monitor
10750         function.  Support H8/S.
10751         (function_epilogue): Do not output pop for a monitor function.
10752
10753 2001-01-09  Nick Clifton  <nickc@redhat.com>
10754
10755         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
10756         (setup_incoming_varargs): Use sysv_varargs_p field of the
10757         cfun->machine structure.
10758         (struct machine_function): Move to rs6000.h
10759         (rs6000_save_machine_status): Delete.
10760         (rs6000_restore_machine_status): Delete.
10761         (rs6000_init_machine_status): New Function.
10762         (rs6000_free_machine_status): New Function.
10763         (rs6000_init_expanders): Use new functions.
10764
10765         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
10766         export.
10767         (struct machine_function): Move here.
10768
10769         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
10770         sysv_varargs_p field of the cfun->machine structure.
10771
10772         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
10773         Remove prototype.
10774         (rs6000_restore_machine_status): Remove prototype.
10775
10776 2001-01-09  Richard Henderson  <rth@redhat.com>
10777
10778         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
10779         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
10780         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
10781         (sched_analyze_2, sched_analyze_insn): Likewise.
10782         (sched_analyze, init_deps): Likewise.
10783         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
10784         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
10785         (compute_block_backward_dependences): Update propagate_deps call.
10786
10787 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
10788
10789         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
10790
10791 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10792
10793         * cppinit.c (OPT_MD, OPT_MMD): Restore.
10794         (cpp_handle_option): Handle them.
10795         (cpp_post_options): Ensure one of -M or -MM is specified with
10796         any other -M? option.
10797         (init_dependency_output): Suppress output with -MG.
10798
10799 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10800
10801         * cpp.texi: Update.
10802         * invoke.texi: Update.
10803
10804 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
10805
10806         * sh.md (reload_outsf): Generate recognizable patterns for
10807         TARGET_SH3E.
10808
10809 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10810
10811         * c-lang.c (lang_hooks): Update.
10812         (lang_init): Rename c_init.
10813         (lang_finish): Remove.
10814         * toplev.c (compile_file): Use lang_hooks for lang_init ()
10815         and lang_finish ().
10816         * toplev.h (lang_hooks): Add init () and finish ().
10817         * tree.h (lang_init, lang_finish): Remove.
10818         * cp/tree.h (lang_init, lang_finish): Remove.
10819         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
10820         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
10821         lang_hooks): New.
10822         (lang_init, lang_finish): Remove.
10823         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
10824         (lang_hooks): Update.
10825         * java/lang.c (lang_init): Rename java_init.
10826         (lang_finish): Remove.
10827         (lang_hooks): Update.
10828         * objc/objc-act.c (lang_init): Rename objc_init.
10829         (lang_finish): Remove.
10830         (lang_hoooks): Update.
10831
10832 20001-01-09  Graham Stott  <grahams@redhat.com>
10833
10834         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
10835         after `ptr` is initialised.
10836
10837 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
10838
10839         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
10840         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
10841         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
10842         stack adjusts, instead of r3.
10843
10844 2001-01-09  Michael Hayes  <mhayes@redhat.com>
10845
10846         * flow.c (flow_loop_scan): Break out of ...
10847         (flow_loops_find) ... here.
10848         * basic-block.h (flow_loop_scan): New.
10849         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
10850         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
10851
10852 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
10853
10854         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
10855         macro_buffer_len.
10856         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
10857         realloc()ing macro_buffer.
10858
10859         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
10860         if it's wider than long and the target's long is wider than the
10861         host's.
10862
10863 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
10864
10865         Remove support for using UWIN as a host machine.
10866         * configure.in: Issue an error message.
10867         * configure: Regenerated.
10868         * config.gcc: Remove xm_* UWIN configury.
10869         * config/i386/xm-uwin.h: Remove.
10870
10871 2001-01-08  Nick Clifton  <nickc@redhat.com>
10872
10873         * config/v850/v850.c (ra_rtx): Delete.
10874         (v850_save_machine_status): Delete.
10875         (v850_restore_machine_status): Delete.
10876         (v850_init_machine_status): New function.
10877         (v850_mark_machine_status): New function.
10878         (v850_free_machine_status): New function.
10879         (v850_return_addr): Use ra_rtx field in machine structure.
10880         (v850_init_expanders): Use new functions.
10881
10882         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
10883         * config/v850/v850.c: Change arguments to v850_output+* functions
10884         to take a const char *, to avoid compile time warning.
10885         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
10886         (USER_LABEL_PREFIX): Redefine.
10887
10888 2000-01-08  Jim Wilson  <wilson@redhat.com>
10889
10890         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
10891         1 to unsigned HOST_WIDE_INT before left shift.
10892
10893 2001-01-08  Nick Clifton  <nickc@redhat.com>
10894
10895         * config/arm/arm.c (arm_mark_machine_status): Check to see if
10896         the machine structure has been allocated.
10897         (arm_free_machine_status): New function: Free the machine
10898         specific function structure.
10899
10900 2001-01-08  Richard Henderson  <rth@redhat.com>
10901
10902         * jump.c (simplejump_p): Revert last change.
10903
10904 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
10905
10906         * cppinit.c (init): Rename init_library.
10907         (cpp_create_reader): Update.
10908         * gcc.c (cpp_options): If -o given, use it as the target of
10909         any -M options.
10910
10911 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
10912
10913         * arm.c (arm_arch5e): New variable.
10914         (all_cores): XScale is a 5TE device.
10915         (arm_override_options): Set arm_arch5e.
10916         (arm_init_builtins): __builtin_prefetch is in arch5e.
10917         * arm.h (arm_arch5e): Declare it.
10918
10919         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
10920
10921         * arm.md (define_constants): Add defines for UNSPEC and
10922         UNSPEC_VOLATILE insns.  Update all users.
10923         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
10924         * arm.c (multi_register_push, note_invalid_constants)
10925         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
10926         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
10927         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
10928
10929 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
10930
10931         * jump.c (jump_optimize_1): Use reversed_comparison_code
10932         instead of can_reverse_comparison_p.
10933         (jump_back_p): Likewise.
10934         (invert_exp_1): Likewise.
10935         (thread_jumps): Likewise.
10936         * simplify-rtx.c (simplify_unary_operation): Likewise.
10937         (simplify_ternary_operation): Likewise.
10938         * cse.c (find_comparison_args): Convert to use
10939         can_reverse_comparison_p.
10940         (record_jump_equiv): Likewise.
10941
10942 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
10943
10944         * arm.h (HARD_REGNO_RENAME_OK): Delete.
10945         (EPILOGUE_USES): Define.
10946         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
10947         automatically stack the LR if it isn't live.
10948
10949 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
10950
10951         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
10952         properly.
10953
10954 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
10955
10956         * ggc-page.c (max_alignment): New structure.
10957         (MAX_ALIGNMENT): New macro.
10958         (init_ggc): Use it to round up the sizes in the
10959         extra_order_size_table.
10960
10961 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10962
10963         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
10964         after reload.
10965
10966 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10967
10968         * builtins.def (BUILT_IN_FPRINTF): New entry.
10969
10970         * c-common.c (c_expand_builtin_fprintf): New function.
10971         (init_function_format_info): Handle __builtin_fprintf.
10972         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
10973         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
10974
10975         * c-decl.c (duplicate_decls): Adjust comment.
10976
10977         * extend.texi (fprintf): Document new builtin.
10978
10979 2001-01-07  Richard Henderson  <rth@redhat.com>
10980
10981         * jump.c (simplejump_p): Recognize any single_set jump
10982         of the proper form.
10983
10984 2001-01-07  Richard Henderson  <rth@redhat.com>
10985
10986         * configure.in (slibdir): Accept an --with-slibdir option.
10987         Use "test" not "[" in configure.  Default to $(libdir).
10988
10989         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
10990         fix typo in rm -f.
10991         * config/t-aix43 (SHLIB_INSTALL): Likewise.
10992         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
10993         (SHLIB_LINK): Create links for the soname.
10994         * config/mips/t-iris6: Likewise.
10995         * config/sparc/t-slibgcc: Likewise.
10996         * config/sparc/t-slibgcc-sld: Likewise.
10997
10998 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
10999
11000         * config/i386/i386.c (constant_call_address_operand): Accept
11001         (const (plus (symbol_ref) (const_int))).
11002         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
11003         constant_call_address_operand.
11004
11005 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11006
11007         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
11008         and LONG_LONG_TYPE_SIZE > 32.
11009
11010 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11011
11012         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
11013         the previous change.
11014
11015 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
11016
11017         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
11018         New.
11019         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
11020         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
11021         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
11022         Declare.
11023
11024 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11025
11026         * fix-header.c (read_scan_file): s/pfile/scan_in/.
11027
11028 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11029
11030         * c-lang.c (c_post_options): Call cpp_post_options.
11031         * objc/objc-act.c (objc_post_options): Similarly.
11032         * cppmain.c (main): Similarly.
11033         * fix-header.c (read_scan_file): Similarly.
11034         * cppinit.c (cpp_start_read): Move option consistency checks
11035         to cpp_post_options.  Don't call init_dependency_output.
11036         If needed, add default target and main file dependency.
11037         (OPT_MD, OPT_MMD): Remove.
11038         (OPT_MF): New.
11039         (cpp_handle_option): Update for OPT_* changes.
11040         (cpp_post_options): New.
11041         (init_dependency_output): Command line -MF overrides environment
11042         variables.  Don't set default target etc.  Suppress output
11043         if dependencies are going to stdout.
11044         (print_help): Update.
11045         * cpplib.h (cpp_post_options): New.
11046         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
11047
11048 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
11049
11050         * jump.c (comparison_dominates_p): Support unordered compares.
11051
11052 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
11053
11054         * simplify-rtx.c (simplify_relational_operation): Always simplify
11055         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
11056         and UNGE.
11057
11058 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
11059
11060         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
11061         (nonzero_bits): Likewise.
11062         (simplify_comparison): Likewise.
11063         (num_sign_bit_copies): Likewise; return more sane value depending
11064         on STORE_FLAG_VALUE.
11065         (known_cond): Do not assume EQ to be always true for equivalent
11066         operands.
11067
11068 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
11069
11070         * cse.c (fold_rtx): Handle unordered comparisons.
11071
11072 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
11073
11074         * rtlanal.c (set_of_1): New static function.
11075         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
11076          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
11077          reg_set_last_last_regno): Remove.
11078         (set_of): New global function.
11079         (set_of_data): New structure.
11080         (reg_set_p, reg_set_last): Revamp for set_of.
11081         * rtl.h (set_of): New.
11082
11083 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
11084
11085         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
11086         * extend.texi: Document _Exit builtin.
11087
11088 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11089
11090         * (initialize, initialize_builtins,
11091         initialize_dependency_output, initialize_standard_includes):
11092         Rename s/initialize/init. Update.
11093         (init_dependency_output): Move to after
11094         cpp_handle_options, the correct location temporally at least.
11095         (opt_comp): Move next to init (), its caller.  Fix prototype.
11096         (init): Make "initialized" local scope.
11097         (cpp_create_reader): Always call init ().
11098         (cpp_start_read): Update.
11099         (output_deps): New function, broken out of cpp_finish.
11100         (cpp_finish): Break out output_deps.
11101
11102 2001-01-07  Richard Henderson  <rth@redhat.com>
11103
11104         * collect2.c (COFF specific stuff): Revert 12-06 patch
11105         to prototype system functions.
11106
11107 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11108
11109         * hard-reg-set.h: Add multiple include guard.
11110         * basic-block.h (struct loop): Add `sink' field.
11111         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
11112         (emit_iv_add_mult): Delete.
11113         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
11114         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
11115         (unroll_loop): Remove end_insert_before argument.
11116         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
11117         (maybe_eliminate_biv_1): Likewise.
11118         (emit_iv_add_mult): Delete.
11119         (gen_add_mult, loop_regs_update): New.
11120         (loop_insn_emit_after, loop_insn_emit_before): New.
11121         (loop_insn_sink, loop_insn_sink_or_swim): New.
11122         (emit_iv_add_mult): Delete.
11123         (scan_loop): Set loop->sink.
11124         (loop_givs_reduce): Use loop_insn_sink and its ilk.
11125         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
11126         (maybe_eliminate_biv_1): Likewise.
11127         (maybe_eliminate_biv_1): Add basic block argument.
11128         * unroll.c (unroll_loop): Remove end_insert_before argument.
11129         (find_splittable_regs): Likewise.
11130         (find_splittable_regs): Use loop_insn_sink and its ilk.
11131         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
11132
11133 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11134
11135         * loop.h (loop_insn_hoist): New prototype.
11136         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
11137         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
11138         (check_dbra_loop, load_mems): Likewise.
11139         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
11140         (find_splittable_givs): Likewise.
11141
11142 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11143
11144         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
11145
11146 2001-01-07  Richard Henderson  <rth@redhat.com>
11147
11148         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
11149
11150 2001-01-07  Richard Henderson  <rth@redhat.com>
11151
11152         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
11153         NO_SHARED_LIBGCC_MULTILIB as required for the target.
11154         * gcc.c (init_spec): Massage the existing libgcc_spec into a
11155         variant that handles a shared libgcc.
11156         (process_command): Always validate -{static,shared}-libgcc.
11157         (do_spec_1): New 'M' case.
11158         * invoke.text (Link Options): Document -{static,shared}-libgcc.
11159
11160 2001-01-07  Richard Henderson  <rth@redhat.com>
11161
11162         * Makefile.in (slibdir): New variable.
11163         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
11164         (installdirs): Create slibdir.
11165         (install-libgcc, install-multilib): Defer to libgcc.mk.
11166         * configure.in (slibdir): Substitute.
11167         * mklibgcc.in (install): New target.
11168
11169         * config/t-linux (SHLIB_LINK): Create links for the soname.
11170         (SHLIB_INSTALL): New.
11171         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
11172         * config/mips/t-iris6 (SHLIB_INSTALL): New.
11173         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
11174         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
11175         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
11176
11177 2001-01-07  Richard Henderson  <rth@redhat.com>
11178
11179         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
11180         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
11181         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
11182
11183 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11184
11185         * loop.c (count_loop_regs_set): Delete.
11186         (load_mems_and_recount_loop_regs_set): Delete.
11187         (loop_regs_scan): Merge common code from count_loop_regs_set,
11188         scan_loop, and load_mems_and_recount_loop_regs_set.
11189         (scan_loop): Call load_mems directly and loop_regs_scan
11190         again if new registers created.
11191
11192 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11193
11194         * toplev.c (main): Call the front-end specific post_options
11195         hook if one is given.
11196         * toplev.h (struct_lang_hooks, lang_hooks): New.
11197         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
11198         for the C front end.
11199         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
11200         lang_hooks for the C++ front end.
11201         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
11202         lang_hooks for the ObjC front end.
11203         * f/com.c (lang_hooks): Hooks for the Fortran front end.
11204         * java/lang.c (lang_hooks): Hooks for the Java front end.
11205
11206 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11207
11208         * c-lex.c (init_c_lex): Request #define / #undef callbacks
11209         for verbose DWARF[2] debugging.
11210         (cb_define, cb_undef): The new callbacks.
11211         * toplev.h (debug_define, debug_undef): Make const correct.
11212         * toplev.c (debug_define, debug_undef): Similarly.  Do not
11213         perform the verbosity tests here anymore.
11214
11215 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
11216
11217         * reload.c (subst_reloads): Take INSN argument.  When
11218         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
11219         * reload.h (subst_reloads): Adjust prototype.
11220         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
11221         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
11222         present in JUMP_INSNs and copy them to JUMP_LABEL.
11223         * flow.c (find_label_refs, find_basic_blocks_1): Skip
11224         JUMP_INSNs and insns with REG_LABELs that are followed by
11225         JUMP_INSNs with the same REG_LABEL.
11226         * sched-rgn.c (is_cfg_nonregular): Likewise.
11227         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
11228         note is available.
11229         * unroll.c (unroll_loop): Look for REG_LABEL notes in
11230         JUMP_INSNs too.
11231         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
11232
11233 2001-01-06  Richard Henderson  <rth@redhat.com>
11234
11235         * loop.c (scan_loop): Use xcalloc for the regs array.
11236         (load_mems_and_recount_loop_regs_set): Zero the new memory
11237         received from xrealloc.
11238
11239 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
11240
11241         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
11242
11243 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
11244
11245         * integrate.c (copy_rtx_and_substitute): When copying
11246         an ignored return value, strip REG_FUNCTION_VALUE_P.
11247
11248 2001-01-06  Michael Hayes  <mhayes@redhat.com>
11249
11250         * loop.c (debug_biv, debug_giv): New.
11251         (loop_biv_dump): Break out from ...
11252         (record_biv): ... here.
11253         (loop_giv_dump): Break out from ...
11254         (record_giv): ... here.
11255         (loop_bivs_check): Use print_simple_rtl.
11256         * unroll.c (loop_iterations): Use print_simple_rtl.
11257
11258 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11259
11260         * pa.md (return, return_internal): Modify patterns to prevent regrename
11261         mucking with the return pointer.
11262
11263 2001-01-05  Richard Henderson  <rth@redhat.com>
11264
11265         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
11266
11267 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
11268
11269         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
11270         version supplied by Matteo Frigo.
11271
11272 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
11273
11274         * cpp.texi: Update for -MQ.
11275         * cppinit.c (cpp_create_reader): Always create pfile->deps.
11276         (cpp_cleanup): Always free pfile->deps.
11277         (initialize_dependency_output): Don't create pfile->deps.
11278         (cpp_handle_option): Similarly.
11279         (OPT_MQ): New.
11280         * gcc.c (cpp_options): Handle -MQ.
11281         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
11282         * mkdeps.c (base_name): Remove.
11283         (deps_init): Don't allocate vector space until it's needed.
11284         (deps_free): Only free vectors if allocated.
11285         (deps_add_target, deps_add_dep): Update for initial allocation.
11286         (deps_add_default_target): Don't strip to the base_name.
11287
11288 2001-01-05  DJ Delorie <dj@redhat.com>
11289
11290         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
11291         (INIT_EXPANDERS): Define.
11292
11293         * config/v850/v850.c (struct machine_function): Define.
11294         (v850_save_machine_status): New function.
11295         (v850_restore_machine_status): New function.
11296         (v850_return_addr): New function.
11297         (v850_init_expanders): New function.
11298
11299         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
11300         and v850_init_expanders.
11301
11302 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
11303
11304         * cpplib.h (struct cpp_reader): Add help_only field.
11305         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
11306         (cpp_handle_option): Set pfile->help_only if we see -h,
11307         --help, -target-help, or --version.  Print version string but
11308         do not set help_only if we see -v or -version.  Make text
11309         printed by -v match that printed by (-)-version.
11310
11311         * cppmain.c (main): Exit after option parsing if
11312         pfile->help_only is true.
11313
11314         * toplev.c (independent_decode_option): Call print_version,
11315         then exit, if we see --version (but not -version).
11316         (print_version): Split lengthy message into two lines.
11317
11318 2001-01-05  Nick Clifton  <nickc@redhat.com>
11319
11320         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
11321         temporary string for initialisation before calling ggc_alloc_string.
11322
11323 2001-01-06  Michael Hayes  <mhayes@redhat.com>
11324
11325         * rtl.h (print_simple_rtl): New.
11326         * print-rtl.c (print_simple_rtl): New.
11327         (flag_simple): New.
11328         (print_rtx): Disable printing of flags and modes, etc.,
11329         if `flag_simple` nonzero.
11330
11331 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
11332
11333         * function.c (fixup_var_refs): Use push_to_full_sequence where
11334         possible.
11335
11336 2001-01-05  Michael Meissner  <meissner@redhat.com>
11337
11338         * flags.h (flag_reorder_blocks): Add declaration.
11339         (flag_rename_block): Ditto.
11340
11341 2001-01-05  DJ Delorie  <dj@redhat.com>
11342
11343         * function.c (reorder_blocks): Make sure the flags are all reset
11344         before using them to mark blocks, else a second invocation will
11345         corrupt the block chain.
11346         (reorder_blocks_0): New, resets the flags.
11347
11348 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
11349
11350         * cse.c (find_comparison_args): Stop if the argument is known to
11351         be constant.
11352
11353 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11354
11355         * config/sh/sh.md (movdf): When splitting load into pair of
11356         registers, don't clobber the register used in the address too
11357         early.
11358
11359 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
11360
11361         * varasm.c (mark_constant_pool): Improve initial comments.
11362         (mark_constants): Move marking of constants to mark_constant.
11363         (mark_constant): New function to recursively mark all constants
11364         referred to by a constant.
11365
11366 2001-01-05  Catherine Moore  <clm@redhat.com>
11367
11368         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
11369
11370 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
11371
11372         * cp/lang-options.h:  Bring comment in line with reality.
11373         * f/lang-options.h:  Likewise.
11374         * java/lang-options.h:  Likewise.
11375         * objc/lang-options.h:  Likewise.
11376         * ch/lang-options.h:  Likewise.
11377         * f/g77.texi:  And update the manual.
11378
11379 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
11380             Denis Chertykov  <denisc@overta.ru>
11381
11382         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
11383         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
11384         * config/avr/avr.md (all peepholes that request a scratch register):
11385         Call it, FAIL the peephole if not safe (in interrupt functions).
11386
11387 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
11388
11389         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
11390
11391 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
11392
11393         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
11394         Define.
11395         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
11396         BUILT_IN_CREAL and BUILT_IN_CIMAG.
11397         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
11398         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
11399         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
11400         BUILT_IN_CIMAG.
11401         * extend.texi: Document these builtins.
11402
11403 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
11404
11405         * c-common.c (lang_get_alias_set): Say we know nothing of
11406         VECTOR_TYPE aliasing.
11407
11408         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
11409
11410 2001-01-05  Bruce Korb  <bkorb@gnu.org>
11411
11412         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
11413         their x* equivalent versions for atexit-less systems
11414         * fixinc/fixincl.c(main): do not return from main() on atexit-less
11415         systems (or any other system any more).
11416
11417 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
11418
11419         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
11420         output operands.  Use arm_hard_register_operand for operand 4.
11421         (stmsi_postinc): Similarly.
11422         (ldmsi): Use arm_hard_register_operand for opernand 2.
11423         (stmsi): Similarly.
11424         * arm.c (arm_hard_register_operand): New function.
11425         * arm-protos.h (arm_hard_register_operand): Prototype it.
11426
11427         * arm.h (HARD_REGNO_RENAME_OK): Define.
11428
11429 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
11430
11431         * simplify-rtx.c (cfc_args): add "unordered" field.
11432         (check_fold_consts): Set unordered field.
11433         (simplify_relational_operation): Simplify the unordered
11434         comparisons.
11435
11436         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
11437         is valid.
11438
11439         * emit-rtl.c (try_split): Fix code to mark labels.
11440         * jump.c (mark_jump_label): Make global.
11441         * rtl.h (mark_jump_label): Declare.
11442
11443         * predict.c (estimate_probability): Handle unordred comparisons.
11444
11445 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
11446
11447         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
11448         * cppinit.c (initialize_dependency_output):  Update.
11449         (cpp_finish): Output dummy targets for -MP.
11450         (OPT_MP): New.
11451         (cpp_handle_option): Handle -MP.  Don't quote -MT options.
11452         * cpplib.h (struct cpp_options): Add deps_phony_targets.
11453         * gcc.c (cpp_options): Update to handle -MP.
11454         * mkdeps.c (deps_add_target, deps_add_default_target): Update
11455         to quote only the default target.
11456         (deps_phony_targets): Insert a preceding newline.  Rename from
11457         deps_dummy_targets for consistency.
11458         * mkdeps.h: Update
11459
11460 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11461
11462         * calls.c (emit_library_call_value_1): Support
11463         INIT_CUMULATIVE_LIBCALL_ARGS.
11464         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
11465
11466 2001-01-04  Richard Henderson  <rth@redhat.com>
11467
11468         * c-decl.c (finish_struct): Detect flexible array members
11469         used in an inappropriate context.
11470         * c-typeck.c (really_start_incremental_init): Special case
11471         constructor_max_index for zero length arrays.
11472         (pop_init_level): Allow initialization of flexible array
11473         members.  Deprecate initialization of zero length arrays.
11474         Don't issue missing initializer warning for flexible array
11475         members or zero length arrays.
11476         (process_init_element): Don't dereference null DECL_SIZE.
11477         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
11478         Don't abort for empty constructors.  Use size_binop
11479         (output_constructor): Add commentary regarding zero length
11480         array futures.  Abort if we try to initialize an array of
11481         unspecified length with a non-empty constructor in the middle
11482         of a structure.
11483
11484         * extend.texi (Zero Length): Update and clarify documentation
11485         on static initialization.
11486
11487 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11488
11489         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
11490         with more than 32767 words of local storage.
11491
11492 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11493
11494         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
11495         for 'abs', 'labs', and 'fabs'.
11496         (c4x_expand_builtin): Likewise.
11497         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
11498
11499 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11500
11501         * config/sh/sh.md (prget, prset): New insn types.
11502         (return delay slot): Dont' allow prset.
11503         (call, sfunc delay slot): Don't allow prget.
11504         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
11505         for prset and prget.
11506
11507 2001-01-05  Michael Hayes  <mhayes@redhat.com>
11508
11509         * loop.h (struct loop_reg): New.
11510         (struct loop_regs): Change to use array of `struct loop_reg'.
11511         * loop.c: Replace assortment of varrays with single regs array.
11512         (count_one_set): Delete may_not_move array argument
11513         and use regs array instead.  All caller's changed.
11514         (count_loop_regs_set): Delete may_not_move and single_usage
11515         arguments and use regs array instead.  All caller's changed.
11516         (find_single_use_in_loop): Replace usage array argument with pointer
11517         to regs structure.  All caller's changed.
11518         (loop_optimize): Delete `moved_once' array.
11519
11520 2001-01-05  Michael Hayes  <mhayes@redhat.com>
11521
11522         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
11523         Use it instead of loop_info->has_call for scanning loop mems.
11524         (check_dbra_loop): Replace loop_info->has_call test with
11525         loop_info->has_nonconst_call.
11526
11527 2000-01-04  Matthew Hiller  <hiller@redhat.com>
11528
11529         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
11530         for TARGET_SH3E.
11531
11532 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11533
11534         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
11535         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
11536
11537 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11538
11539         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
11540         (flag_short_double, flag_short_wchar): Define.
11541         (c_common_nodes_and_builtins): Create many tree nodes shared
11542         between C and C++ here instead of in cp/decl.c and ...
11543         * c-decl.c (init_decl_processing): ... here.
11544         (SIZE_TYPE, WCHAR_TYPE): Don't define.
11545         (flag_short_double, flag_short_wchar): Don't define.
11546         (record_builtin_type): New function.
11547         (build_void_list_node): New function.
11548         * c-common.h (flag_short_double, flag_short_wchar,
11549         record_builtin_type, build_void_list_node): Declare.
11550
11551 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
11552
11553         * integrate.c (expand_inline_function): Don't put a virtual
11554         register into the reg map.
11555
11556         * function.c (fixup_var_refs_1): If force_operand didn't put
11557         the address into the target, move it there.
11558
11559 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
11560
11561         Special-case tree_decl/tree_list allocations.
11562         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
11563         (OBJECT_SIZE): New macro.
11564         (NUM_EXTRA_ORDER): Likewise.
11565         (extra_order_size_table): New variable.
11566         (NUM_ORDERS): New macro.
11567         (objects_per_page_table): New variable.
11568         (object_size_table): New variable.
11569         (G.pages): Use NUM_ORDERS to bound the array.
11570         (G.page_tails): Likewise.
11571         (DIV_ROUND_UP): Remove.
11572         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
11573         (alloc_page): Use OBJECT_SIZE.
11574         (size_lookup): Don't make it const.
11575         (ggc_alloc): Use OBJECT_SIZE.
11576         (ggc_set_mark): Likewise.
11577         (ggc_get_size): Likewise.
11578         (init_ggc): Set up the object_size_table, objects_per_page_table,
11579         and adjust size_lookup.
11580         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
11581         (ggc_pop_context): Use NUM_ORDERS.
11582         (clear_marks): Likewise.
11583         (sweep_pages): Likewise.
11584         (poison_pages): Likewise.
11585         (ggc_print_statistics): Use OBJECT_SIZE.
11586
11587 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11588
11589         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
11590         Only call array_size_for_constructor if last field and array type
11591         with no upper bound.
11592
11593 2001-01-04  Philip Blundell  <philb@gnu.org>
11594
11595         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
11596         from bit 31 downwards, if this requires no more insns.
11597         (count_insns_for_constant): New helper function for above.
11598
11599 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
11600
11601         * gencodes.c (output_predicate_decls): Remove empty initializer.
11602
11603 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
11604
11605         * tree.c (copy_node): Remove documentation about obstacks.
11606         (buidl1): Check that nobody tries to build 2-argument nodes this
11607         way.
11608
11609 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11610
11611         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
11612         fp_high_losum_p.
11613
11614         * gencodes.c (output_predicate_decls): Fill empty initializer
11615         braces.
11616
11617 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
11618
11619         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
11620         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
11621         or -MM.
11622         (do_include): Handle missing headers like cpp0.
11623         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
11624         paths with first include pathname.  Don't strcat to uninitialized
11625         string.
11626
11627 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
11628
11629         * regrename.c (regrename_optimize): Don't rename from frame pointer
11630         if frame_pointer_needed.
11631         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
11632         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
11633         (ia64_reorg): Use it instead of scheduling if ! optimize.
11634         (errata_emit_nops): Properly call asm_noperands.
11635         (ia64_sched_reorder): Finish cycle if we see an asm.
11636         (ia64_variable_issue): Clear scheduling state after asms.
11637
11638 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
11639
11640         * cpp.texi: Update for -MT.
11641         * cppinit.c (initialize_dependency_output): Add a default
11642         target if none has been given already.
11643         (no_tgt, OPT_MT): New.
11644         (cpp_handle_option): Handle -MT.  Update -M etc.
11645         * cpplib.h (struct cpp_options): Remove deps_target.
11646         * gcc.c (cpp_options): Handle -MT.
11647         * mkdeps.c (struct deps): Move from mkdeps.h.
11648         (deps_calc_target): Rename deps_add_default_target.  Add a
11649         default target if none has been specified already.
11650         * mkdeps.h (struct deps): Move to mkdeps.c.
11651         (deps_calc_target): Rename deps_add_default_target.
11652
11653 2000-01-03  Richard Henderson  <rth@redhat.com>
11654
11655         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
11656         Remove dead code.
11657         * c-typeck.c (push_init_level): Move checks for flexible array
11658         members and zero length arrays ...
11659         (pop_init_level): ... here.  Silently discard empty initializations.
11660         Remove dead code.
11661         * varasm.c (output_constructor): Update for sizeof change to
11662         zero-length arrays.
11663
11664         * extend.texi (Zero Length): Clarify semantics.
11665
11666 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11667
11668         * configure.in (tm.h): Include isns-codes.h last.
11669         * configure: Rebuilt.
11670
11671 2001-01-03  Richard Henderson  <rth@redhat.com>
11672
11673         * config/alpha/alpha.md (addvsi3, addvdi3): New.
11674         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
11675
11676 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11677
11678         * tradcpp.c (main): Make sure finclude() is called with a valid
11679         indepth value while handling -include.
11680
11681 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11682
11683         * gencodes.c (output_predicate_decls): New function.
11684         (main): Call it.
11685         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
11686         even if it is not the first time machmode.h is #included.
11687         * config/sh/sh.c (fpul_operand): Declare MODE argument.
11688         * tm.texi (PREDICATE_CODES): Document predicate declarations.
11689         * gcc.texi (Copyright): Added 2001.
11690
11691 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11692
11693         * c-common.c (c_common_lang_init): New function.  Warn if format
11694         warning options which only have effects when used with -Wformat
11695         are used without -Wformat.
11696         * c-common.h (c_common_lang_init): Declare.
11697         * c-lang.c (lang_init): Call c_common_lang_init.
11698         * objc/objc-act.c (lang_init): Call c_common_lang_init.
11699
11700 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11701
11702         * configure.in: Check for the mktemp command.
11703         * configure: Regenerate.
11704         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
11705         $TEMP.  Create temporary files with mktemp, if available at
11706         configure time; otherwise use set -C.  Remove temporary files
11707         before exit.
11708
11709 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11710
11711         * configure.in: Require at least texinfo 4.0.  Check for whether
11712         Pod::Man is sufficiently recent to regenerate GCC manpages.
11713         * configure:  Regenerate.
11714         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
11715         on #!.
11716         (GENERATED_MANPAGES): Define.
11717         (generated-manpages): New target.  Depend on cpp.1 as well as
11718         gcov.1.
11719         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
11720         configure to generated-manpages or empty) rather than on the
11721         manpages directly.  Remove execute permission from installed
11722         gcov.1 as well as cpp.1.
11723         * cpp.1, gcov.1: Regenerate.
11724
11725 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11726
11727         * builtins.c (expand_builtin_strncmp): Use host_integerp and
11728         tree_low_cst.  Allow using cmpstrsi in more cases.
11729
11730 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11731
11732         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
11733         sized types.
11734
11735 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
11736
11737         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
11738         * Makefile.in (HOST_CFLAGS): Mention build-make.
11739
11740 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11741
11742         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
11743         as JUMP_INSN.
11744
11745 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
11746
11747         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
11748         a REG rtx.
11749
11750         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
11751         callers changed.
11752
11753         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
11754         reg_base_value and reg_known_value arrays.
11755         (init_alias_analysis): Add more cases to detect known values.
11756         * sched-deps.c (deps_may_trap_p): New function.
11757         (sched_analyze_2): Use it.
11758
11759 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11760
11761         * combine.c (simplify_shift_const): Even if we're sign-extracting,
11762         don't discard an ASHIFTRT if we're shifting in a wider mode.
11763
11764 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11765
11766         * toplev.c (rest_of_compilation): Don't print basic block information
11767         when CFG isn't up to date.
11768
11769 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
11770
11771         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
11772         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
11773         (UNALIGNED_SHORT_ASM_OP): Define.
11774         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
11775
11776 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
11777
11778         * fold-const.c (fold_convert): Fix typo.
11779
11780 2001-01-02  Richard Henderson  <rth@redhat.com>
11781
11782         * c-common.h (ASM_INPUT_P): New.
11783         * c-parse.in (asm): Set it when needed.
11784         * c-semantics.c (genrtl_asm_stmt): Test it instead of the
11785         existance of an operand.
11786
11787 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
11788
11789         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
11790         (dwarf2out_frame_debug_expr): Likewise.
11791         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
11792
11793 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
11794
11795         * i386.c (ix86_split_to_parts): Return number of part required;
11796         handle TFmodes.
11797         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
11798         TFmodes.
11799         (ix86_split_long_move): Use number of part returned
11800         by ix86_split_to_parts
11801         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
11802         New macros.
11803         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
11804         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
11805         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
11806         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
11807         (ALIGN_MODE_128): Add TFmode.
11808         (IS_STACK_MODE): Likewise.
11809         (HARD_REGNO_NREGS): TFmode needs 3 registers.
11810         (HARD_REGNO_OK): Support TFmodes.
11811         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
11812         * i386.md (scheduler definitions): Use memory operand to determine
11813         fst/fld instructions; use mode attribute to determine real mode of
11814         the instruction.
11815         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
11816         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
11817
11818 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
11819
11820         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
11821
11822 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
11823
11824         * expr.c (store_constructor_field): Update ALIGN before calling
11825         store_constructor.
11826
11827 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
11828
11829         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
11830         host_integerp.
11831
11832 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
11833
11834         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
11835         incomplete type.
11836
11837 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
11838
11839         * c-decl.c (start_function): Don't warn on third parameter to main.
11840
11841 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11842
11843         * tsystem.h: Define HAVE_DECL_GETOPT.
11844
11845 2001-01-02  Philip Blundell  <pb@futuretv.com>
11846
11847         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
11848         of input operand.
11849
11850 2001-01-02  Richard Henderson  <rth@redhat.com>
11851
11852         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
11853
11854 2001-01-02  Andreas Jaeger  <aj@suse.de>
11855
11856         * c-decl.c (c_decode_option): Remove support of
11857         -Wmissing-noreturn.
11858
11859         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
11860         (W_options): Add -Wmissing-noreturn here.
11861
11862         * flow.c: Define lang_missing_noreturn_ok_p.
11863         (check_function_return_warnings): Use it.
11864
11865         * c-common.h: Declare lang_missing_noreturn_ok_p.
11866
11867         * c-lang.c (c_missing_noreturn_ok_p): New function.
11868         (lang_init): Set lang_missing_noreturn_ok_p.
11869
11870         * invoke.texi (Warning Options): Document this.
11871
11872 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
11873
11874         * extend.texi (C++ Extensions):  New node for C++ attributes;
11875         describe init_priority and com_interface.
11876         * invoke.texi:  Remove -finit-priority as it now has zero effect.
11877         * install.texi:  Fix xref syntax.
11878         * md.texi:  Likewise.
11879
11880 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11881
11882         * config.gcc (sparc64-wrs-vxworks*): New case.
11883         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
11884
11885         * config/sparc/sparc.c (sparc_override_options): Do support different
11886         pointer and architecture size.
11887         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
11888         (POINTERS_EXTEND_UNSIGNED): Define.
11889         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
11890         (FUNCTION_MODE): Define to be Pmode.
11891         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
11892
11893         * function.c (expand_function_end): Properly handle DECL_RESULT
11894         and copy when ptr_mode != Pmode.
11895         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
11896
11897 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11898
11899         * c-common.c (c_common_nodes_and_builtins): Set prototype
11900         parameters for __builtin_fputs, __builtin_fputc and
11901         __builtin_fwrite.  Don't declare plain fputc as a builtin.
11902
11903 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11904
11905         * loop.c (add_label_notes): Increment the label usage count when
11906         a note is added to an insn which refers to a CODE_LABEL.
11907         * gcse.c (add_label_notes): Likewise.
11908
11909 2001-01-01  Andreas Jaeger  <aj@suse.de>
11910
11911         * loop.c (scan_loop): Use xmalloc to allocate movables.
11912
11913 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
11914
11915         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
11916         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
11917         * reload1.c (REGISTER_MOVE_COST): Likewise.
11918         * regclass.c (REGISTER_MOVE_COST): Likewise.
11919         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
11920         dimension.  Adjust all users.
11921         (init_reg_sets_1): Iterate on all modes.
11922         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
11923         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
11924         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
11925         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
11926         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
11927         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
11928         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
11929         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
11930         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
11931         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
11932         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
11933         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
11934         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
11935         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
11936         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
11937         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
11938         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
11939         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
11940         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
11941         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
11942         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
11943         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
11944         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
11945         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
11946         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
11947         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
11948         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
11949
11950 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
11951
11952         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
11953         arg VARIES_P.  Call it with extra arg.
11954         (true_dependence): Likewise.
11955         * rtl.h (rtx_addr_can_trap_p): Declare.
11956         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
11957         prototypes.
11958         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
11959         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
11960         pic offset table register if it's zero.  All callers changed.
11961         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
11962
11963 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11964
11965         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
11966         STRING_POOL_ADDRESS_P.
11967
11968         * config/sparc/sparc.c (input_operand): Properly test for short op.
11969
11970         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
11971         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
11972         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
11973         * config/sparc/elf.h: No longer include sol2.h.
11974         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
11975         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
11976
11977         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
11978
11979 2001-01-01  Michael Hayes  <mhayes@redhat.com>
11980
11981         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
11982         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
11983         (record_initial): Likewise.
11984         * unroll.c (copy_loop_body, loop_iterations): Likewise.
11985         (remap_split_bivs): Likewise.
11986
11987 2001-01-01  Michael Hayes  <mhayes@redhat.com>
11988
11989         * loop.c (loop_ivs_free): New function.
11990         (strength_reduce): Break out from...
11991
11992 2001-01-01  Michael Hayes  <mhayes@redhat.com>
11993
11994         * loop.h (struct iv): New.
11995         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
11996         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
11997         'reg_biv_class' fields with 'regs' and 'n_regs'.
11998         (struct ivs): Rename 'loop_iv_list' field to 'list'.
11999         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
12000         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
12001
12002 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
12003
12004         * resource.c (mark_referenced_resources): Abort() before
12005         attempting to mark a pseudo register.
12006         (mark_set_resources): Likewise.
12007
12008 2001-01-01  Michael Hayes  <mhayes@redhat.com>
12009
12010         * loop.h (REG_IV_CLASS): New accessor macro.
12011         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
12012         * unroll.c (REG_IV_CLASS): Likewise.
12013
12014 See ChangeLog.4 for earlier changes.