OSDN Git Service

31bd96d1f6ea680bbac4f56993eff2f823303c11
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
2
3         * toplev.c (lang_independent_init): Round up identifier size.
4
5 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
6
7         * config.gcc: Revert previous change.
8
9 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
10
11         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
12
13 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
14
15         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
16         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
17         other non-elf netbsd config frags.
18         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
19         collect2 will does that.
20         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
21         shared-lib frobbing will work.
22
23 2002-01-28  Kazu Hirata  <kazu@hxi.com>
24
25         * config/h8300/h8300.h: Fix formatting.
26         * config/h8300/h8300.md: Likewise.
27
28 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
29
30         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
31         the old, removed AAA_standards fix.
32         * fixinc/fixincl.x: Rebuilt.
33
34 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
35
36         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
37         atexit call in crtbegin, hooked in after call to frame_dummy;
38         register EH before registering __fini__start.
39
40 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
41
42         * config/rs6000/altivec.h: Remove spurious semicolons.
43
44 2002-01-27  Kazu Hirata  <kazu@hxi.com>
45
46         * config/h8300/h8300.md: Replace dead bit extraction patterns
47         with ones that work.
48
49 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
50
51         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
52         if not STRICT_ALIGNMENT.
53         * rtl.h (MEM_ALIGN): Likewise.
54
55 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
56
57         * doc/invoke.texi (-fdump-translation-unit): Revert this
58         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
59
60 2002-01-27  Kazu Hirata  <kazu@hxi.com>
61
62         * config/h8300/h8300.md (define_constants): New.
63         (anonymous patterns) Use defined constants appropriately.
64
65 2002-01-27  Kazu Hirata  <kazu@hxi.com>
66
67         * config/h8300/h8300.c (function_arg): Remove redundant code.
68
69 2002-01-26  Richard Henderson  <rth@redhat.com>
70
71         * sched-deps.c (reg_pending_uses_head): New.
72         (reg_pending_barrier): Rename from reg_pending_sets_all.
73         (find_insn_list): Don't mark inline.
74         (find_insn_mem_list): Remove.
75         (add_dependence_list, add_dependence_list_and_free): New.
76         (flush_pending_lists): Replace only_write param with separate
77         for_read and for_write parameters.  Update all callers.  Use
78         add_dependence_list_and_free.
79         (sched_analyze_1): Do not add reg dependencies here; just set
80         the pending bits.  Use add_dependence_list.
81         (sched_analyze_2): Likewise.
82         (sched_analyze_insn): Replace schedule_barrier_found with
83         reg_pending_barrier.  Add all dependencies for pending reg
84         uses, sets, and clobbers.
85         (sched_analyze): Don't add reg dependencies for calls, just
86         set pending bits.  Use regs_invalidated_by_call.  Treat
87         sched_before_next_call as a normal list, not a fake insn.
88         (init_deps): No funny init for sched_before_next_call.
89         (free_deps): Free pending mems lists.  Don't zero reg_last.
90         (init_deps_global): Init reg_pending_uses.
91         (finish_deps_global): Free it.
92         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
93         (find_insn_mem_list): Remove.
94         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
95         (propagate_deps): Use them.  Zero temp mem lists.
96
97 2002-01-26  Richard Henderson  <rth@redhat.com>
98
99         * Makefile.in (CRTSTUFF_CFLAGS): New.
100         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
101         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
102         crtstuff.c instead of alpha assembly version.
103         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
104         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
105         not FORCE_{INIT,FINI}_SECTION_ALIGN.
106         (__do_global_dtors_aux): Mark used.
107         (frame_dummy, __do_global_ctors_aux): Mark used.
108         (fini_dummy, init_dummy): Remove.
109
110         * config/alpha/crtbegin.asm: Remove file.
111         * config/alpha/crtend.asm: Remove file.
112         * config/alpha/t-crtbe: Remove file.
113         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
114         (LINK_EH_SPEC): New.
115
116         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
117         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
118         calling constructors.
119         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
120
121         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
122         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
123         CRT_END_INIT_DUMMY hack.
124         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
125         FORCE_{INIT,FINI}_SECTION_ALIGN.
126
127         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
128         FORCE_{INIT,FINI}_SECTION_ALIGN.
129
130         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
131         invocation sequence.
132         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
133
134         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
135         (FORCE_CODE_SECTION_ALIGN): New.
136
137 2002-01-26  Richard Henderson  <rth@redhat.com>
138
139         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
140
141 2002-01-26  Richard Henderson  <rth@redhat.com>
142
143         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
144         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
145
146 2002-01-26  Kazu Hirata  <kazu@hxi.com>
147
148         * config/h8300/h8300.md: Remove bit extraction patterns that
149         cannot be triggered.
150         Restrict each bit extraction pattern to a variant on which the
151         pattern is tested.
152
153 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
154
155         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
156
157 2002-01-26  Kazu Hirata  <kazu@hxi.com>
158
159         * config/h8300/h8300.md: Remove bit test patterns that cannot
160         be triggered.
161         Restrict each bit test pattern to a variant on which the
162         pattern is tested.
163
164 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
165
166         * builtins.c (expand_builtin_strncat): Remove redundant check for
167         INTEGER_CST.
168
169 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
170
171         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
172         default setting.
173         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
174         existing setting.
175
176 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
177
178         * dbxout.c (dbxout_init): Use assemble_name rather than just
179         stripping off the first character.
180         (dbxout_source_file): Likewise.
181
182 2002-01-25  DJ Delorie  <dj@redhat.com>
183
184         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
185         using rtx_equal_p, not by comparing pointers.
186
187 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
188
189         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
190         for PIC_OFFSET_TABLE_REGNUM.
191         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
192
193 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
194
195         * config.gcc (x86_64-*-freebsd*): New target.
196         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
197         value.
198         (i[34567]86-*-freebsd*): Don't include svr4.h.
199         * config/i386/freebsd64.h: New file.
200
201 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
202
203         * config/alpha/x-vms (version): Make static.
204
205         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
206         in previous checkin.
207
208         * Makefile.in (install-headers-cp): New target.
209         * config.gcc (alpha-dec-*vms*): Install headers with
210         install-headers-cp
211
212 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
213
214         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
215         avoid it's copies.
216
217 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
218
219         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
220         of compare_tree_int.
221         (expand_builtin_strncat): Likewise.
222         * c-decl.c (finish_struct): Use tree_low_cst.
223         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
224         * tree.c (compare_tree_int): Likewise.
225
226 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
227
228         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
229         adjustments even if they are implemented by more than two insns.
230
231 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
232
233         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
234         * df.h (struct ref): Kill B.
235         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
236
237         * basic-block.h (PROP_EQUAL_NOTES): New flag.
238         * flow.c (propagate_one_insn): Use it.
239         (mark_used_regs): Handle NIL.
240
241 2001-01-25  Geoffrey Keating  <geoffk@redhat.com>
242
243         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
244         to help folding.
245
246 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
247
248         * rs6000.md (prefetch): Make address V4SI mode so that the address
249         is restricted to legitimate form for instruction.
250
251 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
252
253         * doc/install.texi (xtensa-*-elf): New target.
254         (xtensa-*-linux*): New target.
255         * doc/contrib.texi: Add myself.
256
257 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
258
259         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
260         purpose register to hold an SImode (or smaller) value.
261
262 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
263
264         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
265         registry only.
266         * crtstuff.c: Likewise.
267
268 2002-01-25  Kazu Hirata  <kazu@hxi.com>
269
270         * config/h8300/h8300.md (negation patterns): Tighten
271         predicates to register_operand.
272
273 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
274
275         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
276         mode, not Pmode.
277
278         * builtins.c (expand_builtin_prefetch): Same.
279
280 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
281
282         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
283         modes.
284
285 2002-01-24  Kazu Hirata  <kazu@hxi.com>
286
287         * config/h8300/h8300.c (print_operand): Remove support for
288         operand character 'A'.
289         * config/h8300/h8300.md (three anonymous patterns): Replace
290         operand character 'A' with either 'T' or 'S'.
291
292 2002-01-24  Kazu Hirata  <kazu@hxi.com>
293
294         * config/h8300/h8300.c (print_operand): Remove support for
295         operand character 'U'.
296
297 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
298
299         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
300
301 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
302
303         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
304         values to be assigned to the stack pointer.
305
306 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
307
308         * emit_rtl.c (gen_lowpart_common): Conversion from const_int 
309         to const_double needs to be done right for big-endian systems.
310
311 2002-01-24  Jason Merrill  <jason@redhat.com>
312
313         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
314         to can_throw_internal.
315
316 2002-01-23  Richard Henderson  <rth@redhat.com>
317
318         * fold-const.c (fold): Change UINT_MAX test to check vs precision
319         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
320
321 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
322
323         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
324         (symGOT2reg): Use them, then set as GOT value as unchanging.
325         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
326         as a temporary, if possible.
327         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
328         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
329
330 2002-01-23  Kazu Hirata  <kazu@hxi.com>
331
332         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
333         accept to accept 0x80 as operands[2].
334
335 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
336
337         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
338
339 2002-01-23  Richard Henderson  <rth@redhat.com>
340
341         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
342
343 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
344
345         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
346         (parmlist_or_identifiers_1): Verify that only a parmlist follows
347         an attribute.
348
349 2002-01-23  Richard Henderson  <rth@redhat.com>
350
351         * expr.c (move_by_pieces_1): Extend size before negation.
352
353         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
354         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
355         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
356         * config/m68k/t-m68kelf: Likewise.
357
358 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
359
360         * config/xtensa/elf.h: New file.
361         * config/xtensa/lib1funcs.asm: New file.
362         * config/xtensa/lib2funcs.S: New file.
363         * config/xtensa/linux.h: New file.
364         * config/xtensa/t-xtensa: New file.
365         * config/xtensa/xtensa-config.h: New file.
366         * config/xtensa/xtensa-protos.h: New file.
367         * config/xtensa/xtensa.c: New file.
368         * config/xtensa/xtensa.h: New file.
369         * config/xtensa/xtensa.md: New file.
370         * config.gcc (xtensa-*-elf*): New target.
371         (xtensa-*-linux*): New target.
372         * cse.c (canon_hash): Compare rtx pointers instead of register
373         numbers.  This is required for the Xtensa port.
374         * integrate.c (copy_insn_list): Handle case where the static
375         chain is in memory and the memory address has to be copied to
376         a register.
377         * doc/invoke.texi (Option Summary): Add Xtensa options.
378         (Xtensa Options): New node.
379         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
380
381 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
382
383         * diagnostic.c (internal_error): Do ICE suppression only
384         when ENABLE_CHECKING is not defined.
385
386         * c-typeck.c (require_complete_type): Return error_mark_node
387         if type is error_mark_node.
388
389 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
390
391         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
392         -Os and issue a warning.
393
394 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
395
396         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
397         current (lack of) need for host configuration by hand.
398
399         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
400         references.  Documentation of some target macros moved from
401         hostconfig.texi to tm.texi.
402
403 2002-01-23  Will Cohen  <wcohen@redhat.com>
404
405         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
406         defined.
407
408 2002-01-23  Kazu Hirata  <kazu@hxi.com>
409
410         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
411         operand[3].
412
413 2002-01-23  Jason Merrill  <jason@redhat.com>
414
415         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
416
417         * function.c (assign_parms): Don't put args of inline functions
418         into registers when not optimizing.
419
420 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
421
422         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
423         (prologue_use): New pattern.
424         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
425         preference to gen_rtx_USE.
426         (thumb_expand_prologue): Use gen_prologue_use in preference to
427         gen_rtx_USE.
428         (thumb_expand_epilogue): Use gen_prologue_use in preference to
429         gen_rtx_USE.
430
431 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
432
433         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
434
435 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
436
437         PR c/3504
438         * doc/extend.texi: Correct documentation of __alignof__.
439
440 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
441
442         * params.h: Rename arguments of DEFPARAM so that it will be
443         recognized as a translation keyword.
444
445 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
446
447         * extend.texi: Document altivec functions.
448         Fix N-bit adjectives in X86 builtin documentation.
449
450 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
451
452         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
453         auto_inc_dec values.
454
455 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
456
457         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
458         after backslash.
459         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
460
461 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
462
463         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
464
465 2002-01-22  Richard Henderson  <rth@redhat.com>
466
467         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
468         copy_insn not copy_rtx.
469
470 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
471
472         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
473         "nonzero" as that might add "1" bits.  Ensure "constop" is
474         properly sign extened.
475         (force_to_mode): Tweak for sign extended constop.
476
477 2002-01-22  Richard Henderson  <rth@redhat.com>
478
479         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
480         for_each_rtx instead of assuming we're already looking at the MEM.
481         (split_small_symbolic_mem_operand): Likewise.
482         * config/alpha/alpha.h (PREDICATE_CODES): Update.
483         * config/alpha/alpha.md (small symbolic memory splitters): Update.
484
485 2002-01-22  Richard Henderson  <rth@redhat.com>
486
487         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
488         sequence number for the literal.
489         (divmoddi_internal_er): Likewise.
490
491 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
492
493         PR java/4972
494         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
495         in LIBICONV variable.
496         * configure: Regenerated.
497
498 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
499
500         * dependence.c (build_def_use): Remove array_idx.
501
502         * dwarfout.c (last_filename): Remove.
503         (output_compile_unit_die): Remove last_filename.
504
505 2002-01-22  Roger Sayle  <roger@eyesopen.com>
506             Richard Henderson  <rth@redhat.com>
507
508         PR opt/3640
509         * fold-const.c (fold): Optimize unsigned comparisons against
510         UINT_MAX (and similar unsigned constants).
511
512 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
513
514         * Makefile.in (loop.o): Depend on OPTABS_H.
515         * loop.c (emit_prefetch_instructions): Check the prefetch operand
516         against the predicate.
517
518         PR target/5379
519         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
520         for the address operand.
521
522 2002-01-22  Richard Henderson  <rth@redhat.com>
523
524         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
525
526 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
527
528         PR other/5450
529         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
530         preprocessor flags.
531
532 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
533
534         * config.gcc (x86_64-*-netbsd*): New target.
535         * config/i386/netbsd64.h: New file.
536
537 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
538
539         * regrename.c (kill_value): Fix typo.
540
541 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
542
543         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
544
545         * config/rs6000/rs6000.h: Same.
546
547         * function.c (instantiate_virtual_regs): Remove
548         STARTING_FRAME_PHASE.
549         (assign_stack_local_1): Same.
550         Calculate frame phase.
551
552 2002-01-22  Nick Clifton  <nickc@redhat.com>
553
554         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
555         variable declaration to outer scope in order to simplify
556         future extensions.
557         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
558         arm_hard_regno_mode_ok.
559         * config/arm/arm-protos.h: Add a prototype for
560         arm_hard_regno_mode_ok.
561         * config/arm/arm.c (soft_df_operand): Remove now redundant
562         check for DImode values using IP_REGNUM.
563         (nonimmediate_soft_df_operand): Remove now redundant check for
564         DImode values using IP_REGNUM.
565         (arm_hard_regno_mode_ok): New function. New check: make sure
566         that DImode values are not stored in IP_REGNUM.
567
568         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
569         note with a USE.
570         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
571
572 2002-01-22  Jason Merrill  <jason@redhat.com>
573
574         * c-semantics.c (genrtl_compound_stmt): Only check nesting
575         consistency if this COMPOUND_STMT is scoped.
576
577 2002-01-22  Kazu Hirata  <kazu@hxi.com>
578
579         * predict.c: Fix formatting.
580         * print-tree.c: Likewise.
581         * protoize.c: Likewise.
582         * real.h: Likewise.
583         * rtl.h: Likewise.
584         * sbitmap.h: Likewise.
585         * scan.c: Likewise.
586         * sched-deps.c: Likewise.
587         * sched-vis.c: Likewise.
588         * sdbout.c: Likewise.
589         * sibcall.c: Likewise.
590         * ssa.c: Likewise.
591         * ssa-ccp.c: Likewise.
592         * ssa-dce.c: Likewise.
593         * stmt.c: Likewise.
594         * stor-layout.c: Likewise.
595         * system.h: Likewise.
596
597 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
598
599         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
600         if fits in bounds of base type.
601
602         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
603         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
604         (add_bound_info, default): If can't find a context, make a
605         SAVE_EXPR.
606         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
607
608 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
609
610         * c-typeck.c (parser_build_binary_op): If result from
611         build_binary_op is ERROR_MARK just return error_mark_node without
612         further processing.
613
614 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
615
616         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
617         Split a.out-specific bits into...
618         * config/netbsd-aout.h: ...this.
619         * config/netbsd-elf.h: New file.
620         * config/alpha/netbsd-elf.h: Remove.
621         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
622         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
623         (STARTFILE_SPEC): Remove redundant definition.
624         (ENDFILE_SPEC): Likewise.
625         (LINK_SPEC): Likewise.
626         (CPP_SPEC): Likewise.
627         (ASM_SPEC): Likewise.
628         (LIB_SPEC): Likewise.
629         (SWITCH_TAKES_ARG): Likewise.
630         (TARGET_MEM_FUNCTIONS): Likewise.
631         (CPP_PREDEFINES): Redefine.
632         (ASM_FINAL_SPEC): Remove redefinition.
633         (ASM_COMMENT_START): Redefine.
634         (FUNCTION_PROFILER): Define.
635         (TARGET_VERSION): Redefine.
636         Comment and formatting cleanup.
637         * config/i386/netbsd.h: Include <netbsd-aout.h>.
638         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
639         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
640         big- or little-endian.
641         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
642         * config.gcc (*-*-netbsd*): Add definitions common to all
643         NetBSD configs.
644         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
645         gnu_ld definitions.  Add netbsd-elf.h to and remove
646         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
647         tmake_file, and don't lose previous tmake_file contents.
648         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
649         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
650         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
651         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
652         (mipsel-*-netbsd*): Rename this to...
653         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
654         mips/little.h to tm_file for mips*el-*.
655         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
656         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
657         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
658
659 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
660
661         * pa-protos.h (reg_before_reload_operand): New function prototype.
662         * pa.c (reg_before_reload_operand): New function implementation.
663         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
664         contraints to "*m".
665
666 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
667
668         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
669
670 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
671
672         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
673         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
674         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
675         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
676         (ENDFILE_SPEC): Undefine.
677         (STARTFILE_SPEC): Redefine for PA.
678
679 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
680
681         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
682
683 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
684
685         * config.gcc: Add entries to supported PowerPC --with-cpu
686         types.
687
688 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
689
690         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
691         true for 64-bit mode only SSE registers in 32-bit mode.
692
693 2002-01-21  Kazu Hirata  <kazu@hxi.com>
694
695         * unwind-dw2.c: Fix formatting.
696         * unwind-dw2-fde.c: Likewise.
697         * unwind-dw2-fde.h: Likewise.
698         * unwind-pe.h: Likewise.
699         * varasm.c: Likewise.
700         * varray.h: Likewise.
701
702 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
703
704         Remove workaround for register stack overwrite bug in mmix.
705         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
706         support for TARGET_REG_STACK_FILL_BUG.
707         * config/mmix/mmix.h: Remove member has_call_without_parameters.
708         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
709         Delete.
710         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
711         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
712         -mno-reg-stack-fill-bug-workaround.
713         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
714         machine member has_call_without_parameters.
715         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
716         -mreg-stack-fill-bug-workaround and
717         -mno-reg-stack-fill-bug-workaround.
718         (MMIX Options): Ditto.
719
720 2002-01-21  Kazu Hirata  <kazu@hxi.com>
721
722         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
723         as appropriate.
724         Remove redundant code.
725
726 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
727
728         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
729         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
730         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
731         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
732         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
733         out target macro definitions and non-target-specific comments
734         mostly taken from old versions of the manual.
735
736 2002-01-20  Kazu Hirata  <kazu@hxi.com>
737
738         * config/h8300/h8300.h: Fix comment formatting.
739         * config/ia64/aix.h: Likewise.
740         * config/ia64/ia64-protos.h: Likewise.
741         * config/ia64/ia64.c: Likewise.
742         * config/ia64/ia64.h: Likewise.
743         * config/ia64/ia64intrin.h: Likewise.
744         * config/ia64/linux.h: Likewise.
745         * config/ia64/unwind-aix.c: Likewise.
746         * config/ia64/unwind-ia64.c: Likewise.
747
748 2002-01-20  Kazu Hirata  <kazu@hxi.com>
749
750         * config/h8300/h8300.c: Revise comments about shift code.
751
752 2002-01-20  Kazu Hirata  <kazu@hxi.com>
753
754         * config/h8300/h8300.c (function_arg): Update a comment.
755
756 2002-01-20  Kazu Hirata  <kazu@hxi.com>
757
758         * config/h8300/h8300.md: Update the comments at the beginning
759         of the file.
760
761 2002-01-20  Kazu Hirata  <kazu@hxi.com>
762
763         * config/i370/i370.c: Fix comment formatting.
764         * config/i370/i370.h: Likewise.
765         * config/i370/i370.md: Likewise.
766         * config/i370/linux.h: Likewise.
767
768 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
769
770         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
771
772         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
773         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
774         in incomplete case.
775
776 2002-01-20  Graham Stott  <grahams@redhat.com>
777
778         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
779
780 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
781
782         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
783
784 2002-01-19  Tom Rix  <trix@redhat.com>
785
786         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
787
788 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
789
790         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
791
792         * function.c (assign_stack_local_1): Adjust x_frame_offset with
793         STARTING_FRAME_PHASE.
794         (STARTING_FRAME_PHASE): New.
795         (instantiate_virtual_regs): Check saneness of
796         STARTING_FRAME_PHASE.
797
798         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
799
800 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
801
802         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
803
804 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
805
806         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
807         be used for bootstrapping GCC 3.0.
808
809 2002-01-18  Kazu Hirata  <kazu@hxi.com>
810
811         * config/h8300/h8300.md: Fix an insn length.
812
813 2002-01-18  Kazu Hirata  <kazu@hxi.com>
814
815         * bitmap.h: Fix comment formatting.
816         * combine.c: Likewise.
817         * cppfiles.c: Likewise.
818         * c-pragma.h: Likewise.
819         * c-typeck.c: Likewise.
820         * df.c: Likewise.
821         * dwarf2out.c: Likewise.
822         * function.c: Likewise.
823         * gcc.c: Likewise.
824         * genattrtab.c: Likewise.
825         * gthr-win32.h: Likewise.
826         * haifa-sched.c: Likewise.
827         * predict.c: Likewise.
828         * rtlanal.c: Likewise.
829         * rtl.h: Likewise.
830         * unwind-dw2-fde.h: Likewise.
831         * unwind-pe.h: Likewise.
832         * vmsdbgout.c: Likewise.
833
834 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
835
836         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
837         if type_required and passed decl.
838
839 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
840
841         * config.gcc (cpu_type): Include altivec.h in powerpc
842         extra_headers.
843         Same for darwin.
844
845         * config/rs6000/altivec.h: New.
846
847 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
848
849         * doc/install.texi (*-ibm-aix*): Update assembler and exception
850         handling information.
851         * doc/trouble.texi (Interoperation): Add libstdc++ information
852         for AIX.
853         (Misunderstandings): Add template instantiation and static template
854         member information for AIX.
855
856 2002-01-17  Jason Merrill  <jason@redhat.com>
857
858         * dbxout.c (dbxout_type): Support const and volatile.
859
860         * except.c (add_partial_entry): Remove backwards compatibility code.
861         (end_protect_partials): Likewise.
862
863 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
864
865         * config/ia64/ia64.md (prologue_use): New.
866         * config/ia64/ia64.c (ia64_expand_prologue): Use
867         gen_prologue_use instead of gen_rtx_USE.
868         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
869         as CODE_FOR_pred_rel_mutex.
870         (ia64_sched_reorder2): Likewise.
871
872 2002-01-16  Eric Christopher  <echristo@redhat.com>
873
874         * config/mips/r3900.h: Reformat.
875         (SUBTARGET_CPP_SIZE_SPEC): Remove.
876         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
877         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
878         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
879         * config/mips/t-elf: Remove mips3 multilib.
880
881 2002-01-16  H.J. Lu <hjl@gnu.org>
882
883         * config/mips/linux.h: Include "mips/abi64.h".
884
885 2002-01-16  H.J. Lu <hjl@gnu.org>
886
887         * config/mips/t-linux: New.
888
889         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
890
891         * config/mips/linux.h: Don't include "gofast.h".
892         (INIT_SUBTARGET_OPTABS): Removed.
893
894 2002-01-16  Kazu Hirata  <kazu@hxi.com>
895
896         * config/h8300/h8300-protos.h: Replace emit_a_shift with
897         output_a_shift.
898         * config/h8300/h8300.c: Likewise.
899         * config/h8300/h8300.md: Likewise.
900
901 2002-01-16  Kazu Hirata  <kazu@hxi.com>
902
903         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
904         spaces after an opcode name.
905         (pushqi1_h8300hs): Likewise.
906         (pushhi1_h8300hs): Likewise.
907
908 2002-01-16  Kazu Hirata  <kazu@hxi.com>
909
910         * doc/extend.texi: Replace "option" with "attribute"
911         appropriately.
912
913 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
914
915         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
916         (and:DI () (const_int -8)).
917         (split_small_symbolic_mem_operand): Split
918         (mem (and:DI () (const_int -8)).
919
920 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
921
922         PR target/5309:
923         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
924         same way as TYPE_IMUL.
925         (ultrasparc_sched_reorder): Likewise.
926         * config/sparc/sparc.md (type): Add comment to update
927         ultrasparc_sched_reorder when making changes.
928
929 2002-01-16  Kazu Hirata  <kazu@hxi.com>
930
931         * doc/invoke.texi: Change the dump file name of block
932         reordering pass from 28.bbro to 29.bbro.
933         Mention -dk option.
934
935 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
936
937         * i386.md (minsf splitter): Fix pasto.
938
939 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
940
941         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
942         to frame pointer initialisation instruction.
943         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
944         initialisation instruction.
945         (soft_df_operand): Do not accept the IP register.
946         (nonimmediate_soft_df_operand): Do not accept the IP register.
947
948 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
949
950         PR target/5357:
951         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
952         MASK_V8 being both set.
953
954 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
955
956         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
957         insn for GOT register; add REG_MAYBE_DEAD notes instead.
958         config/s390/s390.md (call, call_value): Add GOT register to
959         CALL_INSN_FUNCTION_USAGE where needed.
960         (call_exp, call_value_exp): New.
961
962 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
963
964         * config/arm/arm.c: General formatting tidy up.
965
966 2002-01-16  Graham Stott  <grahams@redhat.com>
967
968         * calls.c (try_to_integrate): Use "(size_t)" intermediate
969         cast and when casting an integer literal to "rtx" pointer.
970         (expand_call): Likewise.
971         * flow.c (try_pre_increment): Likewise.
972         (find_use_as_address): Likewise.
973         * integrate.c (expand_iline_function): Likewise.
974         * regmove.c (try_auto_increment): Likewise.
975
976 2002-01-16  Graham Stott  <grahams@redhat.com>
977
978         * sched-rgn.c (passed): Use sbitmap_free.
979         (header): Likewise.
980         (inner): Likewise.
981         (in_queue): Likewise.
982         (in_stack): Likewise.
983
984 2002-01-15  Eric Christopher  <echristo@redhat.com>
985
986         * flow.c (propagate_one_insn): Change to use fatal_insn.
987
988 2002-01-15  Kazu Hirata  <kazu@hxi.com>
989
990         * expmed.c (extract_fixed_bit_field): Remove unused code.
991         * system.h: Poison SLOW_ZERO_EXTEND.
992         * doc/tm.texi: Remove.
993         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
994         * config/arm/arm.h: Likewise.
995         * config/avr/avr.h: Likewise.
996         * config/clipper/clipper.h: Likewise.
997         * config/convex/convex.h: Likewise.
998         * config/d30v/d30v.h: Likewise.
999         * config/dsp16xx/dsp16xx.h: Likewise.
1000         * config/elxsi/elxsi.h: Likewise.
1001         * config/fr30/fr30.h: Likewise.
1002         * config/h8300/h8300.h: Likewise.
1003         * config/i370/i370.h: Likewise.
1004         * config/i386/i386.h: Likewise.
1005         * config/m68k/m68k.h: Likewise.
1006         * config/mips/mips.h: Likewise.
1007         * config/ns32k/ns32k.h: Likewise.
1008         * config/pdp11/pdp11.h: Likewise.
1009         * config/pj/pj.h: Likewise.
1010         * config/s390/s390.h: Likewise.
1011         * config/sh/sh.h: Likewise.
1012         * config/stormy16/stormy16.h: Likewise.
1013         * config/v850/v850.h: Likewise.
1014         * config/vax/vax.h: Likewise.
1015         * config/we32k/we32k.h: Likewise.
1016
1017 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
1018
1019         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1020         (altivec_lvsl): Change constraint to b.
1021         (altivec_lvsr): Same.
1022         (altivec_lvebx): Same.
1023         (altivec_lvehx): Same.
1024         (altivec_lvewx): Same.
1025         (altivec_lvxl): Same.
1026         (altivec_lvx): Same.
1027         (altivec_stvx): Add parallel.
1028         (altivec_stvxl): Same.
1029         (altivec_stvehx): Same.
1030         (altivec_stvebx): Same.
1031         (altivec_stvebx): Same.
1032
1033 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
1034
1035         * config.gcc: Change altivec.h to altivec-defs.h.
1036
1037         * config/rs6000/altivec.h: Delete.
1038
1039         * config/rs6000/altivec-defs.h: Add.
1040
1041 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1042
1043         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1044         and UMOD modes.
1045
1046         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1047         less than or equal to eight bytes.
1048
1049         * vax.md (andsi3): Remove constraints and change SET destination
1050         operand type to nonimmediate_operand.
1051         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
1052         when it is a CONST_INT.
1053
1054 2002-01-15  Jason Merrill  <jason@redhat.com>
1055
1056         * c-common.def (FILE_STMT): New code.
1057         * c-common.c (statement_code_p): It's a statement.
1058         * c-common.h (stmt_tree_s): Add x_last_filename.
1059         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1060         (last_expr_filename): New macro.
1061         * c-semantics.c (begin_stmt_tree): Initialize it.
1062         (add_stmt): If the filename changed, also insert a
1063         FILE_STMT.
1064         (expand_stmt): Handle seeing one.
1065
1066 2002-01-15  Eric Christopher  <echristo@redhat.com>
1067
1068         * flow.c (propagate_one_insn): Add error message and print out
1069         insn for debugging.
1070
1071 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
1072
1073         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1074         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1075         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1076         TRAMPOLINE_ALIGNMENT.
1077         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
1078         to be in bits.
1079         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1080         PCC_BITFIELD_TYPE_MATTERS.
1081         * config/interix.h (STDC_VALUE): Remove.  Use
1082         STDC_0_IN_SYSTEM_HEADERS.
1083         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1084         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1085         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1086
1087 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1088
1089         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1090         not work on this platform currently.
1091
1092 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
1093
1094         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1095         readonly_warning in _().
1096
1097 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
1098
1099         * gcc.c (delete_if_ordinary): Backout previous change.
1100
1101 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1102
1103         * config/h8300/h8300.c (print_operand): Remove support for
1104         unused operand characters.
1105
1106         * read-rtl.c: Fix formatting.
1107         * real.c: Likewise.
1108         * recog.c: Likewise.
1109         * regclass.c: Likewise.
1110         * regmove.c: Likewise.
1111         * reg-stack.c: Likewise.
1112         * reload1.c: Likewise.
1113         * rtlanal.c: Likewise.
1114
1115 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1116
1117         * config/i386/i386.c: Fix formatting.
1118
1119 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
1120
1121         * c-typeck.c (process_init_element): Don't save_expr
1122         COMPOUND_LITERAL_EXPR if just its initializer will be used.
1123
1124 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
1125
1126         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1127         emit optional traceback table if optimize_size or TARGET_ELF.
1128         * config/rs6000/rs6000.md (prefetch): New.
1129
1130 2002-01-15  Andreas Jaeger  <aj@suse.de>
1131
1132         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1133
1134 2002-01-15  Kazu Hirata  <kazu@hxi.com>
1135
1136         * mips-tfile.c: Fix formatting.
1137
1138 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
1139
1140         * unroll.c (final_reg_note_copy): Fix previous commit.
1141
1142 2002-01-14  Kazu Hirata  <kazu@hxi.com>
1143
1144         * config/h8300/h8300-protos.h: Remove the prototype for
1145         eq_operator.
1146         * config/h8300/h8300.c (eq_operator): Remove.
1147
1148 2002-01-14  Richard Henderson  <rth@redhat.com>
1149
1150         * config/i386/i386.md (prefetch): Tidy.
1151         (prefetch_3dnow): Fix locality operand.
1152
1153 2002-01-14  Richard Henderson  <rth@redhat.com>
1154
1155         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1156         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1157
1158 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
1159
1160         * reload1.c (reload_combine): Pass reg_sum replacement through
1161         copy_rtx in loop performing multiple changes.
1162
1163 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
1164
1165         * except.c (remove_unreachable_regions): New.
1166         (free_eh_status): Clear exception_handler_labels.
1167         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1168         (find_exception_handler_labels): Don't add the same label more than
1169         once.
1170         (remove_exception_handler_label): Don't die if
1171         find_exception_handler_labels hasn't been called for the current
1172         function yet.
1173
1174 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
1175
1176         * toplev.c (rest_of_compilation): Rebuild jump labels after
1177         gcse.
1178
1179 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
1180
1181         * doc/extend.texi: Move documentation of X86 built-in functions
1182         here.
1183         * doc/invoke.texi: From here.
1184         * doc/sourcebuild.texi: Document location of documentation for
1185         machine built-in functions.
1186
1187 2002-01-13  Christopher Faylor  <cgf@redhat.com>
1188
1189         * cppfiles.c (TEST_THRESHOLD): New macro.
1190         (SHOULD_MMAP): Ditto.
1191         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1192         be used.
1193
1194 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
1195
1196         * unroll.c (final_reg_note_copy): Properly handle
1197         REG_LABEL
1198         (unroll_loops): Fix LOOP_CONDITION heuristics.
1199
1200 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
1201
1202         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1203         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1204
1205 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
1206
1207         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1208         threaded loop.
1209
1210 2002-01-14  Tom Rix  <trix@redhat.com>
1211
1212         * config/rs6000/rs6000.md: Fix typo with sradi.
1213
1214 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
1215
1216         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1217         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1218         (clrstrdi, clrstrsi): Adapt callers.
1219
1220         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1221
1222         (movti splitter): Never use register 0 as base register.
1223
1224 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
1225
1226         * combine.c (simplify_shift_const): Always generate new rtx
1227         for shift expression instead of reusing given expression.
1228
1229 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1230
1231         * config/alpha/alpha.c (alpha_expand_mov): Don't call
1232         alpha_legitimize_address unless mode is Pmode.
1233
1234 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
1235
1236         * doc/md.texi (Modifiers): Document the '*' constraint for the
1237         user.
1238
1239         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1240         * doc/extend.texi (Function Attributes): 'interrupt' is valid
1241         for xstormy16 too.
1242
1243 2002-01-13  Richard Henderson  <rth@redhat.com>
1244
1245         * reload.c (find_reloads): Use a hard reg destination as reload reg
1246         for an input reload of the source.
1247
1248 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1249
1250         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1251         more generic.
1252
1253 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
1254
1255         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1256         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1257
1258         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1259
1260 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1261
1262         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1263
1264 2002-01-12  Tom Rix  <trix@redhat.com>
1265
1266         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1267         TARGET_POWERPC64.
1268
1269 2002-01-12  Richard Henderson  <rth@redhat.com>
1270
1271         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1272
1273         * doc/invoke.texi: Update Alpha options.
1274
1275         * doc/invoke.texi: Update i386 built-in function lists.
1276
1277 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
1278
1279         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1280         referencing outside.
1281
1282 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1283
1284         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1285         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1286         offsets, and change line folding.
1287         * optabs.c (expand_binop): Remove warnings.
1288         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1289
1290 2002-01-12  Graham Stott <grahams@redhat.com>
1291
1292         * attribs.c (handle_deprecated_attribute): constify WHAT.
1293         * diagnostic.c (warn_deprecated_use): Add braces, fixes
1294         dangling else warning and constify WHAT.
1295         * except.h (struct function, struct inline_remap): Move
1296         struct tag forward defs before all prototypes.
1297         (duplicate_eh_regions): Whitespace.
1298
1299 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
1300
1301         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1302         MODE_BASE_REG_CLASS.
1303         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1304
1305 2002-01-12  Richard Henderson  <rth@redhat.com>
1306
1307         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1308         (ix86_expand_vector_move): New.
1309         (bdesc_2arg): Remove andps, andnps, orps, xorps.
1310         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
1311         Remove old prefetch builtins.  Special case the logicals removed above.
1312         (ix86_expand_builtin): Likewise.
1313         (safe_vector_operand): Use V4SFmode, not TImode.
1314         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
1315         (ix86_expand_timode_binop_builtin): New.
1316         * config/i386/i386-protos.h: Update.
1317         * config/i386/i386.h (enum ix86_builtins): Update.
1318         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1319         Use ix86_expand_vector_move in vector move expanders.
1320         (movti_internal, movti_rex64): Add xorps alternative.
1321         (sse_clrv4sf): Rename and adjust from sse_clrti.
1322         (prefetch): Don't work so hard.
1323         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1324         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1325         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1326
1327 2002-01-11  Richard Henderson  <rth@redhat.com>
1328
1329         * config/i386/mmintrin.h: New file.
1330         * config/i386/xmmintrin.h: New file.
1331         * config.gcc (i?86-*-*): Add extra_headers.
1332         * simplify-rtx.c (simplify_unary_operation): Handle saturating
1333         truncation codes.
1334         (simplify_binary_operation): Handle saturating arithmetic codes.
1335         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1336         not the lowpart subreg.
1337         (ix86_expand_builtin): Return a TImode dummy register instead of 0
1338         on error.
1339         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1340
1341 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1342
1343         * conflict.c (conflict_graph_compute): Free regsets when finished.
1344         * ssa.c (compute_coalesced_reg_partition): Likewise.
1345
1346 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1347
1348         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1349         every where we allocate a register.
1350
1351 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1352
1353         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1354         * lcm.c (compute_earliest, compute_farthest): Likewise.
1355
1356 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
1357
1358         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1359
1360 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
1361
1362         * doc/rtl.texi (Insns): Fix 2 typos.
1363
1364 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
1365
1366         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
1367         options.  Use @table @gcctabopt for MMIX options.  Add index
1368         entries for MMIX options.  Start new paragraph with first
1369         heading of the machine-dependent options.
1370
1371 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1372
1373         PR other/5299
1374         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1375         * combine.c (force_to_mode): Same.
1376         * reload1.c (clear_reload_reg_in_use): Same.
1377
1378 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
1379
1380         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1381         and 'subtargets'.
1382
1383 2002-01-11  Andreas Jaeger  <aj@suse.de>,
1384             Brad Lucier <lucier@math.purdue.edu>
1385
1386         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1387         mcpu.
1388
1389 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
1390
1391         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1392         Protect with IN_LIBGCC.
1393         (LINK_EH_SPEC): Add required trailing space.
1394
1395 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1396
1397         * c-tree.h: Move function declarations so that they are listed
1398         under the filename which contains them.
1399         (check_identifier, finish_decl_top_level,
1400         lookup_name_current_level_global, shadow_record_fields): Remove.
1401
1402 2002-01-11  Andreas Jaeger  <aj@suse.de>
1403
1404         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1405         march.
1406
1407 2002-01-10  Richard Henderson  <rth@redhat.com>
1408
1409         * config/alpha/alpha.c (print_operand): Add 'J'.
1410         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1411         new operand with the sequence number for the lituse.  When splitting
1412         the insns, use gen_movdi_er_high_g and generate a sequence number.
1413         (gen_movdi_er_high_g): Print the sequence number if non-zero.
1414
1415 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
1416
1417         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1418         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1419         stvxl.
1420         (altivec_expand_builtin): Same.
1421         (altivec_expand_stv_builtin): New.
1422
1423         * config/rs6000/rs6000.h (rs6000_builtins): Same.
1424
1425         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1426         ("altivec_lvehx"): New.
1427         ("altivec_lvewx"): New.
1428         ("altivec_lvxl"): New.
1429         ("altivec_lvx"): New.
1430         ("altivec_stvx"): New.
1431         ("altivec_stvebx"): New.
1432         ("altivec_stvehx"): New.
1433         ("altivec_stvewx"): New.
1434         ("altivec_stvxl"): New.
1435
1436 2002-01-10  Richard Henderson  <rth@redhat.com>
1437
1438         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1439         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
1440         care not to delete instructions twice.
1441
1442 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
1443
1444         * toplev.c: Don't declare environ (it's not used anywhere).
1445         * configure.in: Don't check for declaration of environ.
1446         * config/i386/xm-mingw32.h: Don't #define environ.
1447         * config.in, configure: Regenerate.
1448
1449 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
1450
1451         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1452         * configure: Regenerate.
1453
1454         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1455         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1456         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1457         alpha/xm-vms.h.
1458         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1459         LIMITS_H_TEST here, not in m68k/x-next.
1460         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1461         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1462
1463         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1464         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1465         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
1466
1467         * config/i386/x-djgpp: Renamed i386/t-djgpp.
1468         * config/m88k/x-dolph: Renamed m88k/t-dolph.
1469         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1470         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
1471         replacement of quadlib.asm with quadlib.c.
1472
1473         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1474         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1475         config/rs6000/xm-beos.h: Delete file.
1476
1477         * config.gcc: Update to match above changes.
1478
1479 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1480
1481         * config/h8300/h8300.h: Fix comment typos.
1482         * config/h8300/h8300.md: Likewise.
1483         * config/h8300/lib1funcs.asm: Likewise.
1484
1485 2002-01-10  Dale Johannesen  <dalej@apple.com>
1486
1487         PR optimization/5269
1488         * unroll.c (precondition_loop_p): Make *increment be the correct
1489         sign when n_iterations known, to avoid confusing caller.
1490
1491 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1492
1493         * doc/extend.texi (deprecated): Fix a typo.
1494
1495 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
1496
1497         * basic-block.h (update_br_prob_note): Declare.
1498         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1499         (try_forward_edges): Care negative frequencies and update note.
1500         (outgoing_edges_match): Tweek conditional merging heuristics.
1501         (try_crossjump_to_edge): use update_br_prob_note.
1502         * cfglayout.c (fixup_reorder_chain): Likewise.
1503         * cfrtl.c (update_br_prob_note): New.
1504         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1505
1506         * i386.c (ix86_decompose_address): Return -1 if address contains
1507         shift.
1508         (legitimate_address_p): Require ix86_decompose_address to return 1.
1509
1510         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1511         (cprop_insn): Likewise.
1512
1513 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1514
1515         * toplev.c: Fix formatting.
1516         * tree.c: Likewise.
1517         * tree-dump.c: Likewise.
1518         * unroll.c: Likewise.
1519         * unwind-dw2.c: Likewise.
1520         * unwind-dw2-fde.c: Likewise.
1521         * unwind-dw2-fde-glibc.c: Likewise.
1522         * unwind-sjlj.c: Likewise.
1523
1524 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
1525
1526         * doc/invoke.texi: Document PDP-11 options.
1527
1528 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1529
1530         * config/h8300/h8300.h: Fix formatting.
1531
1532 2001-01-10  Ira Ruben   <ira@apple.com>
1533
1534         Add __attribute__ ((deprecated)).
1535         * extend.texi: Document __attribute__ ((deprecated)).
1536         * invoke.texi: Document -Wno-deprecated-declarations.
1537         * testsuite/g++.dg/other/deprecated.C: New C++ test.
1538         * testsuite/gcc.dg/deprecated.c: New C test.
1539         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1540         (c_common_attribute_table): Add "deprecated" entry.
1541         (handle_deprecated_attribute): New function.
1542         * c-decl.c (deprecated_states): New enum.
1543         deprecated_state: State of "deprecated" handling.
1544         (start_decl): Set deprecated_state based on attributes.
1545         (grokdeclarator): Test for deprecated uses, propagate attribute.
1546         * c-typeck.c (build_component_ref): Test for deprecated fields.
1547         (build_external_ref): Test for deprecated primaries.
1548         * diagnostic.c (warn_deprecated_use) New function to issue
1549         warnings about __attribute__ ((depricated)) references.
1550         * flags.h (warn_deprecated_decl): Extern declared for
1551         -W[no-]deprecated-declarations option.
1552         * print-tree.c (print_node): Show deprecated flag status.
1553         * toplev.c (warn_deprecated_decl): Defined.
1554         (W_options): Added "deprecated-declaration".
1555         * toplev.h (warn_deprecated_use): Extern declared.
1556         * tree.h (struct tree_common): Define deprecated_flag.
1557         (TREE_DEPRECATED): New macro to access flag.
1558         * cp/call.c (build_call): Test for deprecated calls.
1559         * cp/class.c (add_implicitly_declared_members): Set global
1560         flag to tell grokdeclarator to not issue deprecated warnings.
1561         * cp/cp-tree.h: Add extern for adding_implicit_members.
1562         * cp/decl.c (deprecated_states): New enum.
1563         (start_decl): Set deprecated_state based on attributes.
1564         (grokdeclarator): Test for deprecated uses, propagate attribute.
1565         * cp/lex.c (do_identifier): Test for deprecated primaries.
1566         * cp/typeck.c (build_component_ref): Test for deprecated fields.
1567
1568 2001-01-10  Ira Ruben   <ira@apple.com>
1569
1570         Fix to assign attributes to inline member functions.
1571         * cp/decl.c (start_method): Handle attrlist.
1572
1573 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1574
1575         * combine.c (expand_field_assignment): Use subreg_lsb().
1576
1577 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
1578
1579         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1580         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1581         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1582         Recurse for any operand of AND as long as constant is non-zero.
1583
1584 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1585
1586         * config/h8300/h8300.md: Remove constraints from expanders.
1587
1588 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1589
1590         * varasm.c: Fix formatting.
1591         * varray.c: Likewise.
1592         * vmsdbgout.c: Likewise.
1593         * xcoffout.c: Likewise.
1594
1595 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
1596
1597         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1598         update edge probabilities to match.
1599
1600 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
1601
1602         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1603         dependencies.
1604         * doc/languages.texi, doc/sourcebuild.texi: New files.
1605         * doc/configfiles.texi: Make a subsubsection.  Update.
1606         * doc/configterms.texi: Add @node.  Remove warning that this isn't
1607         instructions for building GCC.
1608         * doc/makefile.texi: Make a subsection.
1609         * doc/gccint.texi: Update.
1610
1611 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
1612
1613         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1614
1615 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1616
1617         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1618
1619 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
1620
1621         * optabs.c (expand_fix): Look for wider integer modes first.
1622
1623         * i386.md (mov?f): Avoid the fake const double trick for medium
1624         memory model.
1625         (min?f*/max?f*): Prohibit memory operands for i387 variant.
1626         (fop_df_4): Disable for SSE compilation.
1627
1628 2002-01-10  Graham Stott  <grahams@redhat.com>
1629
1630         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1631         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1632
1633 2002-01-10  Richard Henderson  <rth@redhat.com>
1634
1635         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1636
1637 2002-01-10  Richard Henderson  <rth@redhat.com>
1638
1639         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1640         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
1641
1642 2002-01-10  Kazu Hirata  <kazu@hxi.com>
1643
1644         * combine.c (can_combine_p): Fix a comment typo.
1645
1646 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
1647
1648         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1649         empty list correctly.  Change loop index $t to $f for
1650         consistency with rest of Makefile.
1651
1652 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
1653
1654         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1655         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1656
1657         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1658         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1659         (altivec_init_builtins): Same.
1660         (altivec_expand_unop_builtin): Return NULL_RTX on error.
1661         (altivec_expand_binop_builtin): Same.
1662         (altivec_expand_ternop_builtin): Same.
1663         (bdesc_dst): New.
1664
1665         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1666         ("altivec_vctuxs"): Fix typo.
1667         ("altivec_vnmsubfp"): Same.
1668         ("altivec_dssall"): New.
1669         ("altivec_mfvscr"): New.
1670         ("altivec_dss"): New.
1671         ("altivec_lvsl"): New.
1672         ("altivec_lvsr"): New.
1673         ("altivec_dstt"): New.
1674         ("altivec_dstst"): New.
1675         ("altivec_dststt"): New.
1676         ("altivec_dst"): New.
1677
1678         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1679         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1680
1681 2002-01-09  Richard Henderson  <rth@redhat.com>
1682
1683         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1684
1685 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
1686
1687         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1688         function.
1689         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1690         prototype.
1691         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1692
1693 2002-01-09  Kazu Hirata  <kazu@hxi.com>
1694
1695         * read-rtl.c: Fix formatting.
1696         * real.c: Likewise.
1697         * regclass.c: Likewise.
1698         * regrename.c: Likewise.
1699         * reg-stack.c: Likewise.
1700         * reload1.c: Likewise.
1701         * reload.c: Likewise.
1702         * rtl.c: Likewise.
1703
1704 2002-01-09  Kazu Hirata  <kazu@hxi.com>
1705
1706         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1707         to extract items in the expr_list chain.
1708
1709 2002-01-09  Richard Henderson  <rth@redhat.com>
1710
1711         * config/vax/vax.c (vax_rtx_cost): Never abort.
1712
1713         * config/vax/vax.h (REAL_ARITHMETIC): Define.
1714
1715 2002-01-09  Jan Hubicka  <jh@suse.cz>
1716
1717         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1718
1719 2002-01-09  Richard Henderson  <rth@redhat.com>
1720
1721         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1722         Unify code from various alternatives.
1723
1724 2002-01-09  Richard Henderson  <rth@redhat.com>
1725
1726         * regrename.c (copy_value): Ignore the copy if the source register
1727         is present in the value chain with a narrower mode.
1728
1729 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
1730
1731         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1732         for the c4x target. Also improve layout.
1733
1734 2002-01-09  Richard Henderson  <rth@redhat.com>
1735
1736         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1737         * config/m32r/m32r.md (and ior xor splitters): Swap operands
1738         to match insn patterns.
1739
1740 2002-01-09  Richard Henderson  <rth@redhat.com>
1741
1742         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1743         (copyprop_hardreg_forward_1): Likewise.
1744
1745 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1746
1747         * pa.md (decrement_and_branch_until_zero): Change predicate for
1748         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1749
1750 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1751
1752         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1753         gets undefined. For Darwin.
1754
1755 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1756
1757         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1758
1759 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1760
1761         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1762
1763 2002-01-08  Richard Henderson  <rth@redhat.com>
1764
1765         * regrename.c (copy_value): Ignore overlapping copies.
1766
1767 2002-01-08  Richard Henderson  <rth@redhat.com>
1768
1769         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1770         as needed to avoid shared structure.
1771
1772 2002-01-08  Kazu Hirata  <kazu@hxi.com>
1773
1774         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1775         H8/300H and H8/S.
1776
1777 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1778
1779         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1780         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1781         documentation of obsolete macros.
1782         * system.h: Poison these macros.
1783         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1784         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1785         config/c4x/c4x.h, config/clipper/clipper.h,
1786         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1787         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1788         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1789         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1790         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1791         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1792         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1793         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1794         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1795         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1796         config/sparc/sparc.h, config/stormy16/stormy16.h,
1797         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1798         definitions and commented out definitions of obsolete macros.
1799         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1800         of MAX_INT_TYPE_SIZE.
1801
1802 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
1803
1804         * config/s390/s390.c (s390_preferred_reload_class): Never
1805         return ADDR_REGS if it isn't a subset of the given class.
1806         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1807         FP_REGS, but all superclasses as well.
1808
1809         * config/s390/s390.c (s390_function_profiler): Fix thinko.
1810
1811         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1812         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1813         must not be a const_int.
1814
1815 2002-01-08  Richard Henderson  <rth@redhat.com>
1816
1817         * Makefile.in (toplev.o): Depend on options.h.
1818         (gcc.o): Depend on specs.h.
1819
1820 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
1821
1822         * expr.c (store_expr): Convert VOIDmode constants back to target's
1823         mode.
1824
1825 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1826
1827         * doc/invoke.texi: Markup gcc as @command.  Refer to
1828         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1829         of http://gcc.gnu.org/thanks.html.
1830
1831 2002-01-08  Dale Johannesen  <dalej@apple.com>
1832
1833         * config/rs6000/rs6000.md: Add missing int register
1834         target case to movdf_low.
1835
1836 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
1837
1838         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1839         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
1840         (cppinit.o): Depend on except.h.
1841         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1842         s-specs): New rules.
1843
1844         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1845         Don't create specs.h/options.h/gencheck.h here.  Remove
1846         unnecessary variable settings from last argument of AC_OUTPUT.
1847         * config.in, configure: Regenerate.
1848         * intl.c: Hardcode package name as "gcc".
1849
1850         * cppinit.c: Include except.h.
1851         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1852         appropriate.
1853         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1854         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1855         (!)USING_SJLJ_EXCEPTIONS.
1856         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1857
1858 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1859
1860         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1861         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1862         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1863         documentation of obsolete macros.
1864         * system.h: Poison these macros.
1865         * config/d30v/d30v.h, config/ns32k/encore.h,
1866         config/stormy16/stormy16.h: Remove definitions and commented out
1867         definitions of obsolete macros.
1868
1869 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
1870
1871         * objc/objc-act.c (handle_class_ref): Mark the declaration of
1872         %sobjc_class_ref_%s as used - to prevent unwanted compiler
1873         warnings.
1874
1875 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
1876
1877         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1878         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1879         to insn adjusting stack/frame pointer.
1880         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1881         accept operands that cause the insn to be non-splittable.
1882
1883 2002-01-08  Graham Stott  <grahams@redhat.com>
1884
1885         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1886         (C_TYPE_FIELDS_VOLATILE): Likewise.
1887         (C_TYPE_BEING_DEFINED): Likewise.
1888         (C_IS_RESERVED_WORD): Likewise.
1889         (C_TYPE_VARIABLE_SIZE): Likewise.
1890         (C_DECL_VARIABLE_SIZE): Likewise.
1891         (C_MISSING_PROTOTYPE_WARNED): Likewise.
1892         (C_SET_EXP_ORIGINAL_CODE): Likewise.
1893         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1894         parenthesis.
1895         (C_DECL_ANTICIPATED): Likewise.
1896         (c_build_type_variant): Add parenthesis.
1897
1898 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1899
1900         * gcc.c (option_map): Remove --version.
1901         (process_command): Handle -fversion following the GNU Coding
1902         Standards.  Partially addresses PR other/704.
1903
1904 2002-01-08  Graham Stott  <grahams@redhat.com>
1905
1906         * combine.c (combine_instructions): Fix typo.
1907
1908 2002-01-08  Graham Stott  <grahams@redhat.com>
1909
1910         * debug.h: Use "tree" and "rtx" throughout.
1911
1912         * debug.c: Likewise.
1913
1914 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
1915
1916         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1917         constant pool, use the pool's version of the symbol instead.
1918
1919 2002-01-07  Richard Henderson  <rth@redhat.com>
1920
1921         * regrename.c (find_oldest_value_reg): Ignore the value chain if
1922         the original register was copied in a mode with a fewer number of
1923         hard registers than the desired mode.
1924         (copyprop_hardreg_forward_1): Likewise.
1925         (debug_value_data): Fix loop test.
1926         * toplev.c (parse_options_and_default_flags): Reenable
1927         -fcprop-registers at -O1.
1928
1929 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
1930
1931         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1932         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1933
1934         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1935         predicates.
1936
1937         * config/rs6000/rs6000.md: Add altivec predicate patterns.
1938
1939 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1940
1941         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1942         (pa_output_function_prologue): Output local label at the beginning of
1943         the prologue when profiling.
1944         (hppa_profile_hook): Use the local label rather than the function label.
1945         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1946
1947 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
1948
1949         * config/rs6000/rs6000.c (print_operand): Remove extra space.
1950         (altivec_expand_unop_builtin): Fix thinko.
1951         (altivec_expand_binop_builtin): Same.
1952         (altivec_expand_ternop_builtin): Same.
1953         (altivec_expand_builtin): Same.
1954
1955 2002-01-07  Richard Henderson  <rth@redhat.com>
1956
1957         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1958
1959 2002-01-07  Jason Merrill  <jason@redhat.com>
1960
1961         * unwind-dw2.c (execute_cfa_program): Use < again.
1962
1963 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
1964
1965         * predict.c (combine_predictions_for_insn): Avoid division by zero.
1966
1967 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
1968
1969         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1970         Don't allow -1 - x -> ~x simplifications in the first pass.
1971
1972 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
1973
1974         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1975         arguments.
1976         (altivec_expand_binop_builtin): Same.
1977         (altivec_expand_unop_builtin): Same.
1978         (print_operand): Fix typo.
1979         (bdesc_1arg): Add vupk* variants.
1980
1981         * rs6000.h (rs6000_builtins): Add vupk* enums.
1982
1983         * rs6000.md: Add altivec_vupk* variants.
1984
1985 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1986
1987         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1988         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1989         and last update dates.
1990
1991 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
1992
1993         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1994
1995 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1996
1997         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1998         * config/avr/avr.h (CPP_SPEC): Likewise.
1999         (LINK_SPEC): Likewise.
2000         (CRT_BINUTILS_SPECS): Likewise.
2001         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2002         * doc/invoke.texi (AVR Options): Document them.
2003
2004 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
2005
2006         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2007         LABEL_NUSES.
2008
2009 2002-01-07  Graham Stott  <grahams@redhat.com>
2010
2011         * config/i386/i386.h: Update copyright date.
2012         (HALF_PIC_PTR): Add parenthesis.
2013         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2014         (CONSTANT_ALIGNMENT): Add parenthesis.
2015         (DATA_ALIGNMENT): Likewise.
2016         (LOCAL_ALIGNMENT): Likewise.
2017         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2018         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2019         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2020         (HARD_REGNO_NREGS): Add paranethesis.
2021         (VALID_SSE_REG_MODE): Whitespace.
2022         (VALID_MMX_REG_MODE): Whitespace.
2023         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2024         (ix86_hard_regno_mode_ok): Add parenthesis.
2025         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2026         (RETURN_IN_MEMORY): Whitespace.
2027         (N_REG_CLASSES): Add parenthesis.
2028         (INTEGER_CLASS_P): Add parenthesis and wrap.
2029         (FLOAT_CLASS_P): Likewise.
2030         (SSE_CLASS_P): Likewise.
2031         (MMX_CLASS_P): Likewise.
2032         (MAYBE_INTEGER_CLASS_P): Likewise.
2033         (MAYBE_FLOAT_CLASS_P): Likewise.
2034         (MAYBE_SSE_CLASS_P): Likewise.
2035         (MAYBE_MMX_CLASS_P): Likewise.
2036         (Q_CLASS_P): Likewise.
2037         (GENERAL_REGNO_P): Uppercase macro parameter.
2038         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2039         (FP_REGNO_P): Likewise.
2040         (ANY_FP_REGNO_P): Uppercase macro parameter.
2041         (SSE_REGNO_P): Likewise.
2042         (SSE_REGNO): Likewise.
2043         (SSE_REG_P): Likewise.
2044         (SSE_FLOAT_MODE_P): Likewise.
2045         (MMX_REGNO_P): Likewise.
2046         (MMX_REG_P):Likewise.
2047         (STACK_REG_P): Likewise.
2048         (NON_STACK_REG_P): Likewise.
2049         (STACK_TOP_P): Likewise.
2050         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2051         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2052         (SECONDARY_MEMORY_NEEDED): Likewise.
2053         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2054         (MD_ASM_CLOBBERS): Whitespace and wrap.
2055         (MUST_PASS_IN_STACK): Whitespace and wrap.
2056         (RETURN_POPS_ARGS): Add parenthesis.
2057         (INIT_CUMULATIVE_ARGS): Likewise.
2058         (FUNCTION_ARG): Likewise.
2059         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2060         (SETUP_INCOMING_VARARGS): Likewise.
2061         (BUILD_VA_LIST_TYPE):  Add parenthesis.
2062         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2063         parenthsis.
2064         (EXPAND_BUILTIN_VA_ARG): Likewise.
2065         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2066         (INITIALIZE_TRAMPOLINE): Add parenthesis.
2067         (INITIAL_ELIMINATION_OFFSET): Likewise.
2068         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2069         (REGNO_OK_FOR_BASE_P): Likewise.
2070         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2071         (REGNO_OK_FOR_DIREG_P): Likewise.
2072         (REG_OK_FOR_INDEX_P): Whitespace.
2073         (REG_OK_FOR_BASE_P): Whitespace.
2074         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2075         parenthesis.
2076         (FIND_BASE_TERM): Fix typo.
2077         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
2078         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2079         (SYMBOLIC_CONST; Whitespace.
2080         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
2081         (ENCODE_SECTION_INFO): Whitespace.
2082         (FINALIZE_PIC): Remove do { ... } while (0).
2083         (PROMOTE_MODE): Wrap in do { ... } while (0).
2084         (CONST_COSTS): Whitespace.
2085         (RTX_COSTS): Add paramethesis, whitespace and wrap.
2086         (REGISTER_MOVE_COST): Add parenthesis.
2087         (MEMORY_MOVE_COST): Likewise.
2088         (EXTRA_CC_MODES): Whitespace.
2089         (SELECT_CC_MODE): Add parenthesis and whitespace.
2090         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2091         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2092         (ASM_OUTPUT_LABEL): Add paramethesis.
2093         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2094         (ASM_OUTPUT_REG_POP): Likewise.
2095         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2096         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2097
2098         * config/i386/i386.c: Update copyright.
2099         (CHECK_STACK_LIMIT): Add parenthesis.
2100         (AT_BP): Uppercase macro parameter.
2101         (x86_64_int_parameter_registers): Constify.
2102         (x86_64_int_return_registers): Likewise.
2103         (ix86_compare_op0): Use rtx.
2104         (construct_container): Constify INTREG parameter.
2105         (function_arg): Use rtx.
2106
2107         * diagnostic.h: Update copyright date.
2108         (output_buffer_state): Add parenthesis.
2109         (output_buffer_format_args): Likewise.
2110
2111         * combine.c (combine_instructions): Replace XEXP (links, 0)
2112         with link.
2113
2114 2002-01-06  H.J. Lu <hjl@gnu.org>
2115
2116         * cfgcleanup.c (thread_jump): Fix 2 typos.
2117
2118 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
2119
2120         * config.gcc: Add support for --enable-altivec.
2121
2122 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2123
2124         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2125
2126 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
2127
2128         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2129         __objc_class_name_*.
2130
2131 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2132
2133         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2134
2135 2002-01-06  Richard Henderson  <rth@redhat.com>
2136
2137         * reorg.c (emit_delay_sequence): Remove death notes, not merely
2138         nop them out.  Increment label reference count for REG_LABEL.
2139         (fill_slots_from_thread): Frob label reference count around
2140         delete_related_insns.
2141
2142 2002-01-05  Richard Henderson  <rth@redhat.com>
2143
2144         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2145         jump threading.
2146
2147 2002-01-05  Richard Henderson  <rth@redhat.com>
2148
2149         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2150         * integrate.c (output_inline_function): Likewise.
2151         * toplev.c (rest_of_compilation): Do it here instead.  Move call
2152         to remove_unnecessary_notes after emitting abstract instance.
2153         Force an emitted nested function to have its parent emited as well.
2154         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2155         for null.
2156         (rtl_for_decl_location): Do not look at reload data structures
2157         before reload has run.
2158
2159 2002-01-05  Kazu Hirata  <kazu@hxi.com>
2160
2161         * cse.c: Fix formatting.
2162         * dwarf2asm.c: Likewise.
2163         * dwarf2out.c: Likewise.
2164         * explow.c: Likewise.
2165         * expmed.c: Likewise.
2166         * function.c: Likewise.
2167         * gcov.c: Likewise.
2168         * gencheck.c: Likewise.
2169         * genrecog.c: Likewise.
2170         * ggc-common.c: Likewise.
2171         * ggc-page.c: Likewise.
2172         * global.c: Likewise.
2173
2174 2002-01-05  Kazu Hirata  <kazu@hxi.com>
2175
2176         * combine.c: Fix formatting.
2177
2178 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
2179
2180         PR middle-end/1557
2181         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2182
2183 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
2184
2185         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2186         as 1 for __powerpc64__ as well.
2187
2188         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2189
2190         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2191         return it.
2192
2193 2002-01-05  Daniel Berlin  <dan@dberlin.org>
2194
2195         * lcm.c: Revert change, due to performance regression it causes on
2196         SPEC because it's slightly more conservative (sigh, I hate
2197         edge-based LCM).
2198
2199 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
2200
2201         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2202
2203 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
2204
2205         * doc/cppinternals.texi: Update.
2206
2207 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
2208
2209         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2210         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2211         negatives.
2212         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
2213         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2214         kludge for pre-october-14th mmix versions to handle new-found bug
2215         with PUSHJ/PUSHGO and the register stack.
2216         * config/mmix/mmix.h (struct machine_function): Rename member
2217         has_call_value_without_parameters to has_call_without_parameters.
2218         All referers changed.
2219         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2220         TARGET_MASK_BRANCH_PREDICT): New macros.
2221         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2222         -mno-reg-stack-fill-bug-workaround.
2223         * config/mmix/mmix.md ("call"): Set struct machine member
2224         has_call_without_parameters.
2225
2226 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
2227
2228         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2229
2230 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
2231
2232         * cfgcleanup.c: Include tm_p.h
2233         (mark_effect): Fix handling of hard register; fix handling of SET
2234
2235 2002-01-04  Kazu Hirata  <kazu@hxi.com>
2236
2237         * config/h8300/h8300.md (anonymous patterns): Check that
2238         operands are registers before using REGNO on them.
2239
2240 2002-01-03  Roland McGrath  <roland@frob.com>
2241
2242         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2243
2244 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
2245
2246         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2247         * c-common.h (genrtl_expr_stmt_value): Likewise.
2248         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2249         (expand_expr_stmt_value): Add maybe_last argument.
2250         Don't warn about statement with no effect if it is the last statement
2251         in expression statement.
2252         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2253         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2254         expand_expr_stmt_value.
2255         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2256         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2257         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2258         as maybe_last to expand_expr_stmt_value.
2259
2260 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
2261
2262         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2263         be passed in, do not build it.
2264         (c_begin_if_stmt): New function.
2265         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2266         * c-common.h (c_expand_start_cond): Update prototype.
2267         (c_begin_if_stmt): Prototype new function.
2268         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2269         * c-parse.in (if_prefix): Use c_begin_if_stmt,
2270         c_begin_while_stmt and c_finish_while_stmt_cond.
2271
2272 2002-01-04  William Cohen  <wcohen@redhat.com>
2273
2274         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2275         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2276         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2277         * config/pa/som.h (ASM_FILE_START): Likewise.
2278
2279 2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
2280
2281         * lcm.c: Include df.h.
2282         Add available_transfer_function prototype.
2283         (compute_available): Rework to use iterative dataflow framework.
2284         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2285         with bb_info in df.h
2286         (available_transfer_function): New function.
2287
2288         * Makefile.in (lcm.o): add df.h to dependencies.
2289
2290 2002-01-04  Richard Henderson  <rth@redhat.com>
2291
2292         * config/alpha/alpha.c (some_operand): Accept HIGH.
2293         (input_operand): Likewise; accept simple references to globals.
2294         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2295         (alpha_const_double_ok_for_letter_p): Likewise.
2296         (alpha_extra_constraint): Likewise.
2297         (alpha_preferred_reload_class): Likewise.  Do not force
2298         symbolic constants to memory.
2299         (alpha_legitimate_address_p): Accept simple references
2300         to small_symbolic_operand.
2301         (alpha_legitimize_address): New arg scratch.  Be prepared to be
2302         called when no_new_pseudos.  Emit simple symbolic references.
2303         Split integers into low, high, and rest.
2304         (alpha_expand_mov): Use alpha_legitimize_address.
2305         (some_small_symbolic_mem_operand): New.
2306         (split_small_symbolic_mem_operand): New.
2307         * config/alpha/alpha-protos.h: Update.
2308         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2309         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2310         (EXTRA_CONSTRAINT): Likewise.
2311         (PREFERRED_RELOAD_CLASS): Likewise.
2312         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2313         (PREDICATE_CODES): Update.
2314         * config/alpha/alpha.md: New post-reload splitters to convert
2315         simplfied symbolic operands to the form that references $29.
2316         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2317         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2318
2319 2002-01-03  Richard Henderson  <rth@redhat.com>
2320
2321         * local-alloc.c (function_invariant_p): Update commentary.
2322
2323 2002-01-04  H.J. Lu <hjl@gnu.org>
2324
2325         * toplev.c (rest_of_compilation): Fix a typo when calling
2326         cleanup_cfg.
2327
2328 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2329
2330         * c-common.c: Fix formatting.
2331         * diagnostic.c: Likewise.
2332         * doloop.c: Likewise.
2333         * dwarf2out.c: Likewise.
2334
2335 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2336
2337         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2338         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2339
2340 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2341
2342         * cpperror.c: Update comments and copyright.
2343         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2344         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2345
2346 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2347
2348         * collect2.c (main): Use strcmp when testing for "-shared".
2349
2350 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2351
2352         * cppmacro.c: Don't include intl.h.  Update comments.
2353         (new_number_token): Allocate enough buffer for 64-bit unsigned
2354         integers; update prototype.
2355         * cppmain.c: Update comments.
2356
2357 2002-01-03  William Cohen  <wcohen@redhat.com>
2358
2359         * function.h (struct function): Add profile.
2360         (current_function_profile): New.
2361         doc/extend.texi: Update documentation.
2362         * final.c (final_start_function): Use current_function_profile
2363         instead of profile_flag.
2364         (profile_after_prologue): Likewise.
2365         * function.c (expand_function_start): Likewise.
2366         (expand_function_start): Likewise.
2367         * config/alpha/alpha.c (direct_call_operand):
2368         (alpha_does_function_need_gp): Likewise.
2369         (alpha_expand_prologue): Likewise.
2370         * config/arm/arm.c (arm_expand_prologue): Likewise.
2371         thumb_expand_prologue: Likewise.
2372         * config/d30v/d30v.c (d30v_stack_info): Likewise.
2373         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2374         (fr30_expand_prologue): Likewise.
2375         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2376         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2377         * config/i386/i386.h (FINALIZE_PIC): Likewise.
2378         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2379         * config/i960/i960.c (i960_output_function_prologue): Likewise.
2380         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2381         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2382         (m32r_expand_prologue): Likewise.
2383         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2384         (m88k_expand_prologue): Likewise.
2385         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2386         * config/mips/mips.c (compute_frame_size): Likewise.
2387         (mips_expand_prologue): Likewise.
2388         (mips_can_use_return_insn): Likewise.
2389         * config/pa/elf.h (ASM_FILE_START): Likewise.
2390         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2391         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2392         * config/pa/som.h (ASM_FILE_START): Likewise.
2393         * config/romp/romp.c (romp_using_r14): Likewise.
2394         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2395         (rs6000_stack_info): Likewise.
2396         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2397         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2398         * config/v850/v850.c (compute_register_save_size): Likewise.
2399
2400 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
2401
2402         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2403         gen_lowpart_common fails, use gen_lowpart_SUBREG.
2404
2405 2002-01-03  Turly O'Connor  <turly@apple.com>
2406
2407         * darwin.c (machopic_output_possible_stub_label): Don't generate
2408         stub routines for pseudo-stubs which we've just defined.
2409
2410 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2411
2412         * builtins.c: Fix formatting.
2413         * c-typeck.c: Likewise.
2414         * combine.c: Likewise.
2415         * expr.c: Likewise.
2416         * loop.c: Likewise.
2417
2418 2002-01-03  Andreas Schwab  <schwab@suse.de>
2419
2420         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2421         and return true if _cpp_push_next_buffer pushed a new include
2422         file.
2423         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2424         _cpp_pop_file_buffer did not push a new file.
2425         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2426
2427 2002-01-02  Eric Christopher  <echristo@redhat.com>
2428
2429         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2430         FIND_REG_INC_NOTE call. Update copyright.
2431         * loop.c (canonicalize_condition): Ditto.
2432         * reorg.c (delete_scheduled_jump): Ditto.
2433
2434 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2435
2436         * gcse.c: Fix formatting.
2437
2438 2002-01-03  Graham Stott  <grahams@redhat.com>
2439
2440         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2441         forward defs for struct tags rtx_def, union_tree, rtvec_def
2442         also output corresponding typedefs for rtx, tree, and rtvec.
2443
2444         * system.h: Move forward defs for struct tags rtx_def, union_tree,
2445         rtvec_def along with corresponding typedefs for rtx, tree, and
2446         rtvec to config.h, hconfig.h, tconfig.h.
2447
2448 2002-01-03  Graham Stott  <grahams@redhat.com>
2449
2450         * tree.h: Update copyright date.
2451         (IS_EXPR_CODE_CLASS): Add parenthesis.
2452         (TREE_SET_CODE): Add whitespace.
2453         (TREE_CHECK): Add parenthesis.
2454         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2455         (CST_OR_CONSTRUCTOR_CHECK):
2456         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2457         (TREE_SYMBOL_REFERENCED): Whitespace.
2458         (INT_CST_LT): Likewise.
2459         (INT_CST_LT_UNSIGNED): Likewise.
2460         (tree_real_cst): Unwrap comment.
2461         (tree_string): Likewise.
2462         (tree_complex): Likewise.
2463         (IDENTIFIER_POINTER): correct cast.
2464         (SAVE_EXPR_CONTEXT): Whitespace.
2465         (EXPR_WFL_FILENAME_NODE): Likewise.
2466         (EXPR_WFL_FILENAME): Remove parenthesis.
2467         (DECL_ORIGIN): Add parenthesis.
2468         (DECL_FROM_INLINE): Use NULL_TREE.
2469         (build_int_2): Whitespace.
2470         (build_type_variant): Add parenthesis.
2471
2472         * gcc/jcf-parse.c: Update copyright date.
2473         (yyparse): Constify resource_filename.
2474
2475 2002-01-03  Graham Stott  <grahams@redhat.com>
2476
2477         * rtl.h: Update copyright date.
2478         (RTL_CHECK1): Wrap long line.
2479         (RTL_CHECK2): Likewise.
2480         (RTL_CHECKC1): Wrap long line and whitespace.
2481         (RTL_CHECKC2): Likewise.
2482         (XWINT): Whitespace.
2483         (XINT): Likewise.
2484         (XSTR): Likewise.
2485         (XEXP): Likewise.
2486         (XVEC): Likewise.
2487         (XMODE): Likewise.
2488         (XBITMAP): Likewise.
2489         (XTREE): Likewise.
2490         (XBBDEF): Likewise.
2491         (XTMPL): Likewise.
2492         (X0WINT): Likewise.
2493         (X0INT):Likewise.
2494         (X0UINT): Likewise.
2495         (X0STR): Likewise.
2496         (X0EXP): Likewise.
2497         (X0VEC): Likewise.
2498         (X0MODE): Likewise.
2499         (X0BITMAP): Likewise.
2500         (X0TREE): Likewise.
2501         (X0BBDEF): Likewise.
2502         (X0ADVFLAGS): Likewise.
2503         (X0CSELIB): Likewise.
2504         (X0MEMATTR): Likewise.
2505         (XCWINT): Likewise.
2506         (XCINT): Likewise.
2507         (XCUINT): Likewise.
2508         (XCSTR): Likewise.
2509         (XCEXP): Likewise.
2510         (XCVEC): Likewise.
2511         (XCMODE): Likewise.
2512         (XCBITMAP): Likewise.
2513         (XCTREE): Likewise.
2514         (XCBBDEF): Likewise.
2515         (XCADVFLAGS): Likewise.
2516         (XCCSELIB): Likewise.
2517         (XC2EXP): Likewise.
2518         (INSN_UID): Likewise.
2519         (PREV_INSN): Likewise.
2520         (PATTERN): Likewise.
2521         (INSN_CODE): Likewise.
2522         (PUT_REG_NOTE_KIND): Likewise.
2523         (CODE_LABEL_NUMBER): Likewise.
2524         (NOTE_SOURCE_FILE): Likewise.
2525         (NOTE_BLOCK): Likewise.
2526         (NOTE_EH_HANDLER): Likewise.
2527         (NOTE_RANGE_INFO): Likewise.
2528         (NOTE_LIVE_INFO): Likewise.
2529         (NOTE_BASIC_BLOCK): Likewise.
2530         (NOTE_EXPECTED_VALUE): Likewise.
2531         (NOTE_LINE_NUMBER): Likewise.
2532         (LABEL_NAME): Likewise.
2533         (LABEL_NUSES): Likewise.
2534         (LABEL_ALTERNATE_NAME): Likewise.
2535         (ADDRESSOF_DECL): Likewise.
2536         (JUMP_LABEL): Likewise.
2537         (LABEL_NEXTREF): Likewise.
2538         (REGNO): Likewise.
2539         (ORIGINAL_REGNO: Likewise.
2540         (HARD_REGISTER_NUM_P): Add parenthesis.
2541         (SUBREG_REG): Whitespace.
2542         (SUBREG_BYTE): Likewise.
2543         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2544         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2545         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2546         (ASM_OPERANDS_INPUT_VEC): Likewise.
2547         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2548         (ASM_OPERANDS_INPUT): Likewise.
2549         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2550         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2551         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2552         (ASM_OPERANDS_INPUT_MODE): Likewise.
2553         (ASM_OPERANDS_SOURCE_FILE): Likewise.
2554         (ASM_OPERANDS_SOURCE_LINE): Likewise.
2555         (MEM_SET_IN_STRUCT_P): Minor reformat.
2556         (TRAP_CONDITION): Whitespace.
2557         (TRAP_CODE): Likewise.
2558         (COND_EXEC_TEST): Likewise.
2559         (COND_EXEC_CODE): Likewise.
2560         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2561         (PHI_NODE_P): Add parenthesis.
2562         (plus_constant): Whitespace and add parenthesis.
2563
2564 2002-01-03  Kazu Hirata  <kazu@hxi.com>
2565
2566         * config/avr/avr.c: Fix comment typos.
2567         * config/c4x/c4x.md: Likewise.
2568         * config/dsp16xx/dsp16xx.h: Likewise.
2569         * config/dsp16xx/dsp16xx.md: Likewise.
2570         * config/i386/i386.md: Likewise.
2571         * config/ia64/ia64.c: Likewise.
2572         * config/m32r/m32r.h: Likewise.
2573         * config/m68hc11/m68hc11.md: Likewise.
2574         * config/mmix/mmix.c: Likewise.
2575         * config/mn10200/mn10200.c: Likewise.
2576         * config/romp/romp.c: Likewise.
2577         * config/sh/sh.c: Likewise.
2578         * config/stormy16/stormy16.c: Likewise.
2579         * config/stormy16/stormy16.h: Likewise.
2580         * config/stormy16/stormy16.md: Likewise.
2581
2582 2002-01-03  Graham Stott  <grahams@redhat.com>
2583
2584         * loop.h: Update copyright date.
2585         (LOOP_MOVABLES): Fix typo.
2586         (LOOP_REGS): Likewise.
2587         (LOOP_IVS): Likewise.
2588
2589 2002-01-03  Graham Stott  <grahams@redhat.com>
2590
2591         * cppinit.c: Update copyright date.
2592         Don't include output.h
2593         * Makefile.in: Update copyright date.
2594         Update dependency.
2595
2596 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2597
2598         PR c/5226
2599         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2600         (-pthread) Add to RS/6000 options.
2601
2602 2002-01-02  Kazu Hirata  <kazu@hxi.com>
2603
2604         * except.c: Fix comment typos.
2605         * loop.c: Likewise.
2606         * varasm.c: Likewise.
2607         * doc/tm.texi: Fix a typo.
2608
2609 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
2610
2611         * c-typeck.c (output_init_element): Allow initializing static storage
2612         duration objects with compound literals.
2613
2614 2002-01-02  Richard Henderson  <rth@redhat.com>
2615
2616         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2617         after abusing it.
2618
2619 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2620
2621         * gcc.c (default_compilers): Const-ify.
2622         * mips-tdump.c (stab_names): Likewise.
2623         * mips-tfile.c (map_coff_types, map_coff_storage,
2624         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2625         pseudo_ops_t, pseudo_ops): Likewise.
2626         * protoize.c (default_include): Likewise
2627
2628         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2629         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2630         Add array size in declaration.
2631         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2632         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2633         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2634         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2635         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2636         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2637         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2638         emtens, make_nan): Const-ify.
2639         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2640         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2641
2642 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
2643
2644         * config.gcc (ia64-*-*): Set extra_headers.
2645         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
2646         * config/alpha/t-osf: Remove.
2647         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2648
2649 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
2650
2651         * config/rs6000/t-aix43: Revert previous change.
2652
2653 2002-01-02  Jason Merrill  <jason@redhat.com>
2654
2655         * c-decl.c (c_expand_body): Call outlining_inline_function when
2656         emitting an inline function out of line.
2657
2658 2002-01-02  Richard Henderson  <rth@redhat.com>
2659
2660         * dwarf2out.c (limbo_die_node): Add created_for member.
2661         (new_die): New argument created_for.  Update all callers.
2662         (mark_limbo_die_list): New.
2663         (dwarf2out_init): Register limbo_die_list as a root.
2664         (dwarf2out_finish): Force insert limbo dies into their function
2665         context.
2666
2667 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
2668
2669         PR c++/5089
2670         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2671
2672 2002-01-02  Kazu Hirata  <kazu@hxi.com>
2673
2674         * config/h8300/fixunssfsi.c: Update copyright.
2675         Fix comment typos.
2676         Fix formatting.
2677         * config/h8300/h8300.c: Update copyright.
2678         Eliminate warnings.
2679
2680 2002-01-02  Kazu Hirata  <kazu@hxi.com>
2681
2682         * config/romp/romp.c: Fix comment formatting.
2683         * config/romp/romp.h: Likewise.
2684         * config/romp/romp.md: Likewise.
2685         * config/s390/s390.c: Likewise.
2686         * config/stormy16/stormy16.c: Likewise.
2687         * config/stormy16/stormy16.h: Likewise.
2688
2689 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
2690
2691         * c-common.h (genrtl_expr_stmt_value): Declare.
2692         * c-semantics.c (genrtl_goto_stmt): Redirect to...
2693         (genrtl_goto_stmt_value): ... this new function.  Pass new
2694         argument down to expand_expr_stmt_value, taking
2695         TREE_ADDRESSABLE into account.
2696         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2697         STMT_EXPR as addressable, i.e., one whose result we want.
2698         * expr.c (expand_expr): Don't save expression statement value
2699         of labeled_blocks or loop_exprs.
2700         * stmt.c (expand_expr_stmt): Redirect to...
2701         (expand_expr_stmt_value): ... this new function.  Use new
2702         argument to tell whether to save expression value.
2703         (expand_end_stmt_expr): Reset last_expr_type and
2704         last_expr_value if we don't have either.
2705         * tree-inline.c (declare_return_variable): Mark its use
2706         statement as addressable.
2707         * tree.h: Document new use of TREE_ADDRESSABLE.
2708         (expand_expr_stmt_value): Declare.
2709
2710 2002-01-01  Tom Rix  <trix@redhat.com>
2711
2712         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2713         rs6000_emit_allocate_stack.
2714
2715 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
2716
2717         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2718         ${srcdir}/ginclude/ to every entry in extra_headers.
2719         * configure: Regenerate.
2720         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2721         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2722         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2723         * ginclude/proto.h: Rename to config/convex/proto.h.
2724
2725 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2726
2727         * attribs.c (handle_vector_size_attribute): Use host_integerp
2728         and tree_int_cst; remove warnings.
2729         * caller-save.c (insert_restore): Add cast to get rid of warning.
2730         (insert_save): Likewise.
2731         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2732         * regmove.c (find_matches): Add temporary var to kill a warning.
2733
2734 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
2735
2736         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2737         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2738         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2739         (vms-dwarf2eh.o): Add Makefile rule.
2740         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2741         * config/alpha/vms-dwarf2eh.asm: New file.
2742
2743         * gcc.c (delete_if_ordinary): Delete all versions.
2744
2745 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
2746
2747         * config/mmix/mmix.md: Update FIXME to not mention
2748         define_constants.
2749         (MMIX_rJ_REGNUM): New define_constants constant.
2750         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2751         "*movdicc_real"): Adjust contraints formatting.
2752         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2753         for branch prediction.
2754         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2755         output template.
2756         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2757         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2758         number.  Delete related FIXMEs.
2759         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2760         from number to MMIX_rJ_REGNUM.
2761         (TARGET_MASK_BRANCH_PREDICT): New.
2762         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2763         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
2764         value.  Add -mbranch-predict and -mno-branch-predict.
2765         (TARGET_VERSION): Drop date.
2766         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2767         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2768         for finding out global symbols.
2769         (mmix_asm_output_labelref): Revert condition for global symbol.
2770         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2771         (mmix_print_operand_punct_valid_p): A '+' is valid.
2772
2773 See ChangeLog.6 for earlier changes.