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