OSDN Git Service

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