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