OSDN Git Service

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