OSDN Git Service

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