OSDN Git Service

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