OSDN Git Service

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