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