OSDN Git Service

fad93e2073dc1f41143cb1a056a55ddacfe42515
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-06-03  David Edelsohn  <edelsohn@gnu.org>
2
3         * doc/install.texi: Update AIX information again.
4
5 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
6
7         * doc/gcc.texi, doc/install-old.texi: Remove old system-specific
8         installation documentation.
9         * doc/install.texi: Move it to here.
10
11 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
12
13         * doc/install.texi: Clean up Texinfo markup.
14
15 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
16
17         * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents
18         to just after title page.
19
20 2001-06-02  Joseph S. Myers  <jsm28@cam.ac.uk>
21
22         * doc/install-old.texi: Remove documentation of some configuration
23         options.
24         * doc/install.texi: Add relevant parts of this documentation here.
25
26 2001-06-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
27
28         * contrib.texi: Updated entries for Mark Mitchell, Joseph S. Myers,
29         Gerald Pfeifer, Bernd Schmidt, and Dean Wakerley.
30
31 Sat Jun  2 12:23:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
32
33         * i386.md (all uses of ext_register_operand): Make sure they are
34         VOIDmode; replace all uses outside zero_extend.
35         (and?i splitters): Use ext_register_operands.
36         (test?i peep2): Remove ignored constraints.
37         * i386.c (ext_register_operand): Check that operand is
38         eighter pseudo or hard or 'Q' register.
39
40 Sat Jun  2 06:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
41
42         * tree.h (struct record_layout_info_s): New field unpadded_align.
43         (set_lang_adjust_rli): New declaration.
44         * stor-layout.c (layout_decl): If DECL is packed, but at alignment
45         it would have if not packed, do not downgrade DECL_ALIGN.
46         (lang_adjust_rli, set_lang_adjust_rli): New.
47         (start_record_layout): Initialize new field unpadded_align.
48         (debug_rli): Display it.
49         (place_union_field, place_field): Set it.
50         (layout_type, case RECORD_TYPE): Call via lang_adjust_rli if set.
51
52         * print-tree.c (print_node): Don't print "regdecl" when bit doesn't
53         mean that; use proper names instead.
54         Print DECL_NO_STATIC_CHAIN.
55
56         * except.c (expand_builtin_frob_return_addr): Add missing call
57         to convert_memory_address #ifdef POINTERS_EXTEND_UNSIGNED.
58         (expand_builtin_eh_return): Likewise.
59         (expand_eh_return): Clean up ptr_mode != Pmode cases.
60
61 2001-06-01  Jan van Male  <jan.vanmale@fenk.wau.nl>
62
63         * doc/invoke.texi: Remove references to papers about sequence points
64         to readings.html, refer to that page.
65
66 2001-06-01  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
67
68         * README: Update references to installation instructions.
69
70 2001-06-01  Laurent Guerby  <guerby@acm.org>
71             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
72
73         * doc/install.texi: Define srcdir when sources come from CVS.
74         Significantly improve markup.  Wrap overly long lines
75
76 2001-06-01  DJ Delorie  <dj@redhat.com>
77
78         * c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
79         extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi, objc.texi,
80         rtl.texi, tm.texi, texinfo.tex: Move to doc subdirectory.
81         * install.texi: Move to doc/install-old.texi.
82         * gcc.texi: Move to doc, refer to install-old.texi.
83         * Makefile.in: Reflect move of docs to doc/.
84         * f/Make-lang.in: Ditto.
85         * java/Make-lang.in: Ditto.
86         * doc/.cvsignore: New.
87         
88 2001-05-31  Jan van Male  <jan.vanmale@fenk.wau.nl>
89
90         * invoke.texi: use two spaces between command options, eliminate
91         some 'overfull hboxes'
92
93 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
94
95         * Makefile.in (s-mlib): Make backtick-commands always succeed.
96         (DRIVER_DEFINES): Ditto.
97
98 2001-05-31  Richard Henderson  <rth@redhat.com>
99
100         * gcc.c (init_gcc_specs): When linking against libgcc_s.so,
101         also link against libgcc.a.
102
103 2001-05-31  Geoff Keating  <geoffk@cygnus.com>
104
105         * config/mips/mips.h (ASM_OUTPUT_ASCII): Convert to function.
106         * config/mips/mips.c (mips_output_ascii): New function.
107         * config/mips/mips-protos.h (mips_output_ascii): Prototype.
108
109         * config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Force to 4.
110
111 Thu May 31 19:09:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
112
113         * flow.c (set_block_for_new_insns): Remove bogus shortcut.
114         * i386.c (ix86_expand_int_movcc): Force one of operands to be register.
115
116 2001-05-31  Rodney Brown  <rbrown64@csc.com.au>
117
118         * install.texi (Configuration): Add html links for --with-gnu-as &
119         --with-gnu-ld and refer to them from hppa & SCO triplets.
120         (Specific): Link back to with-gnu-ld for all ELF platfoms.
121         (Specific): Reword AVR binutils recommendation.
122
123 2001-05-30  Zack Weinberg  <zackw@stanford.edu>
124
125         * ggc-page.c (size_lookup): Increase minimum allocation size
126         to eight bytes.
127         (ggc_print_statistics): Report size of each bin in bytes, not
128         as its order; there is no longer a direct relationship.
129
130 2001-05-31  Jan van Male  <jan.vanmale@fenk.wau.nl>
131
132         * extend.texi: Fix formating of examples, eliminate some
133         'overfull hboxes'.
134         * gcc.texi: Eliminate some 'overfull hboxes'.
135         * invoke.texi: Use two spaces between command options, eliminate
136         some 'overfull hboxes'.
137
138 2001-05-30  Richard Henderson  <rth@redhat.com>
139
140         * dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
141
142 2001-05-30  Tom Tromey  <tromey@redhat.com>
143
144         * gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
145         use it in the new association.
146
147 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
148             John David Anglin  <dave@hiauly1.hia.nrc.ca>
149
150         * gthr-posix.h (__gthread_active_ptr): Cast function pointer
151         to target type to allow ISO C++ compiler to accept it.
152         * gthr-dce.h (__gthread_active_ptr): Likewise.
153         * gthr-solaris.h (__gthread_active_ptr): Likewise.
154
155 2001-05-30  Neil Booth  <neil@daikokuya.demon.co.uk>
156
157         * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
158         so that we do accept comments in preprocessed input.
159
160 2001-05-30  Neil Booth  <neil@daikokuya.demon.co.uk>
161
162         * cpphash.c (alloc_node): Cast allocated pointer.
163
164 2001-05-30  Gordon Sadler <gbsadler1@lcisp.com>
165
166         * invoke.texi (Option Summary): Remove -isystem-c++ from options.
167
168 2001-05-29  Stan Shebs  <shebs@apple.com>
169
170         * gcc.texi: Add links for information about Objective-C.
171
172 2001-05-29  Nathan Sidwell  <nathan@codesourcery.com>
173
174         * configure.in (gcc_version): Remove unrequired \ on ". (Solaris
175         /bin/sed fails on [^\"]).
176         (configargs.h): Likewise.
177
178 2001-05-29  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
179
180         * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
181
182 2001-05-28  Stan Shebs  <shebs@apple.com>
183
184         * objc/objc.gperf: Remove, no longer used.
185
186 2001-05-28  Joseph S. Myers  <jsm28@cam.ac.uk>
187
188         * c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
189         gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
190         Remove trailing whitespace.
191
192 2001-05-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
193
194         * doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
195         became http://freeware.sgi.com/.
196
197 2001-05-27  Geoffrey Keating  <geoffk@redhat.com>
198
199         * local-alloc.c (update_equiv_regs): Don't eliminate constant
200         expressions at -O0.
201
202 2001-05-27  Stan Shebs  <shebs@apple.com>
203
204         * objc/objc-act.c: Add/fix various comments.
205         (init_selector): Remove, no longer used.
206         (build_msg_pool_reference): Ditto.
207         (objc_debug): Ditto.
208
209 2001-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
210
211         * c-decl.c (init_decl_processing):
212          Don't call start_identifier_warnings.
213         * flags.h (warn_id_clash, id_clash_len): Remove.
214         * stringpool.c: Don't include flags.h.
215         (scan_for_clashes, do_identifier_warnings,
216         start_identifier_warnings): Remove.
217         * toplev.c (warn_id_clash, id_clash_len): Remove.
218         (display_help): Don't document -Wid-clash.
219         (decode_W_option): Print warning on -Wid-clash.
220         * tree.h (start_identifier_warnings): Remove.
221         * invoke.texi: Remove documentation of -Wid-clash.
222
223 2001-05-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
224
225         * fixinc/fixtests.c: Declare entries in ENV_TABLE.
226
227 2001-05-27  Bruce Korb  <bkorb@gnu.org>
228
229         * fixinc/check.tpl(HACK) add and use a Scheme variable
230         (has no test text): error out if no "test_text" is defined
231         * fixinc/fixincl.tpl: likewise
232         (FIXIDX): make it an enumeration so we minimize diffs
233         * fixinc/inclhack.def: re-alphabetize and add sort instructions
234         * fixinc/fixincl.x: regenerate
235         * fixinc/tests/base/stdio.h: test output got moved due to
236         the alphabetizing
237         * README-fixinc: rewrite (mostly)
238
239 2001-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
240
241         * cpplib.c (run_directive): Set pfile->directive.
242
243 2001-05-23  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
244
245         * c-tree.texi: Reformat the manual as a single chapter now
246         included by gcc.texi.
247         * gcc.texi: Include c-tree.texi. Merge all indexes.
248         * Makefile.in (dvi): Add generation for the cppinternals
249         documentation. Added dependencies on fdl.texi and c-tree.texi
250         where appropriate.  Use TEXI2DVI instead of custom tex calls.
251         (info): Added dependencies on fdl.texi and c-tree.texi where
252         appropriate.  Remove the target c-tree.info.
253
254 2001-05-27  Lars Brinkhoff  <lars@nocrew.org>
255
256         * combine.c (try_combine): Fix typo in comment.
257         * expr.c (expand_expr): Likewise.
258         * config/i370/i370.md (untyped_call): Likewise.
259
260 2001-05-26  Bruce Korb  <bkorb@gnu.org>
261
262         * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
263         when fixincl is operating in test mode
264         * fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
265         (AAB_ultrix_limits): remove redundant text
266         (AAB_ultrix_memory): ditto
267         (AAB_ultrix_string): ditto
268         (djgpp_wchar_h): fix the test text
269         (irix_stdio_va_list): add test text
270         (irix_limits_const): add a testing output file (limits.h is overwritten)
271         (strict_ansi_not_ctd): put limits.h second in list for same reason
272         (solaris27_mutex_init): test text needed selection text, too
273
274         * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
275         when fixincl is operating in test mode
276
277 2001-05-26  Philip Blundell  <philb@gnu.org>
278
279         * config/c4x/c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
280         * config/i960/i960-protos.h: Likewise.
281         * config/i370/i370-protos.h: Likewise.
282         * config/h8300/h8300-protos.h: Likewise,
283         * config/sh/sh-protos.h: Likewise.
284         * config/v850/v850-protos.h: Likewise.
285
286 2001-05-26  Philip Blundell  <philb@gnu.org>
287
288         * config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
289
290 2001-05-25  Zack Weinberg  <zackw@stanford.edu>
291
292         * toplev.c (debug_args, f_options, W_options): Mark
293         descriptions for translation.
294         (display_help): Translate descriptions on output.
295
296         * cp/lang-options.h, f/lang-options.h, java/lang-options.h,
297         objc/lang-options.h: Mark descriptions for translation.
298
299         * aclocal.m4: Quote final argument of patsubst.  Use
300         3-argument form of AC_DEFINE.  Restore quotes to [] while
301         using AC_FD_CC.
302         * configure.in: Remove unnecessary changequote calls.
303         * configure, config.in: Regenerate.
304
305 2001-05-25  Sam TH  <sam@uchicago.edu>
306
307         * basic-block.h: Fix header include guards.
308         * bitmap.h c-dump.h c-lex.h c-pragma.h c-tree.h collect2.h
309         cppdefault.h cpphash.h cpplib.h defaults.h diagnostic.h errors.h
310         except.h flags.h gcc.h gcov-io.h graph.h gstab.h gthr-aix.h
311         gthr-dce.h gthr-posix.h gthr-rtems.h gthr-single.h gthr-solaris.h
312         gthr-vxworks.h gthr-win32.h gthr.h hard-reg-set.h hwint.h
313         insn-addr.h libgcc2.h mbchar.h mkdeps.h params.h prefix.h real.h
314         rtl.h sbitmap.h system.h timevar.h toplev.h tradcpp.h tsystem.h
315         varray.h version.h: Likewise.
316         * config/dbxelf.h config/fp-bit.h config/arm/arm-protos.h
317         config/arm/arm.h config/c4x/c4x-protos.h
318         config/h8300/h8300-protos.h config/h8300/h8300.h
319         config/i370/i370-protos.h config/i370/i370.h
320         config/i960/i960-protos.h config/mcore/mcore.h
321         config/mips/mips-protos.h config/sh/sh-protos.h config/sh/sh.h
322         config/v850/v850-protos.h config/v850/v850.h: Likewise.
323         * fixinc/fixlib.h fixinc/server.h: Likewise.    
324
325 2001-05-25  Stacey Sheldon  <ssheldon@Catena.com>
326
327         * config/arc/initfini.c (.init): Fix typo.
328
329 2001-05-25  Geoffrey Keating  <geoffk@redhat.com>
330
331         * config/rs6000/rs6000.md (fseldfsf4): Correct mode of operand 4.
332
333 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
334
335         * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
336
337 2001-05-25  Richard Henderson  <rth@redhat.com>
338
339         * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
340
341 2001-05-25  Richard Henderson  <rth@redhat.com>
342
343         * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
344         (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
345         (sparc*-*-solaris2): Likewise.
346         * config/t-linux: Remove shared libgcc macros.
347         * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
348         * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.
349
350 2001-05-25  Loren J. Rittle  <ljrittle@acm.org>
351
352         * config.gcc (*-*-freebsd*): Report bad configuration.
353
354 2001-05-25  David Edelsohn  <edelsohn@gnu.org>
355
356         * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
357
358         * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
359         any prefix.
360         (ASM_OUTPUT_LABELREF): Delete.
361
362 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
363
364         * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
365         strict_ansi_only): Don't run if stdc_0_in_system_headers.
366         * fixinc/fixincl.x: Regenerate.
367         * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
368         (FIX_TEST_TABLE): Declare it.
369         * fixinc/fixlib.h: Include config.h.
370
371 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
372
373         * fixinc/inclhack.def (alpha___assert): Change char * args to
374         const char * on Tru64 UNIX to avoid excessive warnings from
375         assert.h.
376         * fixinc/fixincl.x: Regenerate.
377
378 2001-05-25  Geoff Keating  <geoffk@redhat.com>
379
380         * dbxout.c (dbxout_symbol): Invert previous patch, which was
381         outputting a tag only for variable-size records.
382
383 2001-05-25  Jeff Knaggs  <jknaggs@redhat.com>
384
385         * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
386         instead of rtx_equal_p for early clobber test.
387
388 2001-05-26  Mark Mitchell <mark@codesourcery.com>
389
390         * builtins.def: Encode additional information, such as names and
391         types, here.
392         * builtin-types.def: New file.
393         * builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
394         (built_in_decls): Likewise.  Don't explicitly initialize global
395         data to NULL.
396         (expand_builtin_mathfn): Handle float and long double variants of
397         math builtins.
398         (expand_builtin): Likewise.
399         * c-common.c (c_common_nodes_and_builtins): Make it table-driven.
400         (expand_tree_builtin): Handle long, long long, float, and long
401         double variants of math functions.
402         * c-common.h (c_tree_index): Remove some unused nodes.
403         (void_ftype): Remove.
404         (void_type_ptr): Likewise.
405         (int_ftype_int): Likewise.
406         (ptr_ftype_sizetype): Likewise.
407         * c-decl.c (init_decl_processing): Remove creation of DWARF
408         builtins.
409         * defaults.h (MD_INIT_BUILTINS): Provide default definition.
410         * tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
411         * Makefile.in (c-common.o): Depend on builtin-types.def.
412         
413 2001-05-25  Dale Johannesen  <dalej@apple.com>
414
415         * config/rs6000/t-darwin: Fix dependencies for darwin.o.
416
417 2001-05-25  Neil Booth  <neil@daikokuya.demon.co.uk>
418
419         * c-parse.in (notype_initdcl): Remove redundant line.
420
421 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
422
423         * aclocal.m4: Fixed typo.
424         (gcc_AC_HEADER_STDBOOL): Define.
425         (gcc_AC_C__BOOL): Define.
426         * configure.in: Use them.
427         (AC_CHECK_HEADERS): Remove stdbool.h
428         * configure, config.in: Regenerate.
429
430 2001-05-25  Richard Henderson  <rth@redhat.com>
431
432         * function.c (expand_function_start): Don't abort on PARALLEL
433         returns from hard_function_value.
434
435 2001-05-25  Richard Henderson  <rth@redhat.com>
436
437         * config/i386/i386.md: Revert previous change.  Do not apply
438         the peephole if the components do not die after the sequence.
439
440 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
441
442         * c-parse.in (array_declarator): New.  Handle C99 constructs.
443         Don't restrict [*] declarators to C only.
444         (after_type_declarator, parm_declarator_starttypename,
445         parm_declarator_nostarttypename, notype_declarator,
446         direct_absdcl1): Use it.
447         * c-decl.c (build_array_declarator, set_array_declarator_type):
448         New functions.  Warn that [*] isn't properly implemented; pedwarn
449         for [*] outside C99 mode if pedantic rather than giving a hard
450         error.
451         (grokdeclarator): Handle static and type qualifiers in parameter
452         array declarators.
453         * c-tree.h (build_array_declarator, set_array_declarator_type):
454         Declare.
455         * extend.texi (Attribute Syntax): Document attributes in parameter
456         array declarators.
457
458 2001-05-25  Mark Mitchell  <mark@codesourcery.com>
459
460         * config/i386/i386.md: Make sure cmpstr peepholes do not 
461         affect liveness information.
462
463 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
464
465         * c-typeck.c (digest_init): Issue error messages about 
466         invalid constants, not warnings.
467
468 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
469
470         * invoke.texi (-fno-builtin): Document that this is always on
471         in C++.
472
473 2001-05-24  Philip Blundell  <philb@gnu.org>
474
475         * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
476         required.
477
478 2001-05-24  Philip Blundell  <philb@gnu.org>
479
480         * config/arm/arm.c (output_return_instruction): Correctly handle
481         interworking and interrupt functions.
482
483 2001-05-24  Philip Blundell  <philb@gnu.org>
484
485         * config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
486         -m{no-}sched-prolog.  Fix typos and improve formatting.
487
488 2001-05-24  Philip Blundell  <philb@gnu.org>
489
490         * invoke.texi (ARM Options): Improve wording slightly.  Add
491         documentation for more options, including those for Thumb mode.
492         Don't mention options that don't exist or are unimplemented.
493         (Thumb Options): Delete; merged into above section.
494
495 2001-05-24  Geoff Keating  <geoffk@redhat.com>
496
497         * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
498         (MD_FALLBACK_FRAME_STATE_FOR): Use it.
499
500 Thu May 24 19:47:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
501
502         * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
503         fix hard register simplification.
504
505 Thu May 24 00:15:17 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
506
507         * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
508         of just copying CPP_CPU_SPEC.
509
510 Thu May 24 15:56:48 CEST 2001  Jan Hubicka  <jh@suse.cz>
511
512         * i386.c (incdec_operand): Accept only 1 and -1.
513
514 2001-05-23  Kelley Cook  <kelley.cook@home.com>
515
516         * Makefile.in: Move many of the *_H definitions eariler in the
517         file, so that rules in t-* files that use them for
518         dependencies will work in a parallel build.
519         * config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).
520
521 2001-05-23  Richard Henderson <rth@redhat.com>
522
523         * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
524
525 2001-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
526
527         * cpp.texi: Update for handling of charconsts.
528         * cpplex.c (maybe_read_ucs): Don't accept D800-DFFF.  Update
529         diagnostics.  Skip to the end if the UCS is too short.
530         (cpp_interpret_charconst): Long charconsts issue a warning
531         not an error.
532
533 2001-05-23  Richard Henderson  <rth@redhat.com>
534
535         * doc/install.texi (alpha-linux): Require binutils 2.11.
536
537 2001-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
538
539         * c-lex.c (read_escape, read_ucs): Delete.
540         (lex_string): Use cpp_parse_escape.
541         * cpplex.c (read_ucs): Rename maybe_read_ucs.  Do nothing
542         if not C++ or not C99.  Warn if traditional.
543         (parse_escape): Rename cpp_parse_escape.  Make the bitmask
544         unsigned.  Warn for out-of-range escape sequences here.
545         Update to use maybe_read_ucs.
546         (cpp_interpret_charconst):  Don't warn here.
547         * cpplib.h (cpp_parse_escape): New exported function.
548
549 2001-05-23  Joseph S. Myers  <jsm28@cam.ac.uk>
550
551         * extend.texi (Attribute Syntax): Clarify application of
552         attributes to parameters declared as functions or arrays.
553
554 2001-05-23  Jason Merrill  <jason_merrill@redhat.com>
555
556         * dbxout.c (dbxout_type_methods): Do still group methods by name.
557
558 2001-05-23  Zack Weinberg  <zackw@stanford.edu>
559
560         * diagnostic.c (vnotice): Kill.
561         (fnotice): Call vfprintf directly.
562         (diagnostic_for_decl, output_do_verbatim, output_verbatim,
563         verbatim, set_diagnostic_context): Rename string argument to
564         indicate that it is run through gettext.
565         (vbuild_message_string, build_message_string, output_do_printf):
566         Rename string argument to indicate that it is NOT run through
567         gettext.
568         (output_printf, diagnostic_for_decl, fatal_io_error, sorry,
569         output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
570         Run msgid argument through gettext.
571         (default_print_error_function): Run constant strings through
572         gettext when nothing else will.
573         (fatal_error, internal_error, error_recursion): Use fnotice.
574         Present complete sentences to gettext.
575
576 2001-05-23  Mark Mitchell  <mark@codesourcery.com>
577
578         * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
579
580 2001-05-23  Richard Henderson  <rth@redhat.com>
581
582         * function.c (expand_function_start): Always use a pseudo
583         for the function result value.
584
585 2001-05-22  Richard Henderson  <rth@redhat.com>
586
587         * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
588         section pointer alignment.
589
590         * doc/install.texi (alpha-linux): Require binutils >= 2.10.
591
592         * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
593         of __USER_LABEL_PREFIX__.
594
595 2001-05-22  Richard Henderson  <rth@redhat.com>
596
597         * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
598         (__deregister_frame_info_bases): New.
599         * unwind-dw2-fde.h: Declare it.
600         * libgcc-std.ver: Export it.
601         * crtstuff.c (__do_global_dtors_aux): Call it if we would have
602         called __register_frame_info_bases.
603
604 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
605
606         * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
607         instead of #elif (which is OK for this case but not in general).
608
609 2001-05-22  Andrew MacLeod  <amacleod@redhat.com>
610
611         * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
612         * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
613         parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
614         * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing 
615         "r2" to the assembly file. Only issue allocs with non-zero parameters.
616
617 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
618             David O'Brien  <obrien@freebsd.org>
619
620         * config/freebsd.h (LIB_SPEC): Key the exact setting to
621         configure-time options and target version of FreeBSD.  Set-up
622         to match architectural change in threading support.  Correctly
623         report when -pthread option is not supported by configure-time
624         options.
625         (FBSD_CPP_PREDEFINES): Move from architecture-specific files
626         and extend to encode target version number in run-time setting
627         of __FreeBSD__ macro to match the system compiler.
628         (CPP_PREDEFINES): Likewise.
629         (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
630
631         * config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
632         * config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
633
634 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
635             David O'Brien  <obrien@freebsd.org>
636
637         * config.gcc (the unlabeled system switch statement): Add
638         generic configuration section to handle *-*-freebsd*.  Also,
639         to match the system compiler, default to threading support (it
640         may be disabled with the standard --disable-threads
641         configuration-time switch).
642         (i[34567]86-*-freebsd* in machine-specific section): Use it.
643         (alpha*-*-freebsd* in machine-specific section): Likewise.
644
645         * config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
646         * config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
647         * config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
648         * config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
649         * config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
650
651 2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
652             David O'Brien  <obrien@freebsd.org>
653
654         * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
655         * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
656         -pthread instead setting macro.
657
658 2001-05-22  Richard Henderson  <rth@redhat.com>
659
660         * crtstuff.c (__register_frame_info_bases): Declare.
661         (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
662         (__do_global_dtors_aux, __do_global_dtors): Streamline.
663
664         * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
665         (CRT_GET_RFIB_DATA): New.
666         * config/i386/sysv4.h: Likewise.
667         * config/i386/sco5.h: Likewise.
668         (ASM_PREFERRED_EH_DATA_FORMAT): New.
669
670 2001-05-22  Richard Henderson  <rth@redhat.com>
671
672         * rtl.c (read_string): Break out from ...
673         (read_rtx): ... here.
674
675 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
676
677         * doc/install.texi (Specific): Remove a bogus and duplicate part
678         copied from the end of the document.
679
680 2001-05-22  Bernd Schmidt  <bernds@redhat.com>
681
682         * Makefile.in (LIBGCC_DEPS): Correct LIB1ASMSRC dependency.
683
684 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
685
686         * install.texi: Remove obsolete information on SunOS as well as
687         i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
688         (Installing GNU CC on the Sun): Remove section.
689
690 2001-05-22  Alexandre Oliva  <aoliva@redhat.com>
691
692         * cppfiles.c (remove_component_p): Don't assume lstat/stat will
693         keep errno unchanged on success.
694
695 2001-05-22  Joseph S. Myers  <jsm28@cam.ac.uk>
696
697         * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
698         once for hexadecimal floats, whether or not they contain a decimal
699         point.  Don't let the setting of pedantic otherwise affect the
700         parsing of hexadecimal floats.
701
702 2001-05-22  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
703
704         * README.ACORN: Remove obsolete file.
705
706 2001-05-22  Jan Hubicka  <jh@suse.cz>
707
708         * combine.c (gen_binary): Use swap_commutative_operands_p
709         (simplify_comparison): Likewise.
710         * expmed.c (emit_store_flag): Likewise.
711         * expr.c (compare_from_rtx): Likewise.
712         (do_compare_rtx_and_jump): Likewise.
713         * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
714         if not emitting a branch and operands want swapping.
715
716 2001-05-22  Neil Booth  <neil@daikokuya.demon.co.uk>
717
718         * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
719         * stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
720         (maybe_get_identifier): Update.
721         * tree.h (make_identifier): Delete.
722
723 2001-05-21  Richard Henderson  <rth@redhat.com>
724
725         * combine.c (subst): Do not substitute for a register as
726         a destination subreg/strict_low_part/zero_extract.
727
728         * combine.c (simplify_comparison): Update op1 after constant
729         extension.
730         * recog.c (const_int_operand): Accept only constants valid
731         for the given mode.
732         * genrecog.c: Update comments wrt const_int_operand.
733
734         * emit-rtl.c (init_emit_once): Zero unused memory in a
735         CONST_DOUBLE.
736
737 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
738
739         * tree.h (type_num_arguments): Declare it.
740         * tree.c (type_num_arguments): New function.
741
742 2001-05-21  Richard Henderson  <rth@redhat.com>
743
744         * dwarf2out.c (current_funcdef_number): Move outside dwarf2
745         conditional ifdef.
746
747 2001-05-21  Geoff Keating  <geoffk@redhat.com>
748
749         * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
750         (maxsf3+1): Delete.
751         (minsf3): Use rs6000_emit_minmax.
752         (minsf3+1): Generalize to handle both SMIN and SMAX.  Use
753         rs6000_emit_minmax.
754         (movsfcc): Use rs6000_emit_cmove.
755         (fselsfsf4): Don't compare a CONST_INT with a floating-point value.
756         Don't generate emit_fselsfsf4.
757         (fseldfsf4): Likewise.
758         (maxdf3): Use rs6000_emit_minmax.
759         (maxdf3+1): Delete.
760         (mindf3): Use rs6000_emit_minmax.
761         (mindf3+1): Generalize to handle both SMIN and SMAX.  Use
762         rs6000_emit_minmax.
763         (movdfcc): Use rs6000_emit_cmove.
764         (fseldfdf4): Don't compare a CONST_INT with a floating-point value.
765         Don't generate emit_fselsfsf4.
766         (fselsfdf4): Likewise.
767         * config/rs6000/rs6000.c (zero_fp_constant): New predicate.
768         (min_max_operator): New predicate.
769         (rs6000_emit_cmove): New function.
770         (rs6000_emit_minmax): New function.
771         * config/rs6000/rs6000-protos.h: Prototype new functions.
772         * config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
773         and min_max_operator.
774
775         * config/rs6000/rs6000.c (output_cbranch): Handle all
776         conditional types in the switch statement.
777
778 2001-05-21  Mark Mitchell  <mark@codesourcery.com>
779
780         * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
781         non-register variables.
782         * extend.texi: Document that asm-specifications do not make sense
783         for non-static local variables.
784
785 2001-05-21  Jason Merrill  <jason_merrill@redhat.com>
786
787         * dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
788         (dbxout_type_fields): Lose minimal_debug support.
789         (dbxout_type_methods, dbxout_type): Likewise.
790
791 2001-05-17  Andrew Haley  <aph@redhat.com>
792
793         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
794
795 2001-05-21  Richard Henderson  <rth@redhat.com>
796
797         * dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
798         Update all users.
799
800 2001-05-20  Richard Henderson  <rth@redhat.com>
801
802         * dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
803         DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
804         DEBUG_STR_SECTION): Rename from s/DEBUG_//.  Update all users.
805         * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
806         DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
807         Likewise.
808         * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
809         DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
810         DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
811         (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
812         * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
813         DEBUG_PUBNAMES_SECTION): Rename as above.
814         (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
815
816 2001-05-20  Richard Henderson  <rth@redhat.com>
817
818         * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
819         operands unless the operation is commutative.
820
821 2001-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
822
823         * fold-const.c (tree_expr_nonnegative_p): Detect more non-negative
824         cases.
825
826 2001-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
827
828         * extend.texi: Clarify documentation of extensions included in ISO
829         C99.  Prefer C99 terminology and syntax to old GNU terminology and
830         syntax.  Add more index entries.  Document mixed declarations and
831         code as an extension in C89 mode.  Warn about future changes to
832         semantics of inline functions.  Fixes PR other/930.
833
834 Sun May 20 16:39:24 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
835
836         * expr.c (expand_expr, case ARRAY_REF): Don't fold constant
837         access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
838         (expand_expr, case COMPONENT_REF): Do copy if misaligned even
839         if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
840
841         * stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
842
843 2001-05-20  Richard Henderson  <rth@redhat.com>
844
845         * sched-deps.c (sched_analyze_insn): Force volatile memory reads
846         to be output before a branch.
847
848 2001-05-20  Richard Henderson  <rth@redhat.com>
849
850         * Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
851
852 2001-05-20  Richard Henderson  <rth@redhat.com>
853
854         * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
855         (ASM_DOUBLE): Remove.
856         * config/i386/bsd.h, config/i386/sco5.h: Likewise.
857         * config/i386/sun386.h: Likewise.
858
859         * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
860         (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
861         
862         * config/i386/cygwin.h (INT_ASM_OP): Remove.
863         * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
864         * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
865         * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
866         
867         * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
868         * config/i386/djgpp.h, config/i386/i386.h: Likewise.
869         * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
870         * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
871         * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
872         * config/i386/win32.h: Likewise.
873
874 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
875
876         * invoke.texi: Add more options to summary list.
877
878 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
879
880         * invoke.texi: Document meaning of -pedantic when -std=gnu* is
881         used.  Fixes PR c/2291.
882         * gcc.1: Regenerate.
883
884 2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
885
886         * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
887         the -fpic and -fPIC options, clear flag_pic.
888
889 2001-05-20  Neil Booth  <neil@daikokuya.demon.co.uk>
890
891         * hashtable.c (calc_hash): Fix HASHSTEP definition.
892         * stringpool.c (make_identifier): No statistics here anymore.
893         * objc-act.c (steup_string_decl): Remove redundant check.
894
895 2001-05-20  Neil Booth  <neil@daikokuya.demon.co.uk>
896
897         * Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
898         cpplib.o, cpphash.o, fix-header): Update.
899         (hashtable.o): New target.
900         * c-common.h: Include cpplib.h.  Define C_RID_CODE and
901         struct c_common_identifier here.
902         * c-lang.c (c_init_options): Update.  Call set_identifier_size.
903         * c-lex.c (c_lex): Update.
904         * c-pragma.h: Update.
905         * c-tree.h (struct lang_identifier): Contain c_common_identifier.
906         Delete rid_code.
907         (C_RID_CODE): Delete.
908         * cpphash.c: Rewrite to use hashtable.c.
909         * cpphash.h: Update include guards.
910         (struct cpp_reader): Remove hashtab.
911         hash_ob and buffer_ob are no longer pointers.  Add hash_table
912         and our_hashtable.
913         (HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
914         (_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
915         (_cpp_cleanup_stacks): Rename _cpp_init_directives.
916         * cppinit.c (cpp_create_reader): Update.
917         * cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
918         (cpp_interpret_charconst): Eliminate warning.
919         * cpplib.c (do_pragma, do_endif, push_conditional,
920         cpp_push_buffer, cpp_pop_buffer): Update.
921         (_cpp_init_stacks): Rename cpp_init_directives.
922         (_cpp_cleanup_stacks): Remove.
923         * cpplib.h: Update include guards.  Include tree-core.h and c-rid.h.
924         (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
925          cpp_forall_identifiers, cpp_create_reader): Update.
926         (C_RID_CODE, cpp_make_node): New.
927         (c_common_identifier): New identifier node for C front ends.
928         * cppmain.c (main): Update.
929         * fix-header.c (read_scan_file): Update.
930         * flags.h (id_clash_len): Make unsigned.
931         * ggc.h (ggc_mark_nonnull_tree): New.
932         * hashtable.c: New.
933         * hashtable.h: New.
934         * stringpool.c: Update comments and copyright.  Update to use
935         hashtable.c.
936         * toplev.c (approx_sqrt): Move to hashtable.c.
937         (id_clash_len): Make unsigned.
938         * toplev.h (ident_hash): New.
939         * tree.c (gcc_obstack_init): Move to hashtable.c.
940         * tree.h: Include hashtable.h.
941         (IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
942         (GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
943         (struct tree_identifier): Update.
944         (make_identifier): New.
945 cp:
946         * cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
947         (C_RID_CODE): Remove.
948         * lex.c (cxx_init_options): Call set_identifier_size.  Update.
949         (init_parse): Don't do it here.
950 objc:
951         * objc-act.c (objc_init_options): Call set_identifier_size. Update.
952
953 Sat May 19 18:23:04 2001  Richard Henderson <rth@redhat.com>
954
955         * except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
956         as ncessary.
957         (expand_eh_return): Convert between word_mode and Pmode.
958         * unwind-dw2.c (extract_cie_info): Do not assume words and pointers
959         are the same size.
960         (execute_stack_op): Likewise.
961         (execute_cfa_program): Likewise.
962         (uw_frame_state_for): Likewise.
963         (uw_update_context_1): Likewise.
964         * unwind.inc (_Unwind_Reason_Code): Likewise.
965         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
966         (EH_RETURN_STACKADJ_RTX): Likewise.
967         * config/mips/mips.c (compute_frame_size): Make space for saving
968         EH return registers.
969         (mips_expand_epilogue): Handle EH stack adjustments.
970         * config/mips/mips.md (eh_return): New pattern.
971         (eh_set_lr_si): Likewise.
972         (eh_set_lr_di): Likewise.
973         Add splitter to perform EH return after reload.
974                 
975 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
976
977         * jump.c (mark_jump_label): Tidy previous change.
978
979 2001-05-19  Bruce Korb  <bkorb@gnu.org>
980
981         * fixinc/genfixes: no need for two warnings
982         * fixinc/Makefile.in: open stdin for those building with a closed one.
983
984 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
985
986         * jump.c (jump_optimize_1): Tidy.
987         (mark_jump_label): When changing the label in a LABEL_REF, change
988         update any REG_EQUAL notes as well.
989
990 2001-05-19  Joseph S. Myers  <jsm28@cam.ac.uk>
991
992         * c-parse.in (parm_declarator): Split into
993         parm_declarator_starttypename and parm_declarator_nostarttypename.
994         (parm_declarator_starttypename, parm_declarator_nostarttypename):
995         New.  Allow parenthesised sub-declarators which don't begin with a
996         TYPENAME.  Fixes PR c/166.
997
998 2001-05-19  Mark Mitchell  <mark@codesourcery.com>
999
1000         * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
1001         macro.
1002         * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
1003         Document it.
1004         * toplev.c (main): If the target does not allow profiling without
1005         a frame pointer, issue an error message.
1006         * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): 
1007         Define it to false.
1008         
1009 Sat May 19 07:53:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1010
1011         * recog.c (general_operand): Modify last change to allow it if reload
1012         has completed.
1013
1014 Sat May 19 10:23:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
1015
1016         * recog.c (general_operand): Prohibit nonzero subreg bytes on
1017         subregs containing mem.
1018
1019 Sat May 19 09:40:45 2001  Denis Chertykov  <denisc@overta.ru>
1020
1021         * regrename.c (regrename_optimize): frame pointer register can
1022         use a few hardregs.
1023
1024 2001-05-18  Jason Merrill  <jason_merrill@redhat.com>
1025
1026         * README.DWARF: Move into dwarfout.c.
1027
1028 2001-05-18  Dale Johannesen  <dalej@apple.com>
1029
1030         * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
1031         specific misuse of r0 as a reload address.
1032
1033 Fri May 18 22:42:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
1034
1035         * combine.c (combine_simplify_rtx): Clear op0_mode if simplification
1036         suceeded.
1037
1038 Fri May 18 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1039
1040         * genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
1041         (add_to_sequence): Make that decision type.
1042         (maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
1043         (write_switch, write_cond, debug_decision_2): Likewise.
1044
1045         * dbxout.c (dbxout_type): Use host_integerp and fix typo in testing
1046         for INTEGER_TYPE.
1047         (dbxout_symbol, case TYPE_DECL): Don't generate tag for records of
1048         variable size.
1049
1050 2001-05-18  Stan Shebs  <shebs@apple.com>
1051
1052         * configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
1053         * configure: Regenerate.
1054
1055 2001-05-18  Per Bothner  <per@bothner.com>
1056
1057         Changes needed for java/jvspec.c
1058         * gcc.h (n_infiles, outfiles):  Add declarations.
1059         * gcc.c (n_infiles, outfiles):  Mske no longer static.
1060
1061 Fri May 18 10:14:42 2001  Jeffrey A Law  (law@cygnus.com)
1062
1063         * config/pa/som.h (EXCEPTION_SECTION): Define.
1064
1065 2001-05-18  Daniel Berlin  <dan@cgsoftware.com>
1066
1067         * dwarf2out.c: Add dw_loc_list_ref, a reference to a location
1068         list.
1069         Add have_location_lists, a variable to determine whether we need a
1070         .debug_loc section or not.
1071         (enum dw_val_class): Add dw_val_class_loc_list.
1072         (dw_val_struct): Add val_loc_list.
1073         (dw_loc_list_struct): New structure, represents location lists.
1074         (new_loc_list): New function, return a new location list, given
1075         the range and location expression.
1076         (add_loc_descr_to_loc_list): New function, add a location
1077         expression to a location list, given the expression and range.
1078         (output_loc_list): New function, output a location list.
1079         (gen_internal_sym): Modified to take symbol prefix, so we can
1080         reuse it for location list symbols.
1081         (add_AT_loc_list): New function, add a location list to a DIE at
1082         the named attribute.
1083         (AT_loc_list): New function, return the location list reference
1084         for a given attribute, if it's a location list.
1085         (print_die): Handle dw_val_class_loc_list.
1086         (size_of_die): Ditto.
1087         (value_format): Ditto.
1088         (output_die): Ditto.
1089         (output_location_lists): New function, output all of the location
1090         lists for a DIE and it's children.
1091         (dwarf2out_finish): Call output_location_lists if we have location
1092         lists.
1093
1094
1095 Fri May 18 15:39:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
1096
1097         * gcse.c (try_replace_reg): First try global replace, later try to
1098         simplify the expression.
1099
1100         * gcse.c (find_used_regs): Change calling convention; work via
1101         note_uses.
1102         (cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.
1103
1104 2001-05-18  Bernd Schmidt  <bernds@redhat.com>
1105
1106         Revert
1107         2001-02-09  Nick Clifton  <nickc@redhat.com>
1108         * config/arm/arm.md: Change output constraint on post inc
1109         load/store multiple patterns to be a read/write constraint.
1110
1111 2001-05-18  Mark Mitchell  <mark@codesourcery.com>
1112
1113         * basic-block.h (struct basic_block_def): Add documentation about
1114         what a basic block is, and what the various fields are used for.
1115         * flow.c (calculate_globlal_regs_live): Add documentation about
1116         how the algorithm works, and how we know that it will terminate.
1117         Check that the the inductive assumption that guarantees
1118         termination actually holds.
1119         (mark_used_regs): Treat conditionally set registers as used.
1120         (debug_regset): Add comment.
1121         * rtl.texi (cond_exec): Add documentation.
1122
1123         * function.c (expand_function_start): Avoid creating BLKmode
1124         pseudos.
1125
1126 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
1127
1128         * dwarf2out.c (output_comp_unit): Always output a compilation-unit
1129         DIE, even if it has no children.
1130         (dwarf2out_finish): Always output the line-number table, even if
1131         it has no content.
1132
1133 2001-05-18  David Edelsohn  <edelsohn@gnu.org>
1134
1135         * rs6000.md (movsfcc,movdfcc): Remove NE case.
1136
1137 2001-05-17  Bruce Korb <bkorb@gnu.org>
1138
1139         * fixinc/fixincl.tpl: rewritten as an AutoGen version 5 template
1140         * fixinc/genfixes: emit a warning if AutoGen is out of date
1141
1142 2001-05-17  Brendan Conoboy <blc@cygnus.com>
1143             Bruce Korb <bkorb@gnu.org>
1144
1145         * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not
1146         found in fixinc directory.  Facilitates binary distributions.
1147
1148 2001-05-17  Jeffrey Oldham  <oldham@codesourcery.com>
1149
1150         * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
1151         COMPLEX_TYPE.
1152
1153 Thu May 17 19:42:39 2001  Mark Kettenis  <kettenis@wins.uva.nl>
1154
1155         * dwarf2out.c (modified_type_die): Equate qualified type to die.
1156
1157 Thu May 17 23:19:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
1158
1159         * integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
1160         (simplify_subreg): Handle complex types represented as CONCAT.
1161
1162         * recog.c (validate_replace_rtx_1): Properly canonicalize expression
1163         * rtl.h (swap_commutative_operands_p): Declare.
1164         * rtlanal.c (swap_commutative_operands_p): New.
1165         (operand_preference): New static function.
1166
1167         * combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
1168         (gen_binary): Likewise.
1169         * optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
1170         * simplify-rtx.c (simplify_gen_binary,
1171         simplify_gen_relational): Likewise.
1172
1173 Thu May 17 20:43:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
1174
1175         * cse.c (fold_rtx): Use simplify_subreg.
1176
1177         * simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
1178         (simplify_gen_subreg): New.
1179         (simplify_rtx): Use simplify_subreg.
1180         * rtl.h (simplify_gen_subreg): Declare.
1181
1182 2001-05-17  Mark Mitchell  <mark@codesourcery.com>
1183
1184         * doc/install.texi: Update Solaris information.
1185
1186         * except.h (protect_cleanup_actions): Remove it.
1187         (lang_protect_cleanup_actions): Declare it.
1188         * except.c (protect_cleanup_actions): Remove it.
1189         (lang_protect_cleanup_actions): New variable.
1190         (init_eh): Don't make protect_cleanup_actions a GC root.
1191         (expand_eh_region_and_cleanup): Call
1192         lang_protect_cleanup_actions.
1193         (output_function_exception_table): Remove unused `align'
1194         variable.
1195         * varasm.c (assemble_external): Abort if we have not yet
1196         opened the assembly output file.
1197         
1198 Thu May 17 11:54:50 2001  Jeffrey A Law  (law@cygnus.com)
1199
1200         * except.c (sjlj_emit_function_enter): Call assemble_external_libcall
1201         for eh_personality_libfunc.
1202
1203 Thu May 17 19:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
1204
1205         * recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
1206         when calling simplify_subreg.  This is needed to allow replacing
1207         of expression of one mode by expression of different mode.
1208
1209 Thu May 17 19:40:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
1210
1211         * simplify-rtx.c  (simplify_subreg): Avoid creating of incorrect subregs.
1212
1213 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
1214
1215         * expr.c (protect_from_queue): Protect against subsequent calls to
1216         emit_queue.
1217         (expand_expr, case ADDR_EXPR): Prevent protect_from_queue from being
1218         too clever.
1219
1220 Thu May 17 18:17:34 CEST 2001  Jan Hubicka  <jh@suse.cz>
1221
1222         * simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
1223
1224 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1225
1226         * gccbug.in (CATEGORIES): Add "bootstrap".
1227
1228 Thu May 17 16:59:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
1229
1230         * simplify-rtx.c (simplify_subreg): Break out from ...
1231         * combine.c (combine_splify_rtx) ... here and ...
1232         * recog.c (validate_replace_rtx_1): ... here;
1233         * rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
1234         * emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
1235         (subreg_lowpart_p): ... here.
1236
1237 2001-05-17  Bernd Schmidt  <bernds@redhat.com>
1238
1239         * stmt.c (expand_asm_operands): For inout operands, make sure
1240         the substitution of '=' for '+' makes it into the rtl.
1241
1242         * reload1.c (delete_output_reload): Call eliminate_regs on substed.
1243         (reload_as_needed): Call update_eliminable_offsets a bit later.
1244
1245 2001-05-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1246
1247         * gcc.texi (gccbug): Refer to the web pages for detailed information
1248         on GNATS.
1249
1250 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
1251
1252         * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
1253
1254         * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
1255         OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
1256         LIB1FUNCS, and LIB1FUNCS_EXTRA.  Delete rules: libgcc1-test,
1257         libgcc1-test.o.  Clarify commentary now that libgcc1 no longer exists.
1258         * cross-make: Don't set LIBGCC1.
1259         * mklibgcc.in: Delete all code for building from libgcc1.c.
1260         Always honor LIB1ASMFUNCS if set.
1261
1262         * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
1263         config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
1264         config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
1265         config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
1266         config/i386/uwin.asm, config/m68hc11/larith.asm,
1267         config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
1268         config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
1269         config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
1270         config/v850/lib1funcs.asm, config/c4x/libgcc.S:
1271         Delete or update references to libgcc1 in commentary.
1272
1273         * config/t-libc-ok, config/t-linux, config/t-linux-aout,
1274         config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
1275         config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
1276         config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
1277         config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
1278         config/arm/t-semi, config/arm/t-strongarm-coff,
1279         config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
1280         config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
1281         config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
1282         config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
1283         config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
1284         config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
1285         config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
1286         config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
1287         config/m68k/t-m68kbare, config/m68k/t-m68kelf,
1288         config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
1289         config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
1290         config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
1291         config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
1292         config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
1293         config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
1294         config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
1295         config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
1296         config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
1297         config/mips/t-ultrix, config/mn10200/t-mn10200,
1298         config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
1299         config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
1300         config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
1301         config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
1302         config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
1303         config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
1304         config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
1305         config/sparc/t-sparclite, config/sparc/t-splet,
1306         config/sparc/t-sunos41, config/sparc/t-vxsparc,
1307         config/sparc/t-vxsparc64, config/v850/t-v850:
1308         Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
1309
1310         * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h: 
1311         Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
1312         * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
1313         FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
1314         nongcc_SI_type, nongcc_word_type, or perform_*
1315         * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
1316
1317         * config/i386/386bsd.h, config/i386/beos-elf.h,
1318         config/i386/linux-aout.h, config/i386/linux-oldld.h,
1319         config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
1320         config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
1321         Don't include i386/perform.h.
1322
1323         * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
1324         config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
1325         config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
1326         config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
1327         config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
1328         config/vax/t-openbsd, config/vax/t-vax: Delete.
1329
1330         * config.gcc: Remove references to deleted files.
1331         (arm-semi-aof): Use arm/t-semi for tmake_file.
1332
1333         * gcc.texi, install.texi, invoke.texi, tm.texi:
1334         Delete or rewrite text which is no longer relevant now that
1335         libgcc1 no longer exists.
1336
1337         * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
1338         No need to set INSTALL_ASSERT_H.  (Missed in previous sweep.)
1339
1340 2001-05-16  Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1341         Bruce Korb <bkorb@gnu.org>
1342
1343         * fixinc/inclhack.def(solaris27_mutex_init):  Fix broken mutex
1344         initializer
1345
1346 2001-05-16  Zack Weinberg  <zackw@stanford.edu>
1347
1348         * i386.md: Add two peepholes to clean up code generated by
1349         cmpstr* expanders.
1350
1351 2001-05-16  Richard Henderson  <rth@redhat.com>
1352
1353         * dwarf2asm.c (eh_data_format_name): Add names for "pointer size" 
1354         variants of non-absolute encodings.
1355
1356         * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1357
1358         * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
1359         __register_frame_info_table_bases): Export.
1360
1361 2001-05-16  Richard Henderson  <rth@redhat.com>
1362
1363         * except.c (eh_data_format_name): Move to ...
1364         * dwarf2asm.c: ... here.  Use designated initializers if available.
1365         (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
1366         * dwarf2asm.h: Update declarations.
1367         * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
1368         ASM_PREFERRED_EH_DATA_FORMAT.
1369         (output_call_frame_info): Likewise.  Use 'L' augmentation for
1370         the LSDA encoding.
1371
1372         * unwind-dw2-fde.h (struct fde_vector): New.
1373         (struct old_object): Rename from struct object.
1374         (struct object): New.
1375         (__register_frame_info_bases): Declare.
1376         (__register_frame_info_table_bases): Declare.
1377         (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
1378         * unwind-dw2-fde.c (objects): Remove.
1379         (unseen_objects, seen_objects): New.
1380         (__register_frame_info_bases): New.
1381         (__register_frame_info): Use it.
1382         (__register_frame_info_table_bases): New.
1383         (__register_frame_info_table): Use it.
1384         (__deregister_frame_info): Rewrite for changed object struct.
1385         (base_from_object, get_cie_encoding, get_fde_encoding): New.
1386         (fde_unencoded_compare): Rename from fde_compare; uninline.
1387         (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
1388         (start_fde_sort): Adjust for new definition of fde_vector.
1389         (fde_insert): Likewise.
1390         (end_fde_sort): Likewise.  Select comparison function based
1391         on properties of the object.
1392         (fde_split): Take object and fde_compare_t arguments.
1393         (frame_heapsort, fde_merge): Likewise.
1394         (classify_object_over_fdes): Rename from count_fdes.  Handle
1395         encoded pointers.  Collect encoding, mixed_encoding, and pc_begin
1396         for the object.
1397         (add_fdes): Handle encoded pointers.
1398         (init_object): Rename from frame_init.  Update for new struct object.
1399         (linear_search_fdes): Rename from search_fdes.  Handle encoded
1400         pointers.
1401         (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
1402         (binary_search_single_encoding_fdes): New.
1403         (binary_search_mixed_encoding_fdes): New.
1404         (search_object): New.
1405         (_Unwind_Find_FDE): Update for new struct object.  Fill in
1406         the dwarf_eh_bases.
1407         * unwind-dw2.c: Include unwind-pe.h.  Constify all pointers
1408         iterating over EH data.
1409         (_Unwind_FrameState): Remove saw_lsda, addr_encoding.  Add
1410         fde_encoding, lsda_encoding.
1411         (read_uleb128, read_sleb128): Remove.
1412         (read_encoded_pointer): Remove.  All callers use read_encoded_value.
1413         (extract_cie_info): Set lsda_encoding from 'L' augmentation.
1414         (uw_frame_state_for): Don't set bases.func.  Handle encoded fde
1415         pointers.
1416         * unwind-pe.h: Add "struct" to _Unwind_Context references.
1417
1418 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1419
1420         * cppexp.c (lex): Use NODE_NAME and NODE_LEN.
1421         * cpphash.c (_cpp_lookup_with_hash): Similarly.
1422         * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
1423         cpp_spell_token, cpp_output_token): Similarly.
1424         * cpplib.c (lex_macro_node, do_undef, do_pragma,
1425         do_pragma_poison, parse_assertion, do_assert): Similarly.
1426         * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
1427         save_parameter, _cpp_create_definition, check_trad_stringification,
1428         cpp_macro_definition): Similarly.
1429         * cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
1430         * c-lex.c (cb_undef, c_lex): Similarly.
1431         * fix-header.c (recognized_function): Similarly.
1432         * cpplib.h (NODE_LEN, NODE_NAME): New.
1433         (cpp_hashnode): Rename length len.
1434
1435 Wed May 16 13:41:10 2001  Jeffrey A Law  (law@cygnus.com)
1436
1437         * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
1438         GPRs.
1439
1440 2001-05-16  Andreas Jaeger  <aj@suse.de>
1441
1442         * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
1443
1444         * toplev.c: Include dwarf2asm.h for prototype of
1445         dw2_output_indirect_constants.
1446
1447 Wed May 16 19:53:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
1448
1449         * stmt.c (expand_asm_operands): Be able to offload addressof
1450         expression to memory. (PR optimization/185)
1451
1452 Wed May 16 18:53:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
1453
1454         * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
1455         applying distributive law.
1456
1457 2001-05-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1458
1459         * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
1460
1461         * gthr-dce.h (UNUSED): Attribute unused macro.
1462         (__gthread_key_dtor): Make arguments UNUSED.
1463         (__gthread_key_delete): Revise for compatibility with DRAFT4
1464         implementation.
1465
1466 2001-05-16  David Edelsohn  <edelsohn@gnu.org>
1467
1468         * doc/install.texi: Update AIX information.
1469         * README.RS6000: Remove obsolete file.
1470
1471 2001-05-16  Jakub Jelinek  <jakub@redhat.com>
1472             Nathan Sidwell  <nathan@codesourcery.com>
1473
1474         * gcc.c (give_switch): Don't write before start of string.
1475         Always append suffix.
1476
1477 2001-05-16  Nathan Sidwell  <nathan@codesourcery.com>
1478
1479         * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
1480         after stage3.
1481
1482 2001-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1483
1484         * README.ALTOS: Remove obsolete file.
1485
1486 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1487
1488         * c-lex.h (save_and_forget_protocol_qualifiers,
1489         forget_protocol_qualifiers, remember_protocol_qualifiers):
1490         Remove deleted functions' prototypes.
1491
1492 2001-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1493
1494         * c-parse.in (methodtype): New production.
1495         (methoddef, methodproto): Collapse separate '-' and '+'
1496         handlers into 1.
1497
1498 2001-05-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1499
1500         * c-common.h (RID_FIRST_PQ): New.
1501         * c-parse.in (objc_pq_context): New.
1502         (objc parser): Set objc_pq_context rather than calling
1503         remember_protocol_qualifiers and forget_protocol_qualifiers.
1504         Don't call save_and_forget_protocol_qualifiers.
1505         (yylexname): Handle objc protocol qualifiers here.
1506         * stringpool.c (struct str_header): Replace with sp_hashnode.
1507         (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
1508         (alloc_string): Rename alloc_ident.  Use the SP_ accessors.
1509         Allocate an IDENTIFIER_NODE for each identifier.
1510         (FORALL_STRINGS, set_identifier): Delete.
1511         (FORALL_IDS, expand_string_table, stringpool_statistics): Update.
1512         (ggc_alloc_string): Use an obstack.
1513         (get_identifier, maybe_get_identifier, mark_string_hash): Update.
1514         * tree.h: Update comments.
1515         (set_identifier): Delete.
1516         * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
1517         save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
1518         remember_protocol_qualifiers): Delete.
1519
1520 Tue May 15 22:14:09 2001  Jeffrey A Law  (law@cygnus.com)
1521
1522         * flow.c (life_analysis): After life analysis is complete, do
1523         an optional scan over insns looking for REG_LABEL notes that
1524         reference a deleted label.
1525         (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
1526         before peeking at LABEL_NUSES.
1527
1528 2001-05-15  Richard Henderson  <rth@redhat.com>
1529
1530         * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
1531         (_Unwind_GetTextRelBase): New.
1532
1533 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
1534
1535         * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
1536
1537 2001-05-15  Geoffrey Keating  <geoffk@redhat.com>
1538
1539         * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
1540         so that CHOOSE_SECTION gets used.
1541
1542         * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
1543         TARGET_RELOCATABLE like flag_pic for now.
1544
1545 2001-05-15  David Edelsohn  <edelsohn@gnu.org>
1546
1547         * rs6000.md (movdi splitter): Sign extend more efficiently.
1548         * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
1549         to "long long" valid on 32-bit and 64-bit hosts.
1550         (logical_operand): Cast trunc_int_for_mode return value.
1551         (rs6000_emit_move): Shift macro to encapsulate variable.
1552         (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
1553         (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
1554         plus_constant requires signed argument.
1555
1556 2001-05-15  Loren J. Rittle  <ljrittle@acm.org>
1557
1558         * gthr-posix.h: Make additional pthread-* functions weak.
1559
1560 Tue May 15 13:51:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
1561
1562         * recog.c (apply_change_group): Avoid unneeded validating.
1563
1564 2001-05-14  David Edelsohn  <edelsohn@gnu.org>
1565
1566         * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
1567         (num_insns_constant): CONST_INT can be 64-bits.
1568
1569 2001-05-14  Stan Shebs  <shebs@apple.com>
1570
1571         * config/darwin.h (LIB_SPEC): Just use -lSystem.
1572         (LIBGCC_SPEC): Don't define.
1573
1574 2001-05-14  Richard Henderson  <rth@redhat.com>
1575
1576         * configure.in (gcc_cv_as_eh_frame): New test.
1577         * config.in, configure: Rebuild.
1578         * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
1579
1580 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
1581
1582         * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
1583         extended precision divide.
1584
1585 2001-05-14  Andrew MacLeod  <amacleod@redhat.com>
1586
1587         * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
1588         for RETURNS as well.
1589
1590 Mon May 14 17:34:48 CEST 2001  Jan Hubicka  <jh@suse.cz>
1591
1592         * i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
1593         (CPP_CPU??_SIZE_TYPE): New.
1594         (CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
1595         (CPP_CPU_SPEC): ... here; support choosing of CPU.
1596         (EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
1597         (MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
1598         compiler.
1599         * i386.c (override_options): Add sorry about not suported modes.
1600
1601 Mon May 14 08:56:47 2001  Jeffrey A Law  (law@cygnus.com)
1602
1603         * config/pa/som.h (NM_FLAGS): Remove.
1604         (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
1605         (ASM_OUTPUT_SECTION_NAME): Remove.
1606         (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
1607
1608 2001-05-14  Mark Mitchell  <mark@codesourcery.com>
1609
1610         * regrename.c (regrename_optimize): Do not rename registers to
1611         leaf registers.
1612
1613 2001-05-14  Alexandre Oliva  <aoliva@redhat.com>
1614
1615         * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
1616         contain MEMs.  Remove useless distinction about clobbering
1617         registers.
1618
1619 2001-05-13  Geoff Keating  <geoffk@redhat.com>
1620
1621         * config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
1622         * config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
1623         * config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
1624         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1625         (EXCEPTION_SECTION): Define.
1626
1627 2001-05-13  Zack Weinberg  <zackw@stanford.edu>
1628
1629         * libgcc2.c, libgcc2.h: Restore __eprintf.  Label as used for
1630         binary backward compat only.
1631         * Makefile.in (LIB2FUNCS_ST): New.  Put _eprintf here, not
1632         in LIB2FUNCS.  Pass it to mklibgcc.
1633         * mklibgcc.in: Handle LIB2FUNCS_ST.
1634
1635         * Makefile.in (installdirs): Don't create $(gcc_tooldir).
1636
1637 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
1638
1639         * tm.texi (THREAD_MODEL_SPEC): Document it.
1640         * gcc.c (main): Use it.
1641         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
1642         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
1643
1644 2001-05-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1645
1646         * rtl.h (SYMBOL_REF_WEAK): New macro.
1647         * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
1648         * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
1649         * rtl.texi (SYMBOL_REF_WEAK): Document it.
1650         * gcc.texi: Remove wrong description.
1651
1652 2001-05-13  Mark Mitchell  <mark@codesourcery.com>
1653
1654         * Makefile.in (STAMP): New macro.
1655         Replace all uses of `touch' with $(STAMP).
1656         * fixinc/Makefile.in: Likewise.
1657
1658 Sun May 13 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1659
1660         * configure.in: ldopen is never in -lexc, so don't test for it.
1661         Add test for exc_resume in -lexc for Ada.
1662         * configure: Regenerated.
1663
1664 2001-05-12  Richard Henderson  <rth@redhat.com>
1665
1666         * dwarf2asm.c (size_of_encoded_value): New function.
1667         * dwarf2asm.h: Declare it.
1668         * except.c (output_function_exception_table): Align the TType
1669         array only as wide as the encoding.
1670
1671 2001-05-12  Zack Weinberg  <zackw@stanford.edu>
1672
1673         * extend.texi: Document #pragma GCC java_exceptions.
1674
1675 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1676
1677         * c-parse.in (bison parser, init_reswords): Remove uses of
1678         doing_objc_thang.
1679         * c-tree.h (doing_objc_thang): Remove.
1680
1681 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
1682
1683         * cpplex.c (_cpp_lex_token): Ensure we warn at most once
1684         about files not ending in newlines.
1685
1686 2001-05-12  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1687
1688         * dwarfout.c (dwarfout_init): Add cast.
1689         * sched-deps.c (sched_analyze_insn): Remove unused vars.
1690         * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
1691 cp:
1692         * method.c (build_mangled_C99_name): Remove unused prototype.
1693
1694 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
1695
1696         * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
1697
1698 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
1699
1700         * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
1701         * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
1702
1703 2001-05-11  Richard Henderson  <rth@redhat.com>
1704
1705         * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1706         * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
1707         dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
1708         * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
1709         (dw2_output_indirect_constants): Prototype.
1710         * dwarf2out.c (dwarf2out_begin_prologue): Generate
1711         current_function_func_begin_label if we'll need it for EH.  Exit
1712         early for IA64_UNWIND_INFO.
1713         * except.c: Get DW_EH_PE_* defines from dwarf2.h.
1714         (eh_data_format_name): Update for indirect references.
1715         (output_function_exception_table): Care for IA64_UNWIND_INFO.
1716         Handle ASM_PREFERRED_EH_DATA_FORMAT.
1717         * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
1718         define HAVE_eh_return etc.
1719         * final.c (final_start_function): Always call dwarf2out_begin_prologue.
1720         (final_end_function): Don't call output_function_exception_table.
1721         * toplev.c (compile_file): Call dw2_output_indirect_constants.
1722         (rest_of_compilation): Invoke output_function_exception_table
1723         for ia64 before assemble_end_function.
1724         * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
1725         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
1726
1727         * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
1728         * unwind.h: Declare them.
1729         * libgcc-std.ver: Export them.
1730         * unwind-pe.h: New file.
1731
1732         * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1733
1734         * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
1735         instead of "fde".
1736         (find_fde_for_dso): Extract DT_PLTGOT.
1737         (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
1738         the segment and gp as well.
1739         * config/ia64/frame-ia64.c: Remove file.
1740         * config/ia64/frame-ia64.h: Remove file.
1741         * config/ia64/unwind-ia64.c: New file.
1742         * config/ia64/unwind-ia64.h: New file.
1743         * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
1744         (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
1745         (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
1746         (ASM_PREFERRED_EH_DATA_FORMAT): New.
1747         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
1748         (IA64_UNWIND_INFO): Re-enable.
1749         (HANDLER_SECTION): Remove.
1750         (EH_RETURN_DATA_REGNO): New.
1751         * config/ia64/ia64.md (exception_receiver): Remove.
1752         * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
1753         * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
1754
1755 2001-05-11  Richard Henderson  <rth@redhat.com>
1756
1757         * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
1758         calls and jumps to be bundled together.
1759         (ia64_reorg): Emit a break after a noreturn call that ends
1760         a function.
1761         * config/ia64/ia64.md (break_f): New.
1762
1763 2001-05-12  Neil Booth  <neil@daikokuya.demon.co.uk>
1764
1765         * c-lex.c (lex_charconst): Convert into a simple wrapper
1766         around cpp_interpret_charconst, to which most of the code
1767         body is moved.
1768         * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
1769         MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
1770         MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
1771         (lex): Use cpp_interpret_charconst.
1772         * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
1773         hex_digit_value): New functions.
1774         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
1775         * cpplib.h (cpp_interpret_charconst): New prototype.
1776         * Makefile.in: Update.
1777
1778 2001-05-12  Dean Wakerley  <dean@wakerley.com>
1779
1780         * doc/install.texi: New file. Converted to texinfo from the HTML
1781         documentation in wwwdocs/htdocs/install.
1782
1783 Fri May 11 15:50:13 2001  Jeffrey A Law  (law@cygnus.com)
1784
1785         * gcse.c (insert_insn_end_bb): Do not search for assignments to
1786         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
1787
1788         * toplev.c (compile_file): Move comment for opening output
1789         file to just before the code that opens the output file.
1790
1791 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1792
1793         * regmove.c (regmove_optimize): Suppress the optimization for
1794         unchanging destination register.  Add comment above function.
1795
1796 2001-05-11  Zack Weinberg  <zackw@stanford.edu>
1797
1798         * Makefile.in: Exterminate all references to assert.h.
1799         * cross-make: Likewise.
1800         * assert.h: Delete.
1801         * configure.in: Correct commentary.
1802         * configure: Regenerate.
1803
1804         * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
1805         Remove __eprintf.
1806
1807         * config/t-freebsd, config/t-linux, config/t-linux-aout,
1808         config/t-netbsd, config/t-rtems, config/x-linux,
1809         config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
1810         No need to override INSTALL_ASSERT_H.
1811
1812         * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
1813         fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
1814         fixinc/fixincl.sh: Don't install assert.h into objdir/include.
1815
1816 2001-05-11  Graham Stott  <grahams@redhat.com>
1817
1818         * combine.c (simplify_comparison): Fix typo.
1819
1820 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
1821
1822         * loop.h (struct movables): Remove `num'.
1823         * loop.c (scan_loop): Don't set it.  Use count_insns_in_loop.
1824         Adjust call to strength_reduce.
1825         (num_unmoved_movables): New function.
1826         (move_movables): Don't set movables->num.
1827         (strength_reduce): Compute the number of instructions in the loop
1828         here, rather than in the caller.
1829         (check_dbra_loop): Always clear reversible_mem_store if there
1830         are any memory sets.
1831         (loop_regs_scan): Don't count instructions here.
1832         (count_insn_in_loop): New function.
1833
1834 2001-05-11  Mark Mitchell  <mark@codesourcery.com>
1835
1836         * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
1837
1838 2001-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
1839
1840         * c-common.c (finish_label_expr): New function, lifted from
1841         from cp/semantics.c.
1842         * c-common.h (finish_label_expr, lookup_label): New prototypes.
1843         * c-parse.in: Move 3 blocks of parser code into new functions.
1844         * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
1845         * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
1846         (lookup_label): Remove.
1847
1848 2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
1849
1850         * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
1851         FLOAT_BIT_ORDER_MISMATCH.
1852
1853 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
1854
1855         * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
1856         bytes.  Reported by Kazu Hirata <kazu@hxi.com>.
1857
1858 2001-05-10  David Edelsohn  <edelsohn@gnu.org>
1859
1860         * expr.c (emit_group_load): extract_bit_field requires a REG or
1861         MEM as an argument.
1862
1863 Thu May 10 14:45:44 2001  Jeffrey A Law  (law@cygnus.com)
1864
1865         * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
1866         a computed jump into an unconditional jump.
1867         In second hunk of code for collapsing computed and conditional jumps
1868         into unconditional jumps, reemit the jump in additional cases.
1869
1870         * jump.c (jump_optimize_1): Do not wrap the new jump target
1871         inside a LABEL_REF; gen_jump will do that automatically.
1872
1873 2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>
1874
1875         * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
1876         contents for a SYMBOL_REF in case of floating point constants.
1877
1878 2001-05-10  DJ Delorie  <dj@redhat.com>
1879
1880         * c-common.c (combine_strings): Widen strings in a
1881         host-endian-independent way.
1882
1883 2001-05-10  Joseph S. Myers  <jsm28@cam.ac.uk>
1884
1885         * c-parse.in: Remove many shift/reduce conflicts.  Update
1886         %expect values.
1887         (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
1888         declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
1889         declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
1890         declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
1891         declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
1892         declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
1893         declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
1894         declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
1895         declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
1896         declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
1897         maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
1898         typespec_reserved_nonattr, typespec_reserved_attr,
1899         typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
1900         structsp_nonattr, components_notype, component_notype_declarator,
1901         absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
1902         firstparm, setspecs_fp): New
1903         (typed_declspecs, reserved_declspecs, typed_typespecs,
1904         reserved_typespecquals, declmods, typespec, typespecqual_reserved,
1905         typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
1906         declmods_no_prefix_attr, nonempty_type_quals, structsp,
1907         type_quals): Remove.  Users updated.
1908         (initdecls, notype_initdecls, after_type_declarator,
1909         parm_declarator, notype_declarator, absdcl1, components, ivars):
1910         Don't allow attributes at the start of a declarator; include them
1911         in the production containing the declarator instead.  Always
1912         require type specifiers before trying to redeclare a typedef name.
1913         (typename): Allow for attributes but warn that they are ignored.
1914         (parmlist, firstparm, setspecs_fp): Include attributes in
1915         parmlist; suck them off the parser stack in firstparm using
1916         setspecs_fp.
1917
1918 Thu May 10 09:17:42 2001  Jeffrey A Law  (law@cygnus.com)
1919
1920         * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
1921         to determine if a block has an unconditional jump at its end.
1922
1923         * jump.c (jump_optimize_1): When converting a conditional jump
1924         to an unconditional jump, build the jump using gen_jump instead
1925         of just modify operands in-place.
1926
1927 2001-05-09  Zack Weinberg  <zackw@stanford.edu>
1928
1929         * cppinit.c (cpp_post_options): Shut off macro expansion if
1930         -fpreprocessed.
1931         * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
1932         IN_I directives only if the # is in column 1 and the directive
1933         name begins in column 2.
1934         * cppmain.c (scan_buffer): Insert a space between # and an
1935         identifier, when that identifier is a directive name.
1936
1937         * tradcpp.c (struct file_buf): Add a pointer to the next entry
1938         in the header search path.
1939         (enum node_type): Add T_INCLUDE_NEXT.
1940         (directive_table): Add entry for include_next.
1941         (do_include_next): New function.
1942         (process_include): New routine, broken out of do_include.
1943         (finclude): Insert 'nhd' argument, to be copied into
1944         next_header_dir of the new buffer.
1945         (main): Adjust to match.
1946         * gsyslimits.h, limity.h: Un-indent #include_next.
1947
1948 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
1949
1950         * objc.texi: Move from ../libobjc/objc-features.texi.  Adjust for
1951         inclusion as a chapter of the GCC manual.
1952         * gcc.texi: Include objc.texi.
1953         * fdl.texi: Use @unnumberedsec for the addendum.
1954         * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
1955
1956 Wed May  9 16:01:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
1957
1958         * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
1959
1960 Wed May  9 10:40:25 2001  Alexandre Oliva  <aoliva@redhat.com>
1961
1962         * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
1963         handling of two-address insns.
1964
1965 Wed May  9 10:36:18 2001  Alexandre Oliva  <aoliva@redhat.com>
1966
1967         * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
1968         ../binutils/nm-new instead of ../binutils/nm.
1969
1970 Wed May  9 12:15:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
1971
1972         * i386.md (movdi splitter): Fix the splitting condition
1973         (float_extenddftf splitter): Fix mode.
1974
1975 Wed May  9 12:05:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
1976
1977         * genrecog.c (write_switch): Avoid outputting of switch for
1978         types wider than int.
1979
1980 2001-05-03  Andrew Haley  <aph@cambridge.redhat.com>
1981
1982         * reload1.c (copy_eh_notes): New function.
1983         (emit_input_reload_insns): Call it.
1984         (emit_output_reload_insns): Call it.
1985
1986 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
1987
1988         * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
1989         Delete stanzas.
1990         * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
1991         config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
1992
1993         * optabs.c: Delete #ifdef BROKEN_LDEXP block.
1994
1995 2001-05-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1996
1997         * pa.md (interspace_jump): Revise comment.
1998         (builtin_longjmp): Block initial setup insns from delay slot of
1999         interspace branch.
2000         (builtin_setjmp_receiver): New expander to save and restore PIC
2001         register.
2002
2003         * som.h (NM_FLAGS): Remove `-n' sort option.  Revise comment.
2004
2005 Mon May  7 09:30:14 2001  Jeffrey A Law  (law@cygnus.com)
2006
2007         * toplev.c (compile_file): Set up the output file before we call
2008         the various initializers for the compiler.
2009
2010         * except.c (sjlj_mark_call_sites): Do not search for assignments to
2011         non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
2012
2013         * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
2014         * pa-64.h (*_TYPE_SIZE): Undefine before redefining.
2015
2016 2001-05-06  Zack Weinberg  <zackw@stanford.edu>
2017
2018         * Makefile.in (tradcpp0): Correct typo in dependency list.
2019
2020 2001-05-06  Geoff Keating  <geoffk@redhat.com>
2021
2022         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
2023         the link register if we're not going to use it.
2024
2025         * config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
2026         (output_function_profiler): Likewise.
2027
2028 2001-05-07  Alan Modra  <amodra@one.net.au>
2029
2030         * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
2031
2032 2001-05-06  Alexandre Oliva  <aoliva@redhat.com>
2033
2034         * unroll.c (loop_iterations): Don't sign-extend abs_diff;
2035         zero-extend it.  Make abs_inc unsigned.
2036
2037         * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
2038         widest mode in narrowing and widening operations.
2039
2040         * config/mips/mips.md: Sign extend CONST_INTs.
2041
2042 2001-05-06  Andreas Jaeger  <aj@suse.de>
2043
2044         * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
2045         (i386 Options): Document -momit-leaf-frame-pointer.
2046
2047 2001-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
2048
2049         * c-typeck.c (internal_build_compound_expr): Check for
2050         array to pointer conversion just once.
2051
2052 2001-05-05  Richard Henderson  <rth@redhat.com>
2053
2054         * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
2055
2056 2001-05-05  Richard Henderson  <rth@redhat.com>
2057
2058         * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
2059         to the parent of the fixup region.
2060
2061 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2062
2063         * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
2064         "inline" keyword.
2065         * cpp.texi (__NO_INLINE): Document it.
2066
2067 2001-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
2068
2069         * cppfiles.c (struct include_file): New member err_no.
2070         (find_or_create_entry): Set it.
2071         (open_file): Don't set fds to -2.  Instead, use err_no to
2072         remember previous errors, if any.
2073
2074 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2075
2076         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
2077         between X and Y by using sequences of xgdx and xgdy.
2078
2079 2001-05-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2080
2081         * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
2082         of '!' for the 'D' alternative ('!' is too strong).
2083         ("*logicalsi3_silshl16"): Likewise.
2084         ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
2085         ("movstrictsi"): Remove spurious '+'.
2086         ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
2087         ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
2088         ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
2089         a reload to them.
2090
2091 2001-05-04  David Edelsohn  <edelsohn@gnu.org>
2092
2093         * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
2094
2095 2001-05-04  Lars Brinkhoff  <lars@nocrew.org>
2096
2097         * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
2098         into -a.
2099
2100 2001-05-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2101
2102         * config/rs6000/rs6000.md (ashldi3 splits): Guard with
2103         TARGET_POWERPC64.
2104
2105 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2106
2107         * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
2108         soft register, use ror instead of rol.
2109
2110 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2111
2112         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
2113         into account pre/post increment decrement for 68HC12.
2114         Fix other problems in replacement and fix call to reg_mentioned_p.
2115
2116 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2117
2118         * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
2119         Put the soft registers in bss for 68HC12.
2120         (L_regs_d3_4): New for _.d3 and _.d4.
2121         (L_regs_d5_6): Likewise.
2122         (L_regs_d1_2): Likewise.
2123         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
2124
2125 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2126
2127         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
2128         to the pre-processor when -fshort-double is specified.
2129         * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
2130
2131 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2132
2133         * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
2134         (__mulsi3): Rewrite for 68HC12.
2135         * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
2136         Mark 'x' constraint with earlyclobber to prevent a
2137         RELOAD_FOR_OTHER_ADDRESS to go in it.
2138         (mulhi3_m68hc12): New pattern.
2139         (mulhi3_m68hc11): Rename of mulhi3.
2140         (mulhi3): New expand for 68HC12 optimisation.
2141         (umulhisi3, mulhisi3): New patterns for 68HC12.
2142
2143 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2144
2145         * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
2146         (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
2147         (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
2148
2149 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2150
2151         * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
2152         constants cheap after reload.
2153         * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
2154         are cheap.
2155         (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
2156         so that gcc prefers a shift by 16.
2157         (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
2158
2159 2001-05-04  Nick Clifton  <nickc@cambridge.redhat.com>
2160
2161         * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
2162
2163 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2164
2165         * alpha.h: NULL_PTR -> NULL.
2166         * arm.c: Likewise.
2167         * arm.h: Likewise.
2168         * avr.h: Likewise.
2169         * c4x.c: Likewise.
2170         * c4x.h: Likewise.
2171         * i386.c: Likewise.
2172         * i386.md: Likewise.
2173         * i860.c: Likewise.
2174         * ia64.c: Likewise.
2175         * m68hc11.h: Likewise.
2176         * rs6000.h: Likewise.
2177         * sh.c: Likewise.
2178         * sh.h: Likewise.
2179         * sparc.h: Likewise.
2180         * v850.c: Likewise.
2181
2182         * expr.c: Likewise.
2183         * final.c: Likewise.
2184         * gcc.c: Likewise.
2185         * recog.c: Likewise.
2186
2187 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2188
2189         * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
2190         `bool' parameter to `int'.
2191
2192         * hash.c (hash_lookup): Likewise.
2193
2194         * hash.h (hash_lookup): Likewise.
2195
2196         * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
2197
2198 Fri May  4 13:10:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
2199
2200         * i386.c (x86_initialize_trampoline): Fix mode of constant.
2201
2202 2001-05-03  Geoff Keating  <geoffk@redhat.com>
2203
2204         * invoke.texi (i386 Options): Delete references to -malign-jumps,
2205         -malign-loops, -malign-functions.
2206         * i386.c (ix86_align_funcs): Delete.
2207         (ix86_align_loops): Delete.
2208         (ix86_align_jumps): Delete.
2209         (override_options): Mark -malign-* as obsolete.  Emulate their
2210         behaviour with the -falign-* options.  Default -falign-* from
2211         the processor table.
2212         * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
2213         patch of Wed May 2 13:09:36 2001.
2214         (LOOP_ALIGN): Delete.
2215         (LOOP_ALIGN_MAX_SKIP): Delete.
2216         (LABEL_ALIGN_AFTER_BARRIER): Delete.
2217         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.
2218
2219 2001-05-04  Andreas Jaeger  <aj@suse.de>
2220
2221         * except.h: Add prototype declaration for
2222         expand_builtin_init_dwarf_reg_sizes.
2223
2224 2001-05-03  Geoffrey Keating  <geoffk@redhat.com>
2225
2226         * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.
2227
2228 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2229
2230         * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
2231         instruction.
2232         ("bitcmpqi2"): New pattern for bit-extract and test.
2233         ("bitcmphi"): New pattern for bitb/bita instructions.
2234
2235 2001-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
2236
2237         * gccbug.in: Use a temporary directory when the mktemp command is
2238         not available.
2239
2240 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2241
2242         * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
2243         instead of _.d1.
2244         (INITIALIZE_TRAMPOLINE): Call it.
2245         (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
2246         (TRAMPOLINE_TEMPLATE): Remove.
2247         * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
2248         * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
2249         Declare.
2250
2251 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
2252
2253         * config/t-freebsd: Don't install "assert.h" in gcc.  Compile crtbeginS.o
2254         and crtendS.o with PIC.
2255
2256 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2257
2258         * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
2259         negative numbers.
2260         (___subdi3, ___adddi3): Use x instead of y as index register.
2261         (__init_bss_section, __map_data_section): Optimize for 68HC12.
2262         (__memset, __memcpy): Likewise.
2263         (regs): Put the soft registers in bss for 68HC12.
2264         (abort): Use trap to abort for 68hc12.
2265         (__mulhi3, __mulhi32): Use emul for 68hc12.
2266         (__mulsi3): Avoid to use the tmp soft register for 68hc12.
2267
2268 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2269
2270         * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
2271         * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
2272         * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
2273         (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
2274         Set 68HC12 min offset to -65536.
2275         (print_operand): Put parenthesis arround the operand if it refers
2276         to a symbol having the same name as a register.
2277         (m68hc11_z_replacement): When z register is replaced by its
2278         equivalent soft register, force the insn to be re-recognized.
2279         (m68hc11_check_z_replacement): Fix the test when destination is
2280         the index register and z dies in the insn.
2281         (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
2282
2283 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2284
2285         * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
2286         costs according to processor variant.
2287         (m68hc11_shift_cost): New function to compute shift costs.
2288         (m68hc11_rtx_costs): Define costs according to processor variant.
2289         (m6811_cost): Costs for 68HC11.
2290         (m6812_cost): Costs for 68HC12.
2291         (COSTS_N_INSNS): Remove.
2292
2293         * config/m68hc11/m68hc11.h (RTX_COSTS): New.
2294         (DEFAULT_RTX_COSTS): Remove.
2295         (CONST_COSTS): Define costs according to OUTER_CODE.
2296         (processor_costs): New struct to define costs.
2297         (m68hc11_cost): Pointer to current costs.
2298
2299 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2300
2301         * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
2302         and use m68hc11_notice_keep_cc when using leax/leay.
2303         (addhi3 split): Reject split if the insn is handled by
2304         leax/leay above.
2305         * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
2306         push must be handled in a special way if the source operand uses
2307         sp as index register.
2308         (m68hc11_notice_keep_cc): New function.
2309         (m68hc11_gen_movhi): Use it when an insn changes a register but
2310         not the flags.
2311         (m68hc11_gen_movqi): Fix move for 68HC12.
2312         * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
2313
2314 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2315
2316         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
2317         and don't pass operands[0] to emit_library_call_value.
2318
2319 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2320
2321         * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
2322         (zero_extendsi split): Simplify and use (zero_extendhi).
2323         (*addhi3): Remove 'w' constraint since stack pointer is handled
2324         by (addhi3_sp).
2325         (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
2326         (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
2327         (*ashrhi3_const): Fix shift by 7.
2328         (*lshrsi3_const16): Fix template.
2329         (call, call_value): Fix constraint and predicate.
2330
2331 2001-05-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2332
2333         * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
2334         (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
2335         (CC_REGNUM): Likewise.
2336         (*unnamed splits): Use above constants instead of hard coded numbers.
2337         (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
2338         (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
2339         (*return_16bit, *unnamed peepholes): Likewise.
2340
2341 2001-05-03  David O'Brien  <obrien@FreeBSD.org>
2342
2343         * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix):  Do not include
2344         rs6000/rs6000.h twice.
2345
2346 2001-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
2347
2348         * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
2349         (CPP_SPEC): Conditionally define MSDOS and GO32.
2350         (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
2351         (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
2352         ignored.
2353         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
2354
2355 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2356
2357         * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
2358
2359 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
2360
2361         * integrate.h (struct inline_remap): Add leaf_reg_map table.
2362         * integrate.c (expand_inline_function): Use xcalloc to allocate
2363         memory.
2364         (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
2365         registers.
2366
2367 2001-05-03  Mark Mitchell  <mark@codesourcery.com>
2368
2369         * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
2370         if it is not set.
2371
2372 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2373
2374         * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
2375         linker if -mrelax is given.
2376         (TARGET_SWITCHES): Document -mrelax.
2377
2378         Re-installed 2001-01-09's patch:
2379         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
2380         if it's wider than long and the target's long is wider than the
2381         host's.
2382
2383 2001-05-02  David O'Brien  <obrien@FreeBSD.org>
2384
2385         * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h:  Do not
2386         directly include rs6000/rs6000.h.  Instead do it in tm.h.
2387
2388 2001-05-02  Stan Shebs  <shebs@apple.com>
2389
2390         * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
2391         NSConstantString for NeXT-style runtimes.
2392         (STRING_OBJECT_GLOBAL_NAME): New macro.
2393         (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
2394         OCTI_STRING_CLASS_DECL.
2395         (constant_string_global_id): New macro.
2396         (string_class_decl): Ditto.
2397         (setup_string_decl): New function.
2398         (build_objc_string_object): Use it to build a NeXT runtime
2399         compatible string initializer.
2400
2401 2001-05-02  Jakub Jelinek  <jakub@redhat.com>
2402
2403         * tradcpp.c (do_define): Make sure we don't walk past limit.
2404
2405 2000-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2406
2407         * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
2408         offsets if not REG_OK_STRICT.
2409
2410         * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
2411         (INT_REG_OK_FOR_INDEX_P): Likewise.
2412         (INT_REG_OK_FOR_BASE_P): Likewise.
2413         (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
2414         (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
2415         (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
2416         INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
2417         REG_OK_FOR_BASE_P. Take an additional parameter.
2418         (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
2419         (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
2420         (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
2421         (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
2422         rs6000_legitimate_address() and use it.
2423         * config/rs6000/rs6000.c: Update all callers.
2424         (rs6000_legitimate_address): New function.
2425
2426 2001-05-02  David Edelsohn  <edelsohn@gnu.org>
2427
2428         * config/rs6000/rs6000.c (rs6000_emit_move): Merge
2429         special_constant conditional blocks together.
2430
2431 2001-05-02  Dale Johannesen  <dalej@apple.com>
2432
2433         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
2434         parameter.
2435         (STRICT_ARGUMENT_NAMING): Define.
2436         * config/rs6000/rs6000.c (function_arg_advance, function_arg,
2437         function_arg_partial_nregs, setup_incoming_varargs): Remove
2438         args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
2439         is defined.
2440
2441 Wed May  2 13:09:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2442
2443         * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
2444
2445         * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
2446         for replacement.
2447
2448         * expr.c (store_field): Do nothing except elaborate side-effects if
2449         zero-bit field.
2450
2451 2001-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2452
2453         * c-lex.c: NULL_PTR -> NULL.
2454         * cse.c: Likewise.
2455         * emit-rtl.c: Likewise.
2456         * gcse.c: Likewise.
2457         * genpeep.c: Likewise.
2458         * jump.c: Likewise.
2459         * mips-tdump.c: Likewise.
2460         * reload1.c: Likewise.
2461         * rtlanal.c: Likewise.
2462         * stmt.c: Likewise.
2463         * stor-layout.c: Likewise.
2464         * toplev.c: Likewise.
2465
2466 2001-05-01  Per Bothner  <per@bothner.com>
2467
2468         * expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
2469         call do_pending_stack_adjust before emiting label.
2470
2471 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
2472
2473         * extend.texi: Fix typo.
2474
2475 2001-05-01  Stan Shebs  <shebs@apple.com>
2476
2477         * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
2478         of UOBJC_MODULES_decl.
2479         (generate_strings): Clear DECL_CONTEXT of new decl nodes.
2480         (generate_descriptor_table): Ditto.
2481         (generate_protocols): Ditto.
2482         (generate_protocol_list): Ditto.
2483         (generate_classref_translation_entry): Ditto.
2484
2485 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
2486
2487         * invoke.texi (Optimize Options): Add documentation for `--param
2488         max-delay-slot-insn-search' and `--param
2489         max-delay-slot-live-search' and reorder --param section.
2490         * params.def: Modify initial comment.
2491         * params.h (param_info): Add `help' member.
2492         * toplev.c (lang_independent_params): Include `help' description.
2493         (display_help): Print --param parameters.
2494
2495 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
2496
2497         * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
2498         Remove references to deleted files.
2499         (*-*-openbsd): No need to override xmake_file.
2500         (*-*-sysv4): Treat like *-*-sysv.
2501
2502         * configure.in: Probe for ldopen in various places, and set up
2503         collect2 to be linked with them if found.
2504         Don't dink with Windows registry stuff unless $host_os is a
2505         Win32 os name.  Check to see if we need -ladvapi32.
2506         * configure: Regenerate.
2507
2508         * Makefile: Get rid of CLIB and HOST_CLIB.
2509         Substitute in COLLECT2_LIBS and link collect2 against its contents.
2510         * build-make: Get rid of HOST_CLIB.
2511
2512         * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
2513         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
2514         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
2515         config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
2516         config/rs6000/x-rs6000: Delete.
2517
2518         * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
2519         Don't set CLIB.
2520
2521         24 x-host fragments remain, 0 x-cpu, 3 top level.
2522
2523 2001-05-01  Zack Weinberg  <zackw@stanford.edu>
2524
2525         * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
2526         * configure: Regenerate.
2527
2528 2001-05-01  Angela Marie Thomas <angela@cygnus.com>
2529
2530         * Makefile.in (install-headers): Remove redundant dependency.
2531
2532 2001-05-01  Nathan Sidwell  <nathan@codesourcery.com>
2533
2534         * c-tree.texi (USING_STMT): Document.
2535
2536 2001-05-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2537
2538         * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
2539         * c-common.c: Likewise.
2540         * c-decl.c: Likewise.
2541         * combine.c: Likewise.
2542         * rs6000.c: Likewise.
2543         * except.c: Likewise.
2544         * explow.c: Likewise.
2545         * expr.c: Likewise.
2546         * fold-const.c: Likewise.
2547         * function.c: Likewise.
2548         * gcc.c: Likewise.
2549         * gcse.c: Likewise.
2550         * integrate.c: Likewise.
2551         * loop.c: Likewise.
2552         * objc/objc-act.c: Likewise.
2553         * recog.c: Likewise.
2554         * reg-stack.c: Likewise.
2555         * reload.c: Likewise.
2556         * reload1.c: Likewise.
2557         * simplify-rtx.c: Likewise.
2558         * stmt.c: Likewise.
2559         * varasm.c: Likewise.
2560
2561 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2562
2563         * diagnostic.def: New file.
2564         * diagnostic.h (diagnostic_t): New enum.
2565         * Makefile.in (diagnostic.o): Depend on diagnostic.def
2566
2567 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
2568
2569         * tsystem.h: Test only POSIX for availability of string.h
2570         and time.h.
2571         * config.gcc (all systems): If USG appeared in xm_defines,
2572         change it to POSIX.  If both USG and POSIX appeared, just
2573         delete USG. Remove unnecessary quotes around xm_defines
2574         settings.
2575         (m68k-crds-unos*): Don't #define unos - tested nowhere.
2576         (m68k-apple-aux*): Don't #define AUX - tested nowhere.
2577         (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
2578         powerpc-*-linux*): No need to set xm_defines - handled by
2579         global settings for *-*-linux*.
2580
2581 2001-04-30  Zack Weinberg  <zackw@stanford.edu>
2582
2583         * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
2584         Always include gstab.h, not system stab.h.  Don't provide
2585         default definitions of N_CATCH or N_OPT.  Always use the
2586         gstab.h variant of STAB_CODE_TYPE.
2587         * final.c: Don't include stab.h/gstab.h at all, or provide
2588         defaults for N_SLINE and N_SOL.
2589
2590         * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
2591         N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
2592         available.
2593         * sdbout.c: Always include gsyms.h instead of system syms.h.
2594
2595         * configure.in: No need to check for stab.h.
2596         * configure, config.in: Regenerate.
2597         * Makefile.in (final.o): Don't depend on gstab.h.
2598
2599 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2600             Richard Henderson  <rth@redhat.com>
2601
2602         * extend.texi: Improve documentation of volatile asms.
2603
2604 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2605
2606         * c-tree.texi: Fix thinko.
2607         * gcc.texi: Likewise.
2608
2609 2001-04-30  Richard Henderson  <rth@redhat.com>
2610
2611         * c-common.c (c_promoting_integer_type_p): New function, from the
2612         corpse of old macro.  Properly promote too-small enumerations and
2613         booleans.  Adjust all callers.
2614         * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
2615         (c_promoting_integer_type_p): Declare.
2616         * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
2617         * c-typeck.c: Likewise.
2618         (default_conversion): Remove now redundant boolean check.
2619
2620 2001-04-30  Jan Hubicka  <jh@suse.cz>
2621             Richard Henderson  <rth@redhat.com>
2622
2623         * regmove.c (try_apply_stack_adjustment): Remove now redundant
2624         sanity checks.
2625         (combine_stack_adjustments_for_block): Don't combine stack
2626         allocation followed by deallocations.  Handle grow-up stacks.
2627
2628 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2629
2630         * fdl.texi: New file.
2631         * c-tree.texi: Use the GFDL.
2632         * gcc.texi: Likewise.
2633
2634 2001-04-30  Stan Shebs  <shebs@apple.com>
2635
2636         * invoke.texi: Add a section documenting Objective-C options.
2637
2638 2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>
2639
2640         * emit-rtl.c (try_split):  Copy EH notes to sequence.
2641
2642 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2643
2644         * regmove.c (record_stack_memrefs): Catch all references to the
2645         stack pointer.
2646
2647 2001-04-29  Toomas Rosin <toomas at ns dot tklabor dot ee>
2648
2649         * Makefile.in (stmp-fixinc): quote shell assignment values
2650
2651 2001-04-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2652
2653         * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
2654
2655         * gcc.c: Likewise.
2656
2657         * prefix.c: Likewise.
2658
2659 2001-04-28  Stan Shebs  <shebs@apple.com>
2660
2661         * objc/objc-act.c (handle_class_ref): Rewrite to flush target
2662         specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
2663         * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
2664         * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
2665
2666         * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
2667         (NEXT_OBJC_RUNTIME): Define.
2668
2669 Sat Apr 28 21:02:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
2670
2671         * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
2672         * simplify-rtx.c (simplify_gen_relational): Likewise.
2673
2674         * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
2675
2676         * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
2677         * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
2678
2679         * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
2680         registers in SSE case; fix handling of the immediates.
2681         (negsf2_ifs, abssf2_ifs): Tweak constraints; require
2682         operands to be in regsiters before reload.
2683         (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
2684         (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
2685         (abstf,absxf,negtf,negxf splitters): Compute
2686         properly the regnum for x86_64.
2687         (avsdf2_if_rex64): New.
2688
2689 Sat Apr 28 10:36:23 2001  Jeffrey A Law  (law@cygnus.com)
2690
2691         * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
2692         and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
2693         into the constant pool.
2694         * jump.c (jump_optimize_1): Remove barrier successors after all
2695         the LABEL_NUSES counds have been computed.
2696         (delete_barrier_successors): When deleting a tablejump insn, also
2697         delete the jump table it uses.
2698         * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
2699         label into memory.
2700
2701 2001-04-28  Martin Kalen  <martin.kalen@todaysystems.com.au>
2702
2703         * pa.c (FRP): Remove erroneous white space in macro definition.
2704
2705 2001-04-28  Andreas Jaeger  <aj@suse.de>
2706
2707         * invoke.texi: Use XX-bit instead of XXbit or XX bit where
2708         appropriate.
2709         * extend.texi: Likewise.
2710         * tm.texi: Likewise.
2711
2712 2001-04-28  Andreas Jaeger  <aj@suse.de>
2713
2714         * md.texi: Use XX-bit instead of XXbit or XX bit where
2715         appropriate.
2716
2717 2001-04-28  Jens Schweikhardt <schweikh@schweikhardt.net>
2718
2719         * gcc.c (process_command): Allow -l lib in addition to -llib
2720         for POSIX compliance. This fixes PR c/2347.
2721
2722         * invoke.texi: Update section on Link Options accordingly.
2723
2724 2001-04-27  Zack Weinberg  <zackw@stanford.edu>
2725
2726         * function.c (purge_addressof_1): Remove the duplicate
2727         if (code == SET) block.  Fold the two if (code == ADDRESSOF)
2728         blocks together.
2729
2730 2001-04-28  Jason Merrill  <jason_merrill@redhat.com>
2731
2732         * except.c (expand_eh_region_start): Don't start a new block.
2733         (expand_eh_region_end): Don't end a block.
2734         * stmt.c (expand_end_bindings): Don't end EH blocks.
2735         (expand_decl_cleanup): Starting an EH region won't change the block.
2736         (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
2737         (is_eh_region): Lose.
2738         * tree.h: Adjust.
2739
2740 2001-04-27  Jeffrey Oldham  <oldham@codesourcery.com>
2741
2742         * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
2743
2744         * collect2.c (main): Add `-L' case to remove duplicate entries.
2745         (is_in_args): New function to check for a duplicate argument.
2746         * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
2747         * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
2748         * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
2749         Define to be nonzero.
2750
2751 2001-04-27  Andreas Jaeger  <aj@suse.de>
2752             Richard Henderson  <rth@redhat.com>
2753
2754         * md.texi (Machine Constraints): Document additional i386
2755         constraints and fix description of "A".
2756
2757 Fri Apr 27 10:43:49 2001  Jeffrey A Law  (law@cygnus.com)
2758
2759         * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
2760
2761 2001-04-27  Jason Merrill  <jason_merrill@redhat.com>
2762
2763         * except.c (get_exception_filter): word_mode, not Pmode.
2764
2765 2001-04-26  Geoffrey Keating  <geoffk@redhat.com>
2766
2767         * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
2768         common to other movsf patterns.  Move up so that in future
2769         people who change the other patterns will change it too.
2770         (movsf_lo_sum): Allow even for soft-float; add appropriate
2771         constraints.
2772         (movsf_high): Likewise.
2773         (movsf_high+1): Allow even for soft-float.
2774
2775         * function.c (expand_function_end): Always clobber the
2776         return registers, even if there is no return label.
2777
2778 Thu Apr 26 20:28:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
2779
2780         * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
2781
2782 Thu Apr 26 19:20:28 CEST 2001  Jan Hubicka  <jh@suse.cz>
2783
2784         * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
2785         (pushqi2_rex64, pushhi2_rex64): Add.
2786
2787 2001-04-26  Andrew Haley  <aph@cambridge.redhat.com>
2788
2789         * except.c (expand_eh_region_end_cleanup): Force pending stack
2790         adjust before emitting label that branches around cleanup code.
2791
2792 2001-04-26  H.J. Lu  (hjl@gnu.org)
2793
2794         * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
2795
2796         * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
2797         define.
2798         * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
2799         (ASM_OUTPUT_SECTION_NAME): Likewise.
2800         (ASM_WEAKEN_LABEL): Likewise.
2801         (UNIQUE_SECTION): Likewise.
2802         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2803         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2804         * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
2805         (ASM_OUTPUT_SECTION_NAME): Likewise.
2806         (ASM_WEAKEN_LABEL): Likewise.
2807         (UNIQUE_SECTION): Likewise.
2808         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2809         (ASM_OUTPUT_DESTRUCTOR): Likewise.
2810         * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
2811         * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
2812         (ASM_FILE_START): Likewise.
2813         (ASM_OUTPUT_SOURCE_LINE): Likewise.
2814         (ASM_DECLARE_OBJECT_NAME): Likewise.
2815         (ASM_FILE_END): Likewise.
2816         (ASM_DECLARE_FUNCTION_NAME): Likewise.
2817         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
2818         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2819         (ASM_OUTPUT_CASE_LABEL): Likewise.
2820         (ASM_OUTPUT_SKIP): Likewise.
2821         (ASM_OUTPUT_ASCII): Likewise.
2822         (ASM_OUTPUT_IDENT): Likewise.
2823         (READONLY_DATA_SECTION): Likewise.
2824         (EXTRA_SECTIONS): Likewise.
2825         (EXTRA_SECTION_FUNCTIONS): Likewise.
2826         (SELECT_RTX_SECTION): Likewise.
2827         (SELECT_SECTION): Likewise.
2828
2829         * config/mips/linux.h (INVOKE__main): Undefine.
2830         (CTOR_LIST_BEGIN): Likewise.
2831         (CTOR_LIST_END): Likewise.
2832         (DTOR_LIST_BEGIN): Likewise.
2833         (DTOR_LIST_END): Likewise.
2834         (SET_ASM_OP): Defined it to ".dummy".
2835         (ASM_OUTPUT_DEF): Defined.
2836         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
2837
2838 2001-04-26  Nick Clifton  <nickc@cambridge.redhat.com>
2839
2840         * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
2841         assembler supports .p2align.
2842
2843 2001-04-26  Nathan Sidwell <nathan@codesourcery.com>
2844
2845         * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
2846
2847 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
2848
2849         * integrate.c (expand_inline_function): Check for error_mark_node
2850         in actual argument.
2851
2852 2001-04-26  Jakub Jelinek  <jakub@redhat.com>
2853
2854         * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
2855         -m386 and -m486.
2856
2857 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
2858
2859         * configure.in (configargs.h): Define thread_model.
2860         * configure: Rebuilt.
2861         * gcc.c (main): Print it with -v.
2862
2863 2001-04-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2864
2865         * invoke.texi: Document -Wmissing-braces, -dumpspecs,
2866         -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
2867         * gcc.1: Regenerate.
2868
2869 2001-04-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2870
2871         * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
2872         is_redundant_typedef): Use static inline instead of inline static.
2873
2874 Wed Apr 25 18:21:01 2001  Christopher Faylor <cgf@cygnus.com>
2875
2876         * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
2877         this directory is always searched.
2878
2879 2001-04-25  Richard Henderson  <rth@redhat.com>
2880
2881         * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
2882         of registers to restore along non eh_return path.
2883
2884 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2885
2886         * c-format.c (check_format_info_recurse): Handle
2887         PLUS_EXPR for format string.
2888
2889 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2890
2891         * config/ia64/ia64.h (CC1_SPEC): Define.
2892         * config/ia64/linux.h (CC1_SPEC): Define.
2893
2894 Wed Apr 25 17:09:50 2001  J"orn Rennecke <amylaar@redhat.com>
2895
2896         * emit-rtl.c (constant_subword): Also do sign extension in
2897         BITS_PER_WORD == 16 case.
2898
2899 2001-04-25  Jason Merrill  <jason_merrill@redhat.com>
2900
2901         * loop.c (try_swap_copy_prop): Go back to checking insn.
2902
2903 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2904
2905         * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
2906         if check_mode is non-zero.
2907
2908 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2909
2910         * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
2911         out and comparison sequence has been detected, put result into
2912         proper temporary pseudo.
2913
2914 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
2915
2916         * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
2917         * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
2918         * libgcc2.c: Remove __dummy and __builtin_saveregs.
2919         * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
2920         * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
2921         for future reference.
2922
2923 2001-04-24  Jason Merrill  <jason_merrill@redhat.com>
2924
2925         * except.c (reachable_handlers): Step out one level from a RESX.
2926
2927         * except.c (struct eh_region): Rename 'last' to 'resume'.
2928         (mark_eh_region, duplicate_eh_region_1): Adjust.
2929         (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
2930         (build_post_landing_pads): Likewise.
2931         (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
2932         (expand_eh_region_end_must_not_throw): Likewise.
2933         (connect_post_landing_pads): Thread (only) regions with non-deleted
2934         resume insns.
2935
2936         * except.c (expand_eh_region_end_cleanup): Save the EH return data
2937         registers around the cleanup.
2938         (get_exception_filter): New fn.
2939         (finish_eh_generation): Use it.
2940
2941 2001-04-24  Nathan Sidwell <nathan@codesourcery.com>
2942
2943         * c-semantics.c (add_scope_stmt): Don't call
2944         current_scope_stmt_stack multiple times.
2945
2946 2001-04-24  Zack Weinberg  <zackw@stanford.edu>
2947             Nathan Sidwell <nathan@codesourcery.com>
2948
2949         Lazy __FUNCTION__ generation.
2950         * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
2951         RID_C99_FUNCTION_NAME): New _RIDs.
2952         (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
2953         (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
2954         CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
2955         global tree slots.
2956         (function_id_node, pretty_function_id_node, func_id_node): Remove.
2957         (c99_function_name_decl_node, function_name_decl_node,
2958         pretty_function_name_decl_node, saved_function_name_decls):
2959         Declare.
2960         (struct language_function): Remove x_function_name_declared_p.
2961         (make_fname_decl): Remove a parameter.
2962         (declare_function_names): Remove prototype.
2963         (start_fname_decls, finish_fname_decls): Prototype.
2964         (fname_as_string): Likewise.
2965         (fname_string, fname_decl): Likewise.
2966         * c-common.c (make_fname_decl): Adjust.
2967         (struct fname_var_t): New struct.
2968         (fname_vars): New static array.
2969         (declare_function_name): Remove.
2970         (start_fname_decls, finish_fname_decls): New functions.
2971         (fname_as_string): New function from remnants of
2972         declare_function_name.
2973         (fname_string, fname_decl): New functions.
2974
2975         * c-decl.c (c_function_name_declared_p): Remove.
2976         (init_decl_processing): Don't generate __FUNCTION__ et al ids,
2977         don't call declare_function_name. Call start_fname_decls.
2978         (c_make_fname_decl): Adjust parameters. Generate the name. Don't
2979         clobber the line number. Call finish_decl.
2980         (start_function): Call start_fname_decls.
2981         (finish_function): Call finish_fname_decls.
2982         Remove c_function_name_declared_p.
2983         (push_c_function_context): Don't push c_function_name_declared_p.
2984         (pop_c_function_context): Don't pop c_function_name_declared_p.
2985         (c_begin_compound_stmt): Don't check c_function_name_declared_p.
2986         * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
2987         (program): Call finish_fname_decls for C.
2988         (primary): Add VAR_FUNC_NAME.
2989         (reswords): Add slots for __FUNCTION__ et al.
2990         (rid_to_yy): Add mappings for __FUNCTION__ et al.
2991         (yylexname): If it's a STRING_FUNC_NAME generate the function name
2992         now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
2993         * c-semantics.c (prune_unused_decls): Remove.
2994         (finish_stmt_tree): Don't call prune_unused_decls.
2995         (genrtl_decl_stmt): Don't prune unused decls here.
2996
2997 2001-04-24  Nick Clifton  <nickc@cambridge.redhat.com>
2998
2999         * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
3000         constant pool, use the pool's SYMBOL_REF instead.
3001
3002         * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
3003         v850e.
3004
3005 2001-04-23  Joseph S. Myers  <jsm28@cam.ac.uk>
3006
3007         * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
3008         passing nested NOP_EXPRs to fold.
3009
3010 Mon Apr 23 14:32:12 CEST 2001  Jan Hubicka  <jh@suse.cz>
3011
3012         * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
3013
3014 2001-04-22  Mark Mitchell  <mark@codesourcery.com>
3015
3016         * loop.c (loop_delete_insns): Add prototype.
3017
3018 2001-04-23  Phil Edwards  <pme@sources.redhat.com>
3019
3020         * configure.in:  Remove ENABLE_STD_NAMESPACE.
3021         * config.in:  Regenerated.
3022         * configure:  Regenerated.
3023
3024 2001-04-22  Stan Shebs  <shebs@apple.com>
3025
3026         * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
3027         into xm_defines.
3028         * config/rs6000/xm-darwin.h: Remove file.
3029
3030 2001-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3031
3032         * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
3033         (write_c_file_stat): Likewise.
3034
3035         * dbxout.c (dbxout_init): Likewise.
3036
3037         * profile.c (output_func_start_profiler): Likewise.
3038
3039 2001-04-22  Philipp Thomas  <pthomas@suse.de>
3040
3041         * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
3042         require it instead of the CVS version.
3043         * cpperror.c (v_message): Put a blank before the macro
3044         body to not confuse exgettext.
3045
3046 2001-04-21  Mark Mitchell  <mark@codesourcery.com>
3047
3048         * flow.c (proagate_one_insn): Remove useless assignment.
3049         * jump.c (delete_insn): Tidy.
3050         * loop.c (try_copy_prop): When deleting an instruction with a
3051         REG_RETVAL note, delete the entire libcall sequence.
3052         (loop_delete_insns): New function.
3053         * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
3054         we're not substituting into them yet.
3055
3056 2001-04-21  Kazu Hirata  <kazu@hxi.com>
3057
3058         * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
3059
3060         * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
3061         Fix a comment typo.
3062         * config/i960/i960.c (signed_arith_operand): Likewise.
3063
3064         * calls.c (expand_call): Fix a comment typo.
3065
3066 2001-04-20  Zack Weinberg  <zackw@stanford.edu>
3067
3068         * configure.in: Probe for times, clock, struct tms, and clock_t.
3069         * configure, config.in: Regenerate.
3070         * timevar.c: Replace ifdef forest in get_time with (relatively)
3071         straightforward series of checks based on autoconf's probes.
3072
3073 Fri Apr 20 12:24:50 2001  Jeffrey A Law  (law@cygnus.com)
3074
3075         * config/pa/som.h (NM_FLAGS): Define.
3076
3077 2001-04-20  Bernd Schmidt  <bernds@redhat.com>
3078
3079         * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
3080         function.
3081         * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
3082         * ia64.c (nop_cycles_until): New function.
3083         (prev_cycle, prev_first, last_issued): New static variables.
3084         (ia64_sched_reorder): Additional arg for clock.
3085         On final scheduling pass, emit extra NOPs as needed.
3086         Set prev_first and prev_cycle.
3087         (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
3088         (ia64_variable_issue): Set last_issued.
3089
3090 2001-04-20  Alexandre Oliva  <aoliva@redhat.com>
3091
3092         * config/i386/i386.c (ix86_expand_int_movcc,
3093         ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
3094
3095 2001-04-20  Geoff Keating  <geoffk@redhat.com>
3096
3097         * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
3098         ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
3099         ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
3100         ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
3101         ctrdi_internal6): In the short-branch case, this insn is only 4
3102         bytes long.  Reported by Reza Yazdani <reza@apple.com>.
3103
3104 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
3105
3106         * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
3107         "=u" is used together with "st" resp. "st(1)" clobber.
3108
3109 2001-04-20  Jakub Jelinek  <jakub@redhat.com>
3110
3111         * gcse.c (gcse_main): Fix comment typo.
3112         (delete_null_pointer_check): Likewise.
3113         (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
3114         * cse.c (cse_insn): Likewise.
3115         * function.c (fixup_var_refs_insns_with_hash): The sequence is
3116         toplevel.
3117
3118 2001-04-19  Zack Weinberg  <zackw@stanford.edu>
3119
3120         * toplev.c: Excise all code for the undocumented -dm option.
3121         (float_signal): Call signal just once, unconditionally.
3122
3123 2001-04-19  Geoff Keating  <geoffk@redhat.com>
3124
3125         * fold-const.c (fold): Use first_rtl_op rather than
3126         TREE_CODE_LENGTH when looping over parameters of a tree.
3127         Correct strange grouping in test for evaluated SAVE_EXPR.
3128
3129 Thu Apr 19 19:15:26 2001  Jeffrey A Law  (law@cygnus.com)
3130
3131         * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
3132         * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
3133
3134         * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
3135         name at 32 total characters.
3136         (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
3137         functions in named sections -- data items can still go into unique
3138         sections, but they have normal names (ie $LIT$ and $DATA$).
3139
3140         * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
3141         INIT_PRIORITY.
3142
3143 2001-04-19 DJ Delorie  <dj@redhat.com>
3144
3145         * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
3146         to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
3147         * config/i386/cygwin.h: Likewise.
3148         * config/i386/mingw32.h: Likewise.
3149         * config/vax/vms.h: Likewise.
3150         * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
3151
3152         * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
3153         to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
3154         * config/i386/xm-cygwin.h: Likewise.
3155         * config/i386/xm-djgpp.h: Likewise.
3156         * config/i386/xm-mingw32.h: Likewise.
3157         * config/vax/xm-vms.h: Likewise.
3158
3159         * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
3160         instead of OBJECT_SUFFIX.
3161         * collect2.c (find_a_file): Look for files matching the extension
3162         HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
3163         * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
3164         TARGET_EXECUTABLE_SUFFIX.
3165         (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
3166         (make_relative_prefix): Likewise.
3167         (convert_filename): Use TARGET_ suffixes throughout.  Remove
3168         NO_AUTO_EXE_SUFFIX.
3169         (process_command): Likewise.
3170         (do_spec_1): Likewise.
3171         * java/lang.c (init_parse): Likewise.
3172
3173         * gcc.texi : Document four new options matching the pattern
3174         (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX.  Remove documentation
3175         for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.  Remove
3176         documentation for NO_AUTO_EXE_SUFFIX.
3177
3178 2001-04-19  Mark Mitchell  <mark@codesourcery.com>
3179
3180         * toplev.h (struct lang_hooks): Allow decode_option to indicate
3181         that language-independent processing should not be done.
3182         * toplev.c (main): Adjust accordingly.
3183
3184         * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
3185         * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
3186
3187         * mips.md (reload_outputdi): Require that operand0 be a
3188         general_operand.
3189
3190 2001-04-19  Jakub Jelinek  <jakub@redhat.com>
3191
3192         * invoke.texi (-Wshadow): Clarify.
3193
3194 2001-04-18  Mark Mitchell  <mark@codesourcery.com>
3195
3196         * loop.c (load_mems): Examine all the instructions in the loop
3197         before concluding that all jumps branch to the first instruction
3198         after the loop.
3199
3200 Wed Apr 18 20:32:03 2001  Christopher Faylor <cgf@cygnus.com>
3201
3202         * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
3203
3204 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
3205
3206         * cpp.texi (-Wwhite-space): Remove.
3207         (-Wall): -Wall does not imply -Wwhite-space.
3208
3209 2001-04-17  Zack Weinberg  <zackw@stanford.edu>
3210
3211         * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
3212         use it instead of blindly generating a .stabs.
3213         * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
3214         in the right place.
3215         * xcoffout.c: Don't bother defining default for N_CATCH.
3216         (UNKNOWN_STAB): Use internal_error.
3217         (stab_to_sclass): Remove now-unnecessary aborts.
3218         Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.
3219
3220 Tue Apr 17 21:41:11 2001  Jeffrey A Law  (law@cygnus.com)
3221
3222         * jump.c (mark_all_labels): Canonicalize the tail recursion
3223         label attached to CALL_PLACEHOLDER insns.
3224
3225 2001-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3226
3227         * output.h (dump_flow_info, free_basic_block_vars,
3228         which_alternative): Delete redundant prototypes.
3229
3230         * rtl.h (bss_section): Likewise.
3231
3232 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
3233
3234         * dbxout.c (N_OPT): Define if not available from <stab.h>
3235
3236 2001-04-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3237
3238         * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
3239         libraries and native K&R compilers.
3240
3241 2001-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3242
3243         * c-typeck.c (convert_arguments): Don't check for width changes
3244         with -Wtraditional.
3245
3246         * invoke.texi (-Wtraditional): Update documentation.
3247
3248 2001-04-16  Zack Weinberg  <zackw@stanford.edu>
3249
3250         * toplev.c (output_lang_identify): Delete.
3251         (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
3252         Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
3253         If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
3254         after calling ASM_FILE_END.
3255
3256         * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
3257         Instead, unconditionally emit an N_OPT stab with string equal
3258         to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
3259
3260         * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
3261
3262         * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
3263         config/psos.h, config/ptx4.h, config/1750a/1750a.h,
3264         config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
3265         config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
3266         config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
3267         config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
3268         config/i370/i370.h, config/i386/beos-elf.h,
3269         config/i386/osf1elf.h, config/i386/osfrose.h,
3270         config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
3271         config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
3272         config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
3273         config/m68k/tower-as.h, config/mcore/mcore-elf.h,
3274         config/mips/iris6.h, config/mips/osfrose.h,
3275         config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
3276         config/sparc/sp64-elf.h:
3277         Delete definitions of any or all of: ASM_IDENTIFY_GCC,
3278         ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
3279
3280         * config/elfos.h, config/freebsd.h, config/linux.h,
3281         config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
3282         config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
3283         config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
3284         of ASM_FILE_START which merely emit a .version directive.  Delete
3285         definitions of ASM_FILE_END which merely emit an .ident directive.
3286
3287         * config/avr/avr.h, config/vax/vax.h: Delete definition of
3288         ASM_IDENTIFY_GCC and move part of its logic into
3289         ASM_FILE_START.
3290
3291         * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
3292         config/sparc/linux-aout.h: Don't emit .version directive in
3293         ASM_FILE_START.
3294
3295         * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
3296         (output_file_start): Correct comment.
3297
3298         * config/i386/osfrose.h: Don't emit trailing .ident directive.
3299         * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
3300         to match gdb.
3301         * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
3302         * config/rs6000/aix.h: Correct comment.
3303
3304         * config/i386/i386afe.h: Delete.
3305         * config.gcc: Remove references to i386afe.h.
3306
3307         * tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
3308         other macros deleted by this patch were undocumented.
3309
3310 Mon Apr 16 08:03:48 2001  Jeffrey A Law  (law@cygnus.com)
3311
3312         * pa.md (reload_outdi): Operand 0 must be a non hard register.
3313
3314         * pa.c (secondary_reload_class): SAR<->FP copies require a
3315         secondary register.
3316
3317         * install.texi (mips-mips-bsd): Update list of functions
3318         required to include memmove.
3319         * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
3320         used functions to include memmove.
3321
3322 2001-04-15  Toon Moene  <toon@moene.indiv.nluug.nl>
3323
3324         * i386.md (sqrtdf2): SFmode should be DFmode.
3325
3326 2001-04-15  Alexandre Oliva  <aoliva@redhat.com>
3327
3328         * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
3329         (find_moveable_store): Likewise.
3330
3331 2001-04-15  Jim Wilson  <wilson@redhat.com>
3332
3333         * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
3334
3335 Sat Apr 14 16:24:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
3336
3337         * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
3338         (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
3339
3340 2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
3341
3342         * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
3343         first alternative.
3344
3345 2001-04-14  Alan Modra  <amodra@one.net.au>
3346
3347         * pa.c (force_mode): New function.
3348         (emit_move_sequence): Use it instead of generating new rtx_REGs.
3349
3350 2001-04-13  Jim Wilson  <wilson@redhat.com>
3351
3352         * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
3353         (first_instruction): New static variable.
3354         (rtx_needs_barrier): Return 1 for alloc.
3355         (init_insn_group_barriers): Set first_instruction.
3356         (rws_sum): Delete duplicate definition.
3357         (group_barrier_needed_p): Return 0 when first_instruction true.
3358         (safe_group_barrier_needed_p): Save and restore first_instruction
3359         around group_barrier_needed_p call.
3360
3361 Fri Apr 13 21:40:28 2001  Loren J. Rittle  <ljrittle@acm.org>
3362
3363         * expr.h (enum libfunc_index): Add LTI_memmove.
3364         (memmove_libfunc): Define macro.
3365         * optabs.c (init_optabs): Initialize memmove_libfunc.
3366         * expr.c (expand_assignment): Use memmove_libfunc instead of
3367         memcpy_libfunc.
3368
3369 2001-04-13  Alan Modra  <alan@linuxcare.com.au>
3370
3371         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
3372         fp mode addresses.
3373
3374 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3375
3376         * Makefile.in (reg-stack.o): Depend on reload.h.
3377         (insn-attrtab.o): Depend on flags.h.
3378
3379         * genattrtab (main): Include flags.h in insn-attrtab.c.
3380
3381         * reg-stack.c: Include reload.h.
3382
3383         * sparc.h (flag_pic): Delete redundant declaration.
3384
3385         * output.h (flag_pic): Likewise.
3386
3387         * tree.h (pedantic): Likewise.
3388
3389 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3390
3391         * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
3392
3393         * jump.c, regmove.c, toplev.c: Include reload.h.
3394
3395         * reload.h (reload_cse_regs): Declare.
3396
3397         * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
3398         reload_cse_regs, init_reload, mark_home_live, reload,
3399         init_caller_save): Delete redundant prototypes.
3400
3401 2001-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3402
3403         * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
3404
3405         * regclass.c, ssa.c: Include expr.h.
3406
3407         * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
3408         gen_move_insn): Delete redundant declarations.
3409
3410 2001-04-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3411
3412         * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
3413         (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
3414         MAKEINFO and MAKEINFOFLAGS too.
3415         (stage4_build): Correctly order -B flags.
3416
3417 2001-04-13  Alan Modra  <amodra@one.net.au>
3418
3419         * pa.c (hppa_init_pic_save): Set rtx_unchanging for
3420         PIC_OFFSET_TABLE_SAVE_RTX.
3421         (zdepi_cint_p): Describe zdepi insn.
3422         Formatting and white space fixes throughout file.
3423
3424         * pa.c (uint32_operand): Don't use long constant >= 2^32.
3425         (emit_move_sequence): Use HOST_WIDE_INT constants.  Don't worry
3426         about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
3427         (compute_movstrsi_length): Make `align' unsigned to avoid warning.
3428         (output_64bit_and): Use plain `int's for shift counts.
3429         (output_64bit_ior): Likewise.
3430         (function_arg_partial_nregs): Use unsigned vars to avoid warnings.
3431         * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
3432         `N', and simplify.
3433
3434         * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
3435         * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
3436         * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
3437         NEW_HP_ASSEMBLER into one.  Kill warnings.
3438
3439         * pa-gas.h: Delete file.
3440         * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
3441         Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*.  Update
3442         hppa*-*-linux*.  For all pa targets, remove pa/gas.h from tm_file,
3443         instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
3444
3445         * config/pa/mill32.S: New file.
3446         * config/pa/mill64.S: New file.
3447         * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
3448         LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
3449         * config/pa/t-linux64: New file.
3450         * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
3451         (LIB1ASMFUNCS, LIB1ASMSRC): Define.
3452         (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
3453
3454         * elfos.h (SELECT_SECTION): Undef before defining.
3455         * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
3456         (LIB_SPEC): Remove -lmilli.
3457         (DBX_REGISTER_NUMBER): Remove.
3458         (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
3459         (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
3460         NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
3461         DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
3462         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
3463         ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
3464         ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
3465         TARGET_GAS): Define.
3466         * pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
3467         (function_arg): If TARGET_ELF32, pass fp args in both general and fp
3468         regs if we don't have a prototype.
3469         * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
3470         * pa.h (TARGET_ELF32): Default to 0 if undefined.
3471         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
3472         EH_RETURN_HANDLER_RTX): Define.
3473         * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
3474         (DWARF_FRAME_REGNUM): Define.
3475         * pa64-regs.h (DWARF_FRAME_REGNUM): Define.
3476         * pa32-linux.h: New file.
3477         * pa64-linux.h: New file.
3478
3479         * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
3480         (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
3481         (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
3482         NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
3483         DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
3484         DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
3485         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
3486         FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
3487         READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
3488         DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
3489         UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
3490         ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
3491         TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
3492         * pa64-hpux.h: New file.
3493         (ASM_FILE_START): Correct typo.
3494         (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
3495         * config.gcc: Modify for above.
3496
3497 Fri Apr 13 00:09:22 EDT 2001  John Wehle  (john@feith.com)
3498
3499         * jump.c (jump_optimize_1): Don't delete dead stores here.
3500         * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
3501         prior to running jump optimize before cse2.
3502
3503 2001-04-12  Richard Henderson  <rth@redhat.com>
3504
3505         * Makefile.in (regmove.o): Depend on except.h.
3506         * regmove.c: Include it.
3507
3508 2001-04-12  Stan Shebs  <shebs@apple.com>
3509
3510         * objc/objc-act.c: Remove all code ifdefed with the never-used
3511         macro OBJC_INT_SELECTORS.
3512         * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
3513         * tm.texi: Remove doc for OBJC_INT_SELECTORS.
3514
3515 Thu Apr 12 18:13:37 2001  Rodney Brown  <RodneyBrown@mynd.com>
3516
3517         * config/pa/quadlib.c: Add prototypes.
3518
3519 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3520
3521         * bitmap.h (debug_bitmap): Delete redundant prototype.
3522
3523         * rtl.h (get_frame_size): Likewise.
3524
3525 2001-04-12  Jim Wilson  <wilson@redhat.com>
3526
3527         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
3528         to just emit an fnorm.
3529
3530 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3531
3532         * c-common.h (truthvalue_conversion, type_for_mode,
3533         type_for_size): Delete redundant declarations.
3534
3535         * c-lex.h (is_class_name): Likewise.
3536
3537         * c-tree.h (pedantic, convert, getdecls, gettags,
3538         global_bindings_p, init_decl_processing, insert_block,
3539         maybe_build_cleanup, poplevel, print_lang_decl,
3540         print_lang_identifier, print_lang_type, pushdecl, pushlevel,
3541         set_block, incomplete_type_error, build_function_call,
3542         lvalue_or_else, mark_addressable): Likewise.
3543
3544         * expr.h (expand_tree_builtin): Likewise.
3545
3546 2001-04-12  Mark Mitchell  <mark@codesourcery.com>
3547
3548         * invoke.texi: Document --param max-gcse-memory.
3549
3550 2001-04-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3551
3552         * configure.in (errno): Check for declaration.
3553         * configure, config.in: Regenerated.
3554
3555         * system.h (errno): Only declare if not already done.
3556
3557 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3558
3559         * recog.c (general_operand, immediate_operand,
3560         nonmemory_operand): Require CONST_INTs to be sign-extended
3561         values for their modes.
3562
3563 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3564
3565         * expmed.c (store_bit_field): Truncate CONST_INTs.
3566         (expand_mult_highpart, expand_divmod): Likewise.
3567         * expr.c (convert_modes, store_field): Likewise.
3568         * integrate.c (expand_inline_function): Use promote_mode() to
3569         determine whether to convert_modes() an argument as signed
3570         or unsigned.
3571         * optabs.c (expand_binop): Get CONST_INT operands
3572         sign-extended for their appropriate modes.
3573         * stmt.c (emit_case_nodes): Convert node values to the
3574         appropriate mode.
3575         (expand_end_case): Convert minval and range to the appropriate
3576         mode.
3577         * unroll.c (loop_iterations): Truncate abs_diff to the mode of
3578         the iteration variable.
3579         * varasm.c (immed_double_const): Don't require words to be
3580         narrower than host wide ints to properly sign-extend
3581         CONST_INTs.
3582
3583 2001-04-12  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3584
3585         * sh.md (builtin_setjmp_receiver): New expander.
3586
3587 2001-04-12  David Edelsohn  <dje@watson.ibm.com>
3588
3589         * config/rs6000/rs6000.c (rs6000_emit_move): Do not
3590         special-case HOST_BITS_PER_WIDE_INT != 32.  Use same criteria
3591         for generating CONST_INT and CONST_DOUBLE.
3592
3593 2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
3594
3595         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
3596         already sign-extended.
3597         (rs6000_emit_prologue): Make register iterator signed.
3598         (rs6000_emit_epilogue): Likewise.
3599         * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
3600         and low.
3601         (movsf split, movdf split): Sign-extend CONST_INTs.
3602         (movdi splits): Likewise.
3603
3604 2001-04-12  Kelley Cook <kelley.cook@home.com>
3605
3606         * config-lang.in (lang_dirs): Add in zlib.
3607
3608 2001-04-11  Alexandre Oliva  <aoliva@redhat.com>
3609
3610         * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
3611         operands that make it to RTL.
3612
3613 2001-04-11  Stan Shebs  <shebs@apple.com>
3614
3615         Add Darwin (Mac OS X kernel) native support.
3616         * config.gcc (powerpc-*-darwin*): Add native bits.
3617         * config/darwin.c: New file, generic Darwin support functions.
3618         * config/darwin.h: New file, generic Darwin definitions.
3619         * config/darwin-protos.h: New file, generic Darwin prototypes.
3620         * rs6000/darwin.h: New file, Darwin for PowerPC.
3621         * rs6000/t-darwin: New file, Darwin makefile fragment.
3622         * rs6000/rs6000.h (OBJECT_MACHO): New macro.
3623         (TARGET_MACHO): Ditto.
3624         (rs6000_abi): Add ABI_DARWIN.
3625         (RS6000_REG_SAVE): Add ABI_DARWIN case.
3626         (RS6000_SAVE_AREA): Ditto.
3627         (FP_ARG_MAX_REG): Ditto.
3628         (RETURN_ADDRESS_OFFSET): Ditto.
3629         * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
3630         cases.
3631         (rs6000_emit_move): Add ABI_DARWIN cases.
3632         (print_operand): Ditto.
3633         (first_reg_to_save): Ditto.
3634         (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
3635         (debug_stack_info): Ditto.
3636         (rs6000_emit_prologue): Ditto.
3637         (rs6000_emit_epilogue): Ditto.
3638         (output_profiler_hook): Ditto.
3639         (output_function_profiler): Ditto.
3640         (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
3641         (output_mi_thunk): Add TARGET_MACHO case.
3642         (add_compiler_stub): Ditto.
3643         (output_compiler_stub): Ditto.
3644         (no_previous_def): Ditto.
3645         (output_call): Ditto.
3646         (machopic_output_stub): Ditto.
3647         (rs6000_machopic_legitimize_pic_address): Ditto.
3648         (toc_section): Ditto.
3649         * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
3650         (macho_high): Ditto.
3651         (macho_low): Ditto.
3652         (movsi_low): Ditto.
3653         (load_macho_picbase): Ditto.
3654         (call): Add TARGET_MACHO case to modify function.
3655         (call_value): Ditto.
3656         (call_nonlocal_sysv): Add ABI_DARWIN case.
3657         (call_value_nonlocal_sysv): Ditto.
3658         * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
3659         Add prototype.
3660         (machopic_output_stub): Ditto.
3661         * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
3662
3663 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3664
3665         * dwarf2out.c (modified_type_die): Don't create new types here.
3666         * tree.h (get_qualified_type): New function.
3667         (build_qualified_type): Adjust comment.
3668         * tree.c (get_qualified_type): New function.
3669         (build_qualified_type): Use it.
3670
3671 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3672
3673         * cpp.texi (-Wtraditional): Update description.
3674
3675         * invoke.texi (-Wtraditional): Likewise.
3676
3677 2001-04-11  Jim Wilson  <wilson@redhat.com>
3678
3679         * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
3680         requires more than 64 bits of alignment.
3681
3682 2001-04-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3683
3684         * cpplib.c (do_line): Sanity check iff enable checking.
3685
3686 2001-04-11  Richard Henderson  <rth@redhat.com>
3687
3688         * Makefile.in (insn-recog.o): Depend on toplev.h.
3689         (insn-emit.o, doloop.o): Likewise.
3690         * genrecog.c, genemit.c: Include toplev.h in generated file.
3691         * doloop.c: Include toplev.h.
3692
3693 2001-04-11  Mark Mitchell  <mark@codesourcery.com>
3694
3695         * Makefile.in (gcse.o): Depend on params.h.
3696         * gcse.c: Include params.h.
3697         (gcse_main): Don't do GCSE if doing so will take inordinate
3698         amounts of memory.
3699         * params.def (PARAM_MAX_GCSE_MEMORY): New  parameter.
3700         * params.h (MAX_GCSE_MEMORY): New macro.
3701
3702 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3703
3704         * Makefile.in (insn-output.o): Depend on $(EXPR_H).
3705
3706         * genoutput.c (output_prologue): Include expr.h in insn-output.c.
3707
3708 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3709
3710         * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
3711
3712         * real.h (ereal_atof, real_value_truncate, target_isnan,
3713         target_isinf, target_negative, assemble_real, debug_real): Delete
3714         redundant prototypes.
3715
3716         * Makefile.in (ifcvt.o): Depend on toplev.h.
3717
3718         * c-semantics.c: Include expr.h.
3719
3720         * ifcvt.c: Include toplev.h.
3721
3722         * expr.h (rtx_equal_p): Delete prototype.
3723
3724         * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
3725         protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
3726         eliminate_constant_term, expand_complex_abs, find_single_use,
3727         make_tree, init_expr_once, init_optabs, supports_one_only):
3728         Likewise.
3729
3730         * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
3731         rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
3732         expand_assignment, store_expr, emit_line_note_after,
3733         emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
3734
3735         * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
3736
3737         * sparc-protos.h: Delete redundant prototypes.
3738
3739 2001-04-11  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
3740
3741         * reload.c (push_reload): Add condition missed in SUBREG byte
3742         offset patch.
3743
3744 Wed Apr  4 00:28:23 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3745
3746         * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
3747
3748 Wed Apr 11 14:06:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
3749
3750         * i386.md (floatsisf_sse): Fix output template
3751         * i386.c (ix86_expand_fp_movcc)
3752
3753         * reg-stack.c (emit_pop_insn): Handle complex modes.
3754         (move_for_stack_reg): Emit proper move mode.
3755         (subst_stack_regs_pat): Handle complex modes.
3756
3757 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3758
3759         * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
3760
3761 2001-04-10  Richard Henderson  <rth@redhat.com>
3762
3763         * libgcc2.h (__terminate_func_ptr): Remove typedef.
3764         (__pure_virtual, __terminate, __terminate_set_func,
3765         __default_terminate, __throw_type_match, __empty,
3766         __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
3767         __eh_rtime_match, __unwinding_cleanup, __rethrow,
3768         __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
3769         Remove prototypes of deleted functions.
3770
3771 2001-04-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3772
3773         * c-typeck.c (convert_arguments): -Wtraditional now activates
3774         -Wconversion warnings, except for changes in signed-ness.
3775         Detect complex<->int & int<->complex conversions as well.
3776
3777         * invoke.texi (-Wtraditional): Document it.
3778
3779 Tue Apr 10 17:45:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3780
3781         * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
3782         * flow.c (set_block_for_new_insns): Remove needless cast and
3783         properly check for unset block number.
3784
3785 2001-04-10  Andrew MacLeod  <amacleod@redhat.com>
3786
3787         * function.c (purge_single_hard_subreg_set): Only check REGNO if
3788         the subreg was a hard register. Pseudos are left as subregs.
3789
3790 2001-04-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3791
3792         * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
3793         (LIB2ADD_ST): New macro, pass it to mklibgcc.
3794         * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
3795         (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
3796         * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
3797
3798 2001-04-09  Bo Thorsen  <bo@suse.co.uk>
3799
3800         * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
3801
3802 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3803
3804         * output.h (set_block_num): Missed it earlier, remove deprecated
3805         prototype.
3806
3807 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3808
3809         * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
3810         (load_killed_in_block_p): Change bb parameter from int to basic_block.
3811         (oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
3812         (handle_rd_kill_set): Change bb parameter from int to basic_block.
3813         (compute_kill_rd): Pass basic_blocks instead of ints as parameters.
3814         (expr_killed_p): Change bb parameter from int to basic_block, pass
3815         basic_blocks instead of ints as parameters.
3816         (compute_ae_kill): Pass basic_blocks instead of ints as parameters.
3817         (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
3818         from int to basic_block, pass basic_blocks instead of ints as parms.
3819         (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
3820         parameter from int to basic_block, pass basic_blocks instead of ints.
3821         (process_insert_insn): Pass basic_blocks instead of ints as parameters.
3822         (insert_insn_end_bb): Change bb parameter from int to basic_block,
3823         pass basic_blocks instead of ints.
3824         (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
3825         basic_blocks instead of ints as parameters.
3826         (pre_delete): Pass basic_blocks instead of ints as parameters.
3827         (hoist_expr_reaches_here_p): Change bb parameter from int to
3828         basic_block, pass basic_blocks instead of ints.
3829         (hoist_code): Pass basic_blocks instead of ints as parameters.
3830         (reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
3831         Change bb parameter from int to basic_block.
3832         (build_store_vectors): Pass basic_blocks instead of ints as parameters.
3833         (insert_insn_start_bb): Change bb parameter from int to basic_block,
3834         pass basic_blocks instead of ints.
3835         (insert_store): Pass basic_blocks instead of ints as parameters.
3836         (replace_store_insn, delete_store): Change bb parameter from int to
3837         basic_block, pass basic_blocks instead of ints.
3838         (store_motion): Pass basic_blocks instead of ints as parameters.
3839
3840 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3841
3842         * basic-block.h (set_new_block_for_insns): New Prototype.
3843         (set_block_num): Delete prototype.
3844         * flow.c (set_block_num): Remove obsolete function.
3845         (set_block_for_new_insns): Set BB for single or multiple insns.
3846         * gcse.c (handle_avail_expr): Use set_block_for_new_insns.
3847         (process_insn_end_bb): Use set_block_for_new_insns or
3848         set_block_for_insn instead of set_block_num.
3849         (pre_insert_copy_insn): Use set_block_for_new_insns.
3850         (update_ld_motion_stores): Use set_block_for_new_insns.
3851         (insert_insn_start_bb): Use set_block_for_new_insns.
3852         (replace_store_insn): Use set_block_for_new_insns.
3853
3854 2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
3855             Jeff Law  <law@redhat.com>
3856
3857         * alias.c (get_addr): Externalize.
3858         (canon_true_dependence): New function. Behaves like true_dependance
3859         except it already assumes a MEM has been canonicalized.
3860         * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
3861         * gcse.c (struct ls_expr): Add load/store expressions structure.
3862         (modify_mem_list, canon_modify_mem_list): New variable.
3863         (gcse_main): Initialize & finalize alias analysis. Use enhanced
3864         load motion and store motion if requested.
3865         (alloc_gcse_mem): Allocate space for modify_mem_list array.
3866         (free_gcse_mem): Free the modify_mem_list array.
3867         (oprs_unchanged_p): Use load_killed_in_block_p.
3868         (gcse_mems_conflict_p, gcse_mem_operand): New variables.
3869         (mems_conflict_for_gcse_p): New function.  Don't kill loads
3870         with stores to themselves if its in the load/store expression list.
3871         (load_killed_in_block_p): New function.
3872         (canon_list_insert): New Function.
3873         (record_last_mem_set_info): Keep a list of all instructions which
3874         can modify memory for each basic block.
3875         (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
3876         (oprs_not_set_p): Use load_killed_in_block_p.
3877         (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
3878         (expr_killed_p): Use load_killed_in_block_p.
3879         (compute_transp): Do not pessimize memory references.
3880         (pre_edge_insert): Update stores for a load motion expression.
3881         (one_pre_gcse_pass): Check loads/stores for extra load motion.
3882         (ldst_entry): Find or create a ldst_expr structure.
3883         (free_ldst_entry): Free memory for an individual item.
3884         (free_ldst_mems): Free entire load/store expression list.
3885         (print_ldst_list): Print debug info.
3886         (find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
3887         (enumerate_ldsts): Assign integer values to each entry in list.
3888         (first_ls_expr): First expression in the list.
3889         (next_ls_expr): Next expression in the list.
3890         (simple_mem): Check if expression qualifies for ld/st expression list.
3891         (invalidate_any_buried_refs): Remove from expression list if its
3892         used in some other way we dont understand.
3893         (compute_ld_motion_mems): Find all potential enhanced load motion
3894         expression.
3895         (trim_ld_motion_mems): Remove any expressions which are invalid.
3896         (update_ld_motion_stores): Copy store values to registers for loads
3897         which have been moved.
3898         (regvec, st_antloc, num_store): New global statics.
3899         (reg_set_info): Marks registers as set.
3900         (store_ops_ok): Verfies registers expressions are valid in a block.
3901         (find_moveable_store): Look for moveable stores in a pattern.
3902         (compute_store_table): Find stores in a function worth moving, maybe.
3903         (load_kills_store): Check dependance of a load and store.
3904         (find_loads): Find any loads in a pattern.
3905         (store_killed_in_insn): Check if a store is killed in an insn.
3906         (store_killed_after): Check is store killed after an insn in a block.
3907         (store_killed_before): Check is store killed before an insn in a block.
3908         (build_store_vectors): Generate the antic and avail vectors.
3909         (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
3910         (insert_store): Add a store to an edge.
3911         (replace_store_insn): Replace a store with a SET insn.
3912         (delete_store): Delete a store insn.
3913         (free_store_memory): Free memory.
3914         (store_motion): Perform store motion.
3915         * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
3916         * rtl.h (get_addr, canon_true_dependence): Add prototypes.
3917         * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
3918         (f_options): Add gcse-lm and gcse-sm.
3919
3920 Mon Apr  9 16:18:03 CEST 2001  Jan Hubicka  <jh@suse.cz>
3921
3922         * i386.c (expand_fp_movcc): Fix condition reversal code.
3923
3924         * i386.c (ix86_register_move_cost): Fix handling of reformating penalty
3925         * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
3926         (CLASS_MAX_NREGS): Use it.
3927
3928         * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
3929         handle properly complex values.
3930         (CLASS_MAX_NREGS): Likewise; update comment.
3931
3932 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
3933
3934         * ia64.c (ia64_flag_schedule_insns2): New variable.
3935         (ia64_override_options): Initialize it.  Clear
3936         flag_schedule_insns_after_reload.
3937         (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
3938
3939 Mon Apr  9 15:09:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
3940
3941         * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
3942         Do not require source to match destination anymore;
3943         Add abort to the nontrivial cases that should be handled by split.
3944         (fix_trunc?fdi): Add SSE case for x86_64.
3945         (floatdi?f): Likewise.
3946         (floatdi?f_sse): New.
3947         (fix_trunc?fdi_sse): New.
3948
3949 2001-04-09  Richard Sandiford   <rsandifo@redhat.com>
3950
3951         * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
3952         (DEBUG_ARANGES_END_LABEL): Ditto.
3953         (dwarfout_init): Generate length and version fields at the start
3954         of the .debug_aranges info.  Insert DEBUG_ARANGES_BEGIN_LABEL
3955         after the length field.
3956         (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
3957         the .debug_aranges info.
3958
3959 Sun Apr  8 00:43:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
3960
3961         * i386.c (call, call_value): Make sure that resulting call_insn
3962         does have proper second operand.
3963
3964 Sun Apr  8 22:50:49 2001  Christopher Faylor <cgf@cygnus.com>
3965
3966         * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
3967         function.  Remove include of sys/cygwin.h.
3968
3969 Sun Apr  8 22:20:27 2001  Christopher Faylor <cgf@cygnus.com>
3970
3971         * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
3972         (CPP_SPEC): Always search */include/w32api for header files.
3973         (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
3974         (LINK_SPEC): Add "cyg" to the library search prefixes.
3975
3976 2001-04-08  Philip Blundell  <philb@gnu.org>
3977
3978         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
3979
3980 2001-04-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3981
3982         * cpperror.c (print_location): Don't special case <stdin>.
3983         (_cpp_begin_message): Handle WARNING_SYSHDR the same as
3984         WARNING, but we don't check if we're in system headers.
3985         * cpplib.h (enum error_type): WARNING_SYSHDR: New.
3986         * cpplib.c (do_warning): Warn in system headers.
3987
3988 2001-04-07  Mumit Khan <khan@NanoTech.Wisc.EDU>
3989
3990         * mbchar.c: Include config.h first.
3991
3992 2001-04-07  Zack Weinberg  <zackw@stanford.edu>
3993
3994         * config.gcc: Set default for xmake_file at top, not bottom.
3995         Change places that set xmake_file to "none" to set to the
3996         empty string instead, or remove them entirely if there is no
3997         default xmake_file for this cpu_type.  Remove references to
3998         deleted files.
3999
4000         * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
4001         config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
4002         config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
4003         config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
4004         config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
4005         config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
4006         config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
4007         config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
4008         config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
4009         config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
4010         Delete.
4011
4012         * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
4013         config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
4014         config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
4015         config/mips/x-sysv, config/rs6000/x-aix31:
4016         Just set CLIB to -lld or -lmld, as appropriate.
4017
4018         * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
4019         config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
4020         config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
4021         config/mips/x-iris, config/pa/x-pa:
4022         Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
4023         OTHER_FIXINCLUDES_DIRS.
4024
4025         * config/i386/x-djgpp: Don't set LN or LN_S.
4026         * config/m88k/x-dolph: Don't define __m88k__.
4027         * config/m88k/x-tekXD88: Don't set AR_FLAGS.
4028         * config/pa/x-pa-mpeix: Just set up quadlib.asm.
4029         * config/i860/fx2800.h: No need to #undef SVR4.
4030
4031         38 x-host fragments remain, 2 x-cpu.
4032
4033 2001-04-07  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4034
4035         * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
4036
4037 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4038
4039         * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
4040
4041 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4042
4043         * configure.in: Add check for lstat.
4044         * configure, config.in: Regenerate.
4045         * cppinit.c (append_include_chain): Make empty path ".".
4046         * cpplib.c (do_line): Don't simplify #line paths.
4047         * cppfiles.c (remove_component_p): New function.
4048         (find_or_create_entry): Acknowledge stat () errors during
4049         path simplification.
4050         (handle_missing_header): Don't simplify paths.
4051         (_cpp_simplify_pathname): Don't simplify VMS paths.  Return
4052         the empty path untouched.  Don't leave a trailing '/'.
4053
4054 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4055
4056         * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
4057         * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
4058
4059 2001-04-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4060
4061         * cppfiles.c (open_file): Fail directories silently, but
4062         with an errno of NOENT set.
4063         (read_include_file): Move the common exit code to the sole
4064         caller.  Return an int indicating success or failure.  Let
4065         open_file handle directories.
4066         (stack_include_file): If read_include_file fails,
4067         push a "null" buffer.
4068
4069 2001-04-05  DJ Delorie  <dj@redhat.com>
4070
4071         * function.h (virtuals_instantiated): Declare.
4072         * function.c: (virtuals_instantiated): Make global.
4073         * calls.c (emit_library_call_value_1): Use
4074         virtual_outgoing_args_rtx only if it hasn't been instantiated.
4075         Otherwise, use the stack pointer directly.
4076
4077 Thu Apr  5 19:13:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
4078
4079         * i386.c (x86_initialize_trampoline): New global function.
4080         * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
4081         (INITIALIZE_TRAMPOLINE): Move offline.
4082         * i386-protos.h (x86_initialize_trampoline): Declare.
4083
4084 Thu Apr  5 19:02:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
4085
4086         * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
4087         (lea_0): Rename to lea_1.
4088         (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
4089         (lea_general_?): Allow SImodes on TARGET_64BIT
4090         (lea_general_?_zext): New patterns.
4091         (call_1, call_1_rex64): Fix.
4092
4093 Thu Apr  5 19:00:15 CEST 2001  Jan Hubicka  <jh@suse.cz>
4094
4095         * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
4096
4097 Thu Apr  5 18:25:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
4098
4099         * i386.c (function_arg): Return constm1_rtx for last argument.
4100         (ix86_expand_prologue): Update gen_call calls.
4101         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
4102         * i386.md (call_pop): Likewise.
4103         (call): Second operand is VOIDmode.
4104         (call_0): Likewise; Support 64bits.
4105         (call_exp): New expander.
4106         (call_1): Get to the sync.
4107         (call_1_exp): New pattern.
4108         (call_value): Support 64bit.
4109         (call_value_exp): New pattern.
4110         (untyped_call): Update gen_call call.
4111         (call_value_pop): Disable for 64bit.
4112         (call_value_0_rex64): New pattern.
4113         (call_value_1_rex64): Likewise.
4114
4115 2001-04-05  Bo Thorsen  <bo@suse.de>
4116
4117         * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
4118
4119 Thu Apr  5 13:44:17 2001  J"orn Rennecke <amylaar@redhat.com>
4120
4121         * i386.md (*andsi_1+3): If used after reload, make sure the operand
4122         satisfies ANY_QI_REG_P.
4123
4124 2001-04-05  Bernd Schmidt  <bernds@redhat.com>
4125
4126         * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain
4127         ASM_OPERAND.
4128
4129         * sched-deps.c (sched_analyze_insn): Revert more of the March 27
4130         change.
4131
4132 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
4133
4134         * config.gcc: Remove default for xm_file.  Clean up local
4135         machine type handling.  Remove settings of xm_file to
4136         something that doesn't exist.  In the big switch, set xm_file,
4137         don't append to it (the value before the big switch is always
4138         null).  Don't force build_xm_file or host_xm_file to have a value.
4139         * configure.in: Remove default for xm_file.  Do not special
4140         case $cpu/xm-$cpu.h not existing.
4141         * configure: Regenerate.
4142
4143 2001-04-04  Diego Novillo  <dnovillo@redhat.com>
4144
4145         * simplify-rtx.c (simplify_binary_operation): Check for overflow
4146         when folding integer division and modulo operations.
4147
4148 2001-04-04  Andrew MacLeod  <amacleod@redhat.com>
4149
4150         * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
4151         instead of DWARF2_ADDR_SIZE for EH addresses.
4152         (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
4153         EH addresses.
4154
4155 2001-04-04  Richard Henderson  <rth@redhat.com>
4156
4157         * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
4158         * config/ia64/t-glibc (LIB2ADDEH): Disable.
4159         * config/ia64/t-ia64 (LIB2ADDEH): Disable.
4160
4161 2001-04-04  Richard Henderson  <rth@redhat.com>
4162
4163         * configure.in (gcc_cv_as_leb128): Escape "." in regexp.
4164         * configure: Rebuilt.
4165
4166 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
4167
4168         * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
4169         push insns to delete to it instead of deleting them.
4170         (delete_null_pointer_checks): Delete insns from delete_list after
4171         all delete_null_pointer_checks_1 passes are done.
4172
4173 2001-04-04  Richard Henderson  <rth@redhat.com>
4174
4175         * configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
4176         * configure: Rebuilt.
4177
4178 2001-04-04  Zack Weinberg  <zackw@stanford.edu>
4179
4180         * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
4181         * config/romp/xm-romp.h: Delete.
4182
4183 2001-04-04  Bernd Schmidt  <bernds@redhat.com>
4184
4185         * sched-deps.c (sched_analyze_insn): Partially revert March 27
4186         change.
4187
4188 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4189
4190         * emit-rtl.c (mark_label_nuses) Increment the label uses for
4191         all labels present in rtx.
4192         (try_split) Call new function for all split insns.
4193
4194 2001-04-04  Jakub Jelinek  <jakub@redhat.com>
4195
4196         * recog.c (validate_replace_rtx_1): Instead of aborting just make
4197         sure the change won't be validated.
4198
4199 Wed Apr  4 00:45:38 EDT 2001  John Wehle  (john@feith.com)
4200
4201         * rtl.h (set_noop_p): Declare.
4202         * flow.c (set_noop_p): Move from here ...
4203         * rtlanal.c (set_noop_p): ... to here and enhance.
4204         * cse.c (delete_trivially_dead_insns): Use it.
4205         * gcse.c (hash_scan_set): Likewise.
4206         * jump.c (delete_noop_moves): Likewise.
4207         * recog.c (split_all_insns): Likewise.
4208
4209 2001-04-04  Alan Modra  <alan@linuxcare.com.au>
4210
4211         * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
4212         stack pointer via a LO_SUM.  Ditto for setting a temp register
4213         used to save to the stack.  Set cfa_temp when setting fp, and
4214         allow matches to cfa_temp in addition to cfa_store when saving
4215         regs.  Handle POST_INC and LO_SUM register stores.  Document the
4216         changes and errors in rule 12 doco.
4217
4218         * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
4219         (actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
4220         (load_reg): Move closer to epilogue code.
4221         (DO_FRAME_NOTES): Define to control the following..
4222         (FRP): Define to set RTX_FRAME_RELATED_P on insns.
4223         (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
4224         notes as necessary.
4225         (hppa_expand_epilogue): Likewise.
4226
4227 2001-04-03  Richard Henderson  <rth@redhat.com>
4228
4229         * configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
4230         * configure: Rebuild.
4231
4232 2001-04-03  Richard Henderson  <rth@redhat.com>
4233
4234         * rtl.h (LCT_THROW): New.
4235         * calls.c (emit_library_call_value_1): Handle it.
4236         * except.c (connect_post_landing_pads): Use it.
4237
4238 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
4239
4240         * gansidecl.h: Delete file.
4241         * configure.in: Change all refs to gansidecl.h to use
4242         ansidecl.h.  Adjust *_file_list so they know where ansidecl.h
4243         lives.
4244         * configure: Regenerate.
4245
4246         * Makefile.in (intl.o): Don't depend on gansidecl.h.
4247         * defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
4248         * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
4249         Don't include gansidecl.h.
4250         * intl.c, main.c, version.c, fixinc/fixlib.h,
4251         fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
4252         gansidecl.h.
4253
4254 Tue Apr  3 19:41:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
4255
4256         * i386.c (ix86_force_to_memory, ix86_free_from_memory):
4257         Update for 64bit.
4258
4259 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
4260
4261         * config/i386/xm-beos.h, config/i386/xm-isc.h,
4262         config/i386/xm-next.h, config/i386/xm-sco.h,
4263         config/i386/xm-sco5.h, config/m68k/xm-plexus.h,
4264         config/m88k/xm-m88k.h: Delete.
4265
4266         * config/i386/xm-djgpp.h: Don't define __MSDOS__.
4267         * config/romp/xm-romp.h: Don't define bcopy.
4268         * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF,
4269         HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA.
4270
4271         * config.gcc: Remove references to deleted files.
4272
4273         14 xm-host.h remain, 1 xm-cpu.h.
4274
4275 2001-04-03  Jakub Jelinek  <jakub@redhat.com>
4276             David S. Miller  <davem@pierdol.cobaltmicro.com>
4277             Andrew MacLeod  <amacleod@redhat.com>
4278
4279         Use byte offsets in SUBREGs instead of words.
4280
4281         * alias.c (nonlocal_mentioned_p): Use subreg_regno function.
4282         * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
4283         to pass new argument.
4284         (add_stored_regs): Use subreg_regno_offset function.
4285         * calls.c (expand_call): For non-paradoxical SUBREG take endianess
4286         into account.
4287         (precompute_arguments): Use gen_lowpart_SUBREG.
4288         * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
4289         (combine_simplify_rtx): Rework to use SUBREG_BYTE.
4290         (simplify_set): Rework to use SUBREG_BYTE.
4291         (expand_field_assignment): Use SUBREG_BYTE.
4292         (make_extraction): Use SUBREG_BYTE.
4293         (if_then_else_cond): Use SUBREG_BYTE.
4294         (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
4295         (gen_lowpart_for_combine): Compute full byte offset.
4296         * cse.c (mention_regs): Use SUBREG_BYTE.
4297         (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
4298         (canon_hash): Use SUBREG_BYTE.
4299         (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
4300         (gen_lowpart_if_possible): Formatting.
4301         * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
4302         correctly.
4303         * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
4304         (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4305         (loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4306         * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
4307         (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4308         (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
4309         * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
4310         certain invariants about SUBREGs the compiler creates.
4311         (gen_lowpart_SUBREG): New function.
4312         (subreg_hard_regno): New function to get the final register number.
4313         (gen_lowpart_common): Use SUBREG_BYTE.
4314         (gen_imagpart): Spacing nits.
4315         (subreg_realpart_p): Use SUBREG_BYTE.
4316         (gen_highpart): Use SUBREG_BYTE.
4317         (subreg_lowpart_p): Always compute endian corrected goal offset,
4318         even at the byte level, then compare against that.
4319         (constant_subword): New function, pulled out all constant cases
4320         from operand_subword and changed second argument name to offset.
4321         (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
4322         and call constant_subword to do the work.  Return const0_rtx if
4323         looking for a word outside of OP.
4324         (operand_subword_force): Change second arg name to offset.
4325         * expmed.c (store_bit_field): Use SUBREG_BYTE.
4326         (store_split_bit_field): Use SUBREG_BYTE.
4327         (extract_bit_field): Use SUBREG_BYTE.
4328         (extract_split_bit_field): Use SUBREG_BYTE.
4329         (expand_shift): Use SUBREG_BYTE.
4330         * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
4331         * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
4332         * flow.c (set_noop_p): Use SUBREG_BYTE.
4333         (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
4334         * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
4335         (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
4336         correction code.
4337         (optimize_bit_field): Use SUBREG_BYTE.
4338         (purge_addressof_1): Use SUBREG_BYTE.
4339         (purge_single_hard_subreg_set): Use subreg_regno_offset function.
4340         (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
4341         actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
4342         * gengenrtl.c (special_rtx): Add SUBREG.
4343         * global.c (mark_reg_store): Use SUBREG_BYTE.
4344         (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
4345         * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
4346         * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
4347         final byte offset is congruent to subreg's mode size.
4348         (subst_constants): Use SUBREG_BYTE.
4349         (mark_stores): Use subreg_regno_offset function.
4350         * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
4351         function and SUBREG_BYTE.
4352         * local-alloc.c (combine_regs): Use subreg_regno_offset function.
4353         (reg_is_born): Use subreg_hard_regno.
4354         * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
4355         endian correction code.  Don't combine subregs unless resulting
4356         offset aligns with type.  Fix subreg constant extraction for DImode.
4357         Simplify SUBREG of VOIDmode CONST_DOUBLE.
4358         (general_operand): Remove dead mode_altering_drug code.
4359         (indirect_operand): Use SUBREG_BYTE.
4360         (constrain_operands): Use subreg_regno_offset function.
4361         * reg-stack.c (get_true_reg): Use subreg_regno_offset function.
4362         * regmove.c (regmove_optimize): Use SUBREG_BYTE.
4363         (optimize_reg_copy_3): Use gen_lowpart_SUBREG.
4364         * regs.h (REG_SIZE): Allow target to override.
4365         (REGMODE_NATURAL_SIZE): New macro which target can override.
4366         * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
4367         on the entire subreg rtx.
4368         (push_reload): Use SUBREG_BYTE in comments and code.
4369         (find_dummy_reload): Use subreg_regno_offset.  Only adjust offsets
4370         for hard registers inside subregs.
4371         (operands_match_p): Use subreg_regno_offset.
4372         (find_reloads): Use SUBREG_BYTE and only advance offset for subregs
4373         containing hard regs.
4374         (find_reload_toplev): Use SUBREG_BYTE.  Remove byte endian
4375         corrections when fixing up MEM subregs.
4376         (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
4377         subreg_regno_offset where appropriate.
4378         (find_reloads_subreg_address): Use SUBREG_BYTE.  Remove
4379         byte endian corrections when fixing up MEM subregs.
4380         (subst_reloads): When combining two subregs, make sure final
4381         offset is congruent to subreg's mode size.
4382         (find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
4383         (refers_to_regno_for_reload_p): Use subreg_regno.
4384         (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
4385         * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
4386         correction code for memory subreg fixups.
4387         (forget_old_reload_1): Use subreg_regno_offset.
4388         (choose_reload_regs): Use subreg_regno.
4389         (emit_input_reload_insns): Use SUBREG_BYTE.
4390         (reload_combine_note_store): Use subreg_regno_offset.
4391         (move2add_note_store): Use subreg_regno_offset.
4392         * resource.c (update_live_status, mark_referenced_resources): Use
4393         subreg_regno function.
4394         (mark_set_resources): Use subreg_regno function.
4395         * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
4396         (subreg_regno_offset, subreg_regno): Define prototypes.
4397         (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
4398         (gen_lowpart_SUBREG): Add prototype.
4399         * rtl.texi (subreg): Update to reflect new byte offset representation.
4400         Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
4401         * rtlanal.c (refers_to_regno_p): Use subreg_regno.
4402         (reg_overlap_mentioned_p): Use subreg_regno.
4403         (replace_regs); Make sure final offset of combined subreg is
4404         congruent to size of subreg's mode.
4405         (subreg_regno_offset): New function.
4406         (subreg_regno): New function.
4407         * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
4408         * sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
4409         * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
4410         * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
4411         (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
4412         * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
4413         (a29k_get_reloaded_address): Use SUBREG_BYTE.
4414         (print_operand): Use SUBREG_BYTE.
4415         * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
4416         * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
4417         (arm_reload_out_hi): Use SUBREG_BYTE.
4418         * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
4419         instead of SUBREG_WORD.
4420         (d30v_print_operand_memory_reference): Use subreg_regno_offset.
4421         * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
4422         SUBREG creation to use byte offset.
4423         * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
4424         inverted load insns): Fix explicit rtl subregs to use byte
4425         offsets.
4426         * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
4427         udivsi3, umodsi3): Generate SUBREGs with byte offsets.
4428         * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
4429         * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
4430         to use byte offsets.
4431         (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
4432         * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
4433         offsets, also make sure it is congruent to SUBREG's mode size.
4434         (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
4435         unnamed ldob insn): Generate SUBREGs with byte offset.
4436         (zero_extendqihi2): SUBREG's are byte offsets.
4437         * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
4438         (m68hc11_gen_highpart): Use SUBREG_BYTE.
4439         * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
4440         zero-extendqisi2): Generate SUBREGs with byte offset.
4441         (umulsidi3, mulsidi3, subreghi1ashrdi_const32,
4442         subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
4443         subregs in rtl to use byte offsets.
4444         * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
4445         * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
4446         (mips_move_2words): Use subreg_regno_offset.
4447         (mips_secondary_reload_class): Use subreg_regno_offset.
4448         * config/mips/mips.md (DImode plus, minus, move, and logical op
4449         splits): Fixup explicit subregs in rtl to use byte offsets.
4450         * config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
4451         * config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
4452         * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
4453         rtl to use byte offsets.
4454         * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
4455         * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
4456         subregs to use byte offsets.
4457         * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
4458         Fixup explicit subregs in rtl to use byte offsets.
4459         * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
4460         and remove byte endian correction code.
4461         * config/sh/sh.c (output_movedouble): Use subreg_regno.
4462         (gen_ashift_hi): Use SUBREG_BYTE.
4463         (regs_used): Use subreg_regno_offset.
4464         (machine_dependent_reorg): Use subreg_regno_offset.
4465         * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
4466         * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
4467         (movdf_i4): Subregs are byte offsets now.
4468         * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
4469         * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
4470         (REGMODE_NATURAL_SIZE): Override.
4471         (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
4472         * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
4473         with byte offsets.
4474         (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
4475         extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
4476         extendqidi2): Generate SUBREGs with byte offsets, also make sure
4477         it is congruent to SUBREG's mode size.
4478         (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
4479         offsets.
4480         (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
4481         cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
4482         lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
4483         SUBREG_BYTE offset for non-paradoxical subregs in patterns.
4484         * config/v850/v850.c (print_operand, output_move_double): Use
4485         subreg_regno function.
4486
4487 2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
4488
4489         * configure.in (target_subdir): Use target_alias, not target.
4490         * configure: Rebuilt.
4491
4492         * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
4493         other way round.
4494         * config/sh/crti.asm: Fix typos in comments.
4495
4496 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4497
4498         * pa.h: Revise comments for TARGET_NO_SPACE_REGS and
4499         TARGET_FAST_INDIRECT_CALLS.
4500         * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
4501         -fPIC.  Don't warn.
4502         (return_addr_rtx): Short circuit export stub matching when
4503         TARGET_NO_SPACE_REGS.
4504         (output_millicode_call): For out of range calls, make -fPIC
4505         take precedence, then TARGET_PORTABLE_RUNTIME, then ble.  Don't
4506         return before delay slot checks when TARGET_PORTABLE_RUNTIME.
4507         * pa.md: Modify length attr calculation of all millicode insns to
4508         match above.
4509
4510 2001-04-02  Geoffrey Keating  <geoffk@redhat.com>
4511
4512         * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
4513         Require at least 2.11 in the version test.  Specifically check
4514         for and reject GAS version 2.10.90.
4515         * configure: regenerate.
4516
4517 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4518
4519         * pa.c (override_options): Remove PIC profiling warning.
4520         (hp_profile_labelno): Delete.
4521         (hp_profile_label_rtx): Delete.
4522         (hp_profile_label_name): Delete.
4523         (pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
4524         (output_function_prologue): Remove profiling code and all tests on
4525         profile_flag.  Move store of PIC_OFFSET_TABLE_REGNUM now that
4526         merge_sp_adjust_with_store can work for PIC and profiling.
4527         (hppa_expand_epilogue): Remove profile_flag test.
4528         (hppa_can_use_return_insn_p): Likewise.
4529         (hppa_init_pic_save): Emit before tail_recursion_reentry, and
4530         cater for PROFILE_HOOK.
4531         (hppa_profile_hook): New function.
4532         * pa.h (FUNCTION_PROFILER): Now does nothing.
4533         (PROFILE_HOOK): Define.
4534         (hppa_profile_hook): Declare.
4535         (PROFILE_BEFORE_PROLOGUE): Delete.
4536         (ASM_OUTPUT_REG_PUSH): Delete.
4537         (ASM_OUTPUT_REG_POP): Delete.
4538         * pa.md (call_profiler): Turn it into a call insn, and don't `use'
4539         r24.  Accept function name operand, and use this and a locally
4540         generated label to calculate pc-rel offset to func start.
4541
4542 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4543
4544         * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
4545         ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
4546         $(SYSTEM_H).
4547
4548 2001-04-03  Alan Modra  <alan@linuxcare.com.au>
4549
4550         * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
4551         LO_SUM cases to where they belong.
4552
4553 2001-04-02  Richard Henderson  <rth@redhat.com>
4554
4555         * except.h (lang_eh_type_covers): Mark extern.
4556         (lang_eh_runtime_type): Likewise.
4557
4558 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4559
4560         * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
4561         gengenrtl.c:  Wrap generated header in multiple-include guard.
4562         Improve error checking.
4563
4564 2001-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4565
4566         * configure.in: Don't check for putenv.
4567         * configure: Regenerate.
4568         * gcc.c (putenv): Don't define.
4569         * vax/xm-vms.h: Handle putenv.
4570
4571 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
4572
4573         * ifcvt.c (noce_emit_move_insn): New.
4574         (noce_try_store_flag, noce_try_store_flag_constants,
4575         noce_try_store_flag_inc, noce_try_store_flag_mask,
4576         noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
4577         noce_try_abs): Use it.
4578         (noce_process_if_block): Likewise.
4579         For STRICT_LOW_PART, take mode from its SUBREG.
4580
4581 2001-04-02  Jakub Jelinek  <jakub@redhat.com>
4582
4583         * fold-const.c (fold): Before optimizing unsigned comparison with
4584         0x7fffffffU, make sure arg0 is integral type.
4585
4586 2001-04-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4587
4588         * c-tree.texi: Document representation of wide strings.
4589
4590 2001-04-01  Richard Henderson  <rth@redhat.com>
4591
4592         * except.h (expand_builtin_dwarf_fp_regnum): Declare.
4593
4594 Sun Apr  1 11:49:05 CEST 2001  Jan Hubicka  <jH@suse.cz>
4595
4596         * i386.md: remove obsoleted comments.
4597         (adddi_?): Rename to adddi_?_rex64; disable for 32bit.
4598         (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
4599         fix output template.
4600
4601 2001-03-31  Marek Michalkiewicz  <marekm@linux.org.pl>
4602
4603         * config/avr/libgcc.S (__mulhi3): Optimize previous change.
4604
4605 2001-03-30  Bernd Schmidt  <bernds@redhat.com>
4606
4607         * loop.c (load_mems): When generating a load from a pseudo, update
4608         REGNO_LAST_UID.
4609
4610 Fri Mar 30 17:36:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
4611
4612         * i386.c (ix86_split_long_move): Use change address to compensate
4613         stack pointer change in push instruction.
4614
4615 Fri Mar 30 00:31:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
4616
4617         * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
4618         instead of rtx_equal_p; fix the output template.
4619
4620 Fri Mar 30 00:21:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
4621
4622         * i386.c (ix86_expand_setcc): Support 64bit.
4623         (ix86_expand_int_movcc): Likewise.
4624         * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
4625         New patterns.
4626
4627         * i386.md (allocate_stack_worker): Turn to expander.
4628         (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.
4629
4630         * i386.c (print_reg): Do not print x86_64 style regs on IA-32
4631
4632 2001-03-29  Richard Henderson  <rth@redhat.com>
4633
4634         * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
4635
4636 2001-03-28  Matthew Hiller  <hiller@redhat.com>
4637
4638         * config/mn10300/mn10300.md (cmpsi): Fix first alternative's
4639         output template.
4640
4641         * MAINTAINERS: Added self.
4642
4643 2001-03-28  Richard Henderson  <rth@redhat.com>
4644
4645         * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
4646         Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
4647
4648 2001-03-28  Jim Wilson  <wilson@redhat.com>
4649
4650         * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
4651         operand_subword.
4652
4653 2001-03-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4654
4655         * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
4656
4657         * tradcif.y (yyerror): Likewise.  Add format specifier in call to
4658         `error'.
4659
4660         * tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
4661
4662 2001-03-28  DJ Delorie  <dj@redhat.com>
4663
4664         * Makefile.in (stage1_build): Revert CFLAGS patch.
4665
4666 2001-03-28  Marek Michalkiewicz  <marekm@linux.org.pl>
4667
4668         * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
4669         when multiplier or multiplicand is zero.
4670
4671 2001-03-28  Bernd Schmidt  <bernds@redhat.com>
4672
4673         * cselib.c (hash_rtx): Don't do tail recursion elimination by hand.
4674
4675         * config/ia64/ia64.c (update_set_flags): New function, broken out of
4676         rtx_needs_barrier.
4677         (set_src_needs_barrier): Likewise.
4678         (rtx_needs_barrier): For SET case, use these two functions.  Rework
4679         PARALLEL case to handle all inputs before all outputs.
4680         (emit_insn_group_barriers): Call init_insn_group_barriers only if we
4681         saw a label and no stop bit since then.
4682         (maybe_rotate, process_epilogue): Add prototypes.
4683
4684 2001-03-28  Richard Henderson  <rth@redhat.com>
4685
4686         * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
4687         not TARGET_TOC for special toc restore handling.
4688         * config/rs6000/rs6000.md (eh_return): Likewise.
4689
4690 2001-03-28  Richard Henderson  <rth@redhat.com>
4691
4692         * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
4693         current_function_calls_eh_return.
4694         (output_function_epilogue): Handle eh_return.
4695         * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
4696         (EH_RETURN_DATA_REGNO): New.
4697         (EH_RETURN_STACKADJ_RTX): New.
4698         (EH_RETURN_HANDLER_RTX): New.
4699         * config/sparc/sparc.md (call/short branch peepholes): Check
4700         can_throw_internal instead of in_same_eh_region.
4701
4702         * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
4703         for eh_return data registers.
4704         (rs6000_emit_prologue): Save eh_return data registers.
4705         (rs6000_emit_epilogue): Force inline restores if eh_return.
4706         Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
4707         * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
4708         (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
4709         (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
4710         the target uses one.
4711         * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
4712         (return_eh_si, return_eh_di): Remove.
4713         (eh_return): New, from corpse of eh_epilogue.
4714         (eh_set_lr_si, eh_set_lr_di): New.
4715
4716         * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
4717         (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
4718         True for pic register if current_function_calls_eh_return.
4719         (ix86_expand_epilogue): Change "emit_return" argument into "style".
4720         Handle eh_return requirements.
4721         * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
4722         (EH_RETURN_STACKADJ_RTX): New.
4723         * config/i386/i386.md (exception_receiver): Remove.
4724         (eh_return, eh_return_1): New.
4725         * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4726
4727         * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
4728         (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
4729         (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
4730         * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
4731         (EH_RETURN_DATA_REGNO): New.
4732         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
4733         * config/alpha/alpha.md (eh_epilogue): Remove.
4734         (exception_receiver): Use $26 for ldgp input.
4735         * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4736
4737 2001-03-28  Richard Henderson  <rth@redhat.com>
4738
4739         * except.c: Rewrite entirely for IA-64 ABI exception handling.
4740         * except.h: Likewise.
4741
4742         * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
4743         (LIB2ADDEHDEP): New.
4744         (LIB2FUNCS_EH): Remove.
4745         (LIB2ADD): Remove LIB2ADDEH.
4746         (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
4747         (LIBGCC_DEPS): Use LIB2ADDEHDEP.
4748         (crt{begin,end}[S].o): Likewise.
4749         (except.o): Update includes.
4750         * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
4751         (libgcc2_c_dep): Use LIB2ADDEHDEP.
4752
4753         * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
4754         * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
4755         * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
4756         * builtins.c (expand_builtin): Implement it.
4757         [BUILT_IN_EH_RETURN]: Update for nr arguments change.
4758         * c-common.c (c_common_nodes_and_builtins): Declare it.
4759         * c-decl.c (init_decl_processing): Update __builtin_eh_return.
4760         * calls.c (libfunc_nothrow): Remove.
4761         (emit_library_call_value_1): Don't call it.
4762         * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
4763         * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
4764         (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
4765         * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
4766         (current_funcdef_number): Globalize.
4767         (output_call_frame_info): Emit frame data if an lsda is needed.
4768         Generate augmentation for personality routine.  Don't play with
4769         difference symbols.
4770         (dwarf2out_begin_prologue): Record funcdef_number.
4771         * dwarf2out.h (current_funcdef_number): Declare.
4772         * expr.c (expand_expr): Update for except.h name changes.
4773         Remove POPDCC_EXPR, POPDHC_EXPR.  Add EXC_PTR_EXPR.
4774         * expr.h (LTI_throw, LTI_rethrow): Remove.
4775         (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
4776         (LTI_eh_rtime_match): Remove.
4777         (LTI_unwind_resume, LTI_eh_personality): Add.
4778         (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
4779         * final.c (final): Don't call check_exception_handler_labels,
4780         init_insn_eh_region, or free_insn_eh_region.
4781         (final_scan_insn): Always emit debug labels for
4782         NOTE_INSN_EH_REGION notes.
4783         * flags.h (flag_new_exceptions): Remove.
4784         * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
4785         (record_active_eh_regions): Remove.
4786         (count_basic_blocks): Check all instructions for REG_EH_REGION.
4787         Use can_throw_internal.
4788         (find_basic_blocks_1): Likewise.
4789         (move_stray_eh_region_notes): Remove.
4790         (find_label_refs): No eh_return_stub_label.
4791         (make_edges): Likewise.  No init/free_eh_nesting_info.  Handle RESX.
4792         (make_eh_edge): No eh_nest_info.  Update for reachable_handlers
4793         changes.
4794         (delete_unreachable_blocks): Don't track deleted handlers.
4795         (flow_delete_block): Use maybe_remove_eh_handler.
4796         (delete_eh_regions): Remove.
4797         (merge_blocks): Don't check for eh region match.
4798         (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
4799         EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
4800         (init_propagate_block_info): Disable dead frame store optimization
4801         when current_function_calls_eh_return.
4802         (dump_bb): Don't print eh_beg, eh_end.
4803         * function.c (fixup_var_refs): No catch_clauses.
4804         (expand_function_end): Likewise.  Call expand_eh_return before
4805         the return register use.  Call sjlj_emit_function_exit_after.
4806         (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
4807         * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
4808         * ifcvt.c (dead_or_predicable): Remove eh region check.
4809         * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
4810         Don't check for EH vs parameters.
4811         (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
4812         (expand_inline_function): Call duplicate_eh_regions.
4813         (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
4814         (copy_insn_notes): Remap REG_EH_REGION notes.
4815         (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
4816         * integrate.h (struct inline_remap): Add local_return_label.
4817         * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
4818         check_exception_handler_labels, nor exception_optimize.
4819         (find_cross_jump): No EH region check.
4820         * optabs.c (init_optabs): Update for changed eh libfuncs.
4821         * rtl.def (RESX): New.
4822         * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
4823         * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
4824         checks.  Update for except.h name changes.
4825         (expand_cleanups): Likewise.
4826         (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
4827         * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
4828         (compile_file): Call init_eh before init_optabs.  Don't
4829         output_exception_table here.
4830         (rest_of_compilation): Call convert_from_eh_region_ranges,
4831         convert_to_eh_region_ranges, output_function_exception_table.
4832         Don't emit_eh_context.
4833         * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
4834         (EXC_PTR_EXPR): New.
4835
4836         * md.texi (eh_epilogue): Remove.
4837         (eh_return): Document.
4838         * tm.texi (EH_RETURN_DATA_REGNO): Document.
4839         (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
4840
4841         * eh-common.h: Remove file.
4842         * frame-dwarf2.c, frame.c, frame.h: Remove files.
4843         * libgcc2.c (L_eh): Remove.
4844
4845         * unwind-dw2-fde.c: New file, largely copied from frame.c.
4846         * unwind-dw2-fde.h: New file.
4847         * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
4848         * unwind-sjlj.c, unwind.h, unwind.inc: New files.
4849         * libgcc-std.ver: Update for eh symbols.
4850
4851 2001-03-27  Richard Henderson  <rth@redhat.com>
4852
4853         * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
4854         reduce false positives.
4855         (regmove_optimize): Disable if flag_non_call_exceptions.
4856
4857         * stmt.c (expand_return): Remove always true predicate.
4858         (expand_decl_cleanup_no_eh): Remove dead code.
4859
4860         * sched-deps.c (sched_analyze_insn): Consolidate scheduling
4861         barrier code.  Add a scheduling barrier if a non-call insn
4862         can throw internally.
4863
4864         * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
4865         Auto-inc addresses trap only if their base register does.
4866
4867         * except.c (can_throw_internal): Rename from can_throw.
4868         * except.h, resource.c: Update references.
4869
4870         * integrate.c (copy_insn_list): Use returnjump_p.
4871         (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
4872
4873         * function.h (struct function): Move all boolean valued fields
4874         to single bit fields at the end of the struct.
4875
4876         * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
4877         jump.c, toplev.c:
4878         Rename asynchronous_exceptions to flag_non_call_exceptions.
4879
4880         * gthr-single.h (UNUSED): New.  Distinguish between how C
4881         and C++ mark unused function arguments.  Use throughout.
4882
4883         * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
4884         value to target configuration header.
4885         * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
4886         * config.in, configure: Rebuild.
4887         * except.h (USING_SJLJ_EXCEPTIONS): New.  Define based on
4888         configuration and target defines.
4889         (exceptions_via_longjmp): Remove.
4890         * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
4891         Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
4892
4893         * except.h (flag_non_call_exceptions): Move ...
4894         * flags.h: ... here.
4895
4896         * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
4897         exceptions, put the note on the trapping instruction.
4898
4899         * flags.h (flag_new_exceptions): Remove.
4900         * toplev.c: Don't set it.
4901         * final.c: Don't check it.
4902         * except.c: Provide stub definition.
4903
4904         * flow.c (tidy_fallthru_edges): Don't combine complex edges.
4905         (calculate_global_regs_live): Kill call-clobbered registers
4906         across exception edges.
4907         * reg-stack.c (convert_regs_1): Kill the entire target stack
4908         across non-call exception edges.
4909
4910         * flow.c (cleanup_cfg): Take no argument.
4911         * output.h, sibcall.c, toplev.c: Update all calls.
4912
4913 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4914
4915         * configure.in: Don't check for bcopy.
4916         * configure, config.in: Regenerate.
4917
4918         * system.h: Don't define or prototype bcopy, instead poison it.
4919
4920 2001-03-27  Richard Henderson  <rth@redhat.com>
4921
4922         * function.c (expand_function_start): Set DECL_REGISTER on
4923         a pseudo used for DECL_RESULT.
4924
4925         * rtl.h (LCT_NORETURN): New.
4926         * calls.c (emit_library_call_value_1): Handle it.
4927
4928 2001-03-27  Stan Shebs  <shebs@apple.com>
4929
4930         * objc/objc-act.c (objc_init): Use dump_base_name.
4931         (gen_declaration): Clear the buffer arg.
4932         (gen_declaration_1): New function, body of gen_declaration.
4933         (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
4934         (gen_method_decl): Ditto, plus always clear buffer arg.
4935         (error_with_ivar): Simplify.
4936         (warn_with_method): Ditto.
4937         (build_message_expr): Don't clear buffers.
4938         (dump_interface): Ditto.
4939         (objc_debug): Ditto.
4940         (build_keyword_selector): Clear the buffer by only zeroing
4941         the first element.
4942         (objc_implementation_context): Declare.
4943         (start_class): Warn about missing @end.
4944         (finish_objc): Ditto.
4945
4946 2001-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4947
4948         * reload1.c (eliminate_regs): Don't abort on MEM USEs.
4949
4950 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4951
4952         * Makefile.in (SYSTEM_H): Define.
4953         Depend on $(SYSTEM_H), not system.h.
4954
4955         * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
4956
4957 2001-03-27  Jim Wilson  <wilson@redhat.com>
4958
4959         * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
4960         IA64_UNWIND_EMIT.
4961         * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
4962         (process_epilogue): New static function.
4963         (process_set): Call process_epilogue instead of emitting .restore
4964         directly.
4965         (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
4966
4967         * flow.c (struct reg_cond_life_info): New fields orig_condition
4968         and stores.
4969         (init_propagate_block_info): Set new fields.
4970         (mark_regno_cond_dead): Set and use new fields.
4971         (flush_reg_cond_reg_1): Likewise.
4972         (and_reg_cond, case AND): Check for redundant AND conditions.
4973         (mark_used_reg): Delete unnecessary clears before freeing splay trees.
4974         Set new fields.
4975
4976 2001-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4977
4978         * cppmacro.c (stringify_arg): Null terminate strings.
4979
4980 2001-03-27  Zack Weinberg  <zackw@stanford.edu>
4981
4982         * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
4983         inclusion style.  xm-m68hc11.h no longer exists.
4984         * config/m68hc11/xm-m68hc11.h: Delete file.
4985         * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
4986
4987         * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
4988         Don't define GCC_VERSION, N_, or PARAMS; don't include
4989         gansidecl.h or stdio.h.  Define inhibit_libc here.
4990         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
4991         Delete code conditioned on #if GCC_VERSION == 2095.
4992
4993         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
4994         Make code conditioned on #if GCC_VERSION > 2095 unconditional.
4995         Delete code conditioned on #if GCC_VERSION == 2095.
4996
4997 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4998
4999         * system.h: Include symcat.h.
5000         (STRINGIFY): Don't define.
5001
5002         * configure.in: Adjust comment.
5003
5004         * builtins.c: Use STRINGX, not STRINGIFY.
5005         * gencheck.c: Likewise.
5006         * gengenrtl.c: Likewise.
5007         * protoize.c: Likewise.
5008
5009         * cpplex.c: Don't include symcat.h.
5010         * cpplib.c: Likewise.
5011
5012         * gansidecl.h (HAVE_STRINGIZE): Don't define.
5013
5014 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
5015
5016         * c-typeck.c (digest_init): Fold init expression.
5017
5018 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5019
5020         * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
5021
5022 2001-03-27  Alan Modra  <alan@linuxcare.com.au>
5023
5024         * except.c (eh_regs): Save results of build_pointer_type to a temp
5025         as FUNCTION_VALUE macro may evaluate its args multiple times.
5026
5027 2001-03-26  Mark Mitchell  <mark@codesourcery.com>
5028
5029         * c-common.h (DECL_NUM_STMTS): New macro.
5030         * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
5031         DECL_FRAME_SIZE.
5032         (pushdecl): Likewise.
5033         * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
5034         * integrate.c (expand_inline_function): Don't check
5035         DECL_FRAME_SIZE.
5036         * print-tree.c (print_node): Don't print it.
5037         * toplev.c (rest_of_compilation): Don't try to inline when
5038         flag_no_inline is on.
5039         * tree.h (DECL_FRAME_SIZE): Remove.
5040         (tree_decl): Adjust accordingly.
5041
5042 2001-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5043
5044         * combine.c (try_combine): Use memcpy, not bcopy.
5045
5046         * genattrtab.c (expand_units): Likewise.
5047
5048 Mon Mar 26 15:55:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
5049
5050         * i386.md (push mem DI peep2): New.
5051         (mov 0, mov -1 peep2): Handle 64bit.
5052         (lea to arithmetics peep2): Handle 64bit leas.
5053         (rsp arithmetics to push/pop peep2s): New.
5054
5055         * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
5056
5057 Mon Mar 26 14:35:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
5058
5059         * i386.c (struct machine_function): Add save_varrargs_registers.
5060         (ix86_save_varrargs_registers): New macro.
5061         (ix86_frame_layout): Support 64bit; support red zones and varrargs area.
5062         (ix86_expand_prologue): Likewise.
5063         (ix86_emit_epilogue_esp_adjustement): Likewise.
5064         (ix86_expand_epilogue): Likewise.
5065         * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
5066         (pro_epilogue_adjust_stack_1): New insn.
5067         (pro_epilogue_adjust_stack_rex64): Likewise.
5068         * i386.h (MASK_NO_RED_ZONE): New constant.
5069         (TARGET_RED_ZONE): New macro.
5070         (TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
5071         (RED_ZONE_SIZE): New constant.
5072         (RED_ZONE_RESERVE): New constant.
5073
5074 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5075
5076         * toplev.c (set_float_handler): Use memcpy, not bcopy.
5077
5078 2001-03-25  Kazu Hirata  <kazu@hxi.com>
5079
5080         * config/h8300/h8300.md (umodqi3): Output a tab instead of a
5081         space.
5082         (modqi3): Likewise.
5083         (umodhi3): Likewise.
5084         (modhi3): Likewise.
5085
5086 2001-03-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5087
5088         * mkconfig.sh (DEFINES): Handle entries with '='.
5089
5090         * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
5091         Set xm_defines to MACRO=value instead.
5092
5093         * i370/xm-mvs.h: Delete.
5094
5095         * ns32k/xm-pc532-min.h: Likewise.
5096
5097 Sun Mar 25 15:01:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
5098
5099         * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
5100         shiftdi_operand;
5101         use ix86_expand_binary_operator
5102         (?sh??i_?): Disable for 64bit.
5103         * i386.h (PREDICATE_CODES): Add shiftdi_operand.
5104         * i386.c (shiftdi_operand): New predicate.
5105
5106         * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
5107         ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
5108         ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
5109         ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
5110         ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
5111         lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
5112         lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
5113         rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
5114         rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
5115         rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
5116         (rotldi3, rotrdi3): New expanders.
5117
5118 Sun Mar 25 14:25:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
5119
5120         * i386.md (movstrsi): Move offline.
5121         (movstrdi): New.
5122         (strmovdi_rex64): New.
5123         (strmov?i): Accept 64bit.
5124         (strmov?i_rex64): New.
5125         (strmov?i_rex_1): New.
5126         (strmov?i_1): Disable for 64bit.
5127         (rep_mov?i_rex64): New.
5128         (rep_mov?i): Disable for 64bit.
5129         (clrstrsi): Move offline.
5130         (strset?i_rex64): New.
5131         (strset?i: Accept 64bit.
5132         (rep_stos?i): Disable for 64bit.
5133         (rep_stos?i_rex64): New.
5134         (strset?i_rex_1): New.
5135         (strset?i_1): Disable for 64bit.
5136         (cmpstrsi): Accept 64bit.
5137         (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
5138         (cmpstrqi_nz_rex_1): New.
5139         (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
5140         (strlensi): Move offline.
5141         (strlendi): New.
5142         (strlenqi_1): Disable for 64bit; fix constraints.
5143         (strlenqi_rex_1): New.
5144         * i386.c (ix86_adjust_counter): New static function.
5145         (ix86_zero_extend_to_Pmode): Likewise.
5146         (ix86_expand_aligntest): Likweise.
5147         (ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
5148         (ix86_expand_movstr): New global function.
5149         (ix86_expand_clrstr): New global function.
5150         (ix86_expand_strlen): New global function.
5151         * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
5152         ix86_expand_strlen): Declare.
5153         (ix86_expand_strlensi_unroll_1): Delete.
5154
5155 Sat Mar 24 23:15:19 CET 2001  Jan Hubicka  <jh@suse.cz>
5156
5157         * i386.md (cmpdi): Fix operand predicates.
5158         (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
5159          cmpdi_1_insn_rex64): New patterns.
5160         (adddi3): Turn to expander.
5161         (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
5162         (addsi3_carry_zext): New pattern.
5163         (adddi_?_rex64): New patterns and splitters.
5164         (addsi_?_zext): New patterns.
5165         (subsi3_carry_zext): New pattern.
5166         (subdi_?_rex64): New patterns and splitters.
5167         (iorsi_?_zext): New patterns.
5168         (iordi_?_rex64): New patterns and splitters.
5169         (iorsi_?_zext): New patterns.
5170         (iorsi_?_zext_imm): New patterns.
5171         (xorsi_?_zext): New patterns.
5172         (xordi_?_rex64): New patterns and splitters.
5173         (xorsi_?_zext): New patterns.
5174         (negdi*): New patterns.
5175         (one_cmpldi*): Likewise.
5176         (one_cmplsi*_zext, negsi*_zext): Likewise.
5177         (testqi_ext_3_rex64): New pattern.
5178
5179 Sat Mar 24 21:13:28 CET 2001  Jan Hubicka  <jh@suse.cz>
5180
5181         * i386-protos.h (ix86_split_long_move): Return void.
5182         * i386.c (ix86_split_to_parts): Handle 64bit target.
5183         (ix86_split_long_move): Likewise.
5184         * i386.md (all calls to ix86_split_long_move): Update.
5185
5186 2001-03-23  Richard Henderson  <rth@redhat.com>
5187
5188         * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
5189         to avoid shadowing arguments.
5190
5191 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
5192
5193         * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
5194         to variable names where DECL_NAME is different from
5195         DECL_ASSEMBLER_NAME.
5196
5197 2001-03-23  Jim Wilson  <wilson@redhat.com>
5198
5199         * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
5200         (assemble_alias): Call make_decl_rtl.
5201
5202 Fri Mar 23 16:59:08 2001  J"orn Rennecke <amylaar@redhat.com>
5203
5204         * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
5205
5206 2001-03-23  Bryce McKinlay  <bryce@albatross.co.nz>
5207
5208         * extend.texi: Document the "java_interface" attribute.
5209
5210 2001-03-22  Zack Weinberg  <zackw@stanford.edu>
5211
5212         * mkconfig.sh: Use a subshell with redirected stdout,
5213         instead of closing stdout and confusing commands that run
5214         afterward.  Throw away output of cmp.
5215
5216 2001-03-22  Gordon Sadler  <gbsadler1@lcisp.com>
5217
5218         * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
5219
5220 Thu Mar 22 22:15:59 CET 2001  Jan Hubicka  <jh@suse.cz>
5221
5222         * i386.md (zero_extendsidi2_32): Break out from ...
5223         (zero_extendsidi2): ... here ; turn to expander.
5224         (zero_extendsidi2_rex64): New.
5225         (extendsidi2_32): Break out from ...
5226         (extendsidi2): ... here ; turn to expander.
5227         (extendsidi2_rex64): New.
5228         (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
5229         (trunc?f?f splitters): Add 64bit versions.
5230
5231 Thu Mar 22 21:41:16 CET 2001  Jan Hubicka  <jh@suse.cz>
5232
5233         * i386.md (pushsi, pushsi2_prologue): Disable.
5234         (pushsi2_rex64): New.
5235         (movabs?i_1_rex64, movabs?i_2_rex64): New.
5236         (movqi_ext_1): Disable for 64bit.
5237         (movqi_ext_1_rex64): New.
5238         (pushdi2_rex64): New pattern, peep2s and splitter.
5239         (pushdi2_prologue_rex64): New pattern.
5240         (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
5241         Likewise.
5242         (movdi splitters): Disable for 64bit.
5243         (movdi_1_rex64): New pattern, peep2s and splitters.
5244         (swapdi): New pattern.
5245         (pushsf): Disable for 64bit.
5246         (pushsf_rex64): New pattern and splitter.
5247         (pushdf_nointeger): Disable for 64bit.
5248         (pushdf_integer): Handle the 64bit case.
5249         (pushtf): Likewise; update splitters.
5250
5251 2001-03-22  Richard Henderson  <rth@redhat.com>
5252
5253         * mkconfig.sh: Include insn-flags.h.
5254         * Makefile.in (CONFIG_H): Include insn-flags.h.
5255         (lots of objects): Remove insn-codes.h and insn-flags.h.
5256
5257         * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
5258         integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
5259         regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
5260         avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
5261         dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
5262         i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
5263         m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
5264         mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
5265         pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
5266         v850/v850.c, vax/vax.c:
5267         Don't include insn-flags.h.
5268
5269         * diagnostic.c, expr.h, reload.c, toplev.c:
5270         Don't include insn-codes.h.
5271
5272         * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
5273         final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
5274         c4x/c4x.c, i960/i960.c, mips/mips.c:
5275         Don't include insn-codes.h or insn-flags.h.
5276
5277         * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
5278         or insn-flags.h in the generated code.
5279         * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
5280         (main): Forward declare struct rtx_def.
5281
5282 2001-03-22  Joseph S. Myers  <jsm28@cam.ac.uk>
5283
5284         * invoke.texi (-ffast-math): Remove duplicate line about
5285         __FAST_MATH__.
5286
5287         * gcc.texi: Remove more obsolete documentation of bugs and
5288         installation problems.
5289
5290 2001-03-21  Kazu Hirata  <kazu@hxi.com>
5291
5292         * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
5293         into two parts.
5294
5295 2001-03-20  Jason Merrill  <jason@redhat.com>
5296
5297         * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
5298         not '.' or '$'.
5299         * tree.c (FILE_FUNCTION_FORMAT): Likewise.
5300         * varasm.c (CHKR_PREFIX): Likewise.
5301
5302 Wed Mar 21 14:27:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5303
5304         * gcse.c (hash_scan_set): An expression is not anticipatible if it
5305         is part of a multi-SET insn.
5306
5307         * cse.c (find_comparison_args): Remove previous change.
5308         * ifcvt.c (noce_process_if_block): When moving an insn, remove any
5309         REG_EQUAL notes.
5310
5311         * config/i386/i386.md (conditional_trap): Remove warning.
5312
5313         * recog.c (push_operand): Fix error in last change that caused
5314         undefined symbol on many targets.
5315
5316         * sdbout.c: #include ggc.h.
5317         (sdbout_init): Move to end of file.
5318         Call ggc_add_tree_root for anonymous_types.
5319         (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
5320         (sdbout_one_type): Use DECL_NAME for field name.
5321         * Makefile.in (sdbout.o): Show includes ggc.h.
5322
5323 Wed Mar 21 20:33:26 CET 2001  Jan Hubicka  <jh@suse.cz>
5324
5325         * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
5326         (override_options): Use properlimits for preferred_stack_boundary.
5327         (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
5328         on x86_64.
5329         (ext_register_operand): Accept DImode.
5330         (load_pic_register): Abort on 64bit.
5331         (gen_push): Use Pmode instead of SImode.
5332         (ix86_save_reg): Pic reg is never used on 64bit.
5333         (ix86_expand_prologue): Likewise.
5334         (ix86_emit_save_regs): Use Pmode instead of SImode.
5335         (legitimate_address_p): Check displacement for 64bit.
5336         (print_operand): Avoid outputting of (%rip) on 64bit.
5337         (print_operand_address): Output (%rip) where possible.
5338         (split_di): Abort on 64bit registers.
5339         (ix86_expand_branch): DImode comparison is simple for x86_64.
5340         (memory_address_length): Recognize memory addresses formed using
5341         PRE/POST modify.
5342         (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes
5343         for x86_64.
5344         * i386.h (TARGET_USE_SAHF): Disable for 64bit.
5345
5346 Wed Mar 21 18:51:19 CET 2001  Jan Hubicka  <jh@suse.cz>
5347
5348         * recog.c (push_operand): Recognize new format of push instructions.
5349
5350 Wed Mar 21 10:53:57 CET 2001  Jan Hubicka  <jh@suse.cz>
5351
5352         * i386.md (pushqi1): New.
5353         * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
5354         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
5355         x86_64_immediate_operand, x86_64_immediate_operand,
5356         x86_64_zext_immediate_operand): Declare.
5357         * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
5358         x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
5359         x86_64_immediate_operand, x86_64_immediate_operand,
5360         x86_64_zext_immediate_operand): define.
5361         * i386.h (PREDICATE_CODES): Add new predicates.
5362
5363 Wed Mar 21 10:25:13 CET 2001  Jan Hubicka  <jh@suse.cz>
5364
5365         * i386.md (pophi1, popqi1, pushqi1): Remove.
5366
5367         * expr.c (emit_single_push_insn): New function.
5368         (move_by_pieces): Accept NULL as destination for push instructions.
5369         (gen_push_operand): Kill.
5370         (emit_push_insn): Pass NULL when pushing; avoid updating of
5371         stack_pointer_delta.
5372         * expr.h (gen_push_operand): Kill.
5373
5374 Tue Mar 20 20:15:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5375
5376         * rtl.texi (COMPARE): Clarify documentation and reference section
5377         on comparisons.
5378
5379 2001-03-20  Stan Shebs  <shebs@apple.com>
5380
5381         * objc/objc-act.c (get_static_reference): Use NULL_TREE.
5382         (get_object_reference): Ditto.
5383         (error_with_ivar): Use error_with_file_and_line.
5384         (warn_with_method): Use warning_with_file_and_line.
5385
5386 2001-03-20  Tom Tromey  <tromey@redhat.com>
5387
5388         * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
5389
5390 2001-03-20  Mark Mitchell  <mark@codesourcery.com>
5391
5392         * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
5393         variables that are TREE_PUBLIC, even if not TREE_STATIC.
5394
5395 2001-03-20  DJ Delorie  <dj@redhat.com>
5396
5397         * Makefile.in (install-libgcc): Pass complete list of variables.
5398         (install-multilib): Ditto.
5399
5400 2001-03-20  David Billinghurst  <David.Billinghurst@riotinto.com>
5401
5402         * config/i386/cygwin.h: Declare ctor_section, dtor_section
5403         drectve_section, switch_to_section.
5404
5405         * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
5406         i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
5407         i386_pe_mark_dllimport.
5408
5409 2001-03-20  David Billinghurst <David.Billinghurst@riotinto.com>
5410
5411         * config/i386/cygwin.h: Include <stdio.h> Declare and constify
5412         functions i386_pe_*.
5413
5414         * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
5415         i386_pe_* functions with char * arguments.
5416
5417 2001-03-20  Alexandre Oliva  <aoliva@redhat.com>
5418
5419         * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
5420         and store.
5421         (movsi_ie): Introduce fpul store.
5422
5423 2001-03-20  Alan Modra  <alan@linuxcare.com.au>
5424
5425         * Makefile.in (OBJS): Remove hashtab.o.
5426
5427 2001-03-19  Stan Shebs  <shebs@apple.com>
5428
5429         * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
5430         * c-lang.c (maybe_objc_method_name): Ditto.
5431         * c-tree.h (maybe_objc_method_name): Remove decl.
5432
5433 2001-03-19  Tom Tromey  <tromey@redhat.com>
5434
5435         * gcc.c (init_gcc_specs): Fix comment.
5436
5437 2001-03-19  Mark Mitchell  <mark@codesourcery.com>
5438
5439         Compute DECL_ASSEMBLER_NAME lazily.
5440         * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
5441         (DECL_ASSEMBLER_NAME_SET_P): New macro.
5442         (SET_DECL_ASSEMBLER_NAME): Likewise.
5443         (COPY_DECL_ASSEMBLER_NAME): Likewise.
5444         (set_decl_assembler_name): Declare.
5445         (lang_set_decl_assembler_name): Likewise.
5446         * tree.c (lang_set_decl_assembler_name): New variab.e
5447         (set_decl_assembler_name): New function.
5448         (init_obstacks): Set lang_set_decl_assembler_name.
5449         (build_decl): Don't set DECL_ASSEMBLER_NAME.
5450         * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
5451         COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
5452         where it's not necessary.
5453         (builtin_function): Likewise.
5454         (finish_decl): Likewise.
5455         * dbxout.c (dbxout_type_methods): Likewise.
5456         * ggc-common.c (ggc_mark_trees): Likewise.
5457         * profile.c (output_func_start_profiler): Likewise.
5458         * varasm.c (make_decl_rtl): Likewise.
5459
5460         * cse.c (find_comparison_args): Update documentation.  Fix
5461         mishandling of COMPARE operations.
5462
5463         * tree.def (ABS_EXPR): Add documentation.
5464         * fold-const.c (fold): Improve folding of ABS_EXPRs.
5465
5466 2001-03-19  Zack Weinberg  <zackw@stanford.edu>
5467
5468         * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
5469
5470 2001-03-19  Jakub Jelinek  <jakub@redhat.com>
5471
5472         * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
5473         Remove ia32 linux PIC kludge and move it...
5474         * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
5475
5476 Mon Mar 19 18:53:54 CET 2001  Jan Hubicka  <jh@suse.cz>
5477
5478         * i386.md (absdf2 expander): Fix 64bit case.
5479
5480 2001-03-19  Brad Lucier  <lucier@math.purdue.edu>
5481
5482         * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
5483
5484 2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>
5485
5486         * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
5487
5488 2001-03-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5489
5490         * README.X11: Remove obsolete file.
5491
5492 2001-03-18  Anthony Green  <green@redhat.com>
5493
5494         * config/pj/pj.h: Remove some trailing commas.
5495         (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
5496
5497 2001-03-18  Richard Henderson  <rth@redhat.com>
5498
5499         * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
5500         * calls.c: ... here.
5501         * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
5502         defaults for them here.
5503
5504 2001-03-17  Anthony Green  <green@redhat.com>
5505
5506         * config/pj/lib1funcs.S: Fix broken comment.
5507         * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
5508         labels with '.'.
5509
5510 2001-03-18  Joseph S. Myers  <jsm28@cam.ac.uk>
5511
5512         * gcc.texi: Remove obsolete information relating to build and
5513         installation problems with enquire or the Pyramid C compiler.
5514
5515 2001-03-17  Richard Henderson  <rth@redhat.com>
5516
5517         * dwarf2out.c (queue_reg_save): New.
5518         (flush_queued_reg_saves, clobbers_queued_reg_save): New.
5519         (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
5520         dwarf2out_reg_save.
5521         (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
5522         (cfa, cfa_store, cfa_temp): Make static.
5523         * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
5524
5525 2001-03-17  Richard Henderson  <rth@redhat.com>
5526
5527         * integrate.h (struct inline_remap): Add local_return_label.
5528         * integrate.c (expand_inline_function): Initialize it and emit
5529         it after copy_insn_notes.
5530         (copy_insn_list): Don't store local_return_label here.
5531         (copy_insn_notes): New function split out from copy_insn_list.
5532
5533 2001-03-17  Richard Henderson  <rth@redhat.com>
5534
5535         * dwarf2out.c (lookup_filename): Emit .file if the assembler
5536         is generating .debug_line.
5537         (dwarf2out_init): Add main_input_filename to the file table first.
5538         * configure.in (as_dwarf2_debug_line): Test with file number 1
5539         instead of file number 0.
5540
5541 Sat Mar 17 11:52:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5542
5543         * combine.c (undobuf): Remove field previous_undos; all refs deleted.
5544         (gen_rtx_combine): Deleted; all references changed as appropriate.
5545         (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
5546
5547         * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
5548
5549 2001-03-17  David Billinghurst  <David.Billinghurst@riotinto.com>
5550
5551         * config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused
5552         variable.
5553
5554 2001-03-16  Jim Wilson  <wilson@redhat.com>
5555
5556         * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
5557         then set it to LOC_REG (79) instead of aborting.
5558
5559 2001-03-16  Phil Edwards  <pme@sources.redhat.com>
5560
5561         * gccbug.in:  Remove high priority.
5562
5563 2001-03-16  Richard Henerson  <rth@redhat.com>
5564
5565         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
5566         output with a space instead of deleting it.
5567         * configure: Regenerate.
5568
5569 2001-03-16  Zack Weinberg  <zackw@stanford.edu>
5570
5571         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
5572         handles the gory details of converting an object file into
5573         something that's safe to grep.
5574         (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
5575         gcc_AC_C_COMPILE_ENDIAN.  Use gcc_AC_EXAMINE_OBJECT.  Put
5576         newlines at either end of the string we're looking for.
5577         Make 'checking ...' message less stilted.
5578         (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT.  Handle
5579         ARM in-memory layout and its hypothetical converse.  Don't
5580         define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
5581         HOST_WORDS_BIG_ENDIAN.
5582
5583         * configure.in: Adjust for renamed macro.  Move
5584         gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
5585         * configure, config.in: Regenerate.
5586
5587 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5588
5589         * fixinc/Makefile.in: Set SHELL.
5590
5591 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5592
5593         * fixinc/fixincl.c (fix_with_system): Quote file names before
5594         passing them to shell.
5595
5596 2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
5597
5598         * Makefile.in: Use fix-header$(build_exeext) instead
5599         of fix-header.
5600
5601 2001-03-16  Richard Henderson  <rth@redhat.com>
5602
5603         * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
5604         (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
5605         (size_of_line_prolog): Remove.
5606         (output_line_info): Compute prologue size via label difference.
5607         (lookup_filename): Return "unspecified" for <internal> and <built-in>.
5608
5609         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
5610         assembler error when redefining file numbers.
5611         * config.in, configure: Rebuild.
5612
5613         * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
5614         (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
5615         (dw2_asm_output_delta_uleb128): Likewise.
5616         (dw2_asm_output_delta_sleb128): Similarly.
5617         (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.
5618
5619 2001-03-16  Michael Meissner  <meissner@redhat.com>
5620
5621         * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
5622         warnings.
5623         (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
5624         warnings.
5625         (BITMASK_LOWER16): Replacement for 0x0000ffff.
5626
5627         * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
5628         instead of 0xffff0000/0x0000ffff to avoid warnings about constants
5629         being unsigned in ISO C and signed in traditional.
5630         (expand_prologue): Ditto.
5631         (RA_MASK): Use BITMASK_HIGH to avoid warnings.
5632
5633         * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
5634         warnings.
5635         (divsi3,divdi3): Ditto.
5636         (modsi3,moddi3): Ditto.
5637         (fix_truncdfsi2,fix_truncdfdi2): Ditto.
5638         (fix_truncsfsi2,fix_truncsfdi2): Ditto.
5639         (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
5640         warnings.
5641
5642 Fri Mar 16 14:47:57 CET 2001  Jan Hubicka  <jh@suse.cz>
5643
5644         * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
5645         SSE based conditional moves on LTGT/UNEQ conditions;
5646         Canonicalize EQ to NE.
5647         * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
5648         (sse_mov?fcc_ne): New.
5649
5650         * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
5651
5652 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5653
5654         * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
5655         register may be dead.
5656
5657 2001-03-16  Brad Lucier  <lucier@math.purdue.edu>
5658
5659         * Makefile.in (hash.o): Depend on CONFIG_H.
5660
5661 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5662
5663         * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
5664
5665 2001-03-15  Richard Henderson  <rth@redhat.com>
5666
5667         * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
5668         (ASM_OUTPUT_DWARF_PCREL): New.
5669         * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.
5670
5671 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5672
5673         * cppfiles.c (stack_include_file): Use MAX of sysp.
5674
5675 2001-03-15  Steve Ellcey  <sje@cup.hp.com>
5676
5677         * config.gcc (ia64*-*-hpux*): New case.
5678         * config/ia64/hpux.h: New file for HP-UX support.
5679         * config/ia64/t-hpux: New file for HP-UX support.
5680
5681 2001-03-16  Bruce Korb  <bkorb@gnu.org>, Alexandre Oliva  <aoliva@redhat.com>
5682
5683         * fixinc/inclhack.def (irix_stdio_va_list): New.
5684         * fixinc/fixincl.x: Rebuilt.
5685
5686 2001-03-15  Richard Henderson  <rth@redhat.com>
5687
5688         * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
5689         if provided by the target.
5690         (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
5691         (dw2_asm_output_addr): New.
5692         * dwarf2asm.h (dw2_asm_output_addr): Declare.
5693         * dwarf2out.c (output_cfi): Use it for program addresses.
5694         (output_call_frame_info, output_die): Likewise.
5695         (output_aranges, output_line_info): Likewise.
5696
5697 2001-03-15  Bruce Korb  <bkorb@gnu.org>
5698
5699         * gcc.c(main): make more rigorous
5700         * collect2.c(main): guard against ignoring SIGCHLD
5701         * protoize.c(main): ditto
5702         * gcc/fixinc/fixincl.c(initialize): ditto
5703
5704 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5705
5706         * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
5707         (sdbout_parms): Likewise.
5708
5709 Thu Mar 15 12:57:14 2001  Jeffrey A Law  (law@cygnus.com)
5710
5711         * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
5712         "widen" a destination that is already wider than a word.  Also do
5713         not widen if LOAD_EXTEND_OP is NIL for the given mode.
5714
5715 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
5716
5717         * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
5718
5719 Thu Mar 15 11:30:31 EST 2001  John Wehle  (john@feith.com)
5720
5721         * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
5722
5723 Thu Mar 15 11:24:29 EST 2001  John Wehle  (john@feith.com)
5724
5725         * i960.h (i960_maxbitalignment,
5726         i960_last_maxbitalignment): Declare.
5727         * i960.c (i960_maxbitalignment,
5728         i960_last_maxbitalignment): Make global.
5729         (process_pragma): Delete.
5730         (i960_pr_align, i960_pr_noalign): Move from here ...
5731         * i960-c.c: ... to this new file.
5732         * t-960bare (i960-c.o): New rule.
5733         * t-vxworks960 (i960-c.o): Likewise.
5734         * config.gcc (i960-*-*): Define c_target_objs and
5735         cxx_target_objs.
5736
5737 2001-03-15  Bernd Schmidt  <bernds@redhat.com>
5738
5739         * cselib.c (hash_rtx): For REG and MEM, just use value of expression
5740         without adding in rtx code and mode.
5741
5742         * alias.c (init_alias_analysis): Don't use any rtx whose value
5743         varies as a known value.
5744         Delete a superfluous test.
5745
5746         * config/ia64/ia64.c (maybe_rotate): New function, broken out of
5747         ia64_sched_reorder.
5748         (ia64_sched_reorder): Call maybe_rotate; also rotate after
5749         scheduling a stop bit.
5750         (ia64_emit_nops): Correctly handle ASMs.
5751
5752 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
5753
5754         * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
5755
5756 2001-03-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5757
5758         * cpp.texi: Update documentation for -include and -imacros.
5759         * cppfiles.c (struct include_file): Remove "defined" memeber.
5760         (find_or_create_entry): Make a copy of the file name, and
5761         simplify it.
5762         (open_file): Update to ensure we use the simplified filename.
5763         (stack_include_file): Don't set search_from.
5764         (cpp_included): Don't simplify the path name here.
5765         (find_include_file): New prototype.  Call search_from to
5766         get the start of the "" include chain.  Don't simplify the
5767         filenames here.
5768         (_cpp_execute_include): New prototype.  Move diagnostics to
5769         do_include_common.  Update.
5770         (_cpp_pop_file_buffer): Don't set defined.
5771         (search_from): New prototype.  Use the preprocessor's cwd
5772         for files included from the command line.
5773         (read_name_map): Don't simplify the pathname here.
5774         * cpphash.h (enum include_type): New.
5775         (struct buffer): Delete search from.  New search_cached.
5776         (_cpp_execute_include): Update prototype.
5777         * cppinit.c (do_includes): Use _cpp_execute_include.
5778         * cpplib.c (do_include_common): New function.
5779         (do_include, do_include_next, do_import): Use it.
5780
5781 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5782
5783         * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
5784         contents of the RTL, to determine the name of the object.
5785
5786 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5787
5788         * tree.h (DECL_RTL): Allocate RTL lazily.
5789         (SET_DECL_RTL): New macro.
5790         (DECL_RTL_SET_P): Likewise.
5791         (COPY_DECL_RTL): Likewise.
5792         (DECL_RTL_IF_SET): Likewise.
5793         * varasm.c (make_decl_rtl): Add assertions about the kind of
5794         declaration we are processing.
5795         * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
5796         (start_decl): Likewise.
5797         (finish_decl): Likewise.
5798         * c-semantics.c (emit_local_var): Likewise.
5799         * calls.c (expand_call): Likewise.
5800         * dbxout.c (dbxout_symbol): Likewise.
5801         * emit-rtl.c (unshare_all_rtl): Likewise.
5802         (unshare_all_decls): Likewise.
5803         (reset_used_decls): Likewise.
5804         * expr.c (store_constructor): Likewise.
5805         (safe_from_p): Likewise.
5806         (expand_expr): Likewise.
5807         * function.c (put_var_into_stack): Likewise.
5808         (instantiate_decls_1): Likewise.
5809         (assign_parms): Likewise.
5810         (expand_function_start): Likewise.
5811         (expand_function_end): Likewise.
5812         * ggc-common.c (gcc_mark_trees): Likewise.
5813         * integrate.c (function_cannot_inline_p): Likewise.
5814         (copy_decl_for_inlining): Likewise.
5815         (expand_inline_function): Likewise.
5816         (integrate_parm_decls): Likewise.
5817         (integrate_decl_tree): Likewise.
5818         * print-tree.c (print_node): Likewise.
5819         * reg-stack.c (stack_result): Likewise.
5820         * stmt.c (label_rtx): Likewise.
5821         (expand_return): Likewise.
5822         (expand_decl): Likewise.
5823         (expand_decl_cleanup): Likewise.
5824         (expand_anon_union_decl): Likewise.
5825         * toplev.c (check_global_declarations): Likewise.
5826         (rest_of_decl_compilation): Likewise.
5827         * tree.c (simple_cst_equal): Likewise.
5828         * objc/objc-act.c (generate_static_references): Likewise.
5829
5830 2001-03-14  Zack Weinberg  <zackw@stanford.edu>
5831
5832         * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
5833         gcc_AC_C_FLOAT_FORMAT): New macros.
5834         * configure.in: Add AC_PROG_CPP after CC tests;
5835         gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
5836         tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
5837         * configure, config.in: Regenerate.
5838
5839         * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
5840         config/arm/xm-arm.h, config/c4x/xm-c4x.h,
5841         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
5842         config/i370/xm-linux.h, config/i370/xm-oe.h,
5843         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
5844         config/m68k/xm-m68k.h, config/mips/xm-mips.h,
5845         config/pa/xm-linux.h, config/pa/xm-pa.h,
5846         config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
5847         config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
5848         config/sparc/xm-sparc.h, config/vax/xm-vax.h,
5849         config/we32k/xm-we32k.h: Delete.
5850
5851         * config/i370/xm-mvs.h, config/m88k/m88k.h,
5852         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
5853         config/vax/xm-vms.h: Don't define any of:
5854         HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
5855
5856         * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
5857
5858         * config.gcc: Remove references to deleted files.
5859         (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
5860         FATAL_EXIT_CODE, which is the same between oe and mvs).
5861
5862 2001-03-14  DJ Delorie  <dj@redhat.com>
5863             Vladimir Makarov  <vmakarov@redhat.com>
5864
5865         * config/i960/i960.c (i960_function_prologue): Compute size of
5866         frame according to number of registers actually saved there.
5867
5868 2001-03-14  Richard Henderson  <rth@redhat.com>
5869
5870         * expr.c (emit_move_insn_1): Fix else if around #endif.
5871
5872 Wed Mar 14 22:39:12 CET 2001  Jan Hubicka  <jh@suse.cz>
5873                               Vojtech Pavlik
5874
5875         * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
5876         constraints.
5877
5878 Wed Mar 14 22:26:10 CET 2001  Jan Hubicka  <jh@suse.cz>
5879
5880         * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
5881         (override_options): Parse cmodel string.
5882         (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
5883         * i386.h (TARGET_OPTIONS): Add "cmodel".
5884         (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
5885         (enum cmodel): New.
5886         (ix86_cmodel_string, ix86_cmodel): Declare.
5887
5888 Wed Mar 14 22:26:54 CET 2001  Jan Hubicka  <jh@suse.cz>
5889
5890         Spot by Matt Kraai:
5891         * i386.h (GENERAL_REG_P): Add missing REG_P.
5892
5893 2001-03-14  Laurynas Biveinis  <lauras@softhome.net>
5894
5895         * configure.in: Use $gcc_cv_as instead of $as.
5896         * configure: Regenerated.
5897
5898 2001-03-14  Neil Booth  <neil@daikokuya.demon.co.uk>
5899
5900         * cppfiles.c (stack_include_file): Only increase the include
5901         count if we actually process the file properly, as opposed
5902         to treating it as length zero.  Only call read_include_file
5903         if not DO_NOT_REREAD.  Handle the -H include file output
5904         here.
5905         (read_include_file): Remove now redundant DO_NOT_REREAD check.
5906         (cpp_included, find_include_file): Simplify pathnames after
5907         remapping them.  If remapping, don't use the remapped file
5908         name's buffer as our scratch buffer.
5909         (cpp_pop_file_buffer): Replace the multiple include macro
5910         only if it isn't yet set.
5911         (read_name_map): Simplify remapped names when reading in.
5912         (remap_filename): Move code to code path that uses it.
5913         (_cpp_simplify_pathname): Return the input pointer.
5914         * cpphash.h (_cpp_simplify_pathname): Update prototype.
5915
5916 2001-03-14  Mark Mitchell  <mark@codesourcery.com>
5917
5918         * expr.c (expand_expr): Revove bogus conditional.
5919
5920 Wed Mar 14 19:29:50 CET 2001  Jan Hubicka  <jh@suse.cz>
5921
5922         * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
5923
5924 2001-03-14  Jakub Jelinek  <jakub@redhat.com>
5925
5926         * reg-stack.c (stack_result): Unconditionally use
5927         FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
5928
5929 Wed Mar 14 16:36:25 CET 2001  Jan Hubicka  <jh@suse.cz>
5930
5931         * expr.c (emit_move_insn_1):  Split push of complex value when
5932         no suitable push instruction exist.
5933
5934         * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
5935         instead of QI_REG_P.
5936
5937 Tue Mar 13 22:22:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5938
5939         * alias.c (handled_component_p, can_address_p): New functions.
5940         (get_alias_set): Use them.
5941
5942 2001-03-13  Jim Wilson  <wilson@redhat.com>
5943
5944         * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
5945         from 80 in try_locals code.
5946         (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
5947
5948 2001-03-13  Zack Weinberg  <zackw@stanford.edu>
5949
5950         * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
5951         gcc_AC_C_LONG_LONG): New.
5952         * configure.in: Use them.  Probe the size of short, int, long,
5953         and long long/__int64 if we have them.  Move all the AC_C_*
5954         checks together, except gcc_AC_C_CHAR_BIT which has to go
5955         after AC_CHECK_HEADERS(limits.h).
5956         Take hwint.h out of host_xm_file and build_xm_file.
5957
5958         * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
5959         HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
5960         and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
5961         Move the HOST_WIDEST_INT setup logic here from system.h.
5962         Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
5963         defined.
5964         * system.h: Include hwint.h after limits.h.  HOST_WIDEST_INT
5965         is now handled by hwint.h.
5966
5967         * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
5968         config/c4x/xm-c4x.h, config/i370/xm-oe.h,
5969         config/ia64/xm-ia64.h: Don't define any of:
5970         HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
5971         HOST_BITS_PER_LONGLONG.
5972
5973         * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
5974         config/h8300/xm-h8300.h, config/mips/iris6.h,
5975         config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
5976         config/sparc/xm-sp64.h: Delete.
5977         * config.gcc: Remove references to deleted files.
5978
5979         * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
5980         HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
5981         * config/i370/xm-linux.h: Clarify floating-point situation in
5982         a comment.
5983
5984 2001-03-13  Neil Booth  <neil@daikokuya.demon.co.uk>
5985
5986         * cppfiles.c (NO_INCLUDE_PATH): New macro.
5987         (find_include_file): Decide here which part of the include
5988         chain to start the search.  Complain about an empty include
5989         chain in all cases apart from an abolsute file name.
5990         (_cpp_execute_include): Don't choose the search chain here.
5991         Don't call handle_missing_include in the case of an empty
5992         include chain.
5993         (_cpp_compare_file_date): Don't choose the search chain here.
5994         * cpplib.c (do_include_next): Move the in-main-file diagnostic
5995         here from _cpp_execute_include.  Behave like #include if
5996         we're in the main file.
5997
5998 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5999
6000         * system.h (malloc, realloc, calloc, strdup): Only poison these
6001         tokens when IN_GCC is defined.
6002
6003 Tue Mar 13 14:38:44 CET 2001  Jan Hubicka  <jh@suse.cz>
6004
6005         * i386.md (abs?f expander): Support SSE case.
6006         (abd?f_if): Add new "USE"; add splitters.
6007
6008 2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6009
6010         * cpp.texi (poison): Explain the macro expansion exception.
6011
6012 2001-03-13  Jakub Jelinek  <jakub@redhat.com>
6013
6014         * expr.c (store_expr): Add dont_store_target.  If temp is already in
6015         target before copying to reg, don't store it into target again.
6016
6017 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
6018
6019         * cppinternals.texi: Update for file handling.
6020
6021 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
6022
6023         * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
6024         2001-02-24 which broke building the Java library.
6025         * function.c (identify_blocks): Likewise.
6026         (all_blocks): Likewise.
6027         * integrate.c (integrate_decl_tree): Likewise.
6028         * print-tree.c (print_node): Likewise.
6029         * tree.h (BLOCK_NUMBER): Likewise.
6030         (struct tree_block): Likewise.
6031
6032 2001-03-12  David Edelsohn  <edelsohn@gnu.org>
6033
6034         * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
6035         __WCHAR_TYPE__ definition.
6036         (WCHAR_TYPE_SIZE): #undef before #define.
6037
6038 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
6039
6040         * cppfiles.c: Update comments.
6041         (destroy_include_file_node): Rename destroy_node.
6042         (find_or_create_entry): New function.
6043         (open_file, _cpp_fake_include): Use it.
6044         (handle_missing_header): New function, broken out of
6045         _cpp_execute include.  Don't segfault if there is no
6046         system or quoted path.
6047         (_cpp_execute_include): Use handle_missing_header.
6048
6049 2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
6050
6051         * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
6052         2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
6053
6054 Mon Mar 12 14:05:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6055
6056         * flow.c (insn_dead_p): Don't consider two memrefs equivalent
6057         unless anti_dependence says they are.
6058         * alias.c (objects_must_conflict): If neither has a type specified,
6059         they must conflict.
6060
6061 2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
6062             David Billinghurst <David.Billinghurst@riotinto.com>
6063
6064         * config/mips/iris5.h:  Change WCHAR_TYPE to int.
6065
6066 Mon Mar 12 16:32:21 CET 2001  Jan Hubicka  <jh@suse.cz>
6067
6068         * i386.md (trunctfdf2_2): Rename missnamed pattern.
6069         (*_one_bit): Remove type on the match_operand in attributes.
6070
6071 Mon Mar 12 16:27:56 CET 2001  Jan Hubicka  <jh@suse.cz>
6072
6073         * i386.c: Commit forgotten hunk in previous patch.
6074         (regclass_map): Add extended registers.
6075         (dbx_register_map): Add missing frame register.
6076
6077 Mon Mar 12 15:41:08 CET 2001  Jan Hubicka  <jh@suse.cz>
6078
6079         * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
6080
6081         * i386.md (x86_sahf_1): Disable for 64bit.
6082         (popsi*, pophi*): Likewise.
6083         (pushqi, pushhi): Likewise.
6084         (movdi, pushdi): Likewise.
6085         (zero extend DImode splitter): Likewise.
6086         (adddi, minusdi splitter): Likewise.
6087         (umulsidi): Likewise.
6088         (umulsi): New.
6089         (mulsidi): Disable for 64bit
6090         (lshift:DI/ashift:DI): Disable for 64bit.
6091         (loop patterns): Likewise.
6092         (call_pop, call_value_pop expanders and patterns): Likewise.
6093         (prologue_get_pc): Likewise.
6094         (leave): Likewise.
6095         (fcmovDI pattern and splitter): Likewise.
6096         (movdfcc_1_rex64): New.
6097
6098 Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
6099
6100         * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
6101         (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
6102         (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
6103         (STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
6104         (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
6105         (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
6106         (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
6107         (PUSH_ROUNDING): x86_64 rounds to 64bits.
6108         (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
6109         (REGPARM_MAX): Set to 6 for x86_64.
6110         (SSE_REGPARM_MAX): Set to 16 for x86_64.
6111         * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
6112         registers.
6113
6114         * (patterns that does use upper halves): Update constraints
6115         'q' to 'Q' and 'r' to 'R'.
6116         (cmpqi_ext_1): Disable for 64bit.
6117         (cmpqi_ext_3_insn): Likewise.
6118         (movqi_extzv_1): Likewsie.
6119         (addqi_ext_1): Liekwsie
6120         (testqi_ext_1): Liekwsie
6121         (andqi_ext_1): Liekwsie
6122         (xorqi_ext_1): Liekwsie
6123         (cmpqi_ext_1_rex64): New.
6124         (cmpqi_ext_3_insn_rex64): Likewise.
6125         (movqi_extzv_1_rex64): Likewsie.
6126         (addqi_ext_1_rex64): Liekwsie
6127         (testqi_ext_1_rex64): Liekwsie
6128         (andqi_ext_1_rex64): Liekwsie
6129         (xorqi_ext_1_rex64): Liekwsie
6130
6131 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
6132
6133         * configure.in: Move check for unsigned enumerated bitfields
6134         to macro in aclocal.m4.  Disable it for now.
6135         * configure, config.in: Regenerate.
6136         * system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
6137         unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
6138         * varasm.c (struct rtx_const): Use ENUM_BITFIELD().  Move enum
6139         kind above its first use.
6140
6141         * config/xm-interix.h, config/alpha/xm-alpha.h,
6142         config/i370/xm-linux.h, config/i386/xm-beos.h,
6143         config/i386/xm-mingw32.h, config/mips/xm-mips.h,
6144         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
6145         config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
6146         Don't define ONLY_INT_FIELDS under any circumstances.
6147
6148         * config/pa/xm-pa.h: Don't define __BSD_NET2__.
6149
6150         * config/pa/xm-pahpux.h, config/pa/xm-papro.h,
6151         config/sparc/xm-sysv4.h: Delete - now identical with some
6152         other xm header.
6153         * config.gcc (hppa targets): Replace xm-pahpux.h and
6154         xm-papro.h with implicit xm-pa.h.
6155         (sparc targets): Replace xm-sysv4.h with implicit or explicit
6156         xm-sparc.h.
6157
6158 2001-03-12  Aldy Hernandez  <aldyh@redhat.com>
6159
6160         * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
6161         before reload_cse_noop_set_p.
6162
6163 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
6164
6165         * config.gcc: Where xm-host.h used to include another
6166         xm-host.h, list the nested header directly in xm_file.  Remove
6167         references to deleted files.  Can now use sparc/xm-sp64.h for
6168         sparcv9-*-solaris*.
6169
6170         * config/xm-linux.h, config/arm/xm-linux.h,
6171         config/i386/xm-dos.h, config/i386/xm-gnu.h,
6172         config/i386/xm-linux.h, config/i386/xm-openbsd.h,
6173         config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
6174         config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
6175         config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
6176         Delete.
6177
6178         * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
6179         * config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
6180         bother to wrap #undef in #ifdef.
6181         * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
6182         Don't include xm-linux.h.
6183         * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.
6184
6185         * configure.in: Wrap regexps using [] in changequote block.
6186         Use expr : not echo | grep.  Simplify regexps.
6187         * configure: Regenerate.
6188
6189         56 xm-files remain, 22 xm-arch.
6190
6191 2001-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6192
6193         * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
6194         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
6195         (local_index, local_rindex): Delete, use strchr/strrchr instead.
6196         (copy_object): Fix format specifier vs argument mismatch.
6197
6198         * mips-tdump.c: Make local functions static.
6199         (rindex): Don't #undef.
6200         (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
6201         (fatal, fancy_abort): Delete.
6202         (read_seek): Avoid signed/unsigned compare.
6203
6204 Sun Mar 11 17:01:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6205
6206         * combine.c (try_combine): Fix error in change to try original
6207         register.
6208         (gen_rtx_combine): Do same as gen_rtx for now.
6209
6210 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
6211
6212         * configure.in: AC_SUBST xm_defines.
6213         * configure: Regenerate.
6214         * Makefile.in: Set DEFINES=$(xm_defines) when building
6215         tconfig.h.
6216
6217 2001-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6218
6219         * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
6220         (cpp_included, find_include_file): Update.
6221         (_cpp_compare_file_date): Make else unconditional.
6222
6223 2001-03-10  kaz Kojima <kkojima@rr.iij4u.or.jp>
6224
6225         * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
6226
6227 2001-03-10  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6228
6229         * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
6230         * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
6231
6232 Sat Mar 10 22:42:05 2001  Alexandre Oliva  <aoliva@redhat.com>
6233
6234         * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
6235         if it's a record type.
6236
6237 Sat Mar 10 17:52:54 2001  Christopher Faylor <cgf@cygnus.com>
6238
6239         * config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize
6240         mingw includes slightly.
6241
6242 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6243
6244         * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
6245         #undef token before poisoning it.
6246
6247 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6248
6249         * alpha.c (check_float_value): Use memcpy, not bcopy.
6250
6251         * m32r.c (m32r_sched_reorder): Likewise.
6252
6253         * vax.c (check_float_value): Likewise.
6254
6255 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
6256
6257         * toplev.c (file_name_nondirectory): Remove.
6258         * toplev.h: Similarly.
6259         * dwarf2out.c (compute_section_prefix): Use lbasename instead
6260         of file_name_nondirectory.
6261
6262 Sat Mar 10 10:36:45 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6263
6264         * mips-tdump.c (read_seek): Call xmalloc, not malloc.
6265         * mips-tfile.c: Don't #undef rindex; not used.
6266
6267 Sat Mar 10 14:34:59 CET 2001  Jan Hubicka  <jh@suse.cz>
6268
6269         * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
6270         (dbx64_register_map): Declare.
6271         (RETURN_ADDR_RTX): Fix for 64bit.
6272         (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
6273         (INCOMING_FRAME_SP_OFFSET): Set to 8.
6274         * i386.c (dbx64_register_map): New global array.
6275         * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
6276         linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
6277         for 64bits.
6278
6279 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
6280
6281         * cppfiles.c (search_from): Use lbasename.
6282         * mkdeps.c (deps_add_default_target): Use lbasename.
6283
6284 2001-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6285
6286         * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
6287         xcalloc in lieu of malloc, realloc & calloc.
6288
6289         * gencheck.c (xmalloc): Use really_call_malloc, not malloc.
6290
6291         * gengenrtl.c (xmalloc): Likewise.
6292
6293         * gensupport.c (xcalloc, xrealloc, xmalloc): Use the
6294         really_call_* memory allocation routines.
6295
6296         * stmt.c (check_for_full_enumeration_handling): Use
6297         really_call_calloc, not calloc.
6298
6299         * system.h (really_call_malloc, really_call_calloc,
6300         really_call_realloc): Define.
6301         (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.
6302
6303 Fri Mar  9 18:39:19 2001  Jeffrey A Law  (law@cygnus.com)
6304
6305         * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
6306
6307 2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>
6308
6309         * configure: Rebuilt.
6310         * configure.in: Only use `lang_requires' for languages athat are
6311         actually enabled.
6312
6313 2001-03-09  Joseph S. Myers  <jsm28@cam.ac.uk>
6314
6315         * invoke.texi: Fix typo.
6316         * gcc.1: Regenerate.
6317
6318 2001-03-09  Zack Weinberg  <zackw@stanford.edu>
6319
6320         * configure.in: Prune nonexistent files from build_xm_file,
6321         xm_file, and host_xm_file lists.  Warn unless they're
6322         $cpu/xm-$cpu.h.
6323         Don't generate *config.h here.
6324         AC_SUBST all variables needed to generate *config.h.
6325         * configure: Regenerate.
6326         * mkconfig.sh: New helper script, from code removed from
6327         configure.in.
6328         * Makefile.in: Zap all MALLOC variables - no longer used
6329         anywhere, and malloc.c doesn't exist.
6330         Substitute in variables needed to generate *config.h.
6331         Stop lying about the dependencies contained in CONFIG_H and
6332         GCONFIG_H.
6333         (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
6334         (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
6335         cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
6336         (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
6337         $(TM_P_H), etc. as appropriate.
6338
6339         * config.gcc: Zap references to deleted files.
6340         * ggc-none.c: Don't include rtl.h or tm_p.h.
6341
6342         * config/i386/xm-beos.h, config/i386/xm-dgux.h,
6343         config/i386/xm-djgpp.h, config/i386/xm-dos.h,
6344         config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
6345         config/i386/xm-linux.h, config/i386/xm-linux.h,
6346         config/i386/xm-next.h, config/i386/xm-openbsd.h,
6347         config/i386/xm-sun.h, config/i386/xm-sysv3.h:
6348         Don't include i386/xm-i386.h.
6349
6350         * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
6351         config/i386/xm-i386.h, config/i860/xm-i860.h,
6352         config/i960/xm-i960.h, config/mcore/xm-mcore.h,
6353         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6354         config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
6355         Delete (empty except comments, #includes of other deleted
6356         files, and macros used nowhere).
6357
6358 Fri Mar  9 20:05:27 CET 2001  Jan Hubicka  <jh@suse.cz>
6359
6360         * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
6361         independent on TARGET_FLAGS.
6362
6363 Fri Mar  9 19:52:52 CET 2001  Jan Hubicka  <jh@suse.cz>
6364
6365         * i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
6366
6367         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add
6368         extended ones.
6369         (CONDITIONAL_REGISTER_USAGE): Set proper values according to
6370         TARGET_64BIT.
6371         (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG,
6372         LAST_REX_SSE_REG): define.
6373         (enum reg_class): Add 'LEGACY_REGS'
6374         (REG_CLASS_CONTENTS): Likewise; add extended registers.
6375         (SSE_REGNO_P): Recognize extended registers.
6376         (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
6377         (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
6378         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P,
6379         REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers.
6380         (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
6381          REG_OK_FOR_STRREG_P): Remove.
6382         (HI_REGISTER_NAMES): Add extended registers.
6383         (ADDITIONAL_REGISTER_NAMES): Likewise.
6384         (QI_REGISTER_NAMES): Add 8bit extended registers.
6385         (DEBUG_REG): Support extended registers.
6386         * i386.c (regclass_map): Add extended registers.
6387         (dbx_register-map): Likewise.
6388         (svr4_dbx_register_map): Likewise.
6389         (print_reg): Support extended registers.
6390         (print_operand): Support 64bit operands.
6391
6392 Fri Mar  9 19:37:46 CET 2001  Jan Hubicka  <jh@suse.cz>
6393
6394         * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
6395         (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6396          FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
6397          DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
6398         (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
6399          STACK_BOUNDARY): Set properly for 64bits.
6400         (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
6401         (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
6402         (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
6403         (MOVE_MAX): Set to 16.
6404         (MOVE_MAX_PIECES): 8 for 64bit.
6405         (Pmode): Set to SImode.
6406
6407 Fri Mar  9 09:00:36 2001  Mike Stump  <mrs@wrs.com>
6408
6409         * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
6410
6411 Fri Mar  9 17:38:08 CET 2001  Jan Hubicka  <jh@suse.cz>
6412
6413         * i386.h (mask_64bit): New constant.
6414         (target_64bit): New macro.
6415         (target_options): Add '64'/'32'
6416         (target_default): Define.
6417         * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h
6418         isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h
6419         unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
6420
6421 Thu Mar  8 23:36:56 2001  Jeffrey A Law  (law@cygnus.com)
6422
6423         * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
6424
6425 Thu Mar  8 23:29:37 2001  John Wehle  (john@feith.com)
6426
6427         * rtlanal.c (rtx_varies_p): Check operand 0 of a
6428         LO_SUM unless for_alias is set.
6429
6430 2001-03-08  Stan Shebs  <shebs@apple.com>
6431
6432         * objc/objc-act.c: Fix old typos in comments, add comments for
6433         various functions.
6434         (hash_init): Fix file name in error message.
6435         (hash_enter): Ditto.
6436         (hash_add_attr): Ditto.
6437         (continue_class): Ditto.
6438
6439 2001-03-08  Bruce Korb  <bkorb@gnu.org>
6440
6441         gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
6442         wait4() can receive the signal.
6443
6444 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6445
6446         * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
6447         entities.
6448         * fixinc/fixincl.x: Regenerate.
6449
6450 Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6451
6452         * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
6453         on Tru64 UNIX.
6454         * fixinc/fixincl.x: Regenerate.
6455
6456 2001-03-08  Richard Henderson  <rth@redhat.com>
6457
6458         * configure.in (HAVE_AS_LEB128): New assembler check.
6459         * configure, config.in: Rebuilt.
6460
6461 Thu Mar  8 19:54:04 CET 2001  Jan Hubicka  <jh@suse.cz>
6462
6463         * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
6464         TFmode too.
6465
6466 2001-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6467
6468         * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
6469         references to the MAXPATHLEN macro.
6470
6471         * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
6472         config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
6473         the POSIX macro.
6474
6475         * config/i386/xm-gnu.h, config/xm-gnu.h,
6476         config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
6477         config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
6478         config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
6479         and/or unused files.
6480
6481         * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
6482         doing so in various xm-*.h files.
6483
6484 Thu Mar  8 06:32:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6485
6486         * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
6487
6488 2001-03-08  Alexandre Oliva  <aoliva@redhat.com>
6489
6490         * configure.in (enable_shared): Support per-package shared-library
6491         enabling.
6492         * configure: Rebuilt.
6493
6494 2001-03-07  David Edelsohn  <edelsohn@gnu.org>
6495
6496         * rs6000.md (cr logic): Add original POWER mnemonic alternative
6497         for crnot.  Set operands[5] in splitter.
6498
6499 2001-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6500
6501         * config/i370/xm-mvs.h, config/i370/xm-oe.h,
6502         config/i386/xm-beos.h, config/i386/xm-mingw32.h,
6503         config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
6504         config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
6505         config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
6506         config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
6507         config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
6508         to the USG macro.
6509
6510         * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
6511         config/i370/xm-i370.h, config/i386/xm-dgux.h,
6512         config/i386/xm-sun.h, config/i386/xm-sysv3.h,
6513         config/m68k/xm-tower.h, config/m68k/xm-aux.h,
6514         config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
6515         config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
6516         config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
6517         config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
6518         config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
6519         config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
6520         Delete unused and/or empty files.
6521
6522         * config.gcc: Define USG in xm_defines as appropriate.  Define
6523         POSIX in lieu of xm-svr4.h.  Delete all references to the SVR3
6524         macro.  Remove deleted xm-* files from $xm_files variable.
6525
6526 2001-03-07  Tom Tromey  <tromey@redhat.com>
6527
6528         * configure: Rebuilt.
6529         * configure.in: Allow config-lang.in to set `lang_requires' to list
6530         of other required languages.
6531
6532 2001-03-07  Andrew MacLeod  <amacleod@redhat.com>
6533
6534         * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
6535         after its emitted.
6536         (output_prologue): Use xmalloc not oballoc.
6537         (output_epilog): Free a29k_first_epilogue_insn when finished.
6538         * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
6539
6540 2001-03-07  Brad Lucier  <lucier@math.purdue.edu>
6541
6542         * builtins.c (expand_builtin_mathfn): Check
6543         flag_unsafe_math_optimizations, not flag_fast_math.
6544         (expand_builtin): Likewise
6545         * combine.c (combine_simplify_rtx): Likewise.
6546         (simplify_if_then_else): Likewise.
6547         * cse.c (fold_rtx): Likewise.
6548         * flags.h: Remove flag_fast_math.  Add
6549         flag_unsafe_math_optimizations and flag_trapping_math.
6550         * fold-const.c (negate_expr): Check
6551         flag_unsafe_math_optimizations, not flag_fast_math.
6552         (invert_truthvalue): Likewise.
6553         (fold): Likewise.  Before associating operands, check that
6554         code == MULT_EXPR, not code != MULT_EXPR.
6555         * ifcvt.c (noce_try_minmax): Check
6556         flag_unsafe_math_optimizations, not flag_fast_math.
6557         (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
6558         * invoke.texi: Document -funsafe-math-optimizations and
6559         -fno-trapping-math.  Change documentation for -ffast-math.
6560         * jump.c (reversed_comparison_code_parts): Likewise.
6561         (rtx_equal_for_thread_p): Likewise.
6562         * optabs.c (emit_conditional_move): Likewise.
6563         * simplify-rtx.c (simplify_binary_operation): Likewise.
6564         (simplify_relational_operation): Likewise.
6565         (simplify_ternary_operation): Likewise.
6566         * toplev.c: Remove flag_fast_math.  Add flag_trapping_math and
6567         flag_unsafe_math_optimizations.  Remove fast-math entry from f_options.
6568         Add trapping-math and unsafe-math-optimizations entries to f_options.
6569         (set_fast_math_flags): New, sets flags for -ffast-math.
6570         (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
6571         (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
6572         * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
6573
6574         * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
6575         (alpha_emit_conditional_move): Initialize local_fast_math to
6576         flag_unsafe_math_optimizations, not flat_fast_math.
6577         * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
6578         instead of setting flag_fast_math to 1.
6579         * config/convex/convex.md: Check flag_unsafe_math_optimizations,
6580         not flag_fast_math.
6581         * config/i386/i386.c (override_options): Likewise
6582         * config/i386/i386.md: Likewise.
6583         * config/m68k/m68k.md: Likewise.
6584         * config/mips/mips.md: Likewise.
6585         * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
6586         (rs6000_generate_compare): Likewise.
6587
6588 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
6589
6590         * Makefile.in: Set RANLIB to @RANLIB@.
6591         Remove RANLIB_TEST.
6592
6593 2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
6594
6595         * fixinc/inclhack.def (djgpp_wchar_h): New test.
6596         * fixinc/fixincl.x: Regenerated.
6597
6598 2001-03-07  Richard Henderson  <rth@redhat.com>
6599
6600         * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
6601
6602 2001-03-07  Richard Henderson  <rth@redhat.com>
6603
6604         * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
6605         of block notes and exception handling notes.
6606
6607         * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
6608         * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
6609         (compile_file): ... here.
6610
6611 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6612
6613         * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
6614
6615         * fixinc/gnu-regex.c: Don't include auto-host.h since we get
6616         config.h now.  Include libiberty.h to handle alloca.
6617
6618 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6619
6620         * c-parse.in (yylexname): New function, split out of _yylex.
6621         (objc_rid_sans_at): New table.
6622         (init_reswords): Initialize it.
6623         (_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
6624         retrieving the next token and checking it for significance as
6625         an ObjC keyword or string constant.
6626
6627         * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
6628         * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
6629
6630         * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
6631         to CPP_OSTRING.
6632
6633 2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
6634
6635         * config/m68k/m68k.c (const_uint32_operand): Accept any
6636         const_int on a 32-bit host.
6637
6638 2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
6639
6640         * objc/objc-act.c (init_objc): Set save_lang_status,
6641         restore_lang_status, and mark_lang_status.
6642
6643 2001-03-06  Krister Walfridsson  <cato@df.lth.se>
6644
6645         * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
6646
6647 2001-03-06  Neil Booth  <neil@daikokuya.demon.co.uk>
6648
6649         * cppinternals.texi: Update.
6650
6651 2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6652
6653         * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
6654         config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
6655         config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
6656         config/convex/xm-convex.h, config/d30v/xm-d30v.h,
6657         config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
6658         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
6659         config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
6660         config/i386/xm-i386.h, config/i860/xm-i860.h,
6661         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
6662         config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
6663         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6664         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
6665         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6666         config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
6667         config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
6668         config/romp/xm-romp.h, config/rs6000/xm-beos.h,
6669         config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
6670         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6671         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6672         config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
6673         config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
6674         match the defaults provided in hwint.h.
6675
6676         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
6677         config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
6678
6679         * config.gcc (xm_file): Don't set to files which are deleted.
6680
6681         * hwint.h: Provide default values for HOST_BITS_PER_*.  No longer
6682         guard this file against these macros being undefined.
6683
6684 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6685
6686         * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
6687         and DECL_DEFER_OUTPUT on the decl we create, before calling
6688         rest_of_decl_compilation.
6689
6690 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
6691
6692         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
6693         AC_FUNC_ALLOCA.
6694         * configure, config.in: Regenerate.
6695         * config.gcc: Remove references to deleted files.
6696
6697         * genattr.c, genattrtab.c, genextract.c, genoutput.c,
6698         genrecog.c, rtl.c: Do not use alloca anywhere.
6699
6700         * Makefile.in, build-make, system.h, config/x-interix,
6701         config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
6702         config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
6703         config/arc/xm-arc.h, config/arm/xm-arm.h,
6704         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6705         config/h8300/xm-h8300.h, config/i370/x-oe,
6706         config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
6707         config/i386/x-ncr3000, config/i386/x-sco5,
6708         config/i386/xm-dgux.h, config/i860/x-sysv4,
6709         config/i960/xm-i960.h, config/m32r/xm-m32r.h,
6710         config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
6711         config/m68k/x-hp320g, config/m69k/x-mot3300,
6712         config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
6713         config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
6714         config/m68k/xm-mot3300.h, config/m88k/x-dolph,
6715         config/m88k/x-sysv4, config/m88k/x-tekXD88,
6716         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6717         config/mips/x-iris, config/mips/x-iris3,
6718         config/mips/x-sni-svr4, config/mips/x-sysv,
6719         config/mips/xm-iris6.h, config/mips/xm-mips.h,
6720         config/mips/xm-nws3250v4.h, config/pa/x-hpux,
6721         config/pa/x-pa-mpeix, config/pa/xm-pa.h,
6722         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
6723         config/pa/xm-papro.h, config/romp/xm-romp.h,
6724         config/rs6000/x-aix31, config/rs6000/x-aix41,
6725         config/rs6000/x-beos, config/rs6000/x-lynx,
6726         config/rs6000/x-mach, config/rs6000/x-rs6000,
6727         config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
6728         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6729         config/sparc/x-sysv4, config/sparc/xm-linux.h,
6730         config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
6731         config/vax/xm-vms.h: Eradicate all references to alloca and
6732         related stuff.
6733
6734         * config/xm-alloca.h, config/clipper/x-clix,
6735         config/i386/xm-sysv4.h, config/i860/x-fx2800,
6736         config/i860/x-sysv3, config/m88k/x-sysv3,
6737         config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
6738         (contained only alloca related hacks).
6739
6740         * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
6741         USE_C_ALLOCA.
6742
6743 2001-03-05  Brad Lucier  <lucier@math.purdue.edu>
6744
6745         * invoke.texi: Document __FAST_MATH__.
6746
6747 2001-03-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6748
6749         * crtstuff.c: Restore include of auto-host.h.
6750
6751 2001-03-05  Fergus Henderson  <fjh@cs.mu.oz.au>
6752
6753         Put main() in a separate file, so that the language
6754         front-end can use a different main().
6755
6756         * main.c: New.
6757         * toplev.c: (main): Rename as toplev_main.
6758         * toplev.h: Declare toplev_main.
6759         * Makefile.in (OBJS): add toplev.o.
6760           (BACKEND): remove toplev.o, add main.o.
6761
6762 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
6763
6764         * cppfiles.c (search_from): Special case the empty string.
6765
6766 2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
6767
6768         * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
6769         copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
6770         strlen or strcpy; we already know the length.
6771         (_cpp_compare_file_date): Similarly.
6772         * cpphash.h (struct cpp_reader): Delete done_initialising.
6773         (CPP_PREV_BUFFER): Delete.
6774         * cppinit.c (cpp_start_read): Don't set done_initialising.
6775         * cpplex.c (parse_string): Guarantee null-termination.
6776         (_cpp_equiv_toklists): Remove.
6777         * cpplib.c (glue_header_name): Null-terminate.
6778         (do_line): Don't leak memory.
6779         * cpplib.h (BT_WEAK): Delete.
6780         * cppmain.c (cb_ident): Strings are now null-terminated.
6781
6782 2001-03-04  Laurynas Biveinis  <lauras@softhome.net>
6783
6784         * gcc.c (convert_filename): Append executable suffix
6785         if NO_AUTO_EXE_SUFFIX is not defined.
6786         * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
6787         * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
6788
6789 2001-03-03  David O'Brien  <obrien@FreeBSD.org>
6790
6791         from 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
6792         * c-parse.gperf, c-gperf.h: Delete.
6793         (c-gperf.h was accidently re-added to the CVS repo in the rev
6794         1.16 commit by tromey)
6795
6796 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6797
6798         * cpplex.c (_cpp_lex_token): Don't warn about directives in
6799         macro arguments when looking for the '('.
6800         * cppmacro.c (funlike_invocation_p): Set parsing_args to
6801         2 when really parsing arguments; 1 when looking for '('.
6802         Always restore the lexer position.
6803
6804 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6805
6806         * longlong.h (umul_ppmm): Don't use a multiline string.
6807
6808 2001-03-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6809
6810         * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
6811         * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
6812         t_bool in declaration because pcc can't combine volatile with typedef
6813         types.
6814
6815 Sat Mar  3 19:47:13 CET 2001  Jan Hubicka  <jh@suse.cz>
6816
6817         * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
6818         until when it is really needed.
6819         (ix86_expand_compare): Update call of ix86_expand_fp_compare.
6820         * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
6821         * i386.md (float?i?f splitter): Don't force source operand to memory
6822         for SSE.
6823         (sse_movdfcc): Fix constraint.
6824         (sse_movdfcc splitter): Handle properly the second alternative.
6825
6826 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6827
6828         * cpplex.c (parse_string): Unconditionally pedwarn.
6829
6830 2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
6831
6832         * cpp.texi: Update.
6833         * cppexp.c (parse_number): Update.
6834         * cpplex.c (parse_string): Pedwarn if multiline string does not
6835         result from a system header's macro.
6836         * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
6837         * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
6838         for function-like macros too.
6839         * c-lex.c (lex_number): Update.
6840
6841 2001-03-03  Richard Henderson  <rth@redhat.com>
6842
6843         * dwarf2out.c (output_call_frame_info): Fix augmentation length.
6844
6845 Sat Mar  3 04:17:17 2001  J"orn Rennecke <amylaar@redhat.com>
6846
6847         * combine.c (try_combine): If split with mode-changed scratch
6848         register didn't work, try the original mode.
6849
6850 Sat Mar  3 03:46:47 2001  J"orn Rennecke <amylaar@redhat.com>
6851
6852         * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
6853         * config/c4x/c4x.h: Likewise.
6854         * stor-layout.c (compute_record_mode): Likewise.
6855         (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
6856
6857 2001-03-02  Zack Weinberg  <zackw@stanford.edu>
6858
6859         * configure.in: Kill tm.h.  Include the files in the $tm_file
6860         list in all three of config.h, hconfig.h, tconfig.h, after the
6861         relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
6862         three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
6863         * configure: Regenerate.
6864         * Makefile.in (clean): Don't delete tm.h.
6865
6866         * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
6867         defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
6868         those are not defined, set SEC and FEC to 0 and 1.
6869         * gcc.texi: Update to match.
6870
6871         * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
6872         * config/fp-bit.c, config/m68k/aux-crt2.asm,
6873         config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
6874         Include tconfig.h, not tm.h.
6875
6876         * config/xm-lynx.h, config/xm-std32.h,
6877         config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
6878         config/alpha/xm-alpha.h, config/arc/xm-arc.h,
6879         config/avr/xm-avr.h, config/c4x/xm-c4x.h,
6880         config/clipper/xm-clix.h, config/convex/xm-convex.h,
6881         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
6882         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
6883         config/h8300/xm-h8300.h, config/i370/xm-linux.h,
6884         config/i386/xm-i386.h, config/i860/xm-i860.h,
6885         config/i960/xm-i960.h, config/ia64/xm-ia64.h,
6886         config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
6887         config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
6888         config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
6889         config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
6890         config/pa/xm-linux.h, config/pa/xm-pa.h,
6891         config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
6892         config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
6893         config/pj/xm-pj.h, config/romp/xm-romp.h,
6894         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
6895         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
6896         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
6897         config/v850/xm-v850.h, config/vax/xm-vax.h,
6898         config/we32k/xm-we32k.h:
6899         Don't include tm.h.
6900         Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
6901
6902         * config/i370/xm-i370.h, config/i370/xm-mvs.h,
6903         config/i370/xm-oe.h: Don't include tm.h.  Don't define
6904         SUCCESS_EXIT_CODE.
6905         * config/vax/xm-vms.h: Don't include tm.h.
6906
6907         * config/xm-lynx.h, config/avr/xm-avr.h,
6908         config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
6909         Delete; made empty by above changes.
6910         * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
6911         config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
6912         Don't include config/xm-lynx.h or tm.h.
6913
6914         * config/xm-gnu.h: Don't include fcntl.h.
6915         * config/sparc/xm-lynx.h: Don't include sys/types.h and
6916         sys/wait.h.
6917         * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
6918
6919 2001-03-02  Richard Henderson  <rth@redhat.com>
6920
6921         * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
6922         UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
6923
6924 2001-03-02  Richard Henderson  <rth@redhat.com>
6925
6926         * Makefile.in (OBJS): Add dwarf2asm.o.
6927         * dwarf2asm.c, dwarf2asm.h: New files.
6928         * dwarf2out.c (*): Use them.
6929         (size_of_uleb128, size_of_sleb128): Remove.
6930         (output_uleb128, output_sleb128): Remove.
6931         (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
6932         (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
6933         (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
6934         (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
6935         (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
6936         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
6937         (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
6938         (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
6939         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
6940         (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
6941         (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
6942         (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
6943         (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
6944         (dwarf2out_frame_debug): Remove unused variables.
6945         (output_loc_operands): Don't abort on 8 byte constants if
6946         host integers are wide enough.
6947         (output_symbolic_ref): Remove.
6948         (size_of_die): Don't assume 4 byte host integers.
6949         (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
6950         and end labels.
6951         (add_const_value_attribute) [CONST_INT]: Verify we're not doing
6952         something stupid with HOST_WIDE_INT to long truncation.
6953         [CONST_DOUBLE]: Likewise.
6954
6955         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
6956         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
6957         * config/arm/unknown-elf.h: Likewise.
6958         * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
6959         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
6960         (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
6961         (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
6962         (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
6963         (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
6964         (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
6965         (ASM_OUTPUT_DWARF_OFFSET): Remove.
6966         * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
6967         * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6968         (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
6969         (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
6970
6971 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6972
6973         * cselib.c (hash_rtx): Cast enums to unsigned int.
6974
6975 2001-03-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6976
6977         * print-rtl.c (print_rtx): Cast enums to int for comparison.
6978         * c-decl.c (grokdeclarator): Cast enums to int for comparison and
6979         shifts.
6980         * c-format.c (C_STD_VER): Cast to int for comparisons.
6981         (check_function_format): Cast various enums to int for &.
6982         (maybe_read_dollar_number): Likewise.
6983         (check_format_info): Likewise.
6984         (check_format_info_main): Likewise.
6985         * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
6986         (safe_from_p): Likewise.
6987         * varasm.c (const_hash): Cast enum to int for %.
6988         * emit-rtl.c (init_emit_once): Use int loop variable to work around
6989         pcc enum problems with < and ++ operators.
6990         * regclass.c (init_reg_sets_1): Cast enums for comparison.
6991         (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
6992         (regclass_init): Change enum class to int to iterate over reg_classes.
6993         * genrecog.c (merge_trees): Cast enums for comparison.
6994         * rtl.h (GET_CODE): Cast to enum rtx_code.
6995         (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
6996         (GET_MODE): Cast to enum machine_mode.
6997         (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
6998         (GET_NOTE_INSN_NAME): Cast enum to int.
6999         * tree.h (TREE_CODE): Cast to enum tree_code.
7000         (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
7001         * timevar.c (timevar_print): Change loop variable id from enum to
7002         unsigned int.
7003         * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
7004         * config/i386/i386.md: Use PUT_MODE for mode assignment.
7005         * toplev.c (compile_file): Cast enum DFI to int.
7006         (decode_d_option): Likewise.
7007
7008 Fri Mar  2 12:18:13 2001  Christopher Faylor <cgf@cygnus.com>
7009
7010         * cppinit.c (append_include_chain): Mark "after" include file name list
7011         as a system directory.
7012         * cpp.texi: Document new behavior.
7013
7014 Fri Mar  2 11:59:43 CET 2001  Jan Hubicka  <jh@suse.cz>
7015
7016         * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
7017
7018 2001-03-02  Neil Booth  <neil@daikokuya.demon.co.uk>
7019
7020         * cppfiles.c (struct include_file): Update.
7021         (stack_include_file): Use search_from.
7022         (cpp_included, find_include_file): Update.
7023         (cpp_execute_include): Update.  ptr->name may not be
7024         null terminated.  Use the new search_from member variable
7025         of cpp_buffer.
7026         (_cpp_compare_file_date): Similarly.
7027         (search_from): New function, similiar to actual_directory.
7028         (actual_directory): Delete.
7029         (remap_filename): Update.  loc->name may not be null terminated.
7030         (struct file_name_list): Rename search_path.  Update.
7031         * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
7032         search_from and dir.
7033         (struct cpp_reader): Remove actual_dirs.
7034         * cppinit.c (struct cpp_pending): Update for renamed objects.
7035         (append_include_chain, remove_dup_dir, remove_dup_dirs,
7036         merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
7037         * cpplib.h (struct cpp_options): Similarly.
7038
7039 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
7040
7041         * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
7042         config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
7043         config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
7044         config/clipper/xm-clix.h, config/convex/xm-convex.h,
7045         config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
7046         config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
7047         config/h8300/xm-h8300.h, config/i370/xm-i370.h,
7048         config/i370/xm-linux.h, config/i370/xm-mvs.h,
7049         config/i370/xm-oe.h, config/i386/xm-aix.h,
7050         config/i386/xm-i386.h, config/i386/xm-osf.h,
7051         config/i860/xm-i860.h, config/i960/xm-i960.h,
7052         config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
7053         config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
7054         config/mcore/xm-mcore.h, config/mips/xm-mips.h,
7055         config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
7056         config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
7057         config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
7058         config/pa/xm-pahpux.h, config/pa/xm-papro.h,
7059         config/pj/xm-pj.h, config/romp/xm-romp.h,
7060         config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
7061         config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
7062         config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
7063         config/v850/xm-v850.h, config/vax/xm-vax.h,
7064         config/vax/xm-vms.h, config/we32k/xm-we32k.h:
7065         Do not define TRUE or FALSE.
7066
7067         * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
7068         empty by above change.
7069         * config.gcc: Remove references to these files.
7070
7071         * configure.in: Detect stdbool.h.
7072         * configure, config.in: Regenerate.
7073         * system.h: Include stddef.h here if available.
7074         Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
7075         Then set up a sensible boolean type at the very end.
7076
7077         * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
7078         config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
7079
7080         * hash.h: Delete 'boolean' typedef and related #undefs.
7081
7082         * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
7083         all uses of 'boolean' with 'bool'.
7084
7085 2001-03-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7086
7087         * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
7088         * cppexp.c (lex): Cast enums for comparison.
7089         * cppinit.c (parse_option): Cast enum for comparison.
7090         * cpplex.c (cpp_spell_token): Cast enums to int for minus.
7091         (cpp_output_token): Likewise.
7092         (cpp_can_paste): Cast enums for comparsion and plus/minus.
7093         (cpp_avoid_paste): Cast enums for minus and comparison.
7094
7095 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
7096
7097         * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
7098         field to all array elements.
7099
7100 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
7101
7102         * cpphash.h (struct cpp_reader): Add print_version field.
7103         * cppinit.c (cpp_handle_option): For -v, -version, and --version,
7104         just set print_version and other flags as appropriate.
7105         (cpp_post_options): Print version here if print_version is set.
7106
7107         * toplev.c (exit_after_options): New flag.
7108         (independent_decode_option): Don't exit here; just set
7109         exit_after_options.
7110         (main): Exit after calling lang_hooks.post_options if
7111         exit_after_options is true.
7112
7113         * cppinit.c (append_include_chain): Drop never-used case QUOTE.
7114         (merge_include_chains): Adjust comment to match code.
7115
7116 2001-03-01  Zack Weinberg  <zackw@stanford.edu>
7117
7118         * stringpool.c (set_identifier): New function.
7119         * tree.h: Prototype it.
7120
7121         * c-parse.in: Kill D_YES. If compiled for objc, call
7122         save_and_forget_protocol_qualifiers from init_reswords.
7123         * objc/objc-act.c (remember_protocol_qualifiers,
7124         forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
7125         Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
7126         vice versa.
7127         (save_and_forget_protocol_qualifiers): New function.
7128         * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
7129
7130 2001-03-01  Diego Novillo  <dnovillo@redhat.com>
7131
7132         * c-semantics.c (prune_unused_decls): Return error_mark_node
7133         instead of (tree) 1 to stop traversing the tree chain.
7134
7135 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
7136
7137         Fix a problem introduced by Kenner's Feb 18 change.
7138         * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
7139         flag_cse_skip_blocks only temporarily, not for ever.
7140
7141 Thu Mar  1 09:49:58 2001  Jeffrey A Law  (law@cygnus.com)
7142
7143         * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
7144         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
7145
7146         * pa.c (emit_move_sequence): Verify operand0 is a hard register
7147         before determining its register class.
7148
7149 2001-03-01  Bernd Schmidt  <bernds@redhat.com>
7150
7151         * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
7152         from reg 4 if current_function_calls_setjmp.
7153         (gen_nop_type): New function.
7154         (ia64_emit_nops): New function.
7155         (ia64_reorg): Call it.
7156         (ia64_sched_reorder): Move code that rotates bundles up a bit.
7157
7158         * reload1.c (eliminate_regs_in_insn): Restrict the special case
7159         code not to try to optimize adds with anything but a REG destination.
7160
7161         * sched-int.h (struct haifa_insn_data): Add new member priority_known.
7162         (INSN_PRIORITY_KNOWN): New accessor macro.
7163         * haifa-sched.c (priority): Use it instead of testing priority against
7164         zero.
7165
7166 2001-02-28  DJ Delorie  <dj@redhat.com>
7167
7168         * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
7169         since that doesn't work the way gcc wants on a generic m68k.
7170
7171 2001-02-28  Richard Henderson  <rth@redhat.com>
7172
7173         * caller-save.c (save_call_clobbered_regs): Fix typo in
7174         comparison last change.
7175
7176 Wed Feb 28 19:31:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7177
7178         * i386.c (pentium4_cost): New.
7179         (m_PENT4): New macro.
7180         (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
7181         x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
7182         x86_integer_DFmode_moves, x86_partial_reg_dependency,
7183         x86_memory_mismatch_stall): Add Pentium4
7184         (x86_use_q_reg, x86_use_any_reg): Kill.
7185         (override_options): Add pentium4.
7186         (incdec_operand): Return 0 for pentium4.
7187         (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
7188         * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
7189         (TARGET_PENTIUM4): Define.
7190         (enum processor_type): Add PROCESSOR_PENTIUM4.
7191         (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
7192         * i386.md (attribute "cpu"): Add pentium4.
7193         * invoke.texi (march): Add pentium4.
7194
7195 Wed Feb 28 19:28:06 CET 2001  Jan Hubicka  <jh@suse.cz>
7196
7197         * i386.md (sse_mov?fcc*): New patterns and splitters.
7198         * i386.c (ix86_expand_movcc): Work post-reload; recognize
7199         the SSE based conditional moves.
7200
7201 Wed Feb 28 19:18:23 CET 2001  Jan Hubicka  <jh@suse.cz>
7202
7203         * i386.md (attribute mode): Add "TI".
7204         (movsf_1): Add pxor support; remove constant propagation splitter.
7205         (movdf_integer): Likewise.
7206         (movdf_nointeger): Likewise.
7207         (movxf constant prop splitter): Handle all modes; update for SSE.
7208         * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
7209         * i386.c (standard_80387_constant_p): Rewrite.
7210         (standard_sse_constant_p): New.
7211         * i386-protos.h (standard_sse_constant_p): New.
7212
7213 Wed Feb 28 19:05:37 CET 2001  Jan Hubicka  <jh@suse.cz>
7214
7215         * i386.md (sse_setccsf, sse_setccdf): New.
7216         (sse_cmp* patterns): Use '%D' instead of outputtting condition
7217         flag directly.
7218         * i386.c (sse_comparison_operator): Accept the supported unordered
7219         comparses; be ready for fast_math.
7220         (print_operand): Support 'D'.
7221
7222 Wed Feb 28 18:54:51 CET 2001  Jan Hubicka  <jh@suse.cz>
7223
7224         * jump.c (reversed_comparison_code): Kill.
7225
7226 Wed Feb 28 18:50:15 CET 2001  Jan Hubicka  <jh@suse.cz>
7227
7228         * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
7229         for STACK_REGS
7230
7231 Wed Feb 28 18:47:37 CET 2001  Jan Hubicka  <jh@suse.cz>
7232
7233         * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
7234         add missing '%' in constraints.
7235
7236 Wed Feb 28 17:24:24 CET 2001  Jan Hubicka  <jh@suse.cz>
7237
7238         * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
7239         for HOST_BITS_PER_WIDE_INT == 32 too.
7240
7241 Wed Feb 28 17:22:35 CET 2001  Jan Hubicka  <jh@suse.cz>
7242
7243         * caller-save.c (reg_save_code, reg_restore_code):  Index by mode, not
7244         NREGS.
7245         (insert_save, insert_restore): New parameter save_mode.
7246         (init_caller_save): Update initialization of reg_save_code
7247         and reg_restore_code.
7248         (save_call_clobbered_regs):  Compute save_modes and update calls to
7249         reg_save_code and reg_restore_code.
7250         (insert_restore):  Unsignetize numbers; use save_modes to choose mode
7251         of spill; update use of reg_restore_code.
7252         (insert_save):  Likewise.
7253         * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
7254         * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
7255         * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
7256
7257 Wed Feb 28 17:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
7258
7259         * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
7260         noce_try_store_flag_inc, noce_try_store_flag_mask,
7261         noce_try_cmove_arith):
7262         Use reversed_comparison_code instead of reverse_comparison and
7263         can_reverse_comparison_p.
7264
7265 Wed Feb 28 17:17:29 CET 2001  Jan Hubicka  <jh@suse.cz>
7266
7267         * jump.c (reversed_comparison_code_parts): Allow reversal of
7268         unordered compares in -ffast-math mode; reverse ordered compares
7269         for FP even w/o -ffast-math.
7270
7271 2001-02-27  Richard Henderson  <rth@redhat.com>
7272
7273         * print-rtl.c (print_rtx) [i]: Don't print field five on
7274         NOTEs other than NOTE_INSN_DELETED_LABEL.
7275
7276 2001-02-27  Zack Weinberg  <zackw@stanford.edu>
7277
7278         * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
7279         * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
7280
7281 2001-02-27  Diego Novillo  <dnovillo@redhat.com>
7282
7283         * c-common.c (walk_stmt_tree): Visit the chain of the current tree
7284         even if walk_subtrees is 0.
7285         * c-semantics.c (prune_unused_decls): Return a non-null value to
7286         stop traversing the tree chain.
7287
7288 2001-02-27  DJ Delorie  <dj@redhat.com>
7289
7290         * config/m68k/m68k.c (output_function_prologue): Save the new CFA
7291         register, *then* define it as the new CFA.
7292
7293 Tue Feb 27 16:49:13 2001  Jeffrey A Law  (law@cygnus.com)
7294
7295         * pa.c (override_options): Promote -fpic to -fPIC.
7296         (legitimize_pic_address): Simplify due to removal of
7297         small PIC as a code generation option.
7298         (secondary_reload_class): Similarly.
7299         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
7300         (PRINT_OPERAND_ADDRESS): Similarly.
7301         * pa.md (various patterns): Similarly.
7302         (small pic lo_sum pattern): Remove.
7303
7304 Tue Feb 27 16:01:13 CET 2001  Jan Hubicka  <jh@suse.cz>
7305                               Fergus Henderson
7306
7307         * md.texi (min, max): Document
7308
7309 Tue Feb 27 15:51:35 CET 2001  Jan Hubicka  <jh@suse.cz>
7310
7311         * i386.md (movsf, movdf): Use movaps for reg-reg moves if
7312         TARGET_PARTIAL_REG_DEPENDENCY.
7313         (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
7314
7315 Tue Feb 27 15:36:48 CET 2001  Jan Hubicka  <jh@suse.cz>
7316
7317         * i386.md (mins*, maxs*): New patterns, expanders and splitters.
7318
7319 2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>
7320
7321         * mips.c (mips_make_temp_file): Fix thinko in last change.
7322
7323 2001-02-26  Jason Eckhardt  <jle@redhat.com>
7324
7325         * combine.c (known_cond): Do not reverse the condition when
7326         SMAX/UMAX is being considered and the condition is for equality
7327         or inequality.
7328
7329         * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
7330
7331 2001-02-26  Philip Blundell  <philb@gnu.org>
7332
7333         * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
7334         "armv2-*-linux".
7335         * config/arm/linux-elf.h: Remove historical relics related to
7336         above configurations.
7337         * config/arm/linux-oldld.h: Delete.
7338         * config/arm/linux-elf26.h: Delete.
7339
7340 2001-02-26  Jason Merrill  <jason@redhat.com>
7341
7342         * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
7343         definitions.
7344         * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
7345         recognize a tentative definition.  Lose obsolete code.
7346
7347         * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
7348         variables unless necessary, either.
7349
7350 2001-02-25  Richard Henderson  <rth@redhat.com>
7351
7352         * ifcvt.c (struct noce_if_info): Add test_bb.
7353         (noce_get_alt_condition): New.
7354         (noce_try_minmax, noce_try_abs): New.
7355         (noce_operand_ok): New.
7356         (noce_process_if_block): Use them.
7357         * rtlanal.c (may_trap_p): NEG and ABS can never trap.
7358
7359 Sun Feb 25 14:26:17 2001  Christopher Faylor <cgf@cygnus.com>
7360
7361         * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
7362         include.
7363
7364 2001-02-25  Zack Weinberg  <zackw@stanford.edu>
7365
7366         * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
7367         * config/mips/mips.c (mips_make_temp_file): Set temp_filename
7368         properly.
7369         (mips_asm_file_end): Free temp_filename here.
7370
7371 Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7372
7373         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
7374         * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
7375
7376         * config/i386/i386.md (movstrsi): Handle FAIL case.
7377
7378 2001-02-25  Neil Booth  <neil@daikokuya.demon.co.uk>
7379
7380         * cppinit.c (builtin_array): Update.
7381         (init_builtins): Flag builtins to warn if redefined or
7382         undefined.  Define __GXX_WEAK as a normal macro.
7383         * cpplib.c (do_undef): Warn if flagged NODE_WARN.
7384         * cpplib.h (NODE_WARN): New flag.
7385         * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
7386         Handle __STDC__ as a builtin only on Solaris.
7387         (warn_of_redefinition): Renamed from check_macro_definition.
7388         Reverse sense of test.  Always warn if NODE_WARN.
7389         (_cpp_create_definition): Use warn_of_redefinition.  Flag
7390         any macro beginning with "__STDC_" to require a mandatory
7391         warning if redefined or undefined.
7392
7393 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
7394
7395         * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
7396         i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
7397         i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
7398         i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
7399         m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
7400         mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
7401         Don't define any of:
7402         USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
7403         P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
7404         NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
7405         index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
7406         STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
7407
7408         * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
7409         fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
7410         definitions.
7411
7412         * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
7413         Delete now-empty file.
7414
7415         * alpha/vms.h: Define NEED_ATEXIT here...
7416         * alpha/xm-vms.h: ...not here.
7417
7418         * i386/cygwin.h: Don't define PARAMS.
7419         * mips/mips.c: Don't prototype mktemp.  Don't define
7420         P_tmpdir.  Use make_temp_file to create temporary files.
7421         Don't be clever and delete temporary files early.
7422         * config.gcc: Drop references to deleted files.  Don't define
7423         FULL_PROTOTYPES.
7424         * gcc.texi: Don't mention USE_PROTOTYPES.
7425
7426 Sat Feb 24 20:25:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7427
7428         * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
7429         (ix86_set_move_mem_attrs_1): Likewise.
7430         * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
7431         * config/i386/i386.md (movstrsi): Call it.
7432
7433 2001-02-24  Zack Weinberg  <zackw@stanford.edu>
7434
7435         * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
7436         x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
7437         ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
7438         rs6000/x-aix41-gld.  These are nonexistent, empty, or obsolete.
7439
7440         (i750a-*-*): Error here if hosting on i750a.
7441         (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
7442
7443         * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
7444         Remove (empty modulo comments).
7445
7446         * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
7447         alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
7448         i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
7449         i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
7450         mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
7451         rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
7452
7453         * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
7454         Remove reference to winnt.h in comment.
7455         * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
7456
7457 2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7458
7459         * loop.c (check_dbra_loop): A biv has uses besides counting if it is
7460         used to set another biv.
7461
7462 Sat Feb 24 06:45:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7463
7464         * tree.h (BLOCK_DEAD): New macro.
7465         (struct tree_block): New flag, dead_flag.
7466         * print-tree.c (print_node, case 'b'): Print missing fields.
7467         * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
7468         * function.c (identify_blocks): Enable test for misplaced notes.
7469         (all_blocks): Skip BLOCK_DEAD blocks.
7470         * integrate.c (integrate_decl_tree): Likewise.
7471
7472         * errors.c (internal_error, trim_filename): New functions.
7473         (fancy_abort): Call internal_error.
7474         * errors.h (internal_error, trim_filename): New declarations.
7475
7476 2001-02-24  Alexandre Oliva  <aoliva@redhat.com>
7477
7478         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
7479         2000-08-26's patch.
7480         (EXTRA_CONSTRAINT): Formatting changes.
7481
7482 2001-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7483
7484         * rtl.c (rtl_check_failed_code2): Fix typo in last change.
7485
7486 2001-02-23  Per Bothner  <per@bothner.com>
7487
7488         * gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
7489         so they can be called from java/jvspec.c.
7490         * gcc.h (record_temp_file, pfatal_with_name, error):  Declare.
7491
7492 Sat Feb 24 03:32:50 CET 2001  Jan Hubicka  <jh@suse.cz>
7493
7494         * i386.c (ix86_frame): New structure.
7495         (ix86_compute_frame_size): Kill.
7496         (ix86_compute_frame_layout): New.
7497         (ix86_save_reg): New.
7498         (ix86_can_use_return_insn_p): Use frame layout stuff.
7499         (ix86_expand_prologue): Likewise.
7500         (ix86_expand_epilogue): Likewise.
7501         (ix86_initial_elimination_offset): Likewise.
7502         (ix86_nsaved_regs): Use ix86_save_reg.
7503         (ix86_emit_save_regs): Likewise.
7504
7505 Sat Feb 24 03:30:38 CET 2001  Jan Hubicka  <jh@suse.cz>
7506
7507         * flow.c (find_sub_basic_blocks): New function.
7508         (split_block): Be ready for basic block introduced by CODE_LABEL.
7509         (commit_one_edge_insertion): Call find_sub_basic_block.
7510
7511         * flow.c (make_edges): Add edge from entry for blocks starting with
7512         label having ALTERNATE_NAME
7513
7514 Sat Feb 24 03:19:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7515
7516         * function.c (epilogue_done): Be ready for first basic block not
7517         containing PROLOGUE_END note.
7518         (reposition_prologue_and_epilogue_notes): Avoid placing
7519         PROLOGUE_END note between BASIC_BLOCK.
7520
7521 Sat Feb 24 03:17:09 CET 2001  Jan Hubicka  <jh@suse.cz>
7522
7523         * loop.c (canonicalize_condition): Move to reversed_comparison_code.
7524
7525 2001-02-21  DJ Delorie  <dj@redhat.com>
7526
7527         * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
7528         check for current_function_has_nonlocal_goto from 1999-11-12.
7529
7530 Fri Feb 23 15:28:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7531
7532         * diagnostic.c (trim_filename): No longer static.
7533         * toplev.h (trim_filename): Declare.
7534         * rtl.c (rtl_check_failed_bounds): Call internal_error.
7535         (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
7536         (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
7537         (rtvec_check_failed_bounds): Likewise.
7538         * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
7539
7540         * convert.c (convert_to_integer): Don't do unsigned unless result or
7541         both inputs are unsigned.
7542
7543         * fold-const.c (fold_convert): Don't call size_int_type_wide if
7544         input overflows.
7545
7546         * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
7547
7548         * varasm.c (output_constant): Recompute CODE after lang-specific fn.
7549
7550 2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>
7551
7552         * Makefile.in (resource.o): Add params.h dependence.
7553         * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
7554         * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
7555         * resource.c: Add dependence on params.h.
7556         (current_live_regs): Fix explanatory comment.
7557         (find_basic_block): Add new parameter to permit limiting search
7558         for a BARRIER.
7559         (mark_target_live_regs): Add new argument to find_basic_block call.
7560         (incr_ticks_for_insn): Likewise.
7561
7562 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
7563
7564         * diagnostic.c (output_to_stream): Rename to
7565         output_buffer_to_stream. Loses the stream parameter.
7566         (init_output_buffer): Set diagnosic_buffer's stream.
7567         (flush_diagnostic_buffer): Adjust.
7568         (default_print_error_function): Likewise.
7569         (finish_diagnostic): Likewise.
7570         (verbatim): Likewise.
7571
7572         * diagnostic.h (struct output_buffer): Add `stream' field.
7573         (output_buffer_attached_stream): New macro.
7574
7575 2001-02-23  Jakub Jelinek  <jakub@redhat.com>
7576
7577         * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
7578         check if either operand is divisible by C.
7579         (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
7580         If type is signed, consider negative numbers as well.
7581
7582 2001-02-22  Richard Henderson  <rth@redhat.com>
7583
7584         * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
7585         reach .text instead of gp-relative relocs.
7586         * config/ia64/crtend.asm (.init): Likewise.
7587
7588 2001-02-22  Andreas Jaeger  <aj@suse.de>
7589
7590         * extend.texi (C++ Attributes): Fix typo.
7591
7592 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
7593
7594         * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
7595         functions, drop current_function_args_info.words test.
7596         (ia64_compute_frame_size): Mark syscall_linkage functions as
7597         using eight input registers.
7598
7599 2001-02-21  Loren J. Rittle  <ljrittle@acm.org>
7600         Bruce Korb  <bkorb@gnu.org>
7601
7602         * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
7603         * fixinc/README: Document how to convert sed substitutions
7604         to format style c_fix-es.
7605         * fixinc/fixincl.x: regen
7606
7607 2001-02-21  Jeffrey D. Oldham  <oldham@codesourcery.com>
7608
7609         * gcc.c: Add comment explaining how to add a command-line option.
7610         Add title to specs language comment.
7611
7612 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
7613
7614         * gcc.c (cc1_options): Add "-param".
7615         (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
7616         (option_map): Likewise.
7617         * toplev.c (display_help): Add entry for "--param".
7618         (independent_decode_option): Fix typographical error.
7619
7620 Wed Feb 21 18:57:28 CET 2001  Catherine Moore  <clm@redhat.com>
7621                               Bernd Schmidt  <bernds@redhat.com>
7622                               Jan Hubicka  <jh@suse.cz>
7623
7624         * i386.c (function_arg_advance):  Pass SSE arguments in registers.
7625         (function_arg): Likewise.
7626
7627 Wed Feb 21 18:12:41 CET 2001  Jan Hubicka  <jh@suse.cz>
7628
7629         * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
7630
7631 2001-02-21  Kazu Hirata  <kazu@hxi.com>
7632
7633         * config/h8300/h8300.md (iorsi3): Do not output an extra newline
7634         character.
7635         (xorsi3): Likewise.
7636
7637 Wed Feb 21 17:35:24 CET 2001  Jan Hubicka  <jh@suse.cz>
7638
7639         * flow.c (init_propagate_block_info): Canon address and use single_set
7640         for killing dead memory stores.
7641
7642 2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>
7643
7644         * Makefile.in (reorg.o): Add params.h dependence.
7645         * params.def: Fix typographical error in comment.
7646         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
7647         * params.h: Modify introductory comment.
7648         (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
7649         * reorg.c: Add dependence on params.h.
7650         (redundant_insn): Add parameterized throttle for search.
7651         (fill_simple_delay_slots): Add a comment explaining a variable.
7652         Move conditional out of loop, simplifying code.
7653         (fill_eager_delay_slots): Fix typographical error in comment.
7654
7655 2001-02-20  Aldy Hernandez  <aldyh@redhat.com>
7656
7657         * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
7658
7659         * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
7660         (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
7661
7662 2001-02-21  Jason Merrill  <jason@redhat.com>
7663
7664         * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
7665         (struct tree_decl): Add uninlinable bitfield.
7666         * c-decl.c (duplicate_decls): Set it.
7667         * integrate.c (function_cannot_inline_p): Check it.
7668
7669         * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
7670         DW_AT_MIPS_linkage_name to abstract methods.
7671         (dwarf2out_abstract_function): Emit class context before calling
7672         set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
7673         (gen_subprogram_die): Remove obsolete code.
7674         (gen_member_die): Don't include clones in the member list.
7675         (gen_decl_die): Emit abstract info for clone origin.
7676         * dwarfout.c (output_type): Don't include clones in the member list.
7677         * dbxout.c (dbxout_type_methods): Ignore abstract methods.
7678         * toplev.c (note_deferral_of_defined_inline_function): Don't clear
7679         DECL_ABSTRACT on a function that already has it set.
7680
7681         * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
7682         (get_subprogram_die): Pass it in.
7683
7684 2001-02-21  Richard Earnshaw  <rearnsha@arm.com>
7685
7686         * flow.c (mark_set_1): Make not_dead unsigned long.  For
7687         non-pseudos, use it as a bitmask of the hard regs that
7688         don't die.
7689
7690 2001-02-21  Neil Booth  <neil@daikokuya.demon.co.uk>
7691
7692         * cppfiles.c: Update comments.
7693         (_cpp_read_file): Don't check for NULL filenames any more.
7694         * cppinit.c (cpp_start_read): Don't do canonicalization of
7695         in_fname and out_fname.  Use the passed file name exclusively.
7696         (_cpp_handle_options): Don't treat "-" as a command line option,
7697         but as a normal filename.
7698         (_cpp_post_options): Canonicalize in_fname and out_fname.
7699         * cppmain.c (printer_init): Don't check out_fname for NULL.
7700         * c-lex.c (orig_filename): Rename cpp_filename for clarity.
7701         (init_c_lex): Update, and use "" to represent stdin to CPP.
7702         (yyparse): Update.
7703
7704 2001-02-20  Will Cohen  <wcohen@redhat.com>
7705
7706         * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
7707         * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
7708         (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
7709         fixunstfsi_libfunc.
7710
7711 2001-02-20  Stan Shebs  <shebs@apple.com>
7712
7713         * config/rs6000/rs6000.c (output_cbranch): Output branches
7714         on separate lines instead of using ';' to separate.
7715
7716 2001-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
7717
7718         * cppinit.c (set_lang):  Move builtin handling to...
7719         (init_builtins): ...here.
7720         (_cpp_create_reader): Move call to set_lang.
7721
7722 2001-02-20  Mark Mitchell  <mark@codesourcery.com>
7723
7724         * stmt.c (expand_return): If an attempt is made to return the
7725         error_mar_node, treat the return like a return without a value.
7726
7727 2001-02-19  Zack Weinberg  <zackw@stanford.edu>
7728
7729         * sibcall.c (skip_copy_to_return_value): Call
7730         identify_call_return_value here, and return orig_insn if it
7731         returns zero.  Hardret and softret arguments now unnecessary.
7732         (call_ends_block_p): Don't call identify_call_return_value here.
7733
7734         * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
7735         's' slots in RTXen.
7736         * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
7737         * ggc.h (ggc_mark_if_gcable): Delete prototype.
7738
7739 Mon Feb 19 20:30:16 2001  Jeffrey A Law  (law@cygnus.com)
7740
7741         * pa.c (move_operand): Accept code to load the address of a
7742         symbol out of the DLT as a valid move operand.
7743         (print_operand, case 'A'): New to handle generating a DLT
7744         reference for a LO_SUM expression.
7745         * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
7746         * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
7747
7748 2001-02-19  Joseph S. Myers  <jsm28@cam.ac.uk>
7749
7750         * README, cpp.texi, gcc.texi, version.c: Update version number to
7751         3.1.
7752         * cpp.1, gcov.1, gcc.1: Regenerate.
7753
7754 2001-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
7755
7756         * cppfiles.c (stack_include_file): Generate dependencies
7757         here, and manage include_count here too.
7758         (PRINT_THIS_DEP): Delete.
7759         (_cpp_execute_include): Do not generate dependencies here,
7760         apart from the case of a missing header.  Do not manage
7761         include_count.
7762         (_cpp_read_file): Leave dependency generation to
7763         stack_include_file.
7764
7765 Mon Feb 19 10:17:47 2001  Jeffrey A Law  (law@cygnus.com)
7766
7767         * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
7768         target_cpu_default.  Remove dead assignment to
7769         target_cpu_default.
7770
7771 Mon Feb 19 16:47:39 CET 2001  Jan Hubicka  <jh@suse.cz>
7772
7773         * regclass.c (contains_reg_of_mode): Make global.
7774         (init_reg_sets): Remove contains_reg_of_mode; take into account
7775         CLASS_MAX_NREGS when looking for the proper mode.
7776         (dump_regclass): Dump only classes considered for the pseudo.
7777         (regclass): Use contains_reg_of_mode.
7778
7779 Mon Feb 19 16:45:42 CET 2001  Jan Hubicka  <jh@suse.cz>
7780
7781         * gcc.c (do_spec_1): 'n' for printing notices.
7782         * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
7783
7784 Mon Feb 19 15:51:30 CET 2001  Jan Hubicka  <jh@suse.cz>
7785
7786         * reg-stack.c (next_flags_user): Use current_block->end
7787         (swap_rtx_condition): Look for next user if flags don't die;
7788         give up on CALL_INSNs; use current_block->end.
7789
7790 Mon Feb 19 08:27:21 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7791
7792         * sibcall.c (call_ends_block_p): New function.
7793         (optimize_sibling_and_tail_recursive_call): Use it.
7794
7795 2001-02-18  Kazu Hirata  <kazu@hxi.com>
7796
7797         * config/h8300/h8300.md: Update copyright.
7798         (andsi3): Do not output an extra newline character.
7799
7800 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7801
7802         * toplev.c (note_deferral_of_defined_inlined_function): Argument
7803         FNDECL may be unused.
7804
7805         * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
7806         follow jumps after first run.
7807         If -fexpensive-optimizations rerun CSE after GCSE and iterate until
7808         it doesn't change any jumps.
7809
7810 Sun Feb 18 17:05:50 2001  Jeffrey A Law  (law@cygnus.com)
7811
7812         * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
7813         ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
7814         (mostlyclean): Corresponding changes.
7815         * rtlanal.c (hard-reg-set.h): Include.
7816         (rtx_unstable_p): Do not treat the argument pointer specially
7817         if it is not a fixed register.
7818         (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
7819
7820 Sun Feb 18 15:45:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7821
7822         * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
7823         against last real insn in basic block.
7824         Rework to avoid gotos.
7825
7826         * Makefile.in (gcse.o): Now includes ggc.h.
7827         * gcse.c: Include ggc.h.
7828         (want_to_gcse_p): Verify expression can be in SET as valid insn.
7829         (try_replace_reg): Remove warning of uninitialize variable.
7830         (process_insert_insn): Call invalid_insn_p to validate insn.
7831         * recog.c (insn_invalid_p): Now global.
7832         See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
7833         * recog.h (insn_invalid_p): New declaration.
7834
7835         * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
7836
7837         * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
7838         assignments from FP constants since 'Y' output code can't handle it.
7839         (eligible_for_sibcall_delay): Likewise.
7840
7841         * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
7842         Call fancy_abort directly, passing args.
7843         (print_rtl_and_abort): Now a macro, like fancy_abort.
7844
7845         * final.c (output_operand_lossage): Use internal_error, not error.
7846
7847 2001-02-18  Shane Nay  <shane@agendacomputing.com>
7848
7849         * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
7850         structure shift insns.
7851
7852 2001-02-18  Mark Mitchell  <mark@codesourcery.com>
7853
7854         * invoke.texi (-fsquangle): Remove documentation.
7855         (-fname-mangling-version): Likewise.
7856
7857 2001-02-18  Lars Brinkhoff  <lars@nocrew.org>
7858
7859         * optabs.c (expand_abs): Remove reference to
7860         HAVE_contitional_arithmetic.
7861         * combine.c (simplify_set): Likewise.
7862
7863 2001-02-18  Richard Henderson  <rth@redhat.com>
7864
7865         * ifcvt.c (dead_or_predicable): Don't move code if eh regions
7866         would be disrupted.
7867
7868 2001-02-18  Richard Henderson  <rth@redhat.com>
7869
7870         * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
7871
7872         * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
7873
7874         * reload1.c (reload_cse_simplify_set): Fix typo.
7875
7876 Sun Feb 18 09:30:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7877
7878         * diagnostic.c (_fatal_insn): Decrement errorcount.
7879
7880         * invoke.texi (-I): Add note avoiding use for system header files.
7881
7882         * rtl.h (add_clobbers): Remove duplicate declaration.
7883         * recog.h (added_clobbers_hard_reg_p): New declaration.
7884         * genemit.c (struct clobber_pat): New field has_hard_reg.
7885         (gen_insn): Record if added clobbers clobber hard reg.
7886         (gen_split): Avoid unused warning if number of operands is 0.
7887         (output_added_clobbers_hard_reg_p): New function.
7888         (main): Call it.
7889
7890 2001-02-18  Alan Modra <alan@linuxcare.com.au>
7891
7892         * pa.c (hppa_expand_prologue): Simplify code storing return
7893         pointer.  For large (>=8k) frames with a post_store, adjust stack
7894         pointer by 8k-64 first rather than by 64.  When testing with
7895         VAL_14_BITS_P, always use the actual value rather than the value
7896         negated.  Add blockage to prevent scheduling of spills before
7897         stack frame has been created.
7898         (hppa_expand_epilogue): Simplify code loading return pointer.
7899         Allow a slightly larger range for merge_sp_adjust_with_load case.
7900         When testing with VAL_14_BITS_P, always use the actual value.
7901
7902         * pa.c (pa_adjust_insn_length): Check that block move
7903         pattern is a set before looking at operands.
7904
7905 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
7906
7907         * fold-const.c (fold_binary_op_with_conditional_arg): New
7908         function, split out from ...
7909         (fold): ... here.
7910         * tree.def (COND_EXPR): Document the use of VOID_TYPE for
7911         conditional arms that throw exceptions.
7912
7913         * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
7914         looking at a BLOCK.
7915
7916 2001-02-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7917
7918         * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
7919         define HAVE_DECL_* to 1 to mask potential backup declarations.
7920         * configure: Regenerated.
7921
7922 2001-02-17  Mark Mitchell  <mark@codesourcery.com>
7923
7924         * invoke.texi (-Woverloaded-virtual): Clarify documentation.
7925
7926 2001-02-17  Richard Henderson  <rth@redhat.com>
7927
7928         * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
7929         when replacing a memory load with a register.
7930
7931 Sat Feb 17 14:48:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7932                           Jan Hubicka  <jh@suse.cz>
7933
7934         * recog.c (validate_replace_src_1): New.
7935         (validate_replace_src_data): Likewise.
7936         (validate_replace_src): Use note_uses.
7937         * rtl.h (note_uses): Declare.
7938         * rtlanal.c (note_uses): New.
7939
7940 Sat Feb 17 10:52:34 CET 2001  Jan Hubicka  <jh@suse.cz>
7941
7942         * reg-stack.c (stack_def): Make field reg unsigned.
7943         (remove_regno_note): Unsignetize parameter.
7944
7945 2001-02-16  Jes Sorensen  <jes@linuxcare.com>
7946
7947         * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
7948         shladd_operand() call.
7949
7950 2001-02-16  Bruce Korb  <bkorb@gnu.org>
7951             Rodney Brown  <RodneyBrown@mynd.com>
7952
7953         * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
7954         * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
7955         machine restrictions
7956         * fixinc/fixincl.x: regen
7957
7958 Fri Feb 16 12:41:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7959
7960         * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
7961         Don't CSE a nop.
7962         (hash_scan_insn): Clean up calls to hash_scan_set.
7963         (compute_kill_rd): REGNO now unsigned.
7964         (try_replace_reg): Rework to use simplify_replace_rtx.
7965         (cprop_jump, cprop_cc0_jump): Likewise.
7966         (cprop_insn): Call find_reg_equal_equiv_note.
7967         Reflect changes to cprop_jump and cprop_cc0_jump.
7968
7969         * recog.c (validate_replace_src): Replace in operands of
7970         ZERO_EXTRACT in SET_DEST.
7971
7972         * cse.c (new_label_ref): New variable.
7973         (insert): Set it instead of recorded_label_ref.
7974         (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
7975         CODE_LABEL for this function, and not already in REG_LABEL note.
7976
7977 2001-02-16  Jeffrey Oldham  <oldham@codesourcery.com>
7978
7979         * resource.c (mark_referenced_resources): Fix typo in introductory
7980         comment.
7981         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
7982         string constant.
7983
7984 2001-02-16  Jason Merrill  <jason@redhat.com>
7985
7986         * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
7987         NULL.
7988         (gen_subprogram_die): Don't abort on seeing a second definition if
7989         the previous one was abstract.  Don't replace an abstract instance
7990         in the lookup table.
7991
7992         * dwarf2out.c (dwarf2out_abstract_function): Rename from
7993         gen_abstract_function.
7994         * dwarf2out.h: Declare it.
7995         * toplev.c (note_outlining_of_inline_function): New fn.
7996         * toplev.h: Declare it.
7997         * integrate.c (output_inline_function): Call it.
7998         * c-decl.c (duplicate_decls): Call it when redefining an extern
7999         inline.  Don't inline the new defn.
8000
8001         * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
8002
8003 2001-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8004
8005         * .gdbinit: Rename to gdbinit.in.
8006         * gdbinit.in: New file,
8007         * configure.in: Generate .gdbinit from gdbinit.in.
8008         * configure: Regenerated.
8009         * Makefile.in (distclean): Always remove .gdbinit.
8010
8011 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
8012
8013         * objc/objc-act.c (start_class): Register implemented_classes with
8014         GC.
8015
8016 2001-02-16  Neil Booth  <neil@daikokuya.demon.co.uk>
8017
8018         * cppfiles.c (_cpp_make_system_header): Generate a file
8019         change callback.
8020
8021 2001-02-15  Jim Meyering  <meyering@lucent.com>
8022
8023         * Makefile.in (install-common): Don't depend on installdirs here.
8024         Instead, make each of the lang.install-common targets (e.g.,
8025         c++.install-common in cp/Make-lang.in) depend on it.
8026         (install-driver): Depend on installdirs.
8027
8028 Thu Feb 15 21:30:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8029
8030         * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
8031
8032         * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
8033         do in memory.
8034
8035 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
8036
8037         * invoke.texi (--param): Document.
8038
8039 Thu Feb 15 15:16:38 2001  Alexandre Oliva  <aoliva@redhat.com>
8040
8041         * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
8042
8043 Thu Feb 15 10:52:31 CET 2001  Jan Hubicka  <jh@suse.cz>
8044
8045         * i386.md (extendsfdf2_2): Fix constraints.
8046
8047 Thu Feb 15 09:46:21 CET 2001  Jan Hubicka  <jh@suse.cz>
8048
8049         * i386.md (fop_df_3 splitter): Fix operand number.
8050
8051 Wed Feb 14 12:37:37 CET 2001  Jan Hubicka  <jh@suse.cz>
8052
8053         * invoke.texi (-mreg-alloc): Nuke.
8054         * i386.c (ix86_reg_alloc_order, regs_allocated,
8055         order_regs_for_local_alloc): Nuke.
8056         (override_options): Kill reg_alloc code.
8057         * i386.h (TARGET_OPTIONS): Kill reg-alloc.
8058         (REG_ALLOC_ORDER): SSE goes before I387.
8059         (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
8060         (ix86_reg_alloc_order): Likewise.
8061         * i386-protos.h (ix86_reg_alloc_order): Kill.
8062
8063 2001-02-14  Richard Henderson  <rth@redhat.com>
8064
8065         * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
8066
8067 Wed Feb 14 11:59:58 CET 2001  Jan Hubicka  <jh@suse.cz>
8068
8069         * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
8070
8071 Wed Feb 14 11:12:38 CET 2001  Jan Hubicka  <jh@suse.cz>
8072
8073         * i386-protos.h (ix86_memory_move_cost): Move offline.
8074         * i386.c (ix86_register_move_cost): Compute properly cost of
8075         SSE, MMX and i387 instructions.
8076         (*_cost): Add costs of SSE/MMX moves.
8077         (ix86_memory_move_cost): Move offline from ....; Likewise.
8078         * i386.h (MEMORY_MOVE_COST): .... here;
8079         (struct processor costs): Add new fields to represent costs
8080         of SSE/MMX moves.
8081
8082 Wed Feb 14 10:08:26 CET 2001  Jan Hubicka  <jh@suse.cz>
8083
8084         * regclass.c (init_reg_sets_1): Reinstall the optimization of
8085         move_cost together with Matt Kraai's fix.
8086
8087 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
8088
8089         * Makefile.in (OBJS): Add params.o.
8090
8091 2001-02-14  Richard Henderson  <rth@redhat.com>
8092             DJ Delorie  <dj@redhat.com>
8093
8094         * jump.c (jump_optimize_1): When we delete a conditional jump
8095         preceeding a non-conditional jump to effectively the same place,
8096         make sure that the combined jump skips any clobber insns between
8097         the two labels.
8098
8099 2001-02-14  Jeffrey Oldham  <oldham@codesourcery.com>
8100
8101         * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
8102
8103 2001-02-14  Mark Mitchell  <mark@codesourcery.com>
8104
8105         * Makefile.in (toplev.o): Depend on params.h.
8106         (intergate.o): Likewise.
8107         (params.o): New target.
8108         * flags.h (inline_max_insns): Remove.
8109         * integrate.c: Include params.h.
8110         Use MAX_INLINE_INSNS instead of inline_max_insns.
8111         * params.c: New file.
8112         * params.h: Likewise.
8113         * params.def: Likewise.
8114         * toplev.c: Include params.h.
8115         (lang_independent_params): New variable.
8116         (decode_f_option): Use the param machinery instead of setting
8117         max_inline_insns.
8118         (independent_decode_option): Handle "--param name=value".
8119         (main): Register language-independent parameters.
8120
8121 Wed Feb 14 11:13:45 CET 2001  Jan Hubicka  <jh@suse.cz>
8122
8123         * i386.md (pushsf, pushdf_nointeger): Fix constraint.
8124
8125 2001-02-14  Richard Henderson  <rth@redhat.com>
8126
8127         * regclass.c (init_reg_sets_1): Revert last two changes.
8128
8129 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
8130
8131         * stor-layout.c (is_pending_size, put_pending_size): New functions.
8132         (variable_size): Call put_pending_size.
8133         * tree.h (is_pending_size, put_pending_size): Add prototypes.
8134         * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
8135         sizes list, put newly created SAVE_EXPR there as well.
8136
8137 2001-02-14  Jakub Jelinek  <jakub@redhat.com>
8138
8139         * config/ia64/ia64.c (last_group): Only 2 entries are needed.
8140         (errata_find_address_regs): load_group has only 2 entries.
8141         (errata_emit_nops): Likewise.  shladd is not problematic.
8142         Clear last_group if nop was emitted.
8143         (fixup_errata): load_group has only 2 entries.
8144         Optimize.
8145
8146 2001-02-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8147
8148         * c-lex.c (lex_number): Only warn traditionally for U suffix
8149         outside system macros.
8150         * cppexp.c (parse_number): Similarly.
8151         * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
8152         * cppmacro.c (struct cpp_macro): New member node.
8153         (parse_args): Only warn about missing rest args if not
8154         a system macro.
8155         (funlike_invocation_p): Similarly for uninvoked funlike macros.
8156         (cpp_sys_objmacro_p): New.
8157         (_cpp_create_definition): Store the node with the macro defn.
8158         Remember if the macro is defined in a system header.
8159
8160 2001-02-13  DJ Delorie  <dj@redhat.com>
8161
8162         * configure.in (check_languages): determine languages to check
8163         * Makefile.in (check-c++): alias for check-g++
8164         (check-f77): alias for check-g77
8165         (CHECK_TARGETS): depend on configured languages
8166
8167 Wed Feb 14 01:13:59 CET 2001  Jan Hubicka  <jh@suse.cz>
8168
8169         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
8170         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
8171         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
8172         (sqrtextendsfdf2): Disable for SSE2.
8173
8174 Wed Feb 14 00:19:28 CET 2001  Jan Hubicka  <jh@suse.cz>
8175
8176         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
8177         (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
8178         (sqrtsf2 patterns): Use 'x' instead of 'Y'.
8179         (sqrtextendsfdf2): Disable for SSE2.
8180
8181 Wed Feb 14 00:11:20 CET 2001  Jan Hubicka  <jh@suse.cz>
8182
8183         * i386.md (movsfcc_1): Support integer cmove instruction.
8184         (movdfcc_1): Likewise; new splitter.
8185
8186 Tue Feb 13 23:19:27 CET 2001  Jan Hubicka  <jh@suse.cz>
8187
8188         * i386.c (output_fp_compare): Support SSE.
8189         (prepare_fp_compare_args): SSE comparisons always support memory.
8190         * i386.h (TARGET_CMOVE): SSE imply cmove.
8191         * i386.md (cmp?f2): Enable for SSE too.
8192         (cmpfp_i*): Support SSE.
8193         (cmpfp_i_sse): New.
8194         (cmpfp_i_sse_only): New.
8195         (s*, b* fp expanters): Enable for SSE too.
8196         (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
8197         New patterns.
8198
8199 Tue Feb 13 23:05:42 CET 2001  Jan Hubicka  <jh@suse.cz>
8200
8201         * regclass.c (init_reg_sets_1): Silence warning.
8202
8203 Tue Feb 13 22:03:07 CET 2001  Jan Hubicka  <jh@suse.cz>
8204
8205         * i386.md (sqrt?f2): Change to expander.
8206         (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
8207
8208 Tue Feb 13 15:42:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8209
8210         * rtlanal.c (find_reg_equal_equiv_note): New function.
8211         * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
8212         (simplify_gen_relational, simplify_replace_rtx): Likewise.
8213         * rtl.h: Add declarations for above functions.
8214
8215 Tue Feb 13 21:09:11 CET 2001  Jan Hubicka  <jh@suse.cz>
8216
8217         * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
8218         conditionals.
8219         * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
8220         * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
8221         * flow.c (mark_regs_live_at_end): Likewise.
8222         (calculate_global_regs_live): Likewise.
8223         * gcse.c (compute_hash_table): Likewise.
8224         (compute_kill_rd): Likewise.
8225         * resource.c (mark_target_live_regs): Likewise.
8226         * rtl.h (INVALID_REGNUM): New macro.
8227
8228 Tue Feb 13 20:59:22 CET 2001  Jan Hubicka  <jh@suse.cz>
8229
8230         * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
8231
8232 Tue Feb 13 16:32:20 CET 2001  Jan Hubicka  <jh@suse.cz>
8233
8234         * i386.md (fixsfsi2, fixdfdi2): Force operand to register
8235         for SSE.
8236
8237 Tue Feb 13 14:53:16 CET 2001  Jan Hubicka  <jh@suse.cz>
8238
8239         * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
8240         too.
8241         (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
8242         (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
8243         (fop_sf_1_sse, fop_df_1_sse): New patterns
8244         (fop_*): Disable float_extend and float patterns for SSE compilation.
8245         * i386.c (output_387_binary_op): Support SSE.
8246
8247 Tue Feb 13 14:16:34 CET 2001  Jan Hubicka  <jh@suse.cz>
8248
8249         * i386.md (dummy_extendsfdf2): Support SSE2
8250         (extendsfdf2): Enable if 80387 or SSE2.
8251         (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
8252         and no MIX_I387_SSE2
8253         (extendsfdf2_1_sse_only): New pattern.
8254         (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
8255         of SSE.
8256         (truncdfsf2_1): Support SSE.
8257         (truncdfsf2_2): Support SSE.
8258         (truncdfsf2_2_1_sse): New pattern.
8259         (fixtruncsfsi2): Always use SSE if available.
8260         (fix_truncsfsi_sse): New pattern.
8261         (fix_truncdfsi_sse): New pattern.
8262         (floatsis?f2): Support SSE.
8263         (floatsidf2_i387): New pattern.
8264         (floatsidf2_sse): Likewise.
8265
8266 Tue Feb 13 07:52:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8267
8268         * configure.in: Use "have_gnat" variable, not "gnat".
8269         * configure: Regenerated.
8270
8271         * config/sparc/sparc.c (function_value): Treat all non-record
8272         aggregate types like used to treat UNION_TYPE.
8273
8274 Tue Feb 13 13:31:33 CET 2001  Jan Hubicka  <jh@suse.cz>
8275
8276         * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
8277         * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
8278         (MASK_SSE2): New.
8279         (MASK_MIX_SSE_I387): New.
8280         (TARGET_SSE): SSE2 imply SSE.
8281         (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
8282         (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
8283         (enum reg_class): Add new classes.
8284         (REG_CLASS_NAMES): Likewise.
8285         (REG_CLASS_CONTENTS): Likewise.
8286         (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
8287         (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
8288         supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
8289         (CLASS_MAX_NREGS): Use new macros.
8290         (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
8291         * i386.md (pushsf, movsf): Support SSE.
8292         (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
8293         splitters to use ANY_FP_REGNO_P.
8294         (movdf_nointeger, movdf_integer): Likewise.
8295
8296 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
8297
8298         * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
8299         (try_combine): Use it.
8300
8301 Tue Feb 13 11:37:06 CET 2001  Jan Hubicka  <jh@suse.cz>
8302
8303         * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
8304         MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
8305         (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
8306         (REGISTER_MOVE_COST): Likewise.
8307         * i386-protos.h (ix86_secondary_memory_needed,
8308         ix86_preferred_reload_class, ix86_register_move_cost): Declare.
8309         * i386.c (ix86_secondary_memory_needed,
8310         ix86_preferred_reload_class, ix86_register_move_cost): New function.
8311
8312 Die Feb 13 11:04:25 CET 2001  Jan Hubicka  <jh@suse.cz>
8313
8314         * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
8315         (HARD_REGNO_MODE_OK): Move offline to ....
8316         * i386.c (ix86_hard_regno_mode_ok) ... here;
8317         refuse all incorrect modes.
8318         * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
8319
8320 2001-02-13  Richard Henderson  <rth@redhat.com>
8321
8322         * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
8323         entire operator; replicate that and match_dup the operands.
8324         (cmp_ccx_arith_op_set): Likewise.
8325         (cmp_cc_arith_op_not_set): Likewise.
8326         (cmp_ccx_arith_op_not_set): Likewise.
8327
8328 2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
8329
8330         * explow.c (trunc_int_for_mode): Sign-extend value to mode.
8331
8332 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
8333
8334         * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
8335         (TARGET_NO_BITFIELD_WORD): New macro.
8336         (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
8337         (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
8338
8339 Mon Feb 12 18:13:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8340
8341         * cselib.c: New file, from simplify-rtx.c.
8342         * simplify-rtx.c: Remove cselib parts.
8343         * Makefile.in: Add cselib.o.
8344
8345 2001-02-12  Geoffrey Keating  <geoffk@redhat.com>
8346
8347         * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
8348         (setup_incoming_varargs): Remove warning.
8349
8350         * config/rs6000/rs6000.c (validate_condition_mode): When
8351         flag_fast_math, allow floating-point conditionals to be reversed.
8352         (rs6000_generate_compare): When flag_fast_math, don't generate
8353         cror operations for FP conditionals.
8354
8355         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
8356         -mcall-i960.
8357         (ASM_SPEC): Likewise.
8358         (CC1_ENDIAN_LITTLE_SPEC): Likewise.
8359         (CC1_SPEC): Likewise.
8360         (LINK_TARGET_SPEC): Likewise.
8361         (CPP_ENDIAN_SPEC): Likewise.
8362         * Makefile.in (check-consistency): New target.
8363
8364 2001-02-12  Joseph S. Myers  <jsm28@cam.ac.uk>
8365
8366         * c-decl.c (grokdeclarator): In C99 mode, give the more specific
8367         "return type defaults" warning for functions with return type
8368         defaulting to int.
8369         * c-lang.c (c_init): In C99 mode, enable warnings for implicit
8370         function declarations by default rather than only when pedantic.
8371
8372 Mon Feb 12 17:28:48 CET 2001  Jan Hubicka  <jh@suse.cz>
8373
8374         * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
8375         arrays.
8376
8377 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
8378
8379         * extend.texi (Deprecated): Deprecate new initializer lists.
8380
8381 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
8382
8383         * mkdeps.c (deps_add_default_target): Robustify. Add
8384         basename component only.
8385         * cpp.texi (-M): Describe how default target is generated.
8386         * invoke.texi (-M): Likewise.
8387
8388 2001-02-12  Kazu Hirata  <kazu@hxi.com>
8389
8390         * toplev.c (push_float_handler): Remove.
8391         (pop_float_handler): Remove.
8392         * toplev.h: Remove prototypes for the above functions.
8393
8394 2001-02-12  Jakub Jelinek  <jakub@redhat.com>
8395
8396         * c-common.c (constant_fits_type_p): New function.
8397         (convert_and_check): Use it.
8398
8399 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
8400
8401         * Makefile.in (GXX_ABI_FLAG): Don't define.
8402         * configure.in (--enable-new-gxx-abi): Remove option.
8403         * config.in: Regenerated.
8404         * configure: Likewise.
8405
8406 2001-02-12  Alexandre Oliva  <aoliva@redhat.com>
8407
8408         * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
8409         basic block.
8410         (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
8411         regular basic block, and arrange for all edges into it to switch
8412         to normal mode.
8413
8414 2001-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8415
8416         * Makefile.in (distclean): Do not remove .gdbinit.
8417
8418 2001-02-11  Mark Mitchell  <mark@codesourcery.com>
8419
8420         * Makefile.in (gcc.o): Fix typos.
8421         (protize.o): Likewise.
8422         (unprotoize.o): Likewise.
8423
8424 2001-02-11  Richard Henderson  <rth@redhat.com>
8425
8426         * tree.c (build1): Check for null operand in last change.
8427
8428 2001-02-11  Richard Henderson  <rth@redhat.com>
8429
8430         * fold-const.c (split_tree): Don't assume a constant isn't splittable.
8431         (fold): Don't assume a constant isn't foldable.
8432         * tree.c (build): Set TREE_CONSTANT for an expression with no
8433         side-effects and constant operands.
8434         (build1): Likewise.
8435
8436 2001-02-10  Richard Henderson  <rth@redhat.com>
8437
8438         * jump.c (squeeze_notes): Revert 2000-05-12 change.
8439
8440 2001-02-10  Anthony Green  <green@redhat.com>
8441
8442         * cpp.texi (Standard Predefined): Add documentation for
8443         __OPTIMIZE_SIZE__.
8444
8445         * c-common.c (combine_strings): Improve warning message.
8446
8447 2001-02-10  Geoffrey Keating  <geoffk@redhat.com>
8448
8449         * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
8450         --oformat.
8451         * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
8452
8453 Fri Feb  9 15:05:27 2001  Christopher Faylor <cgf@cygnus.com>
8454
8455         * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
8456         CYGWIN_CROSS_DIR.
8457
8458 2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
8459
8460         * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
8461         fp_mode attribute.
8462
8463 2001-02-09  Nick Clifton  <nickc@redhat.com>
8464
8465         * config/arm/arm.md: Change output contraint on post inc
8466         load/store multiple patterns to be a read/write contraint.
8467
8468 2001-02-09  Neil Booth  <neil@daikokuya.demon.co.uk>
8469
8470         * gcc.c (cpp_options): Delete .d files on error.  Don't delete
8471         .o files when using the -M options.
8472
8473 2001-02-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8474             David Edelsohn  <edelsohn@gnu.org>
8475
8476         * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
8477         handle DImode constants.  Use one TOC entry for SImode and smaller
8478         constants, aligned properly.
8479
8480 2001-02-08  Jason Merrill  <jason@redhat.com>
8481
8482         * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
8483         about the SP adjustment for saving the static chain pointer.
8484         * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
8485         offset when setting a temporary CFA register.
8486
8487 2001-02-08  Chandrakala Chavva  <cchavva@redhat.com>
8488
8489         * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
8490         powerpc-*-chorusos* .
8491         * config/rs6000/chorus.h : New file.
8492         * config/i386/chorus.h : New file.
8493         * config/sparc/chorus.h : New file.
8494         * config/sparc/t-chorus-elf : New file.
8495
8496 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
8497
8498         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
8499         * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
8500         * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
8501         (__WCHAR_TYPE__): Correct macro name.
8502
8503 2001-02-08  Richard Henderson  <rth@redhat.com>
8504
8505         * config/i386/i386.c (ix86_frame_pointer_required): New.
8506         (ix86_setup_frame_addresses): New.
8507         (struct machine_funciton): Add accesses_prev_frame.
8508         * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
8509         ix86_frame_pointer_required.
8510         (SUBTARGET_FRAME_POINTER_REQUIRED): New.
8511         (SETUP_FRAME_ADDRESSES): New.
8512         * config/i386/i386-protos.h: Update.
8513         * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
8514         from FRAME_POINTER_REQUIRED.
8515         * config/i386/svr3gas.h: Likewise.
8516         * config/i386/sysv3.h: Likewise.
8517         * config/i386/v3gas.h: Likewise.
8518
8519 2001-02-08  Richard Henderson  <rth@redhat.com>
8520
8521         * config/sparc/sparc.c (function_arg_record_value_3): Fix
8522         calculation of the number of integer registers required.
8523         (function_arg_record_value): Likewise.
8524
8525 2001-02-08  Jason Merrill  <jason@redhat.com>
8526
8527         * diagnostic.c (internal_error): Say "confused" after 1 error, not
8528         two.  Print file and line with "confused" message.
8529
8530         * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
8531
8532 Thu Feb  8 11:21:28 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8533
8534         * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
8535
8536 2001-02-08  Bernd Schmidt  <bernds@redhat.com>
8537
8538         * final.c (cleanup_subreg_operands): The address of a MEM can
8539         contain SUBREGs.
8540
8541         * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
8542         for asms, too.
8543
8544 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8545
8546         * gcc.texi (Incompatibilities): Update documentation of
8547         preprocessing numbers.
8548
8549 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
8550
8551         * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
8552
8553 2001-02-07  Mark Mitchell  <mark@codesourcery.com>
8554
8555         * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
8556
8557         * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
8558         * gcc.c (struct compiler): Add cpp_spec field.
8559         (input_file_compiler): New variable.
8560         (do_spec_1): Allow a particular compiler to handle `%C'
8561         specially.
8562         (main): Store the current compiler in input_file_compiler.
8563         * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
8564
8565 2001-02-07  Zack Weinberg  <zack@wolery.stanford.edu>
8566
8567         * cpphash.h (struct spec_nodes): Add n_true and n_false.
8568         * cppinit.c (cpp_create_reader): Initialize them.
8569         (append_include_chain): cxx_aware arg might be unused.
8570         * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
8571         keywords and give them their phase 7 meaning.  Pedwarn about
8572         this unless '__bool_true_false_are_defined' is defined.
8573
8574 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
8575
8576         * lcm.c (optimize_mode_switching): Emit mode_set before the
8577         JUMP_INSN of an abnormal edge.
8578
8579 2001-02-07  Bernd Schmidt  <bernds@redhat.com>
8580
8581         * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
8582         a scheduling barrier at the end.
8583
8584         * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
8585
8586 2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
8587
8588         * config/sh/sh.md (reload_outsf): Removed.
8589         (movsf_ie): Introduce constraints for FPUL loads and stores.
8590         (reload_insf): Broaden the output constraint.
8591
8592         * config/elfos.h (INT_ASM_OP): Don't define it if it's already
8593         defined.
8594         * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
8595         ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
8596
8597 2001-02-06  Chandrakala Chavva  <cchavva@redhat.com>
8598
8599         * final.c: Revert my previous changes.
8600         * output.h: Make profile_label_no extern.
8601         * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
8602         for generating label.
8603
8604 2001-02-06  Laurynas Biveinis  <lauras@softhome.net>
8605
8606         * config/i386/djgpp.h: Add comments about standard paths.
8607         (MD_EXEC_PREFIX): Undefine before defining.
8608         (MD_STARTFILE_PREFIX): New.
8609
8610 2001-01-30  Bruce Korb  <bkorb@gnu.org>
8611
8612         fixinc/fixincl.c(process):  Emit error message only if appropriate :)
8613         (load_file): do not rely on load_file_data() to close file pointer
8614         fixinc/fixlib.c(load_file_data): do not close passed in file pointer
8615         fixinc/inclhack.def(irix_limits_const): add test_text
8616
8617 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
8618
8619         * cppexp.c (parse_defined): Improve diagnostics for invalid
8620         syntax.
8621
8622 2001-02-06  Neil Booth  <neil@daikokuya.demon.co.uk>
8623
8624         * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
8625
8626 2001-02-06  Mark Mitchell  <mark@codesourcery.com>
8627
8628         * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
8629         * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
8630         * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
8631         (rs6000_output_symbol_ref): New function.
8632         (output_toc): Use VTABLE_NAME_P.
8633
8634 Tue Feb  6 07:54:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8635
8636         * print-tree.c (print_node, case PARM_DECL):
8637         Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
8638
8639         * stor-layout.c (reference_types_internal): New variable.
8640         (internal_reference_types): New function.
8641         (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
8642         * tree.h (internal_reference_types): New declaration.
8643
8644         * cse.c (find_best_addr): Fix typo in computing cost.
8645
8646 Mon Feb  5 21:56:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8647
8648         * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
8649         and this is the sum of a pointer and a constant, we know the result
8650         did not overflow.
8651         (num_sign_bit_copies, case PLUS): Likewise.
8652         * explow.c (convert_memory_address): Remove opposite SUBREG.
8653         * function.c (instantiate_new_reg): New function (from common code).
8654         (instantiate_virtual_regs_1): Call it.
8655         For PLUS, handle if (plus (subreg (virt-reg) (const_int))
8656         if pointers sign- or zero-extend.
8657         * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
8658         If pointers extend unsigned, use inside of SUBREG.
8659         (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
8660
8661 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
8662
8663         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
8664         subdir of gcc_gxx_include_dir.
8665         (gcc_gxx_target_include_dir): Remove.
8666
8667 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
8668
8669         * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
8670         (dwarf2out_frame_debug_expr): Revise introductory comments to add
8671         a high-level description.
8672
8673 2001-02-05  Chandrakala Chavva  <cchavva@redhat.com>
8674
8675         * final.c: Move the declaration of profile_label_no to ...
8676         * output.h: ... here.
8677         * function.c (expand_function_start): Call PROFILE_HOOK.
8678         * config/rs6000/aix.h: Define PROFILE_HOOK.
8679         * config/rs6000/rs6000-protos.h: output_profile_hook new.
8680         * config/rs6000/rs6000.c (output_profile_hook): Define.
8681         (output_prolog): Do nothing for ABI_AIX as it is taken care by
8682         output_profile_hook.
8683         tm.texi : Explain new macro PROFILE_HOOK.
8684
8685 2001-02-06  Hans-Peter Nilsson  <hp@axis.com>
8686
8687         * extend.texi (Extended Asm): Do not say that semicolon is always
8688         a valid line-breaking character for GNU assemblers.  Use
8689         newline-tab as the most commonly supported syntax.  Use
8690         newline-tab rather than semicolon in multi-insn examples.
8691
8692 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8693
8694         * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
8695
8696 2001-02-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8697             David Edelsohn  <edelsohn@gnu.org>
8698
8699         * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
8700         code for AIX, even without flag_pic.
8701
8702 2001-02-05  Jakub Jelinek  <jakub@redhat.com>
8703
8704         * c-typeck.c (common_type): push and pop binding level around
8705         calling common_type on function parameters.
8706
8707 Mon Feb  5 14:30:37 2001  Christopher Faylor <cgf@cygnus.com>
8708
8709         * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
8710
8711 Mon Feb  5 11:23:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8712
8713         * config/mips/mips.c (override_options): Fix typo in last change.
8714         (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
8715         (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
8716
8717 2001-02-05  Nathan Sidwell  <nathan@codesourcery.com>
8718
8719         * invoke.texi (-fdump-class-layout): Document.
8720         (-fdump-translation-unit): Use `=' as filename separator.
8721
8722 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
8723
8724         * Makefile.in (s-mlib): Don't build multilibs if
8725         --disable-multilib.
8726         (DRIVER_DEFINES): Adjust accordingly.
8727         (gcc.o): Likewise.
8728         (protoize.o): Likewise.
8729         (unprotoize.o): Likewise.
8730         * configure.in: Recognize --enable-multilib.
8731
8732 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
8733
8734         * Makefile.in (DRIVER_DEFINES): Fix quoting.
8735
8736         * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
8737         * configure.in: Remove --enable-libstdcxx_v3 support.
8738         * configure: Regenerated.
8739
8740 Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8741
8742         * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
8743         Call abort instead of fatal.
8744         (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
8745         * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
8746         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
8747         (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
8748         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
8749         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
8750
8751         * diagnostic.h (set_internal_error_function): Renamed.
8752         * toplev.h (internal_error): Renamed from fatal.
8753         (pfatal_with_name): Deleted.
8754         (fatal_io_error): Now has printf-style arguments.
8755         * diagnostic.c (pfatal_with_name): Deleted.
8756         (fatal_io_error): Rework to have args in printf-style.
8757         (set_internal_error_function): Renamed from set_fatal_function.
8758         (internal_error): Renamed from fatal.
8759         (error_recursion, fancy_abort): Call internal_error instead of fatal.
8760         * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
8761         * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
8762         * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
8763         * flow.c (verify_flow_info): Likewise.
8764         * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
8765         * config/mips/mips.c (save_restore_insns): Likewise.
8766
8767         * except.c (duplicate_eh_handlers): Call abort instead of fatal.
8768         * flow.c (verify_flow_info): Likewise.
8769         * config/arm/arm.c (thumb_load_double_from_address): Likewise.
8770         * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
8771         (avr_normalize_condition): Likewise.
8772         * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
8773         * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
8774         (limit_reload_class, double_reg_to_memory): Likewise.
8775         (print_operand_address, emit_1600_code_shift): Likewise.
8776         (gen_tst_reg, gen_compare_reg): Likewise.
8777         * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
8778         * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
8779         Deleted.
8780         * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
8781
8782         * c-parse.in (methoddef): Call fatal_error instead of fatal.
8783         * objc/objc-act.c (build_ivar_chain): Likewise.
8784         * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
8785         pfatal_with_name.
8786         * graph.c (clean_graph_dump_file): Likewise.
8787         * profile.c (init_branch_prob): Likewise.
8788         * objc/objc-act.c (objc_init): Likewise.
8789
8790         * config/arm/arm.c (arm_override_options): Make errors non-fatal.
8791         * config/avr/avr.c (avr_override_options): Likewise.
8792         * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
8793         * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
8794         * config/h8300/h8300.c (h8300_init_once): Likewise.
8795         * config/mips/mips.c (override_options): Likewise.
8796         * config/i386/i386.c (override_options): Likewise, rework.
8797         * config/m68k/m68k.c (override_options): Likewise.
8798
8799         * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
8800         instead of fatal.
8801         * config/mips/mips.c (print_operand): Likewise.
8802         * hash.c (hash_allocate): Don't check for failure returns from
8803         obstack functions that can't fail.
8804         (hash_table_init_n, hash_table_init): Likewise; also now return void.
8805         * hash.h (hash_table_init_n, hash_table_init): Now return void.
8806         * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
8807         (get_object_reference): Likewise.
8808
8809 2001-02-04  Nick Clifton  <nickc@redhat.com>
8810
8811         * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
8812         StrongARM1110, 10TDMI, and 1020T.
8813
8814 2001-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8815
8816         * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
8817
8818 2001-02-04  Alexandre Oliva  <aoliva@redhat.com>
8819
8820         * config/sh/sh.md (movdf load split): Pass register number to
8821         FP_OR_XD_REGISTER_P.
8822
8823 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
8824
8825         * cppinit.c (BC): New macro.
8826         (builtin_array): Add __GXX_WEAK__.
8827         * cpplib.h (builtin_type): Add BT_WEAK.
8828         * cppmacro.c (builtin_macro): Handle BT_WEAK.
8829         * defaults.h (SUPPORTS_ONE_ONLY): Define.
8830         * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
8831
8832 2001-02-03  Jakub Jelinek  <jakub@redhat.com>
8833
8834         * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
8835
8836 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
8837
8838         * cpphash.h: Rename _ALIGN POOL_ALIGN.
8839         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
8840
8841 2001-02-03  Neil Booth  <neil@daikokuya.demon.co.uk>
8842
8843         * cpphash.h: Rename ALIGN _ALIGN.
8844         * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
8845
8846 Fri Feb  2 23:15:29 2001  Christopher Faylor <cgf@cygnus.com>
8847
8848         * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
8849         compilation environment.
8850         * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
8851         control over location of cygwin includes and libs.
8852
8853 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
8854
8855         * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
8856
8857 2001-02-02  lars brinkhoff  <lars@nocrew.org>
8858
8859         * md.texi (Standard Names): remove reference to spur.md.
8860
8861 2001-02-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz)
8862
8863         * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
8864         (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
8865         (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
8866         * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
8867         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
8868
8869 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8870
8871         * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
8872         c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
8873         number before reload.
8874         (c4x_adjust_cost): Return zero before reload.
8875         * c4x.md (load_immed_address+1, load_immed_address+2): Do not
8876         split before reload.
8877
8878 2001-02-03  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8879
8880         * c4x.c (c4x_hard_regno_rename_ok): New.
8881         * c4x-protos.h (c4x_hard_regno_rename_ok): New.
8882         * c4x.h (HARD_REGNO_RENAME_OK): Define.
8883
8884 Fri Feb  2 20:03:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8885
8886         * diagnostic.h: Add missing "extern" in all declarations.
8887
8888 2001-02-02  Alex Samuel  <samuel@codesourcery.com>
8889
8890         * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
8891         as for gcc_gxx_include_dir.
8892
8893 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
8894
8895         * cpp.texi, invoke.texi: Update -Wtraditional documentation.
8896
8897 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
8898
8899         * config/sh/sh.c (output_far_jump): Don't use braf on SH1.  Emit
8900         label before alignment to be used as the braf base address.
8901         * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
8902         branches.
8903         (casesi_jump_2): Require at least TARGET_SH2.
8904
8905         * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
8906         truncation to 32-bit doubles on -m3e and -m4-single-only.
8907
8908 2001-02-02  Mark Mitchell  <mark@codesourcery.com>
8909
8910         * gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
8911         the default when building a shared object.
8912         (init_spec): Use it.
8913         * testsuite/lib/g++.exp: Include the directory where libgcc
8914         is located to the LD_LIBRARY_PATH list.
8915         * invoke.texi (-shared-libgcc): Document the cases in which
8916         GCC defaults to using the shared libgcc.
8917
8918 2001-02-02  Alexandre Oliva  <aoliva@redhat.com>
8919
8920         * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
8921         unsigned is wide enough.
8922         (BITS_PER_SI): New.
8923         * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
8924         (si_to_float): Likewise.
8925         (float_to_si, float_to_usi): Use BITS_PER_SI.
8926
8927 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
8928
8929         * dwarf2out.c: Added explanation of abbreviations.
8930         (def_cfa_1): Added comments listing DWARF2 instructions.
8931         (cfa_temp_reg): Removed in favor of cfa_temp.
8932         (cfa_temp_value): Removed in favor of cfa_temp.
8933         (cfa_temp): New global variable.
8934         (dwarf2out_frame_debug_expr): Added extensive introductory
8935         comments explaining the function's transformations.  Revised to
8936         use cfa_temp.  Added some rtx checking.  Generalize IOR case.
8937         (dwarf2out_frame_debug): Revised to use cfa_temp.
8938         (output_aranges): Cast as "unsigned" to avoid warning.
8939         * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
8940         explain which instructions must be marked.
8941
8942 2001-02-01  Richard Henderson  <rth@redhat.com>
8943
8944         * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
8945         new instruction.
8946
8947 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
8948
8949         * config/sh/crt1.asm (main_k): Modified so that start calls
8950         ___setup_argv_and_call_main.
8951
8952 2001-02-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8953
8954         * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
8955         * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
8956         and AVOID_LPASTE is cleared on meeting an unescaped newline.
8957         * cppmacro.c (builtin_macro): Set builtin flags here.
8958         (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
8959         (replace_args): Clarify intent.
8960         (cpp_get_token): Macro expansion tokens get the saved flags.
8961         Update.
8962         * cppmain.c (scan_buffer): Remove now-redundant print.printed
8963         check.
8964
8965 2001-02-01  Jeffrey Oldham  <oldham@codesourcery.com>
8966
8967         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
8968         2001-Jan-29.
8969
8970 Thu Feb  1 07:22:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8971
8972         * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
8973         returns Pmode pseudo, but we need ptr_mode.
8974         * explow.c (allocate_dynamic_stack_space): Use plus_constant.
8975         Remove bogus conversions; use HOST_WIDE_INT for size.
8976         Don't use TARGET if wrong mode.
8977
8978         * config/i386/i386.c (ix86_compute_frame_size): Allow
8979         stack_alignment_needed to be non-default even if size is zero.
8980
8981 2001-01-31  Alan Modra <alan@linuxcare.com.au>
8982
8983         * pa.c (hppa_init_pic_save): New function.
8984         * pa.h (hppa_init_pic_save): Declare.
8985         * pa.md (call, call_value, sibcall, sibcall_value): Use
8986         the above instead of duplicated code.
8987
8988         * pa.c (hppa_encode_label): Correct size of alloca buffer
8989         so we don't overrun it.  Correct leading `*' case.
8990         * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
8991         need to handle `*@'.
8992         (FUNCTION_NAME_P): Likewise.
8993
8994 2001-01-31  Richard Henderson  <rth@redhat.com>
8995
8996         * config.gcc (alpha-osf5): Use float-i128.h.
8997
8998         * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
8999         * config/float-i32.h: Likewise.
9000         * config/float-i64.h: Likewise.
9001         * config/float-sh.h: Likewise.
9002         * config/float-sparc.h: Likewise.
9003
9004 2001-01-31  DJ Delorie  <dj@redhat.com>
9005
9006         * expmed.c (extract_bit_field): allow non-integral modes if we
9007         want to extract a whole register from itself.
9008
9009 2001-01-31  Jakub Jelinek  <jakub@redhat.com>
9010
9011         * c-typeck.c (set_init_index): If first is equal to last, assume as
9012         if it was not a range at all.
9013
9014 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
9015
9016         * config/fp-bit.c: Include tm.h.
9017         (float_to_si): Don't assume SImode is 32-bits wide.
9018         (float_to_usi): Likewise.
9019
9020 2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
9021
9022         * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
9023         incomplete type.
9024         (typename): Call pending_xref_error after parsing typed_typespecs.
9025         * c-decl.c (lookup_tag): Give error immediately rather than
9026         leaving it pending if the tag of the wrong type is in the same
9027         binding level.
9028         (xref_tag): Don't pedwarn for forward declarations of enum types
9029         here.
9030         * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
9031         and enum tags.
9032
9033 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
9034
9035         * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
9036
9037 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
9038
9039         * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
9040         (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
9041
9042 2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
9043
9044         * cpphash.h (struct cpp_reader): New saved_flags.
9045         * cppmacro.c (cpp_get_token): Use saved_flags to remember
9046         to avoid a paste after a pasted token.
9047
9048 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
9049
9050         * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
9051         * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
9052         Wtype_MIN instead of LONG_MIN.
9053
9054 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
9055
9056         * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
9057         README file.
9058         * fixinc/fixincl.x: Regenerated.
9059         * fixinc/inclhack.def (irix_limits_const): New definition to
9060         convert "const" to "__const" in limits.h.
9061
9062 2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
9063
9064         * fixinc/genfixes (AG): Fix "autogen4" thinko.
9065
9066 2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
9067
9068         * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
9069         when register dies in the insn.
9070
9071 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
9072
9073         * diagnostic.c (fatal): Fix word wrap.
9074
9075 2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
9076
9077         * combine.c (try_combine): Fix SUBREG setting for
9078         HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
9079
9080 2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9081
9082         * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
9083         comparison codes.
9084
9085 2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
9086
9087         * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
9088         is not NULL.
9089         * toplev.c (decode_W_option): Update warn_larger_than
9090         unconditionally for each processed switch.
9091
9092 2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9093
9094         * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
9095         to NULL_RTX.
9096         (hppa_expand_prologue): Delete code to save pic offset table register
9097         in the function prologue.
9098         * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
9099         * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
9100         table register at the beginning of the function after the prologue.
9101
9102 2001-01-29  lars brinkhoff  <lars@nocrew.org>
9103
9104         * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
9105
9106 2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9107             Jeff Law <law@redhat.com>
9108
9109         * pa.md (return): Revise comment for trivial return.
9110         (return_internal): Non-trivial return pattern for non-PIC code.
9111         (return_internal_pic): Non-trivial return pattern for PIC code.
9112         It uses the PIC register to ensure it is restored after
9113         function calls.
9114         (epilogue): Generate appropriate return for PIC and non-PIC code.
9115
9116 Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
9117
9118         * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
9119
9120 2001-01-29  DJ Delorie  <dj@redhat.com>
9121
9122         * combine.c (if_then_else_cond): Pass the correct mode to
9123         operand_subword() for constants.
9124
9125 Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
9126
9127         * config/i386/cygwin.h: Add w32api to include search.  Search different
9128         directories in a cross-build environment.
9129
9130 2001-11-29  Tim Josling  <tej@melbpc.org.au>
9131
9132         * tree.h (TYPE_STUB_DECL): Add documentation.
9133
9134 2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
9135
9136         * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
9137         (sdbout_field_types): Likwise.  Fix use of host_integerp.
9138
9139 2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
9140
9141         * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
9142         cygwin.h.
9143
9144 2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
9145
9146         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
9147         to use flag_gnu_linker.
9148
9149 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
9150
9151         * cpplib.c (T_BAD_DIRECTIVE): Remove.
9152         (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
9153
9154 2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
9155
9156         * tree.c, tree.h (build_parse_node): Remove; was identical to
9157         build_nt.
9158         * c-lang.c (start_cdtor), objc/objc-act.c
9159         (build_module_descriptor): Use build_nt instead of
9160         build_parse_node.
9161
9162 2001-01-29  Jakub Jelinek  <jakub@redhat.com>
9163
9164         * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
9165         (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
9166         not have any upper bits set.
9167
9168 2001-01-29  Phil Edwards  <pme@sources.redhat.com>
9169
9170         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
9171
9172 2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9173
9174         * stmt.c (estimate_case_costs): Use integer_minus_one_node.
9175
9176         * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
9177
9178         * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
9179         (integer_minus_one_node): Define.
9180
9181 2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
9182
9183         * Makefile.in (bootstrap2-lean): Fix typo.
9184
9185 2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
9186
9187         * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
9188         : Don't set fe_value.
9189         * cpplib.h (AVOID_LPASTE): New flag.
9190         (struct cpp_hashnode): Remove fe_value.
9191         * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
9192         * cppmacro.c (builtin_macro): Don't set flags here.
9193         (replace_args): Set AVOID_LPASTE flag on first token of an
9194         argument, and the token following it.
9195         (cpp_get_token): Set AVOID_LPASTE flag on first token of a
9196         macro expansion, and on the token following it.  Do it for
9197         builtins too.
9198         * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
9199
9200 2001-01-27  Richard Henderson  <rth@redhat.com>
9201
9202         * config/alpha/t-ieee: Remove multilibbing.
9203         (TARGET_LIBGCC2_CFLAGS): Add -mieee.
9204
9205 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9206
9207         * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
9208
9209         * Makefile.in: Remove all dependencies on defaults.h.
9210         * builtins.c: Don't include defaults.h.
9211         * c-common.c: Likewise.
9212         * c-decl.c: Likewise.
9213         * c-pragma.c: Likewise.
9214         * c-typeck.c: Likewise.
9215         * combine.c: Likewise.
9216         * i386.c: Likewise.
9217         * frame-ia64.c: Likewise.
9218         * cppexp.c: Likewise.
9219         * crtstuff.c: Likewise.
9220         * dbxout.c: Likewise.
9221         * dwarf2out.c: Likewise.
9222         * dwarfout.c: Likewise.
9223         * emit-rtl.c: Likewise.
9224         * except.c: Likewise.
9225         * expr.c: Likewise.
9226         * final.c: Likewise.
9227         * frame-dwarf2.c: Likewise.
9228         * libgcc2.c: Likewise.
9229         * optabs.c: Likewise.
9230         * profile.c: Likewise.
9231         * sdbout.c: Likewise.
9232         * toplev.c: Likewise.
9233         * tradcif.y: Likewise.
9234         * tree.c: Likewise.
9235         * varasm.c: Likewise.
9236
9237 2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9238
9239         * builtins.c (expand_builtin_fputs): Use size_one_node when
9240         transforming into fwrite.
9241
9242 2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
9243
9244         * extend.texi (Attribute Syntax): New section.
9245
9246 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9247
9248         * fixproto: Correctly install synthesised unistd.h and stdlib.h when
9249         they didn't need fixing.
9250
9251 2001-01-27  Janis Johnson <janis@us.ibm.com>
9252
9253         * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
9254         if appropriate.
9255         * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
9256         to remove macro definitions that are duplicated from elfos.h.
9257
9258 2001-01-27  Richard Henderson  <rth@redhat.com>
9259
9260         * config/i386/sco5gas.h: Move ...
9261         * config/usegas.h: ... here.
9262         * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
9263
9264 2001-01-27  Jakub Jelinek  <jakub@redhat.com>
9265
9266         * c-typeck.c (struct constructor_stack): Add range_stack member.
9267         (really_start_incremental_init): Clear it.
9268         (push_init_level): Save constructor_range_stack and clear it if
9269         pushing explicit braces.
9270         (pop_init_level): abort if constructor_range_stack is non-zero at
9271         explicit closing brace.  Restore saved constructor_range_stack if
9272         not implicit.
9273
9274 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
9275
9276         * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
9277         into register was forced into memory.
9278
9279 2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
9280
9281         * Makefile.in: Remove uses of + before $(MAKE).
9282
9283 2001-01-26  Richard Henderson  <rth@redhat.com>
9284
9285         * stmt.c (cost_table): Remove.
9286         (COST_TABLE, cost_table_initialized): New.
9287         (estimate_case_costs): Use the later instead of the former.
9288         (balance_case_nodes): Likewise.
9289
9290 2001-01-26  Richard Henderson  <rth@redhat.com>
9291
9292         * alias.c (objects_must_conflict_p): Read-only slots may not
9293         conflict despite having the same type.
9294
9295 2001-01-27  Michael Hayes  <mhayes@redhat.com>
9296
9297         * loop.c (loop_giv_reduce_benefit): Copy mode size into
9298         int variable.
9299         (check_ext_dependant_givs): Initialise u_start_val and
9300         u_end_val.
9301         (load_mems): Make last_max_reg unsigned.
9302         (try_swap_copy_prop): Use INSN_P and initialise set.
9303
9304 Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
9305
9306         * README.AVR : Removed.
9307
9308 Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
9309
9310         * pa-64.h (text_section): Remove declaration.
9311
9312         * pa.md (return_internal): Remove mode on PIC register use.
9313
9314 2001-01-25  lars brinkhoff  <lars@nocrew.org>
9315
9316         * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
9317         ASM_CLOSE_PAREN): fix typos.
9318
9319 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
9320
9321         * acconfig.h: Define `const' to the empty string if neither
9322         __STDC__ nor __cplusplus is defined.
9323         * config.in: Regenerated.
9324
9325 2001-01-25  David Edelsohn  <edelsohn@gnu.org>
9326
9327         * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
9328         * collect2.c (main): Delete importf.  Add ".obj" file extension.
9329         (GCC_CHECK_HDR): Handle AIX V5 new magic number.
9330         (aix_std_libs): Add additional AIX libraries to skip.
9331         * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
9332         * config/rs6000/aix51.h: New file.
9333
9334 2001-01-25  Michael Hayes  <mhayes@redhat.com>
9335
9336         * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
9337         (loop_insn_emit_before): No longer static.
9338         (move_movables): Replace emit_insn_after with loop_insn_emit_after.
9339         (loop_givs_rescan, load_mems): Likewise.
9340         (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
9341         (maybe_eliminate_biv_1):
9342         (move_movables): Replace emit_call_insn_before with
9343         loop_call_insn_hoist.
9344         * loop.h (loop_insn_emit_before): Add.
9345         * unroll.c (copy_loop_body): Replace emit_insn_before with
9346         loop_insn_emit_before.
9347
9348 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
9349
9350         * diagnostic.c (fatal): Request preprocessed source.
9351
9352 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
9353
9354         * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
9355         olddecl has argument types and newdecl has none, use the argument
9356         types from olddecl.
9357
9358 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
9359
9360         * dwarf2out.c (prefix_of): New function.  Determine longest common
9361         prefix of the two arguments.  The units are whole path components.
9362         (output_file_names): When adding a new directory find the one entry
9363         with the longest common prefix already in the list.  Artificially
9364         generate entry if there is none for this prefix.
9365         Fix test to check whether the zeroth directory entry is used.
9366
9367 Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
9368
9369         * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
9370         Changed all callers.  Take it into account when deciding if a
9371         previously loaded value matches.
9372
9373 2001-01-24  Richard Henderson  <rth@redhat.com>
9374
9375         * reload.c (find_reloads_subreg_address): Fail the substitution
9376         if the resulting address is insufficiently aligned.
9377
9378 2001-01-24  DJ Delorie  <dj@redhat.com>
9379
9380         * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
9381         check the original operand's mode also.
9382         * simplify-rtx.c (simplify_ternary_operation): Ditto.
9383
9384 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9385
9386         * c-parse.in (cast_expr): Move compound literals from here ...
9387         (primary): ... to here.  Use standard terminology "compound
9388         literal" instead of "constructor expression".
9389
9390 2001-01-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9391
9392         * gcc.1, cpp.1: Regenerate.
9393
9394 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
9395
9396         * calls.c (emit_library_call_value_1): Memory slot for
9397         pass-by-reference argument should have the mode of the argument,
9398         not of the pointer to it.
9399
9400 2001-01-24  Tom Tromey  <tromey@redhat.com>
9401
9402         * gcc.texi (G++ and GCC): Mention gcj manual.
9403         (Standards): Link to section of manual mentioning gcj/Java
9404         compatibility.
9405
9406 2001-01-24  Jakub Jelinek  <jakub@redhat.com>
9407
9408         * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
9409         * cppinit.c (cpp_start_read): Remove deps_add_dep call.
9410         * tradcpp.c (main): Add -imacros or -include'd dependencies
9411         for -M*.
9412         * cpp.texi (-M, -MM): Document -M -include behaviour.
9413
9414 2001-01-24  Roger Collins <roger@ProProject.com>
9415
9416         * config/i386/xm-i386.h: Make __i386__ a boolean macro.
9417
9418 2001-01-24  Will Cohen  <wcohen@redhat.com>
9419
9420         * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
9421         whether registers are 32 bits or 64 bits in size.
9422
9423 2001-01-24  Ben Elliston  <bje@redhat.com>
9424
9425         * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
9426
9427 2001-01-24  Richard Henderson  <rth@redhat.com>
9428
9429         * config/alpha/alpha.md (builtin_longjmp_internal): New.
9430         (builtin_longjmp): Use it instead of emit_indirect_jump.
9431
9432 2001-01-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9433
9434         * bb-reorder.c (make_reorder_chain_1): Handle case where
9435         jump edge goes to the same block as the fallthru edge.
9436
9437 2001-01-23  Jim Wilson  <wilson@redhat.com>
9438
9439         * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
9440         * frame.h (__ia64_personality_v1): Add prototype.
9441         * libgcc2.c (ia64_throw_helper): Change personality declaration to
9442         prototype form.  Add void * cast to first argument to personality
9443         call.
9444         * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
9445         (asctoe113): Likewise.
9446         * config/ia64/frame-ia64.c: Include eh-common.h.
9447         * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
9448         prototypes.
9449         * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
9450         to dump parameter.
9451         (itanium_split_issue): Add prototype.
9452         (gen_nop_type): Ifdef out.
9453         (find_best_packet): Initialize best_packet.
9454         (ia64_encode_section_info): New local string.  Use for ggc_alloc_string
9455         result.
9456         * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
9457         * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
9458         (flushrs): Add explicit stop bit at end.
9459         * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
9460         trailing \ to >.
9461
9462 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
9463
9464         * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
9465         of EH symbols.
9466         * libgcc2.c (__terminate_func): Make variable static.
9467         (__terminate_set_func): New function to set __terminate_func.
9468         * libgcc2.h (__terminate_func_ptr): New typedef.
9469         (__terminate_set_func): New function.
9470
9471 2001-01-23  Richard Henderson  <rth@redhat.com>
9472
9473         * flow.c (init_propagate_block_info): Don't consider unchanging
9474         memories for dead frame store elimination.
9475
9476 2001-01-23  Richard Henderson  <rth@redhat.com>
9477
9478         * varasm.c (UNIQUE_SECTION): Move default implementation ...
9479         * defaults.h: ... here.
9480
9481 2001-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9482
9483         * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
9484
9485 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
9486
9487         * c-lex.c (lex_charconst): Fix typo: s/p/str.
9488
9489 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9490
9491         * rs6000.h (rs6000_return_addr): Move prototype from here...
9492         * rs6000-protos.h (rs6000_return_addr): ...to here.
9493         (rs6000_init_expanders): Delete prototype.
9494
9495 2001-01-23  Nick Clifton  <nickc@redhat.com>
9496
9497         * invoke.texi: Replace , with \, inside @gccoptlist macros.
9498         (Spec Files): Document %B and %j and %. and %v3 and %M and
9499         %{S*&T} spec switches.
9500
9501 2001-01-24  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9502
9503         * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
9504
9505 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
9506             Neil Booth  <neil@daikokuya.demon.co.uk>
9507
9508         * cpperror.c: Merge handlers of PEDWARN and WARNING.
9509         Have -Werror make pedantic warnings errors, like the
9510         rest of GCC.
9511
9512 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
9513
9514         * c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.
9515
9516 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
9517
9518         * integrate.h (struct inline_remap): Add compare_src, compare_mode.
9519         * integrate.c (expand_inline_function): Initialize them.
9520         (subst_constants): If changing COMPARE so that both its arguments
9521         will be VOIDmode and the comparison mode will be lost, note
9522         compare_mode.  Use the recorded compare_mode to optimize
9523         IF_THEN_ELSE.
9524
9525 2001-01-23  Jason Merrill  <jason@redhat.com>
9526
9527         * dwarf2out.c (new_die): Use xcalloc.
9528         (output_die): Abort rather than emit a local reference to offset 0.
9529
9530 2001-01-17  Andrew Haley  <aph@redhat.com>
9531
9532         * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
9533         of a saved register; return NULL instead.
9534         (copy_reg): Take a pointer to a source register rather than a
9535         frame_state.
9536         (next_stack_level): Remember the address in the stack frame of all
9537         saved registers.
9538         Use the saved register pointer array as the source of the CFA.
9539         (throw_helper): Rewrite.  Unwind once rather than twice and keep
9540         track of saved registers as we go.
9541
9542 2001-01-23  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9543
9544         * c4x-protos.h (c4x_legitimize_reload_address): Remove.
9545         * c4x.c (c4x_legitimize_reload_address): Remove.
9546         * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
9547         reload address for ldp(k) insn.
9548
9549 Mon Jan 22 20:53:47 2001  Jeffrey A Law  (law@cygnus.com)
9550
9551         * pa.md (return_internal): Add a USE of the PIC register to ensure
9552         it is restored after each call.
9553         (return expander): Corresponding changes.
9554
9555 2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9556
9557         * rs6000.h (INIT_EXPANDERS): Delete.
9558         (RETURN_ADDR_RTX): Call rs6000_return_addr().
9559         * rs6000.c (rs6000_override_options): Call *_machine_status from
9560         here...
9561         (rs6000_init_expanders): ...instead of here. Delete.
9562         (rs6000_mark_machine_status): New function.
9563         (rs6000_init_machine_status): Use xcalloc.
9564         (rs6000_return_addr): Generate RTX for the return address.
9565         (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
9566         (rs6000_stack_info): Use it.
9567
9568 2001-01-22  Thomas Pfaff  <tpfaff@gmx.net>
9569
9570         * gthr-win32.h: Include errno.h to get a declaration for
9571         EINVAL and _mingw.h if the target is mingw32.
9572
9573 2001-01-22  Andres Felipe Vargas <avargas@teletulua.com.co>
9574
9575         * cpp.texi: Correct typos.
9576
9577 Mon Jan 22 13:59:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9578
9579         * explow.c (probe_stack_range): Ensure value passed to
9580         stack_check_libfunc is ptr_mode, not Pmode.
9581
9582 Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
9583
9584         * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
9585         case, don't use operand_subword to calculate a SUBREG that is
9586         wider than a word.
9587
9588         * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
9589
9590 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9591
9592         * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
9593         (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
9594         valid.  If not replace it by equivalent insns.
9595
9596 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9597
9598         * c4x.c (c4x_check_legit_addr): Only check CONST.  Not if CONST
9599         contains SYMBOL_REF, LABEL_REF and CONST_INT.
9600         (c4x_U_constraint, symbolic_address_operand): Likewise.
9601         (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
9602         memory.
9603         (c4x_r11_set_p, c4x_check_laj_p): New functions.
9604         * c4x-protos.h (c4x_check_laj_p): Add prototype.
9605         * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
9606         anulling slot because of silicon bug.
9607         (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
9608
9609 2001-01-22  Alan Modra <alan@linuxcare.com.au>
9610
9611         * cppexp.c (parse_charconst):  Change `mask' type to agree
9612         with parse_escape.
9613
9614 2001-01-21  Richard Henderson  <rth@redhat.com>
9615
9616         * config/i386/i386.c (ix86_asm_file_end): Disable putting
9617         pic_label_name in a linkonce section.
9618
9619 2001-01-17  Philipp Thomas  <pthomas@suse.de>
9620
9621         * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
9622         found in libintl.
9623         * configure: Regenerate.
9624
9625 Sun Jan 21 02:38:56 2001  J"orn Rennecke <amylaar@redhat.com>
9626
9627         * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
9628         uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
9629
9630 Sun Jan 21 09:44:17 2001  Denis Chertykov  <denisc@overta.ru>
9631
9632         * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
9633         If REVERSE nonzero then condition code in X must be reversed.
9634         (encode_section_info): Optimise if/else.
9635         (avr_function_value): Fix formatting.
9636
9637         * config/avr/avr.md (branch): Call to ret_cond_branch changed.
9638         (difficult_branch): Likewise.
9639         (rvbranch): Likewise.
9640         (difficult_rvbranch): Likewise.
9641
9642         * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
9643
9644         * config/avr/libgcc.S: Fix comment.
9645
9646 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9647
9648         * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
9649
9650 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9651
9652         * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
9653
9654 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
9655
9656         * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
9657         * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
9658         * configure, config.in: Regenerate.
9659         * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
9660         (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
9661         (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
9662         (doprint.o): New rule.
9663
9664 2001-01-20  Joseph S. Myers  <jsm28@cam.ac.uk>
9665
9666         * c-typeck.c (digest_init): Handle boolean types as scalars.
9667
9668 Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9669
9670         * stmt.c (expand_return): Don't return anything if size is zero.
9671         Delete redundant assignment to BYTES.
9672         * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
9673
9674 2001-01-20  Marek Michalkiewicz  <marekm@linux.org.pl>
9675
9676         * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
9677         the same as the default library function names.
9678         * config/avr/avr.md: Document special characters after '%'.
9679         (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
9680         knowing which of the call-used registers are really clobbered.
9681         (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
9682         New.  Both quotient and remainder from one libgcc.S call.
9683         * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
9684         clobber as few registers as possible.
9685         * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
9686
9687 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
9688
9689         * cppmacro.c (funlike_invocation_p): Don't move back up to the
9690         context of the top of the stack.
9691
9692 2001-01-20  Jakub Jelinek  <jakub@redhat.com>
9693
9694         * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
9695         (fixup_var_refs_insns): ...here.
9696
9697 2001-01-20  Zack Weinberg  <zack@wolery.stanford.edu>
9698
9699         * function.c (fixup_var_refs_insns): Break up into
9700         fixup_var_refs_insn [body of loop], fixup_var_refs_insns
9701         [loop over entire insn list], and fixup_var_refs_insns_with_hash
9702         [loop over hash table entries].
9703         (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
9704         fixup_var_refs_insns_with_hash, to match above changes.
9705
9706 2001-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9707
9708         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
9709         (libgcc.a): Likewise.
9710         (stmp-multilib): Likewise.
9711         (STAGE2_FLAGS_TO_PASS): Likewise.
9712
9713 2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
9714
9715         * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
9716         temporary if no_new_pseudos.
9717
9718 2001-01-19  Neil Booth  <neil@daikokuya.demon.co.uk>
9719
9720         * cppinternals.texi: Update.
9721
9722 2001-01-19  Richard Earnshaw  <rearnsha@arm.com>
9723
9724         * arm.c (arm_init_builtins): Re-enable builtins.
9725
9726 Fri Jan 19 13:02:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9727
9728         * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
9729         * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
9730         element to be null, and always expect an EXPR_LIST.
9731         * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
9732         * sched-deps.c (sched_analyze_1): Likewise.
9733         * sched-rgn.c (check_live_1, update_live_1): Likewise.
9734
9735         * regclass.c (max_set_parallel): New variable.
9736         (reg_scan): Take it into account in computation of max_parallel.
9737         (reg_scan_mark_refs, case SET): Compute it.
9738
9739         * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
9740         args are REG.
9741         * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
9742         * function.c (assign_parms): Use INTVAL for a CONST_INT.
9743
9744 2001-01-19  Jason Merrill  <jason@redhat.com>
9745
9746         * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
9747         for the abstract instance of an inline function.
9748
9749 Fri Jan 19 14:31:35 2001  Alexandre Oliva  <aoliva@redhat.com>
9750                           J"orn Rennecke <amylaar@redhat.com>
9751
9752         * reload1.c (move2add_note_store): Treat all registers directly or
9753         indirectly derived from a base register as members of the same set
9754         of values.
9755         (reload_cse_move2add): Adjust accordingly.  Take mode and offset
9756         of base register into account.
9757
9758 Fri Jan 19 09:18:42 2001  J"orn Rennecke <amylaar@redhat.com>
9759
9760         * alias.c (find_base_value): Recognize TRUNCATE.
9761         (record_set): In PLUS case, invalidate if other summand is also a
9762         base value.
9763
9764 Thu Jan 18 06:43:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9765
9766         * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
9767         entry to be EXPR_LIST.
9768         * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
9769         be an EXPR_LIST (but not null, which other code doesn't allow).
9770         (note_stores): Properly handle PARALLEL in SET.
9771         Recursively call for top-level PARALLEL.
9772         * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
9773         * sched-rgn.c (check_live_1, update_live_1): Likewise.
9774
9775         * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
9776
9777 2001-01-18  Neil Booth  <neil@daikokuya.demon.co.uk>
9778
9779         * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
9780         not pfile->skipping (== 0).
9781
9782 2001-01-17  Nick Clifton  <nickc@redhat.com>
9783
9784         * config/rs6000/rs6000.c: Add prototypes for {init|free}_
9785         machine_status.
9786
9787 2001-01-17  Jim Wilson  <wilson@redhat.com>
9788
9789         * invoke.texi (IA-64 options): Improve.
9790
9791 2001-01-17  Tom Tromey  <tromey@redhat.com>
9792
9793         * invoke.texi (Optimize Options): Use `{}' to around @samp
9794         argument.
9795
9796 2001-01-17  Aldy Hernandez  <aldyh@redhat.com>
9797
9798         * invoke.texi (-fno-guess-branch-probability): New option.
9799
9800 Wed Jan 17 13:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9801
9802         * combine.c (try_combine): Don't set i3_subst_into_i2 for
9803         case of making new double-word constant.
9804         Revert last change: instead just test i3_subst_into_i2.
9805
9806 2001-01-17  Jakub Jelinek  <jakub@redhat.com>
9807
9808         * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
9809         Use q constraints instead of r.
9810
9811 Tue Jan 16 22:23:04 2001  Alan Modra (alan@linuxcare.com.au)
9812
9813         * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
9814         (machine_function): Define.
9815         (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
9816         * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
9817         pa_free_machine_status): New functions.
9818         (override_options): Set {init,mark,free}_machine_status to above.
9819         (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
9820         PIC_OFFSET_TABLE_REGNUM_SAVED.
9821         * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
9822         PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
9823         * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
9824         references to PIC_OFFSET_TABLE_REGNUM_SAVED.
9825         * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
9826
9827 2001-01-15  DJ Delorie  <dj@redhat.com>
9828
9829         * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
9830         (cpp.1): Ditto.
9831         (gcc.1): Ditto.
9832
9833 Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9834
9835         * flow.c (propagate_one_insn): Make trying to delete a prologue
9836         or epilogue insn an ICE, not a warning.  Allow doing this if
9837         the current function returns with stack pointer depressed.
9838
9839         * combine.c (try_combine): If i3_subst_into_i2, properly check for
9840         I3 having more than one SET.
9841
9842 2001-01-16  Jim Wilson  <wilson@redhat.com>
9843
9844         * invoke.texi: Document IA-64 options.
9845
9846         * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
9847         (fixup_errata): Delete TARGET_A_STEP use.
9848         * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
9849         (TARGET_SWITCHES): Delete -ma-step option.
9850         * config/ia64/ia64.md (all FP patterns): Delete %B0.
9851         (movqicc_astep, movqi_internal_astep, movhicc_astep,
9852         movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
9853         movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
9854         movdfcc_astep, movdf_internal_astep, movtfcc_astep,
9855         movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
9856         Delete.
9857         (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
9858         movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
9859         cmovsi_internal): Delete ! TARGET_A_STEP check.
9860
9861 2001-01-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9862
9863         * gcc.texi (Bug Lists): Do not mention newsgroups nor the
9864         possibility to report bugs via postal mail. Change a URL and
9865         merge in a nearly duplicate statement...
9866         (Bug Reporting): ...from here.
9867         (Service): Refer to the Bug Reporting section instead of
9868         duplicating an URL.
9869         (Contributing): Remove trivial explanations concerning snapshots.
9870
9871 2001-01-16  Alan Modra <alan@linuxcare.com.au>
9872
9873         * cppmain.c (general_init): Don't use ANSI prototype.
9874
9875 2001-01-16  Tom Tromey  <tromey@redhat.com>
9876
9877         * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
9878
9879 2001-01-16  Richard Henderson  <rth@redhat.com>
9880
9881         * config/i386/i386.h: Fix comment typo.
9882         * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
9883         (ashr+compare patterns): Match CCGOCmode not CCNOmode.
9884
9885 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
9886
9887         * gcc.c:  Revert previous -fsyntax-only-related change; move
9888         to cp/g++spec.c.
9889
9890 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
9891
9892         * config/i386/i386.c (fcmov_comparison_operator): Only initialize
9893         inmode after checking GET_CODE (op).
9894
9895 2001-01-16  Richard Henderson  <rth@redhat.com>
9896
9897         * flow.c (struct propagate_block_info): Add mem_set_list_len.
9898         (MAX_MEM_SET_LIST_LEN): New.
9899         (propagate_one_insn): Update mem_set_list_len.
9900         (invalidate_mems_from_autoinc): Likewise.
9901         (invalidate_mems_from_set): Likewise.
9902         (mark_used_regs): Likewise.
9903         (init_propagate_block_info): Likewise.  Stop collecting memories
9904         when we reach MAX_MEM_SET_LIST_LEN.
9905         (mark_set_1): Likewise.
9906
9907 2001-01-16  Richard Henderson  <rth@redhat.com>
9908
9909         * unroll.c (precondition_loop_p): Fail if no iteration
9910         variable found.
9911
9912 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
9913
9914         * gcc.c:  When -fsyntax-only is given, do not complain about
9915         unused libraries.
9916
9917 2001-01-15  Richard Henderson  <rth@redhat.com>
9918
9919         * config/i386/i386.c (asm_output_function_prefix): Remove.
9920         (ix86_asm_file_end): New.
9921         (load_pic_register): Generate pic_label_name into a
9922         staticly allocated buffer.
9923         * config/i386/i386-protos.h: Update.
9924         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
9925         (ASM_FILE_END): New.
9926         * config/i386/i386afe.h: New file.
9927         * config.gcc (i?86-*-elf) [tm_file]: Use it.
9928         (i?86-*-{freebsd,linux*,moss*}): Likewise.
9929         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
9930         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
9931         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
9932         * config/i386/sco5.h (ASM_FILE_END): Likewise.
9933         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
9934
9935 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
9936
9937         * Makefile.in (install-man): Remove explicit dependency on
9938         $(srcdir)/gcc.1.
9939
9940         * configure.in, configure: Revert previous patch requiring perl
9941         5.6.0.
9942
9943 2001-01-12  Aldy Hernandez  <aldyh@redhat.com>
9944
9945         * toplev.c (flag_guess_branch_prob): New.
9946         (f_options): Add guess-branch-probability option.
9947         (rest_of_decl_compilation): Only estimate branch probability if
9948         flag set.
9949         (main): set flag_guess_branch_prob.
9950
9951         * flags.h (flag_guess_branch_prob): New.
9952
9953 2001-01-15  DJ Delorie  <dj@redhat.com>
9954
9955         * gcc.texi (Makefile): Add documentation for Makefile targets.
9956
9957 2001-01-15  Philip Blundell  <philb@gnu.org>
9958
9959         * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
9960         (is_pic): Delete.
9961         * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
9962         (is_pic): Delete declaration.
9963         * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
9964         (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
9965         * config/arm/arm.md (builtin_setjmp_receiver): New.
9966
9967 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9968
9969         * arm.c (use_return_insn): Don't try to determine the function type
9970         until after reload has completed.
9971         (arm_output_epilogue): Don't adjust the sp value recovered from the
9972         stack.
9973         (emit_multi_reg_push): Don't record dwarf information for the pc.
9974         * arm.md (eh_epilogue): The function type may have changed, so it
9975         needs to be recalculated.
9976         * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete.  Can now use dwarf2
9977         unwind tables on arm/netbsd.
9978
9979 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9980
9981         * arm.md (cbranchsi4): Correct calculation of branch ranges.
9982         (negated_cbranchsi4): Likewise.
9983
9984 2001-01-15  Richard Earnshaw  <rearnsha@arm.com>
9985
9986         * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
9987         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
9988         (ASM_SPEC): Call subtarget_extra_asm_spec.  Don't
9989         pass -mapcs-* options to assembler.
9990         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
9991         (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
9992         (ASM_SPEC): Call subtarget_extra_asm_spec.
9993
9994 2001-01-15  Andreas Jaeger  <aj@suse.de>
9995
9996         * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
9997         warnings.
9998         (ix86_expand_builtin): Likewise.
9999
10000         * gencodes.c (output_predicate_decls): Make i size_t to avoid
10001         warning about comparison between signed and unsigned.
10002
10003 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
10004
10005         * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
10006
10007 2001-01-14  Ralf Baechle <ralf@gnu.org>
10008
10009         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
10010         SUBTARGET_CPP_SPEC apropriatly.
10011
10012 2001-01-12  Mark Mitchell  <mark@codesourcery.com>
10013
10014         * varasm.c (make_decl_rtl): Fix typo in last change.
10015
10016 2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>
10017
10018         * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
10019         linker supports the init_priority C++ attribute.
10020         * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
10021         * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
10022         linker does not support init_priority C++ attribute.
10023
10024 Sun Jan 14 22:31:30 2001  J"orn Rennecke <amylaar@redhat.com>
10025
10026         * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
10027
10028 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
10029
10030         * c-parse.in (finish_parse): Add comment about cpp_destroy.
10031         * cp/lex.c (finish_parse): Similarly.
10032         * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
10033         Return the number of errors encountered.
10034         * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
10035         * cppmain.c (main): Don't call cpp_destroy.
10036
10037 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
10038
10039         * configure.in: Require at least perl 5.6.0 to regenerate
10040         manpages.
10041         * configure: Regenerate.
10042
10043 2001-01-14  Richard Henderson  <rth@redhat.com>
10044
10045         * genrecog.c (DT_veclen_ge): New.
10046         (add_to_sequence) [MATCH_PARALLEL]: Generate one.
10047         (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
10048         (nodes_identical_1): Handle DT_veclen_ge.
10049         (write_cond, debug_decision_2): Likewise.
10050
10051 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
10052
10053         * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete.  Replace
10054         with ...
10055         (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
10056
10057 2001-01-14  Neil Booth  <neil@daikokuya.demon.co.uk>
10058
10059         * cppmain.c (do_preprocessing): New function; most of the old
10060         main.
10061         (main): Call it to do most of the work.
10062         (cb): Move from global scope to set_callbacks ().
10063         (setup_callbacks): Get the callback pointer.
10064         (general_init, printer_init): Clean up code and comments.
10065
10066 2001-01-14  Richard Earnshaw  <rearnsha@arm.com>
10067
10068         * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
10069         compiling PIC.
10070
10071 2001-01-14  Kazu Hirata  <kazu@hxi.com>
10072
10073         * config/h8300/h8300.c (get_shift_alg): Update comments.
10074
10075 Sun Jan 14 06:20:49 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10076
10077         * ggc-page.c (alloc_annon): Call perror and correctly call exit.
10078         (alloc_page, ggc_alloc): Add casts to remove warnings.
10079
10080 2001-01-14  Geoffrey Keating  <geoffk@redhat.com>
10081
10082         * combine.c (simplify_comparison): Don't change `code' when
10083         can't reverse comparison.
10084
10085 2001-01-14  Richard Henderson  <rth@redhat.com>
10086
10087         * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
10088         update all call sites.  Return true for all non-label constants.
10089
10090 Sun Jan 14 10:09:48 MET 2001  Jan hubicka  <jh@suse.cz>
10091
10092         * i386.c (ix86_expand_compare): Add bypass_test and second_test
10093         parameters.
10094         (ix86_expand_branch): Update.
10095         (ix86_expand_setcc): Update to handle multiple test conditions.
10096         (expand_int_movcc): Likewise.
10097         (expand_fp_movcc): Likewise.
10098         * i386-protos.h (ix86_expand_compare): New.
10099         * i386.md (andqi_?_slp, orqi_?_slp): New.
10100         (conditional trap expander): Update call to ix86_expand_compare.
10101
10102 2001-01-14  Richard Henderson  <rth@redhat.com>
10103
10104         * config/vax/vax.md: Use nonimmediate_operand instead of
10105         general_operand in destinations.
10106
10107         * config/vax/vax.md (indirect_jump): Use register_operand.
10108
10109         * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
10110         * config/vax/vax.md (call_pop): Turn into an expander.
10111         (call_value_pop): Likewise.
10112         (call, call_value): New.
10113
10114 2001-01-14  Andreas Jaeger  <aj@suse.de>
10115
10116         * config/i386/i386.c (ix86_split_fp_branch): Remove unused
10117         variables.
10118         (ix86_fp_compare_mode): Add unused attribute.
10119         (ix86_expand_fp_movcc): Remove unused variable.
10120         (ix86_expand_builtin): Make fcode unsigned.
10121
10122         * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
10123         (expand_expr): Add cast to avoid signed warning.
10124         (store_field): Likewise.
10125         (store_constructor_field): Likewise.
10126         (store_constructor): Likewise.
10127         (store_expr): Likewise.
10128         (clear_storage): Likewise.
10129         (emit_group_store): Likewise.
10130         (emit_group_load): Likewise.
10131
10132 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
10133
10134         * c-common.c: Move format checking code to ...
10135         * c-format.c: ... here.  New file.  Reorder some functions and
10136         declarations.
10137         (decl_handle_format_attribute, decl_handle_format_arg_attribute):
10138         New functions.
10139         * c-common.h (decl_handle_format_attribute,
10140         decl_handle_format_arg_attribute): Declare.
10141         * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
10142         (c-common.o): Adjust dependencies.
10143         (c-format.o): New list of dependencies.
10144
10145 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
10146
10147         * unroll.c (loop_iterations): If we cannot prove iteration variable
10148         is set once in each iteration, punt.
10149
10150 Sun Jan 14 00:23:15 2001  Denis Chertykov  <denisc@overta.ru>
10151
10152         * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
10153         (*strlenhi): Remove clobber (which was buggy) of output address.
10154
10155 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
10156
10157         * Makefile.in (generated-manpages): Add gcc.1
10158         ($(srcdir)/gcc.1): New target.
10159         (maintainer-clean): Delete $(srcdir)/gcc.1.
10160         * gcc.texi: Add macros @gccoptlist and @gol.
10161         * invoke.texi: Include option summary in manpage.  Mark up option
10162         summary with @gccoptlist and @gol.  Use @r in one place where
10163         appropriate.
10164         * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
10165         * gcc.1: Generate from invoke.texi.
10166
10167 2001-01-13  Richard Henderson  <rth@redhat.com>
10168
10169         * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
10170         (struct page_entry): Add group member.
10171         (struct page_group): New.
10172         (struct globals): Add page_groups member.
10173         (alloc_anon): Only define for using mmap; remove valloc call.
10174         (page_group_index): New.
10175         (set_page_group_in_use): New.
10176         (clear_page_group_in_use): New.
10177         (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
10178         (free_page, release_pages): Likewise.
10179         * configure.in (with-gc): Default to ggc-page always.
10180
10181 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
10182
10183         * reload1.c (replace_pseudos_in_call_usage): Use
10184         reg_equiv_constant and reg_equiv_address, and don't try
10185         regno_reg_rtx first.
10186
10187 2001-01-13  Richard Henderson  <rth@redhat.com>
10188
10189         * ggc-page.c (alloc_page): Round up allocation size to one page.
10190         Set e->order on extra pages.
10191
10192 2001-01-13  Richard Henderson  <rth@redhat.com>
10193
10194         * genrecog.c (nodes_identical): Expand commentary.
10195         (write_switch): Watch out for identical nodes.
10196
10197 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10198
10199         * cppfiles.c (_cpp_fake_include): New function.
10200         * cpphash.h (_cpp_fake_include): New.
10201         * cpplib.c (do_line): Call _cpp_fake_include when entering
10202         header files in preprocessed input.
10203         * cppmain.c (cb_pragma_implementation): Remove handling.
10204         (setup_callbacks): Don't register pragmas.
10205
10206 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10207
10208         * extend.texi: Udate for CPP.
10209
10210 2001-01-13  Andreas Jaeger  <aj@suse.de>
10211
10212         * reload1.c: Add prototype for replace_pseudos_in_call_usage.
10213
10214         * regmove.c: Add prototype for replace_in_call_usage.
10215
10216 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10217
10218         * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
10219         struct cpp_chunk, struct htab, struct toklist,
10220         struct cpp_context, CPP_STACK_MAX, struct lexer_state,
10221         struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
10222         CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
10223         ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
10224         (struct macro_args): Delete.
10225         * cpphash.h: See above.
10226
10227 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10228
10229         * cppmain.c (struct printer): Remove no_line_dirs.
10230         (options, cb): New.
10231         (main, setup_callbacks, scan_buffer, printer_init, cb_define)
10232         : Use options rather than CPP_OPTION.
10233         (setup_callbacks): Use cb rather than pfile->cb.
10234         (main): No need to check for a buffer.  Use cpp_errors.
10235         (printer_init): Don't set no_line_dirs.
10236         (maybe_print_line): Use options not no_line_dirs.
10237         (cb_file_change): Don't call print_line if -P.
10238
10239 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10240
10241         * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
10242         callbacks.
10243         * c-parse.in (finish_parse): Use cpp_errors.
10244         (__yylex): Use return value of cpp_pop_buffer.
10245         * cp/lex.c (finish_parse): Use cpp_errors.
10246         * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
10247
10248 Sat Jan 13 16:57:40 2001  Denis Chertykov  <denisc@overta.ru>
10249
10250         * README.AVR: URLs corrected.
10251
10252 Sat Jan 13 07:30:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10253
10254         * c-decl.c (start_function): Don't warn if old prototype is builtin
10255         that's not in C's namespace.
10256         * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
10257         (_bb): Add prototype for ctime.
10258         * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
10259
10260 Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
10261
10262         * i386.c (ix86_fp_comparison_arithmetics_cost,
10263         ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
10264         ix86_fp_comparison_cost): New functions.
10265         (ix86_expand_fp_compare): Use the costs to choose best bethod; add
10266         two new parameters SECOND_TEST and BYPASS_TEST; allow generating
10267         two-branch sequences; make static.
10268         (ix86_use_fcomi_compare): Do decision according to the costs.
10269         (split_fp_branch): New.
10270         * i386.md (compare-and-branch patterns): Use split_fp_branch.
10271         * i386-protos.h (ix86_expand_fp_compare): Remove
10272         (ix86_split_fp_branch): Declare.
10273
10274         * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
10275         and ix86_comparison_operator.
10276
10277         * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
10278         to make it cheaper.
10279
10280         * i386.c (put_condition_code): Output properly the unordered/ordered
10281         compares in fp case.
10282         (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
10283
10284         * tm.texi (REVERSE_CONDITION): Document.
10285         * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
10286         in -ffast-math mode.
10287         * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
10288
10289 2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
10290
10291         * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
10292
10293         * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
10294         optimized away.
10295
10296         * config/sh/sh.c (mova_p): Fix test for mova_const.
10297
10298 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10299
10300         * fix-header.c (read_scan_file): Use cpp_get_callbacks and
10301         cpp_get_options rather than dereferencing pfile and using
10302         CPP_OPTION.
10303         * scan-decls.c (scan_decls): Use return value of
10304         cpp_pop_buffer rather than CPP_BUFFER.
10305
10306 2001-01-13  Neil Booth  <neil@daikokuya.demon.co.uk>
10307
10308         * cppinit.c (cpp_handle_option): help_only is now part of the
10309         cpp_options structure.
10310         * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
10311         cpp_set_callbacks): New functions.
10312         * cpplib.h (cpp_callbacks): Break out as a named structure.
10313         (cpp_options): Move help_only here from cpp_reader.
10314         (CPP_FATAL_ERRORS): Update to use cpp_errors.
10315         (cpp_errors, cpp_get_options, cpp_get_callbacks,
10316         cpp_set_callbacks): New prototypes.
10317         * cppmain.c (main): Update for help_only.
10318
10319 2001-01-13  Joseph S. Myers  <jsm28@cam.ac.uk>
10320
10321         * Makefile.in (info, maintainer-clean, install-info, uninstall):
10322         Also build and remove and install and uninstall c-tree.info and
10323         cppinternals.info.
10324         ($(srcdir)/gcc.info): Add dependency on contrib.texi.
10325         ($(srcdir)/cppinternals.info): New target.
10326         * c-tree.texi: Change file name used when makeinfo used without -o
10327         from ir.info to c-tree.info.  Add info directory entry.
10328         * cppinternals.texi: Add info directory entry.
10329         * .cvsignore: Update.
10330
10331 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
10332
10333         * c-typeck.c (store_init_value): Don't require constant initializer
10334         elements with -pedantic -std=c99.
10335         (digest_init): Change error about non-constant initializer elements
10336         into pedwarn.
10337         (constructor_range_end): Remove.
10338         (constructor_incremental, designator_depth,
10339         designator_errorneous): New variables.
10340         (struct constructor_stack): Remove range_end, add incremental.
10341         (struct constructor_range_stack, constructor_range_stack): New.
10342         (struct initializer_stack): Add constructor_range_stack.
10343         (finish_init): Set it.
10344         (start_init): Likewise.  require_constant_elements for non-static
10345         trees only if not flag_isoc99.
10346         (really_start_incremental_init): Remove constructor_range_end, add
10347         constructor_incremental.
10348         (pop_init_level): Likewise.
10349         (push_init_level): Likewise.  If implicit and the subobject had some
10350         value set already, preinitialize the level with it.
10351         Warn about missing braces only if not pushing due to designators.
10352         (set_designator, push_range_stack): New functions.
10353         (set_init_label): Use them.
10354         (set_init_index): Likewise.  Remove constructor_range_end.
10355         Error if designator index is outside of array bounds.
10356         (add_pending_init): Compare values of purpose index trees, not the
10357         trees themselves.  Allow overwriting of already initialized element.
10358         Issue a warning if it had side-effects.
10359         (set_nonincremental_init, set_nonincremental_init_from_string): New
10360         functions.
10361         (pending_init_member): Rename to...
10362         (find_init_member): ...this function.  Call set_nonincremental_init
10363         if necessary.  Compare values of purpose index trees, not the trees
10364         themselves.  Return the actual value, not just non-zero if something
10365         is found.
10366         (output_init_element): Remove checks for duplicates.
10367         If field has zero size, only check the initializer for correctness.
10368         Call set_nonincremental_init if necessary.  Push RECORD/ARRAY into AVL
10369         if constructor_incremental is zero.  Change error about initializers
10370         not computable at load time into pedwarn.
10371         (output_pending_init_elements): Compare bit positions, not
10372         FIELD_DECLs to take into account zero-sized fields.
10373         (process_init_element): Use constructor_range_stack to fill all
10374         ranges in the designator lists from current level up.
10375         * extend.texi: Update documentation for labeled elements.
10376
10377 2001-01-12  Alexandre Oliva  <aoliva@redhat.com>
10378
10379         * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
10380         to function usage for arguments passed by reference.  Optimize
10381         callee-copied arguments.
10382         * regmove.c (replace_in_call_usage): New function.
10383         (fixup_match_1): Call it.
10384         * cse.c (cse_insn): Canonicalize registers in function usage.
10385         * reload1.c (replace_pseudos_in_call_usage): New function.
10386         (reload): Call it.
10387
10388         * Makefile.in: Reverted yesterday's wrong patch.  Installed the
10389         right version.
10390
10391 2001-01-12  Jakub Jelinek  <jakub@redhat.com>
10392
10393         * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
10394         not XEXP (tmp, 0).
10395
10396 2001-01-12  DJ Delorie  <dj@redhat.com>
10397
10398         * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
10399         restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
10400         targets.
10401
10402 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
10403
10404         * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
10405         tm.texi: Consistently refer to ISO C instead of ANSI C.  Refer to
10406         -std options alongside references to -ansi.  Update some
10407         documentation for C99.
10408         * cpp.1: Regenerate.
10409
10410 2001-01-12  Andreas Jaeger  <aj@suse.de>
10411
10412         * haifa-sched.c (restore_line_notes): Remove argument block B
10413         since it's unused.
10414         * sched-ebb.c (schedule_ebb): Change caller.
10415         * sched-rgn.c (schedule_region): Likewise.
10416         * sched-int.h (restore_line_notes): Adjust prototype.
10417
10418         * loop.h: Remove wrong declaration of doloop_condition_get.
10419
10420 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
10421
10422         * extend.texi:  Move C++-extension-related node from the C section
10423         into the C++ section.
10424
10425 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
10426
10427         * extend.texi: Refer to an array of pointers to functions instead
10428         of one of functions.
10429
10430 Fri Jan 12 12:08:12 MET 2001  Andreas Jaeger  <aj@suse.de>
10431                               Jan Hubicka  <jh@suse.cz>
10432
10433         * combine.c (reversed_comparison): Fix typo in last patch.
10434         Check X for NULL.
10435         (combine_reversed_comparison_code): Make static to follow
10436         prototype declaration.
10437
10438 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
10439
10440         * install.texi:  Remove misplaced duplicate entry.
10441
10442 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
10443
10444         * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
10445
10446 Thu Jan 11 17:06:30 EST 2001  John Wehle  (john@feith.com)
10447
10448         * final.c: (leaf_function_p): Fix typo.
10449
10450 2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>
10451
10452         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
10453         Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
10454         which you have.
10455         (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
10456         * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
10457         mmap_anon, and valloc is available.
10458         * ggc-page.c: Restructure ifdef logic to match new autoconf
10459         spec.  Don't throw away the test page in init_ggc.
10460
10461         * configure, config.in: Regenerate.
10462
10463 2001-01-12  Michael Hayes  <mhayes@redhat.com>
10464
10465         * loop.h (total_biv_increment): Constify iv_class pointer.
10466         (struct induction): Replace `mem_mode' with `mem' rtx.
10467         * unroll.c (total_biv_increment): Constify iv_class pointer.
10468         * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
10469         (find_mem_givs, combine_givs_p): Likewise.
10470         (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
10471
10472 2001-01-10  Thomas Pfaff <tpfaff@gmx.net>
10473
10474         * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
10475         LastError.
10476         (__gthread_getspecific): Ditto.
10477
10478 Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
10479
10480         * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
10481         put_condition_code): Convert fp comparison codes to integer
10482         before handling.
10483         (ix86_expand_fp_compare): Postnote the fp comparison code converison
10484         to final.
10485
10486         * i386.c (unsigned_comparison, no_comparison_operator): Kill.
10487         * i386-protos.h (no_comparison_operator): Kill.
10488
10489         * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
10490
10491         * combine.c (REVERSIBLE_CC_MODE): Remove.
10492         (reversible_comparison_p): Remove.
10493         (combine_reversed_comparison_code): New.
10494         (reversed_comparison): New.
10495         (combine_simplify_rtx): Use
10496         combine_reversed_comparison_code/reversed_comparison instead
10497         of reversible_comparison_p.
10498         (simplify_if_then_else): Likewise.
10499         (simplify_set): Likewise.
10500         (simplify_logical): Likewise.
10501         (if_then_else_cond): Likewise.
10502         (known_cond): Likewise.
10503         (simplify_comparison): Likewise.
10504
10505 2001-01-11  Alan Lehotsky  <lehotsky@tiac.net>
10506
10507         * builtins.c (std_expand_builtin_va_start): Handle varargs when
10508         sizeof (int) is larger than sizeof(__word__).
10509
10510 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10511
10512         * cppinit.c (do_includes): Fix typo.
10513
10514 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10515
10516         * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
10517         in S_REGS does not occur because not all sources are possible
10518         when a S_REGS is a destination (sometimes needs a clobber).
10519         (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
10520         (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
10521         (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
10522         (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
10523         (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
10524         (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
10525         (lshrdi_const1, lshrsi3_const16): Likewise.
10526         (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
10527         (*movhi_68hc12, *movqi_68hc12): Likewise.
10528         (movstrictqi): Make sure reloading in D_REGS as a destination
10529         does not happen.
10530
10531 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10532
10533         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
10534
10535 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10536
10537         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
10538         -D, -U and -A, and don't initialize the builtins.
10539         (do_includes): Error if -include or -imacros with -fpreprocessed.
10540         * cppmain.c (cb_define, cb_undef): Unconditionally process
10541         the callback.
10542         * tradcpp.c (main): Fix typo.
10543
10544 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
10545
10546         * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
10547         (read_name_map): Use IS_ABSOLUTE_PATH.
10548         * tradcpp.c (get_filename): Likewise.
10549
10550 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10551
10552         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
10553         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
10554         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
10555         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
10556         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
10557         (cmphi_z_used): Don't use '@' for the output.
10558         (tstqi_z_used): Likewise.
10559         (cmpqi_z_used): Likewise.
10560         (one_cmplsi2): Likewise.
10561
10562 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
10563
10564         * config/sh/sh.c (barrier_align): Recognize branch around far
10565         branch and redundant insn.
10566
10567 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
10568
10569         * invoke.texi: Restore documentation of the drivers' switches -MD
10570         and -MMD.
10571
10572 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
10573
10574         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
10575
10576         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
10577         check-objc//%): Support parallel testing of multilibs.
10578         (TESTSUITEDIR): Set to testsuite by default, but override for
10579         parallel testing.
10580         (check-gcc, check-g++, check-g77, check-objc): Enter
10581         $(TESTSUITEDIR).
10582
10583 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
10584
10585         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
10586         * sched-deps.c (deps_may_trap_p): Likewise.
10587         * basic-block.h: Remove a comment.
10588         * flow.c (PROP_POSTRELOAD): Remove.
10589         (update_life_info): Don't add it to prop_flags.
10590         (mark_set_1): Lose the code that was enabled by it.
10591
10592 2001-01-11  Michael Hayes  <mhayes@redhat.com>
10593
10594         * flow.c (flow_call_edges_add): New.
10595         * basic_block.h (flow_call_edges_add): New.
10596
10597 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
10598
10599         * reload1.c (move2add_note_store): Update reg_set_luid even if
10600         base reg remains the same.
10601
10602 2001-01-10  Nick Clifton  <nickc@redhat.com>
10603
10604         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
10605         machine_function structure to zero.
10606         Add prototypes for machine_status functions.
10607
10608 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
10609
10610         * c-common.h (CTI_VOID_LIST): Remove.
10611         (void_list_node): Likewise.
10612         * tree.h (TI_VOID_LIST_NODE): New enumeral.
10613         (void_list_node): New macro.
10614         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
10615         * config/i386/i386.c (ix86_init_builtins): Likewise.
10616         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
10617
10618 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10619
10620         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
10621         * cppinit.c (cpp_start_read): Update comment, remove unneeded
10622         if statement.
10623         * tradcpp.c: Include mkdeps.h.
10624         (deps, print_deps_phony_targets, deps_append, output_deps,
10625         init_dependency_output, output_deps): New.
10626         (deps_buffer, deps_allocated_size, deps_size, deps_column,
10627         deps_output): Delete.
10628         (print_deps_missing_files): Rename deps_missing_files.
10629         (inhibit_output): Make global.
10630         (main): Delete inhibit_output, deps_stream, deps_target.
10631         Use mkdeps functionality in the same way as cpplib.  Remove
10632         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
10633         -M and -MM.  Remove old handling of deps via deps_out, and
10634         old reading of environment variables.
10635         (get_filename): Update to use deps_add_dep.
10636
10637 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
10638
10639         * output.h (make_function_rtl): Remove prototype.
10640         (make_decl_rtl): Likewise.
10641         * varasm.c (make_function_rtl): Remove.
10642         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
10643         than from a third parameter.
10644         * tree.h (make_decl_rtl): Remove last parameter.
10645         * c-decl.c (builtin_function): Remove last argument in call to
10646         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
10647         (start_function): Likewise.
10648         * except.c (call_get_eh_context): Likewise.
10649         * expr.c (emit_block_move): Likewise.
10650         (clear_storage): Likewise.
10651         * profile.c (output_func_start_profiler): Likewise.
10652         * toplev.c (rest_of_decl_compilation): Likewise.
10653         * objc/objc-act.c (create_builtin_decl): Likewise.
10654         (synth_module_prologue): Likewise.
10655         (generate_static_reference): Likewise.
10656         (build_selector_reference_decl): Likewise.
10657         (build_class_reference_decl): Likewise.
10658         (build_objc_string_decl): Likewise.
10659         (build_protocol_reference): Likewise.
10660
10661 2001-01-10  Richard Henderson  <rth@redhat.com>
10662
10663         * hwint.h: Revert yesterday's change.
10664
10665 2001-01-10  Nick Clifton  <nickc@redhat.com>
10666
10667         * function.h (save_machine_status): Delete.
10668         (restore_machine_status): Delete.
10669         Amend comment describing {init|mark|free}_machine_status.
10670
10671         * function.c (save_machine_status): Delete.
10672         (restore_machine_status): Delete.
10673         Amend comment describing {init|mark|free}_machine_status.
10674         (push_function_context_to): Remove invocation of
10675         save_machine_status.
10676         (pop_function_context_from): Remove invocation of
10677         restore_machine_status.
10678
10679         * emit-rtl.c (init_emit_once): Amend comment describing
10680         {init|mark|free}_machine_status.
10681
10682         * tm.texi (Per-Function Data): New node.  Describe the
10683         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
10684         function pointers.
10685
10686 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10687
10688         * cppinit.c (OPT_g): Remove.
10689         (cpp_handle_option): Update for removed -g3.
10690         (print_help): Update.
10691         * cpplib.h (struct cpp_options): Remove debug_output.
10692         * cppmain.c (setup_callbacks, cb_define): Update.
10693         * gcc.c (cpp_options): Translate -g3 to -dD.
10694
10695 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
10696
10697         * config/i960/i960.md: Change modifier to + on the zero_extract
10698         pattern after the (rotate -2 reg) canonicalization pattern.
10699
10700 2001-01-10  Richard Henderson  <rth@redhat.com>
10701
10702         * config/alpha/alpha.c (alpha_free_machine_status): New.
10703         (override_options): Install it.
10704         (alpha_mark_machine_status): Verify machine non-null.
10705         * config/i386/i386.c (ix86_free_machine_status): New.
10706         (override_options): Install it.
10707         (ix86_init_machine_status): Use xcalloc.
10708         (ix86_mark_machine_status): Verify machine non-null.
10709         * config/ia64/ia64.c (ia64_free_machine_status): New.
10710         (ia64_override_options): Install it.
10711         (ia64_mark_machine_status): Verify machine non-null.
10712
10713 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
10714
10715         * function.c (instantiate_virtual_regs): Instantiate virtual
10716         registers found in CALL_INSN_FUNCTION_USAGE.
10717
10718 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10719
10720         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
10721         equivalent to -ansi in disabling -Di386.
10722
10723 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
10724
10725         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
10726         new functions.
10727         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
10728
10729 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
10730
10731         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
10732
10733 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10734
10735         * invoke.texi: Document that -fcond-mismatch isn't supported for
10736         C++.
10737
10738 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
10739
10740         * gcc.texi: Define macro gcctabopt.
10741         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
10742         @command, @env and @option in some places where appropriate.  Use
10743         @gcctabopt where appropriate.  Put URLs and email addresses inside
10744         @w.
10745
10746 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
10747
10748         * gcc.c (cpp_options): Set MD file name from output
10749         filename, if specified.
10750         (suffix_subst): New static variable.
10751         (do_spec): Clear it.
10752         (do_spec_1, case '.'): Handle new `%.suffix' spec.
10753         Clear it.
10754         (give_switch): Handle suffix_subst.
10755
10756 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
10757
10758         * invoke.texi:  Fix another typo.
10759
10760 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
10761
10762         * invoke.texi:  Fix typo.
10763
10764 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
10765
10766         * c-lang.c (lang_hooks): Update.
10767         (lang_decode_option): Remove.
10768         (lang_init_options): Rename c_init_options.
10769         * toplev.c (main): Use lang_hooks for lang_init_options
10770         and lang_decode_option.
10771         * toplev.h (lang_hooks): Add 2 new hooks.
10772         * tree.h: Remove lang_init_options and lang_decode_option.
10773         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
10774         * cp/decl2.c: Similarly.
10775         * cp/lex.c (lang_init_options): Rename cxx_init_options.
10776         (lang_hooks): Update.
10777         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
10778         for consistency.
10779         (lang_init_options): Rename ffe_init_options.
10780         (lang_hooks): Update.
10781         (lang_decode_option): Remove.
10782         * java/lang.c (lang_init_options): Rename java_init_options.
10783         (lang_decode_option): Rename java_decode_option.
10784         (lang_hooks): Update.
10785         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
10786         (lang_decode_option): Rename objc_decode_option.
10787         (lang_hooks): Update.
10788
10789 2001-01-09  Nick Clifton  <nickc@redhat.com>
10790
10791         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
10792         (d30v_return_addr_rtx): Delete.
10793         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
10794         cfun->machine structure.
10795         (struct machine_function): Move to d30v.h
10796         (d30v_save_machine_status): Delete.
10797         (d30v_restore_machine_status): Delete.
10798         (d30v_init_machine_status): New Function.
10799         (d30v_mark_machine_status): New Function.
10800         (d30v_free_machine_status): New Function.
10801         (d30v_init_expanders): Use new functions.
10802         (d30v_return_addr): Use ra_rtx field in cfun->machine.
10803         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
10804         d30v_return_addr_rtx.
10805
10806         * config/d30v/d30v.h (struct_machine): Move here.
10807         Add eh_epilogue_sp_ofs field.
10808
10809         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
10810         field in cfun->machine structure.
10811
10812 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10813
10814         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
10815         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
10816         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10817
10818 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
10819
10820         * objc/lang-options.h: Remove bogus reference to
10821         Java trademark.
10822
10823 2001-01-09  Kazu Hirata  <kazu@hxi.com>
10824
10825         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
10826         return the result.
10827
10828 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
10829
10830         * reload.c (find_reloads_address): Check for eliminable registers
10831         when substituting a constant expression for a pseudo.
10832
10833 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
10834
10835         * c-common.c (enum format_type): Add format_type_error.
10836         (decode_format_type): New function.
10837         (decl_attributes): Use it.
10838         (format_kind_info): Adjust comment.
10839
10840 2001-01-09  David O'Brien  <obrien@BSDi.com>
10841
10842         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
10843         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
10844         files in tm_file.
10845         * config/i386/gnu.h: Don't include required platform specific .h files,
10846         tm.h will do it instead.
10847         * config/i386/i386elf.h: Likewise.
10848         * config/i386/linux.h: Likewise.
10849         * config/i386/moss.h: Likewise.
10850         * config/mips/gnu.h: Likewise.
10851
10852 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10853
10854         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
10855         (rs6000-ibm-aix3.[01]*): Likewise.
10856         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
10857         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
10858         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
10859         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10860         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
10861         (powerpc-*-eabiaix*): Likewise.
10862         (powerpc-*-eabisim*): Likewise.
10863         (powerpc-*-elf*): Likewise.
10864         (powerpc-*-eabi*): Likewise.
10865         (powerpc-*-rtems*): Likewise.
10866         (powerpc-*-linux*libc1): Likewise.
10867         (powerpc-*-linux*): Likewise.
10868         (powerpc-wrs-vxworks*): Likewise.
10869         (powerpcle-wrs-vxworks*): Likewise.
10870         (powerpcle-*-sysv*): Likewise.
10871         (powerpcle-*-elf*): Likewise.
10872         (powerpcle-*-eabisim*): Likewise.
10873         (powerpcle-*-eabi*): Likewise.
10874         (powerpcle-*-solaris2*): Likewise.
10875         * config/rs6000/aix31.h: Delete includes.
10876         * config/rs6000/aix3newas.h: Likewise.
10877         * config/rs6000/aix41.h: Likewise.
10878         * config/rs6000/aix43.h: Likewise.
10879         * config/rs6000/beos.h: Likewise.
10880         * config/rs6000/rtems.h: Likewise.
10881         * config/rs6000/sysv4.h: Likewise.
10882
10883 2001-01-09  Kazu Hirata  <kazu@hxi.com>
10884
10885         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
10886         Change an argument mode of machine_mode to shift_mode of
10887         shift_mode.  Remove an extra error check.
10888         (emit_a_shift): Adopt to the new calling prototype of
10889         get_shift_alg.
10890         (function_prologue): Fix code for a monitor
10891         function.  Support H8/S.
10892         (function_epilogue): Do not output pop for a monitor function.
10893
10894 2001-01-09  Nick Clifton  <nickc@redhat.com>
10895
10896         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
10897         (setup_incoming_varargs): Use sysv_varargs_p field of the
10898         cfun->machine structure.
10899         (struct machine_function): Move to rs6000.h
10900         (rs6000_save_machine_status): Delete.
10901         (rs6000_restore_machine_status): Delete.
10902         (rs6000_init_machine_status): New Function.
10903         (rs6000_free_machine_status): New Function.
10904         (rs6000_init_expanders): Use new functions.
10905
10906         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
10907         export.
10908         (struct machine_function): Move here.
10909
10910         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
10911         sysv_varargs_p field of the cfun->machine structure.
10912
10913         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
10914         Remove prototype.
10915         (rs6000_restore_machine_status): Remove prototype.
10916
10917 2001-01-09  Richard Henderson  <rth@redhat.com>
10918
10919         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
10920         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
10921         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
10922         (sched_analyze_2, sched_analyze_insn): Likewise.
10923         (sched_analyze, init_deps): Likewise.
10924         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
10925         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
10926         (compute_block_backward_dependences): Update propagate_deps call.
10927
10928 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
10929
10930         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
10931
10932 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10933
10934         * cppinit.c (OPT_MD, OPT_MMD): Restore.
10935         (cpp_handle_option): Handle them.
10936         (cpp_post_options): Ensure one of -M or -MM is specified with
10937         any other -M? option.
10938         (init_dependency_output): Suppress output with -MG.
10939
10940 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10941
10942         * cpp.texi: Update.
10943         * invoke.texi: Update.
10944
10945 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
10946
10947         * sh.md (reload_outsf): Generate recognizable patterns for
10948         TARGET_SH3E.
10949
10950 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10951
10952         * c-lang.c (lang_hooks): Update.
10953         (lang_init): Rename c_init.
10954         (lang_finish): Remove.
10955         * toplev.c (compile_file): Use lang_hooks for lang_init ()
10956         and lang_finish ().
10957         * toplev.h (lang_hooks): Add init () and finish ().
10958         * tree.h (lang_init, lang_finish): Remove.
10959         * cp/tree.h (lang_init, lang_finish): Remove.
10960         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
10961         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
10962         lang_hooks): New.
10963         (lang_init, lang_finish): Remove.
10964         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
10965         (lang_hooks): Update.
10966         * java/lang.c (lang_init): Rename java_init.
10967         (lang_finish): Remove.
10968         (lang_hooks): Update.
10969         * objc/objc-act.c (lang_init): Rename objc_init.
10970         (lang_finish): Remove.
10971         (lang_hoooks): Update.
10972
10973 20001-01-09  Graham Stott  <grahams@redhat.com>
10974
10975         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
10976         after `ptr` is initialised.
10977
10978 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
10979
10980         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
10981         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
10982         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
10983         stack adjusts, instead of r3.
10984
10985 2001-01-09  Michael Hayes  <mhayes@redhat.com>
10986
10987         * flow.c (flow_loop_scan): Break out of ...
10988         (flow_loops_find) ... here.
10989         * basic-block.h (flow_loop_scan): New.
10990         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
10991         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
10992
10993 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
10994
10995         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
10996         macro_buffer_len.
10997         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
10998         realloc()ing macro_buffer.
10999
11000         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
11001         if it's wider than long and the target's long is wider than the
11002         host's.
11003
11004 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
11005
11006         Remove support for using UWIN as a host machine.
11007         * configure.in: Issue an error message.
11008         * configure: Regenerated.
11009         * config.gcc: Remove xm_* UWIN configury.
11010         * config/i386/xm-uwin.h: Remove.
11011
11012 2001-01-08  Nick Clifton  <nickc@redhat.com>
11013
11014         * config/v850/v850.c (ra_rtx): Delete.
11015         (v850_save_machine_status): Delete.
11016         (v850_restore_machine_status): Delete.
11017         (v850_init_machine_status): New function.
11018         (v850_mark_machine_status): New function.
11019         (v850_free_machine_status): New function.
11020         (v850_return_addr): Use ra_rtx field in machine structure.
11021         (v850_init_expanders): Use new functions.
11022
11023         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
11024         * config/v850/v850.c: Change arguments to v850_output+* functions
11025         to take a const char *, to avoid compile time warning.
11026         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
11027         (USER_LABEL_PREFIX): Redefine.
11028
11029 2000-01-08  Jim Wilson  <wilson@redhat.com>
11030
11031         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
11032         1 to unsigned HOST_WIDE_INT before left shift.
11033
11034 2001-01-08  Nick Clifton  <nickc@redhat.com>
11035
11036         * config/arm/arm.c (arm_mark_machine_status): Check to see if
11037         the machine structure has been allocated.
11038         (arm_free_machine_status): New function: Free the machine
11039         specific function structure.
11040
11041 2001-01-08  Richard Henderson  <rth@redhat.com>
11042
11043         * jump.c (simplejump_p): Revert last change.
11044
11045 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
11046
11047         * cppinit.c (init): Rename init_library.
11048         (cpp_create_reader): Update.
11049         * gcc.c (cpp_options): If -o given, use it as the target of
11050         any -M options.
11051
11052 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
11053
11054         * arm.c (arm_arch5e): New variable.
11055         (all_cores): XScale is a 5TE device.
11056         (arm_override_options): Set arm_arch5e.
11057         (arm_init_builtins): __builtin_prefetch is in arch5e.
11058         * arm.h (arm_arch5e): Declare it.
11059
11060         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
11061
11062         * arm.md (define_constants): Add defines for UNSPEC and
11063         UNSPEC_VOLATILE insns.  Update all users.
11064         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
11065         * arm.c (multi_register_push, note_invalid_constants)
11066         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
11067         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
11068         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
11069
11070 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
11071
11072         * jump.c (jump_optimize_1): Use reversed_comparison_code
11073         instead of can_reverse_comparison_p.
11074         (jump_back_p): Likewise.
11075         (invert_exp_1): Likewise.
11076         (thread_jumps): Likewise.
11077         * simplify-rtx.c (simplify_unary_operation): Likewise.
11078         (simplify_ternary_operation): Likewise.
11079         * cse.c (find_comparison_args): Convert to use
11080         can_reverse_comparison_p.
11081         (record_jump_equiv): Likewise.
11082
11083 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
11084
11085         * arm.h (HARD_REGNO_RENAME_OK): Delete.
11086         (EPILOGUE_USES): Define.
11087         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
11088         automatically stack the LR if it isn't live.
11089
11090 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
11091
11092         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
11093         properly.
11094
11095 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
11096
11097         * ggc-page.c (max_alignment): New structure.
11098         (MAX_ALIGNMENT): New macro.
11099         (init_ggc): Use it to round up the sizes in the
11100         extra_order_size_table.
11101
11102 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11103
11104         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
11105         after reload.
11106
11107 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11108
11109         * builtins.def (BUILT_IN_FPRINTF): New entry.
11110
11111         * c-common.c (c_expand_builtin_fprintf): New function.
11112         (init_function_format_info): Handle __builtin_fprintf.
11113         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
11114         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
11115
11116         * c-decl.c (duplicate_decls): Adjust comment.
11117
11118         * extend.texi (fprintf): Document new builtin.
11119
11120 2001-01-07  Richard Henderson  <rth@redhat.com>
11121
11122         * jump.c (simplejump_p): Recognize any single_set jump
11123         of the proper form.
11124
11125 2001-01-07  Richard Henderson  <rth@redhat.com>
11126
11127         * configure.in (slibdir): Accept an --with-slibdir option.
11128         Use "test" not "[" in configure.  Default to $(libdir).
11129
11130         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
11131         fix typo in rm -f.
11132         * config/t-aix43 (SHLIB_INSTALL): Likewise.
11133         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
11134         (SHLIB_LINK): Create links for the soname.
11135         * config/mips/t-iris6: Likewise.
11136         * config/sparc/t-slibgcc: Likewise.
11137         * config/sparc/t-slibgcc-sld: Likewise.
11138
11139 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
11140
11141         * config/i386/i386.c (constant_call_address_operand): Accept
11142         (const (plus (symbol_ref) (const_int))).
11143         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
11144         constant_call_address_operand.
11145
11146 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11147
11148         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
11149         and LONG_LONG_TYPE_SIZE > 32.
11150
11151 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11152
11153         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
11154         the previous change.
11155
11156 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
11157
11158         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
11159         New.
11160         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
11161         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
11162         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
11163         Declare.
11164
11165 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11166
11167         * fix-header.c (read_scan_file): s/pfile/scan_in/.
11168
11169 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11170
11171         * c-lang.c (c_post_options): Call cpp_post_options.
11172         * objc/objc-act.c (objc_post_options): Similarly.
11173         * cppmain.c (main): Similarly.
11174         * fix-header.c (read_scan_file): Similarly.
11175         * cppinit.c (cpp_start_read): Move option consistency checks
11176         to cpp_post_options.  Don't call init_dependency_output.
11177         If needed, add default target and main file dependency.
11178         (OPT_MD, OPT_MMD): Remove.
11179         (OPT_MF): New.
11180         (cpp_handle_option): Update for OPT_* changes.
11181         (cpp_post_options): New.
11182         (init_dependency_output): Command line -MF overrides environment
11183         variables.  Don't set default target etc.  Suppress output
11184         if dependencies are going to stdout.
11185         (print_help): Update.
11186         * cpplib.h (cpp_post_options): New.
11187         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
11188
11189 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
11190
11191         * jump.c (comparison_dominates_p): Support unordered compares.
11192
11193 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
11194
11195         * simplify-rtx.c (simplify_relational_operation): Always simplify
11196         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
11197         and UNGE.
11198
11199 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
11200
11201         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
11202         (nonzero_bits): Likewise.
11203         (simplify_comparison): Likewise.
11204         (num_sign_bit_copies): Likewise; return more sane value depending
11205         on STORE_FLAG_VALUE.
11206         (known_cond): Do not assume EQ to be always true for equivalent
11207         operands.
11208
11209 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
11210
11211         * cse.c (fold_rtx): Handle unordered comparisons.
11212
11213 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
11214
11215         * rtlanal.c (set_of_1): New static function.
11216         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
11217          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
11218          reg_set_last_last_regno): Remove.
11219         (set_of): New global function.
11220         (set_of_data): New structure.
11221         (reg_set_p, reg_set_last): Revamp for set_of.
11222         * rtl.h (set_of): New.
11223
11224 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
11225
11226         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
11227         * extend.texi: Document _Exit builtin.
11228
11229 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11230
11231         * (initialize, initialize_builtins,
11232         initialize_dependency_output, initialize_standard_includes):
11233         Rename s/initialize/init. Update.
11234         (init_dependency_output): Move to after
11235         cpp_handle_options, the correct location temporally at least.
11236         (opt_comp): Move next to init (), its caller.  Fix prototype.
11237         (init): Make "initialized" local scope.
11238         (cpp_create_reader): Always call init ().
11239         (cpp_start_read): Update.
11240         (output_deps): New function, broken out of cpp_finish.
11241         (cpp_finish): Break out output_deps.
11242
11243 2001-01-07  Richard Henderson  <rth@redhat.com>
11244
11245         * collect2.c (COFF specific stuff): Revert 12-06 patch
11246         to prototype system functions.
11247
11248 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11249
11250         * hard-reg-set.h: Add multiple include guard.
11251         * basic-block.h (struct loop): Add `sink' field.
11252         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
11253         (emit_iv_add_mult): Delete.
11254         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
11255         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
11256         (unroll_loop): Remove end_insert_before argument.
11257         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
11258         (maybe_eliminate_biv_1): Likewise.
11259         (emit_iv_add_mult): Delete.
11260         (gen_add_mult, loop_regs_update): New.
11261         (loop_insn_emit_after, loop_insn_emit_before): New.
11262         (loop_insn_sink, loop_insn_sink_or_swim): New.
11263         (emit_iv_add_mult): Delete.
11264         (scan_loop): Set loop->sink.
11265         (loop_givs_reduce): Use loop_insn_sink and its ilk.
11266         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
11267         (maybe_eliminate_biv_1): Likewise.
11268         (maybe_eliminate_biv_1): Add basic block argument.
11269         * unroll.c (unroll_loop): Remove end_insert_before argument.
11270         (find_splittable_regs): Likewise.
11271         (find_splittable_regs): Use loop_insn_sink and its ilk.
11272         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
11273
11274 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11275
11276         * loop.h (loop_insn_hoist): New prototype.
11277         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
11278         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
11279         (check_dbra_loop, load_mems): Likewise.
11280         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
11281         (find_splittable_givs): Likewise.
11282
11283 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11284
11285         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
11286
11287 2001-01-07  Richard Henderson  <rth@redhat.com>
11288
11289         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
11290
11291 2001-01-07  Richard Henderson  <rth@redhat.com>
11292
11293         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
11294         NO_SHARED_LIBGCC_MULTILIB as required for the target.
11295         * gcc.c (init_spec): Massage the existing libgcc_spec into a
11296         variant that handles a shared libgcc.
11297         (process_command): Always validate -{static,shared}-libgcc.
11298         (do_spec_1): New 'M' case.
11299         * invoke.text (Link Options): Document -{static,shared}-libgcc.
11300
11301 2001-01-07  Richard Henderson  <rth@redhat.com>
11302
11303         * Makefile.in (slibdir): New variable.
11304         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
11305         (installdirs): Create slibdir.
11306         (install-libgcc, install-multilib): Defer to libgcc.mk.
11307         * configure.in (slibdir): Substitute.
11308         * mklibgcc.in (install): New target.
11309
11310         * config/t-linux (SHLIB_LINK): Create links for the soname.
11311         (SHLIB_INSTALL): New.
11312         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
11313         * config/mips/t-iris6 (SHLIB_INSTALL): New.
11314         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
11315         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
11316         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
11317
11318 2001-01-07  Richard Henderson  <rth@redhat.com>
11319
11320         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
11321         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
11322         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
11323
11324 2001-01-07  Michael Hayes  <mhayes@redhat.com>
11325
11326         * loop.c (count_loop_regs_set): Delete.
11327         (load_mems_and_recount_loop_regs_set): Delete.
11328         (loop_regs_scan): Merge common code from count_loop_regs_set,
11329         scan_loop, and load_mems_and_recount_loop_regs_set.
11330         (scan_loop): Call load_mems directly and loop_regs_scan
11331         again if new registers created.
11332
11333 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11334
11335         * toplev.c (main): Call the front-end specific post_options
11336         hook if one is given.
11337         * toplev.h (struct_lang_hooks, lang_hooks): New.
11338         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
11339         for the C front end.
11340         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
11341         lang_hooks for the C++ front end.
11342         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
11343         lang_hooks for the ObjC front end.
11344         * f/com.c (lang_hooks): Hooks for the Fortran front end.
11345         * java/lang.c (lang_hooks): Hooks for the Java front end.
11346
11347 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
11348
11349         * c-lex.c (init_c_lex): Request #define / #undef callbacks
11350         for verbose DWARF[2] debugging.
11351         (cb_define, cb_undef): The new callbacks.
11352         * toplev.h (debug_define, debug_undef): Make const correct.
11353         * toplev.c (debug_define, debug_undef): Similarly.  Do not
11354         perform the verbosity tests here anymore.
11355
11356 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
11357
11358         * reload.c (subst_reloads): Take INSN argument.  When
11359         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
11360         * reload.h (subst_reloads): Adjust prototype.
11361         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
11362         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
11363         present in JUMP_INSNs and copy them to JUMP_LABEL.
11364         * flow.c (find_label_refs, find_basic_blocks_1): Skip
11365         JUMP_INSNs and insns with REG_LABELs that are followed by
11366         JUMP_INSNs with the same REG_LABEL.
11367         * sched-rgn.c (is_cfg_nonregular): Likewise.
11368         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
11369         note is available.
11370         * unroll.c (unroll_loop): Look for REG_LABEL notes in
11371         JUMP_INSNs too.
11372         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
11373
11374 2001-01-06  Richard Henderson  <rth@redhat.com>
11375
11376         * loop.c (scan_loop): Use xcalloc for the regs array.
11377         (load_mems_and_recount_loop_regs_set): Zero the new memory
11378         received from xrealloc.
11379
11380 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
11381
11382         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
11383
11384 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
11385
11386         * integrate.c (copy_rtx_and_substitute): When copying
11387         an ignored return value, strip REG_FUNCTION_VALUE_P.
11388
11389 2001-01-06  Michael Hayes  <mhayes@redhat.com>
11390
11391         * loop.c (debug_biv, debug_giv): New.
11392         (loop_biv_dump): Break out from ...
11393         (record_biv): ... here.
11394         (loop_giv_dump): Break out from ...
11395         (record_giv): ... here.
11396         (loop_bivs_check): Use print_simple_rtl.
11397         * unroll.c (loop_iterations): Use print_simple_rtl.
11398
11399 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11400
11401         * pa.md (return, return_internal): Modify patterns to prevent regrename
11402         mucking with the return pointer.
11403
11404 2001-01-05  Richard Henderson  <rth@redhat.com>
11405
11406         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
11407
11408 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
11409
11410         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
11411         version supplied by Matteo Frigo.
11412
11413 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
11414
11415         * cpp.texi: Update for -MQ.
11416         * cppinit.c (cpp_create_reader): Always create pfile->deps.
11417         (cpp_cleanup): Always free pfile->deps.
11418         (initialize_dependency_output): Don't create pfile->deps.
11419         (cpp_handle_option): Similarly.
11420         (OPT_MQ): New.
11421         * gcc.c (cpp_options): Handle -MQ.
11422         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
11423         * mkdeps.c (base_name): Remove.
11424         (deps_init): Don't allocate vector space until it's needed.
11425         (deps_free): Only free vectors if allocated.
11426         (deps_add_target, deps_add_dep): Update for initial allocation.
11427         (deps_add_default_target): Don't strip to the base_name.
11428
11429 2001-01-05  DJ Delorie <dj@redhat.com>
11430
11431         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
11432         (INIT_EXPANDERS): Define.
11433
11434         * config/v850/v850.c (struct machine_function): Define.
11435         (v850_save_machine_status): New function.
11436         (v850_restore_machine_status): New function.
11437         (v850_return_addr): New function.
11438         (v850_init_expanders): New function.
11439
11440         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
11441         and v850_init_expanders.
11442
11443 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
11444
11445         * cpplib.h (struct cpp_reader): Add help_only field.
11446         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
11447         (cpp_handle_option): Set pfile->help_only if we see -h,
11448         --help, -target-help, or --version.  Print version string but
11449         do not set help_only if we see -v or -version.  Make text
11450         printed by -v match that printed by (-)-version.
11451
11452         * cppmain.c (main): Exit after option parsing if
11453         pfile->help_only is true.
11454
11455         * toplev.c (independent_decode_option): Call print_version,
11456         then exit, if we see --version (but not -version).
11457         (print_version): Split lengthy message into two lines.
11458
11459 2001-01-05  Nick Clifton  <nickc@redhat.com>
11460
11461         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
11462         temporary string for initialisation before calling ggc_alloc_string.
11463
11464 2001-01-06  Michael Hayes  <mhayes@redhat.com>
11465
11466         * rtl.h (print_simple_rtl): New.
11467         * print-rtl.c (print_simple_rtl): New.
11468         (flag_simple): New.
11469         (print_rtx): Disable printing of flags and modes, etc.,
11470         if `flag_simple` nonzero.
11471
11472 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
11473
11474         * function.c (fixup_var_refs): Use push_to_full_sequence where
11475         possible.
11476
11477 2001-01-05  Michael Meissner  <meissner@redhat.com>
11478
11479         * flags.h (flag_reorder_blocks): Add declaration.
11480         (flag_rename_block): Ditto.
11481
11482 2001-01-05  DJ Delorie  <dj@redhat.com>
11483
11484         * function.c (reorder_blocks): Make sure the flags are all reset
11485         before using them to mark blocks, else a second invocation will
11486         corrupt the block chain.
11487         (reorder_blocks_0): New, resets the flags.
11488
11489 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
11490
11491         * cse.c (find_comparison_args): Stop if the argument is known to
11492         be constant.
11493
11494 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11495
11496         * config/sh/sh.md (movdf): When splitting load into pair of
11497         registers, don't clobber the register used in the address too
11498         early.
11499
11500 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
11501
11502         * varasm.c (mark_constant_pool): Improve initial comments.
11503         (mark_constants): Move marking of constants to mark_constant.
11504         (mark_constant): New function to recursively mark all constants
11505         referred to by a constant.
11506
11507 2001-01-05  Catherine Moore  <clm@redhat.com>
11508
11509         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
11510
11511 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
11512
11513         * cp/lang-options.h:  Bring comment in line with reality.
11514         * f/lang-options.h:  Likewise.
11515         * java/lang-options.h:  Likewise.
11516         * objc/lang-options.h:  Likewise.
11517         * ch/lang-options.h:  Likewise.
11518         * f/g77.texi:  And update the manual.
11519
11520 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
11521             Denis Chertykov  <denisc@overta.ru>
11522
11523         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
11524         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
11525         * config/avr/avr.md (all peepholes that request a scratch register):
11526         Call it, FAIL the peephole if not safe (in interrupt functions).
11527
11528 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
11529
11530         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
11531
11532 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
11533
11534         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
11535         Define.
11536         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
11537         BUILT_IN_CREAL and BUILT_IN_CIMAG.
11538         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
11539         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
11540         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
11541         BUILT_IN_CIMAG.
11542         * extend.texi: Document these builtins.
11543
11544 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
11545
11546         * c-common.c (lang_get_alias_set): Say we know nothing of
11547         VECTOR_TYPE aliasing.
11548
11549         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
11550
11551 2001-01-05  Bruce Korb  <bkorb@gnu.org>
11552
11553         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
11554         their x* equivalent versions for atexit-less systems
11555         * fixinc/fixincl.c(main): do not return from main() on atexit-less
11556         systems (or any other system any more).
11557
11558 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
11559
11560         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
11561         output operands.  Use arm_hard_register_operand for operand 4.
11562         (stmsi_postinc): Similarly.
11563         (ldmsi): Use arm_hard_register_operand for opernand 2.
11564         (stmsi): Similarly.
11565         * arm.c (arm_hard_register_operand): New function.
11566         * arm-protos.h (arm_hard_register_operand): Prototype it.
11567
11568         * arm.h (HARD_REGNO_RENAME_OK): Define.
11569
11570 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
11571
11572         * simplify-rtx.c (cfc_args): add "unordered" field.
11573         (check_fold_consts): Set unordered field.
11574         (simplify_relational_operation): Simplify the unordered
11575         comparisons.
11576
11577         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
11578         is valid.
11579
11580         * emit-rtl.c (try_split): Fix code to mark labels.
11581         * jump.c (mark_jump_label): Make global.
11582         * rtl.h (mark_jump_label): Declare.
11583
11584         * predict.c (estimate_probability): Handle unordred comparisons.
11585
11586 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
11587
11588         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
11589         * cppinit.c (initialize_dependency_output):  Update.
11590         (cpp_finish): Output dummy targets for -MP.
11591         (OPT_MP): New.
11592         (cpp_handle_option): Handle -MP.  Don't quote -MT options.
11593         * cpplib.h (struct cpp_options): Add deps_phony_targets.
11594         * gcc.c (cpp_options): Update to handle -MP.
11595         * mkdeps.c (deps_add_target, deps_add_default_target): Update
11596         to quote only the default target.
11597         (deps_phony_targets): Insert a preceding newline.  Rename from
11598         deps_dummy_targets for consistency.
11599         * mkdeps.h: Update
11600
11601 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11602
11603         * calls.c (emit_library_call_value_1): Support
11604         INIT_CUMULATIVE_LIBCALL_ARGS.
11605         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
11606
11607 2001-01-04  Richard Henderson  <rth@redhat.com>
11608
11609         * c-decl.c (finish_struct): Detect flexible array members
11610         used in an inappropriate context.
11611         * c-typeck.c (really_start_incremental_init): Special case
11612         constructor_max_index for zero length arrays.
11613         (pop_init_level): Allow initialization of flexible array
11614         members.  Deprecate initialization of zero length arrays.
11615         Don't issue missing initializer warning for flexible array
11616         members or zero length arrays.
11617         (process_init_element): Don't dereference null DECL_SIZE.
11618         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
11619         Don't abort for empty constructors.  Use size_binop
11620         (output_constructor): Add commentary regarding zero length
11621         array futures.  Abort if we try to initialize an array of
11622         unspecified length with a non-empty constructor in the middle
11623         of a structure.
11624
11625         * extend.texi (Zero Length): Update and clarify documentation
11626         on static initialization.
11627
11628 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11629
11630         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
11631         with more than 32767 words of local storage.
11632
11633 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11634
11635         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
11636         for 'abs', 'labs', and 'fabs'.
11637         (c4x_expand_builtin): Likewise.
11638         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
11639
11640 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
11641
11642         * config/sh/sh.md (prget, prset): New insn types.
11643         (return delay slot): Dont' allow prset.
11644         (call, sfunc delay slot): Don't allow prget.
11645         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
11646         for prset and prget.
11647
11648 2001-01-05  Michael Hayes  <mhayes@redhat.com>
11649
11650         * loop.h (struct loop_reg): New.
11651         (struct loop_regs): Change to use array of `struct loop_reg'.
11652         * loop.c: Replace assortment of varrays with single regs array.
11653         (count_one_set): Delete may_not_move array argument
11654         and use regs array instead.  All caller's changed.
11655         (count_loop_regs_set): Delete may_not_move and single_usage
11656         arguments and use regs array instead.  All caller's changed.
11657         (find_single_use_in_loop): Replace usage array argument with pointer
11658         to regs structure.  All caller's changed.
11659         (loop_optimize): Delete `moved_once' array.
11660
11661 2001-01-05  Michael Hayes  <mhayes@redhat.com>
11662
11663         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
11664         Use it instead of loop_info->has_call for scanning loop mems.
11665         (check_dbra_loop): Replace loop_info->has_call test with
11666         loop_info->has_nonconst_call.
11667
11668 2000-01-04  Matthew Hiller  <hiller@redhat.com>
11669
11670         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
11671         for TARGET_SH3E.
11672
11673 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11674
11675         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
11676         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
11677
11678 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11679
11680         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
11681         (flag_short_double, flag_short_wchar): Define.
11682         (c_common_nodes_and_builtins): Create many tree nodes shared
11683         between C and C++ here instead of in cp/decl.c and ...
11684         * c-decl.c (init_decl_processing): ... here.
11685         (SIZE_TYPE, WCHAR_TYPE): Don't define.
11686         (flag_short_double, flag_short_wchar): Don't define.
11687         (record_builtin_type): New function.
11688         (build_void_list_node): New function.
11689         * c-common.h (flag_short_double, flag_short_wchar,
11690         record_builtin_type, build_void_list_node): Declare.
11691
11692 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
11693
11694         * integrate.c (expand_inline_function): Don't put a virtual
11695         register into the reg map.
11696
11697         * function.c (fixup_var_refs_1): If force_operand didn't put
11698         the address into the target, move it there.
11699
11700 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
11701
11702         Special-case tree_decl/tree_list allocations.
11703         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
11704         (OBJECT_SIZE): New macro.
11705         (NUM_EXTRA_ORDER): Likewise.
11706         (extra_order_size_table): New variable.
11707         (NUM_ORDERS): New macro.
11708         (objects_per_page_table): New variable.
11709         (object_size_table): New variable.
11710         (G.pages): Use NUM_ORDERS to bound the array.
11711         (G.page_tails): Likewise.
11712         (DIV_ROUND_UP): Remove.
11713         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
11714         (alloc_page): Use OBJECT_SIZE.
11715         (size_lookup): Don't make it const.
11716         (ggc_alloc): Use OBJECT_SIZE.
11717         (ggc_set_mark): Likewise.
11718         (ggc_get_size): Likewise.
11719         (init_ggc): Set up the object_size_table, objects_per_page_table,
11720         and adjust size_lookup.
11721         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
11722         (ggc_pop_context): Use NUM_ORDERS.
11723         (clear_marks): Likewise.
11724         (sweep_pages): Likewise.
11725         (poison_pages): Likewise.
11726         (ggc_print_statistics): Use OBJECT_SIZE.
11727
11728 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11729
11730         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
11731         Only call array_size_for_constructor if last field and array type
11732         with no upper bound.
11733
11734 2001-01-04  Philip Blundell  <philb@gnu.org>
11735
11736         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
11737         from bit 31 downwards, if this requires no more insns.
11738         (count_insns_for_constant): New helper function for above.
11739
11740 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
11741
11742         * gencodes.c (output_predicate_decls): Remove empty initializer.
11743
11744 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
11745
11746         * tree.c (copy_node): Remove documentation about obstacks.
11747         (buidl1): Check that nobody tries to build 2-argument nodes this
11748         way.
11749
11750 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11751
11752         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
11753         fp_high_losum_p.
11754
11755         * gencodes.c (output_predicate_decls): Fill empty initializer
11756         braces.
11757
11758 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
11759
11760         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
11761         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
11762         or -MM.
11763         (do_include): Handle missing headers like cpp0.
11764         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
11765         paths with first include pathname.  Don't strcat to uninitialized
11766         string.
11767
11768 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
11769
11770         * regrename.c (regrename_optimize): Don't rename from frame pointer
11771         if frame_pointer_needed.
11772         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
11773         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
11774         (ia64_reorg): Use it instead of scheduling if ! optimize.
11775         (errata_emit_nops): Properly call asm_noperands.
11776         (ia64_sched_reorder): Finish cycle if we see an asm.
11777         (ia64_variable_issue): Clear scheduling state after asms.
11778
11779 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
11780
11781         * cpp.texi: Update for -MT.
11782         * cppinit.c (initialize_dependency_output): Add a default
11783         target if none has been given already.
11784         (no_tgt, OPT_MT): New.
11785         (cpp_handle_option): Handle -MT.  Update -M etc.
11786         * cpplib.h (struct cpp_options): Remove deps_target.
11787         * gcc.c (cpp_options): Handle -MT.
11788         * mkdeps.c (struct deps): Move from mkdeps.h.
11789         (deps_calc_target): Rename deps_add_default_target.  Add a
11790         default target if none has been specified already.
11791         * mkdeps.h (struct deps): Move to mkdeps.c.
11792         (deps_calc_target): Rename deps_add_default_target.
11793
11794 2000-01-03  Richard Henderson  <rth@redhat.com>
11795
11796         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
11797         Remove dead code.
11798         * c-typeck.c (push_init_level): Move checks for flexible array
11799         members and zero length arrays ...
11800         (pop_init_level): ... here.  Silently discard empty initializations.
11801         Remove dead code.
11802         * varasm.c (output_constructor): Update for sizeof change to
11803         zero-length arrays.
11804
11805         * extend.texi (Zero Length): Clarify semantics.
11806
11807 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11808
11809         * configure.in (tm.h): Include isns-codes.h last.
11810         * configure: Rebuilt.
11811
11812 2001-01-03  Richard Henderson  <rth@redhat.com>
11813
11814         * config/alpha/alpha.md (addvsi3, addvdi3): New.
11815         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
11816
11817 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11818
11819         * tradcpp.c (main): Make sure finclude() is called with a valid
11820         indepth value while handling -include.
11821
11822 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11823
11824         * gencodes.c (output_predicate_decls): New function.
11825         (main): Call it.
11826         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
11827         even if it is not the first time machmode.h is #included.
11828         * config/sh/sh.c (fpul_operand): Declare MODE argument.
11829         * tm.texi (PREDICATE_CODES): Document predicate declarations.
11830         * gcc.texi (Copyright): Added 2001.
11831
11832 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11833
11834         * c-common.c (c_common_lang_init): New function.  Warn if format
11835         warning options which only have effects when used with -Wformat
11836         are used without -Wformat.
11837         * c-common.h (c_common_lang_init): Declare.
11838         * c-lang.c (lang_init): Call c_common_lang_init.
11839         * objc/objc-act.c (lang_init): Call c_common_lang_init.
11840
11841 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11842
11843         * configure.in: Check for the mktemp command.
11844         * configure: Regenerate.
11845         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
11846         $TEMP.  Create temporary files with mktemp, if available at
11847         configure time; otherwise use set -C.  Remove temporary files
11848         before exit.
11849
11850 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
11851
11852         * configure.in: Require at least texinfo 4.0.  Check for whether
11853         Pod::Man is sufficiently recent to regenerate GCC manpages.
11854         * configure:  Regenerate.
11855         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
11856         on #!.
11857         (GENERATED_MANPAGES): Define.
11858         (generated-manpages): New target.  Depend on cpp.1 as well as
11859         gcov.1.
11860         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
11861         configure to generated-manpages or empty) rather than on the
11862         manpages directly.  Remove execute permission from installed
11863         gcov.1 as well as cpp.1.
11864         * cpp.1, gcov.1: Regenerate.
11865
11866 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11867
11868         * builtins.c (expand_builtin_strncmp): Use host_integerp and
11869         tree_low_cst.  Allow using cmpstrsi in more cases.
11870
11871 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11872
11873         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
11874         sized types.
11875
11876 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
11877
11878         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
11879         * Makefile.in (HOST_CFLAGS): Mention build-make.
11880
11881 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11882
11883         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
11884         as JUMP_INSN.
11885
11886 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
11887
11888         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
11889         a REG rtx.
11890
11891         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
11892         callers changed.
11893
11894         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
11895         reg_base_value and reg_known_value arrays.
11896         (init_alias_analysis): Add more cases to detect known values.
11897         * sched-deps.c (deps_may_trap_p): New function.
11898         (sched_analyze_2): Use it.
11899
11900 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
11901
11902         * combine.c (simplify_shift_const): Even if we're sign-extracting,
11903         don't discard an ASHIFTRT if we're shifting in a wider mode.
11904
11905 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11906
11907         * toplev.c (rest_of_compilation): Don't print basic block information
11908         when CFG isn't up to date.
11909
11910 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
11911
11912         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
11913         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
11914         (UNALIGNED_SHORT_ASM_OP): Define.
11915         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
11916
11917 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
11918
11919         * fold-const.c (fold_convert): Fix typo.
11920
11921 2001-01-02  Richard Henderson  <rth@redhat.com>
11922
11923         * c-common.h (ASM_INPUT_P): New.
11924         * c-parse.in (asm): Set it when needed.
11925         * c-semantics.c (genrtl_asm_stmt): Test it instead of the
11926         existance of an operand.
11927
11928 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
11929
11930         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
11931         (dwarf2out_frame_debug_expr): Likewise.
11932         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
11933
11934 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
11935
11936         * i386.c (ix86_split_to_parts): Return number of part required;
11937         handle TFmodes.
11938         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
11939         TFmodes.
11940         (ix86_split_long_move): Use number of part returned
11941         by ix86_split_to_parts
11942         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
11943         New macros.
11944         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
11945         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
11946         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
11947         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
11948         (ALIGN_MODE_128): Add TFmode.
11949         (IS_STACK_MODE): Likewise.
11950         (HARD_REGNO_NREGS): TFmode needs 3 registers.
11951         (HARD_REGNO_OK): Support TFmodes.
11952         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
11953         * i386.md (scheduler definitions): Use memory operand to determine
11954         fst/fld instructions; use mode attribute to determine real mode of
11955         the instruction.
11956         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
11957         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
11958
11959 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
11960
11961         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
11962
11963 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
11964
11965         * expr.c (store_constructor_field): Update ALIGN before calling
11966         store_constructor.
11967
11968 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
11969
11970         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
11971         host_integerp.
11972
11973 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
11974
11975         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
11976         incomplete type.
11977
11978 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
11979
11980         * c-decl.c (start_function): Don't warn on third parameter to main.
11981
11982 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11983
11984         * tsystem.h: Define HAVE_DECL_GETOPT.
11985
11986 2001-01-02  Philip Blundell  <pb@futuretv.com>
11987
11988         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
11989         of input operand.
11990
11991 2001-01-02  Richard Henderson  <rth@redhat.com>
11992
11993         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
11994
11995 2001-01-02  Andreas Jaeger  <aj@suse.de>
11996
11997         * c-decl.c (c_decode_option): Remove support of
11998         -Wmissing-noreturn.
11999
12000         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
12001         (W_options): Add -Wmissing-noreturn here.
12002
12003         * flow.c: Define lang_missing_noreturn_ok_p.
12004         (check_function_return_warnings): Use it.
12005
12006         * c-common.h: Declare lang_missing_noreturn_ok_p.
12007
12008         * c-lang.c (c_missing_noreturn_ok_p): New function.
12009         (lang_init): Set lang_missing_noreturn_ok_p.
12010
12011         * invoke.texi (Warning Options): Document this.
12012
12013 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
12014
12015         * extend.texi (C++ Extensions):  New node for C++ attributes;
12016         describe init_priority and com_interface.
12017         * invoke.texi:  Remove -finit-priority as it now has zero effect.
12018         * install.texi:  Fix xref syntax.
12019         * md.texi:  Likewise.
12020
12021 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12022
12023         * config.gcc (sparc64-wrs-vxworks*): New case.
12024         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
12025
12026         * config/sparc/sparc.c (sparc_override_options): Do support different
12027         pointer and architecture size.
12028         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
12029         (POINTERS_EXTEND_UNSIGNED): Define.
12030         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
12031         (FUNCTION_MODE): Define to be Pmode.
12032         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
12033
12034         * function.c (expand_function_end): Properly handle DECL_RESULT
12035         and copy when ptr_mode != Pmode.
12036         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
12037
12038 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12039
12040         * c-common.c (c_common_nodes_and_builtins): Set prototype
12041         parameters for __builtin_fputs, __builtin_fputc and
12042         __builtin_fwrite.  Don't declare plain fputc as a builtin.
12043
12044 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12045
12046         * loop.c (add_label_notes): Increment the label usage count when
12047         a note is added to an insn which refers to a CODE_LABEL.
12048         * gcse.c (add_label_notes): Likewise.
12049
12050 2001-01-01  Andreas Jaeger  <aj@suse.de>
12051
12052         * loop.c (scan_loop): Use xmalloc to allocate movables.
12053
12054 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
12055
12056         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
12057         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
12058         * reload1.c (REGISTER_MOVE_COST): Likewise.
12059         * regclass.c (REGISTER_MOVE_COST): Likewise.
12060         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
12061         dimension.  Adjust all users.
12062         (init_reg_sets_1): Iterate on all modes.
12063         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
12064         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
12065         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
12066         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
12067         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
12068         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
12069         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
12070         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
12071         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
12072         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
12073         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
12074         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
12075         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
12076         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
12077         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
12078         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
12079         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
12080         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
12081         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
12082         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
12083         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
12084         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
12085         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
12086         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
12087         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
12088         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
12089         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
12090
12091 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
12092
12093         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
12094         arg VARIES_P.  Call it with extra arg.
12095         (true_dependence): Likewise.
12096         * rtl.h (rtx_addr_can_trap_p): Declare.
12097         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
12098         prototypes.
12099         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
12100         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
12101         pic offset table register if it's zero.  All callers changed.
12102         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
12103
12104 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12105
12106         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
12107         STRING_POOL_ADDRESS_P.
12108
12109         * config/sparc/sparc.c (input_operand): Properly test for short op.
12110
12111         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
12112         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
12113         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
12114         * config/sparc/elf.h: No longer include sol2.h.
12115         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
12116         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
12117
12118         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
12119
12120 2001-01-01  Michael Hayes  <mhayes@redhat.com>
12121
12122         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
12123         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
12124         (record_initial): Likewise.
12125         * unroll.c (copy_loop_body, loop_iterations): Likewise.
12126         (remap_split_bivs): Likewise.
12127
12128 2001-01-01  Michael Hayes  <mhayes@redhat.com>
12129
12130         * loop.c (loop_ivs_free): New function.
12131         (strength_reduce): Break out from...
12132
12133 2001-01-01  Michael Hayes  <mhayes@redhat.com>
12134
12135         * loop.h (struct iv): New.
12136         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
12137         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
12138         'reg_biv_class' fields with 'regs' and 'n_regs'.
12139         (struct ivs): Rename 'loop_iv_list' field to 'list'.
12140         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
12141         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
12142
12143 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
12144
12145         * resource.c (mark_referenced_resources): Abort() before
12146         attempting to mark a pseudo register.
12147         (mark_set_resources): Likewise.
12148
12149 2001-01-01  Michael Hayes  <mhayes@redhat.com>
12150
12151         * loop.h (REG_IV_CLASS): New accessor macro.
12152         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
12153         * unroll.c (REG_IV_CLASS): Likewise.
12154
12155 See ChangeLog.4 for earlier changes.