OSDN Git Service

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