OSDN Git Service

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