1 2002-07-25 Release Manager
5 2002-07-21 Nick Clifton <nickc@redhat.com>
7 * Import following patch from mainline:
9 2002-03-18 Bernd Schmidt <bernds@redhat.com>
11 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart
12 instead of gen_rtx_SUBREG.
13 (arm_reload_out_hi): Use gen_lowpart instead of
14 gen_rtx_SUBREG to access QImode components.
15 * config/arm/arm.md: Disable zero_extend split for QImode
16 subregs in BIG_ENDIAN mode.
17 (storehi_bigend): Match use of least significant byte.
18 (storeinthi): Remove extraneous SUBREG.
19 Add missing construction of operands[2].
20 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
21 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
22 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
24 2002-07-18 Richard Henderson <rth@redhat.com>
27 * ifcvt.c (noce_get_condition): Make certain that the condition
30 2002-07-16 Hans-Peter Nilsson <hp@axis.com>
32 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
35 2002-07-15 Eric Botcazou <ebotcazou@multimania.com>
38 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
39 dies in more than one insn.
41 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
43 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
45 2002-07-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
47 * bb-reorder.c (make_reorder_chain_1): Search harder for the vax
49 * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
51 * vax.md (casesi): Use emit_jump_insn. Remove unused constraints.
53 2002-07-15 Jakub Jelinek <jakub@redhat.com>
56 * config/i386/i386.c (const_int_1_31_operand): New.
57 * config/i386/i386.h (PREDICATE_CODES): Add it.
58 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
59 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
60 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
62 2002-06-11 Andreas Schwab <schwab@suse.de>
64 * config/m68k/m68k.h (PREDICATE_CODES): Define.
66 2002-07-15 Alan Modra <amodra@bigpond.net.au>
69 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
70 (floatunssidf2): Likewise.
71 (floatsidf_ppc64): New insn_and_split.
72 (floatunssidf_ppc64): Likewise.
74 2002-07-12 Stephane Carrez <stcarrez@nerim.fr>
76 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
78 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
79 of it, forbid reload to use it.
81 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
83 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
84 usage on 64-bit hosts, return value was truncated to 32 bits.
86 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
88 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand.
89 Remove comment. Change predicate of 32-bit adddi3 insn pattern to
91 * pa-protos.h (adddi3_operand): Add prototype.
92 * pa.c (cint_ok_for_move): Fix comment.
93 (adddi3_operand): New function.
94 (emit_move_sequence): Don't directly split DImode constants on
97 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
99 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
100 QI mode registers in soft registers.
101 ("zero_extendqihi2"): Do not take into account soft registers
102 for register allocation (use '*' constraint).
104 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
106 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
108 ("*ashrsi3"): Likewise.
109 ("*lshrsi3"): Likewise.
111 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
113 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
114 address computation and memory moves.
116 2002-07-03 Mark Mitchell <mark@codesourcery.com>
119 * dwarfout.c (output_reg_number): Fix warning message.
120 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
123 2002-07-03 Richard Henderson <rth@redhat.com>
125 * config/i386/i386.md (prologue_get_pc): Issue pop here ...
126 * config/i386/i386.c (load_pic_register): ... not here.
128 2002-07-03 David Edelsohn <edelsohn@gnu.org>
130 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
131 in FPR as preference.
133 (floatdidf2, fix_truncdfdi2): Same.
134 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
136 (floatsitf2, fix_trunctfsi2): SImode in GPR.
137 (ctrdi): Remove FPR alternative and splitter.
139 2002-07-02 Hans-Peter Nilsson <hp@axis.com>
142 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
143 of indirections for register inside sign-extended mem part.
145 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
147 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
149 2002-06-30 David Edelsohn <edelsohn@gnu.org>
151 * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
152 constraint in define_expand, not splitter.
154 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
156 * configure.in (gcc_gxx_include_dir): Change to match versioned
157 C++ headers if --enable-version-specific-runtime-libs is used.
158 * configure: Regenerate.
160 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
162 * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
163 avoid the auto increment addressing modes.
164 ("*subsi3"): Likewise.
165 (split for add/sub on address): For 68HC12 push the value on
166 the stack and do the operation with a pop.
168 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
170 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
171 * config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
173 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
174 do not reorder basic blocks at the end when optimizing for size.
176 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
178 * config/m68hc11/m68hc11.c (autoinc_mode): New function.
179 (m68hc11_make_autoinc_notes): New function.
180 (m68hc11_split_move): Be very cautious when spliting a move with
181 auto increment/decrement modes because this may result in incompatible
182 directions; add REG_INC notes to the resulting insn for CSE reg.
184 2002-06-28 Stephane Carrez <Stephane.Carrez@nerim.fr>
186 * config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
187 can be a valid address.
189 2002-06-28 Bob Wilson <bob.wilson@acm.org>
191 * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
192 config/xtensa/xtensa.c (xtensa_return_addr): New function.
193 config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
194 config/xtensa/xtensa.md (fix_return_addr): New pattern.
196 2002-06-28 Bob Wilson <bob.wilson@acm.org>
198 * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
199 when generating the call to _mcount.
200 (NO_PROFILE_COUNTERS): Define.
202 2001-06-08 Bernd Schmidt <bernds@redhat.com>
204 * emit-rtl.c (gen_lowpart_common): Don't create paradoxical FLOAT_MODE
206 * recog.c (general_operand, register_operand): Disallow them.
208 2002-06-27 Bob Wilson <bob.wilson@acm.org>
210 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass
211 flag_function_sections as new 3rd arg to resolve_unique_section.
213 2002-06-27 Neil Booth <neil@daikokuya.co.uk>
216 * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
218 2002-06-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
220 * doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move
221 Hitachi entry. Make punctuation more consistent.
223 2002-06-27 Matt Kraai <kraai@alumni.cmu.edu>
225 * doc/install.texi: Change ` bit' to `-bit'.
226 * doc/md.texi: Change `-bits' to `-bit'.
227 * doc/tm.texi: Change `-bits' to ` bits'.
229 2002-06-24 David S. Miller <davem@redhat.com>
231 * config/sparc/sparc.h (INIT_TARGET_OPTABS): If ARCH64, set the
232 32-bit ABI libfuncs to NULL.
234 * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
235 optabs if op1 is const0_rtx.
237 2002-06-23 Jan Hubicka <jh@suse.cz>
239 * reg-stack.c (convert_regs_exit): Push the registers to stack in
242 2002-06-22 Ulrich Weigand <uweigand@de.ibm.com>
245 * function.c (assign_stack_temp_for_type): Do not return
246 the same MEM rtx for multiple uses of a stack slot.
248 2002-06-22 David S. Miller <davem@redhat.com>
250 PR target/6841 target/6770 target/6719
251 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
252 NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
253 GENERAL_OR_EXTRA_FP_REGS.
255 2002-06-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
257 * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
259 * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
260 * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Likewise.
263 2002-06-21 Bo Thorsen <bo@suse.de>
265 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
266 support so multilib works again. And don't define this at all
267 when -Dinhibit_libc is used.
269 Thu Jun 20 16:41:40 CEST 2002 Jan Hubicka <jh@suse.cz>
271 * combine.c (gen_lowpart_for_combine): Avoid calling of
272 simplify_gen_subreg on VOIDmode.
274 * combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
276 2002-06-20 Richard Henderson <rth@redhat.com>
278 * c-common.c (c_common_get_alias_set): Correctly handle characters.
279 Rearrange order of expressions; don't handle vectors here.
280 * alias.c (get_alias_set): Let vectors match their components.
282 2002-06-17 Hans-Peter Nilsson <hp@axis.com>
285 * config/cris/cris.c (cris_simple_epilogue): Kludge around reorg.c
286 bug by saing that the epilogue isn't simple if there's a
287 non-empty current_function_epilogue_delay_list.
288 * config/cris/cris.md ("return"): Add sanity check asserting that
289 current_function_epilogue_delay_list is empty.
291 2002-06-17 Richard Henderson <rth@redhat.com>
293 * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
294 of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
296 2002-06-17 Richard Henderson <rth@redhat.com>
299 * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
301 Mon Jun 17 00:31:46 CEST 2002 Jan Hubicka <jH@suse.cz>
303 * i386-protos.h (x86_field_alignment): Declare.
304 * i386.c (x86_field_alignment): Define.
305 * i386.h (ADJUST_FIELD_ALIGNMENT): New.
306 (BIGGEST_FIELD_ALIGNMENT): Kill.
308 2002-06-16 Richard Henderson <rth@redhat.com>
311 * regclass.c (globalize_reg): Update regs_invalidated_by_call.
313 2002-06-16 Richard Henderson <rth@redhat.com>
316 * dwarf2out.c (modified_type_die): Don't assign the qualified die
317 to the unqualified type.
319 2002-06-14 Jeff Sturm <jsturm@one-point.com>
321 * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
324 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
326 * loop.c (check_final_value): Use v->always_executed
327 instead of v->always_computable.
328 * unroll.c (final_giv_value): Don't calculate the final
329 value as a function of the biv if the giv is not computed
330 for every loop iteration.
332 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
335 * convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
336 the truncation down when the target type is signed.
337 [trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
338 * fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
339 the conversion if the target type is a smaller type.
341 Thu Jun 13 18:27:05 CEST 2002 Jan Hubicka <jh@suse.cz>
343 * i386.c (ix86_expand_movstr): Fix pasto.
345 Thu Jun 13 18:02:11 CEST 2002 Jan Hubicka <jh@suse.cz>
347 * reload.c (find_valid_class): Fix thinko in my previous patch.
349 2002-06-13 Hans-Peter Nilsson <hp@axis.com>
352 * config/cris/cris.md ("sleu"): Set attribute "cc" to "none".
354 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
356 * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
357 * config/mips/mips.c (mips_output_filename): Don't print a
358 ".file" directive if we are using DWARF-2.
359 (mips_output_function_prologue): Do not emit source file
362 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
364 * config/s390/s390.md (movsi): Only use floating point
365 register alternatives when operands are already fprs.
366 (movdi_31, movdi_64): Likewise.
368 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
370 * config/s390/s390.md (reload_base, ltorg): Remove.
371 * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
372 s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
373 * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
374 s390_asm_output_pool_prologue): Likewise.
375 * s390.h (s390_pool_start_insn): Likewise.
377 * s390.c (s390_output_symbolic_const): Remove support for
378 old-style pool chunks.
379 (s390_function_epilogue): Likewise.
380 (s390_output_constant_pool): Likewise. Also, fix incorrect
381 alignment for 64-bit literal pools.
382 (print_operand_address): Remove 'y' and 'Y' format flags.
383 * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
384 old-style pool chunks.
385 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
386 (ASM_OUTPUT_POOL_EPILOGUE): Remove.
387 (S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove.
389 * s390.c (consttable_operand): New function.
390 * s390-protos.h (consttable_operand): Declare it.
391 * s390.h (PREDICATE_CODES): Add consttable_operand.
392 * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
393 consttable_sf, consttable_df, pool_start_31, pool_end_31,
394 pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
395 * s390.c (struct constant, struct constant_pool): New data types.
396 (constant_modes, gen_consttable): New variables.
397 (s390_start_pool, s390_end_pool, s390_add_pool,
398 s390_dump_pool, s390_free_pool): New functions.
399 (s390_chunkify_pool): Completely reimplement literal pool
402 * s390.c (s390_pool_overflow): New variable.
403 * s390.h (s390_pool_overflow): Declare it.
404 * s390.md (cjump, icjump): Use it to adapt length for out-of-range
405 jumps in literal pool overflow situations.
407 * s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
408 (s390_frame_info): Account for possible use of RETURN_REGNUM
409 by new literal pool overflow code.
410 (s390_emit_prologue): Likewise.
412 2002-06-10 Jakub Jelinek <jakub@redhat.com>
415 * cse.c (cse_insn): Fold src_eqv just once, store it folded back into
418 2002-06-10 Jakub Jelinek <jakub@redhat.com>
421 * c-decl.c (grokfield): Allow user defined types if they declare
422 structs or unions for unnamed fields.
424 2002-06-10 Jakub Jelinek <jakub@redhat.com>
427 * print-rtl.c (print_mem_expr): Don't crash on unnamed fields.
429 2002-06-10 Jakub Jelinek <jakub@redhat.com>
431 * varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
432 (compare_constant): Likewise.
433 (output_addressed_constants): Likewise.
435 2002-06-10 Jakub Jelinek <jakub@redhat.com>
437 * cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't
438 merge bb with itself.
440 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
442 * config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
443 * config/mips/t-netbsd: New file.
445 2002-06-07 H.J. Lu (hjl@gnu.org)
447 * configure.in: Add --enable-__cxa_atexit.
448 * configure: Regenerated.
449 * config.in: Likewise.
451 * defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if
454 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
456 * config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
458 Thu Jun 6 07:17:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
461 * objc/objc-lang.c (LANG_HOOKS_GET_ALIAS_SET): Define to be
462 c_common_get_alias_set.
463 (LANG_HOOKS_SAFE_FROM_P): Define to be c_safe_from_p.
465 2002-06-05 Jeff Law <law@redhat.com>
467 * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
468 rejects (mem (lo_sum (reg) (unspec))), but will allow
469 (mem (lo_sum (reg) (symbol_ref)) for PA2.0.
471 2002-06-05 Alan Modra <amodra@bigpond.net.au>
473 * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
475 Tue Jun 4 18:16:50 CEST 2002 Jan Hubicka <jh@suse.cz>
477 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Do not initialize
478 fields past the register table.
480 * i386.c (classify_argument): Properly handle base classes.
482 Tue Jun 4 13:09:18 CEST 2002 Jan Hubicka <jh@suse.cz>
484 * loop.c (emit_prefetch_instructions): Properly place the address
487 * dwarf2out.c (output_call_frame_info): Do not skip unwind info
488 when flag_asynchronous_unwind_tables is set.
490 * i386-protos.h (x86_output_mi_thunk): Declare.
491 * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
492 * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
494 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
497 * i386.md (movabsdi): Kill broken alternative.
499 * i386.c (dbx64_register_map): Fix typo
501 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com>
503 * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
505 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
507 * pa-linux.h (WCHAR_UNSIGNED): Define to 0.
508 * pa.h (WCHAR_UNSIGNED): Define to 1.
510 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
512 * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
513 (output_call): Likewise.
515 2002-05-30 Richard Henderson <rth@redhat.com>
516 Eric Botcazou <ebotcazou@multimania.com>
519 * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
520 to unsigned int for op1 comparisons. Use gen_int_mode.
522 2002-05-30 Marc Espie <espie@openbsd.org>
524 * config.gcc (sparc64-*-openbsd*): New.
525 * config/sparc/openbsd1-64.h: New.
526 * config/sparc/openbsd64.h: New.
528 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
530 * config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to
531 96 if not __mc68010__.
533 2002-05-30 Andreas Schwab <schwab@suse.de>
535 * config/ia64/sysv4.h (DO_SELECT_SECTION): Also handle
538 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
540 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
541 (CPP_SUBTARGET_SPEC): Define.
542 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
544 (CPP_SPEC): Redefine to include %(cpp_subtarget).
546 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
548 * doc/md.texi (Patterns): Note pattern condition pitfall
551 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
553 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
554 -D__arch64__. Add -D_LP64.
555 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
557 (CPP_ARCH64_SPEC): Likewise.
558 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
559 (NO_BUILTIN_SIZE_TYPE): Undef.
561 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
563 * config.gcc (alpha-*-netbsd*): Don't use crtstuff.
565 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
567 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
569 2002-05-29 Richard Henderson <rth@redhat.com>
571 * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
572 alignment for alloca.
574 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
577 * cppmacro.c (cpp_macro_definition): Reserve space for terminating
580 2002-05-29 Joel Sherrill <joel@OARcorp.com>
582 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
584 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
587 * config/cris/cris.md: Fix typos and thinkos in comments.
588 (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
589 Remove spurious mode specifier on operand 2.
591 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
593 * config/s390/s390.c (legitimate_pic_operand_p): Do not
594 accept symbolic LARL operands.
595 (s390_emit_epilogue): Do not set FRAME_RELATED_P on
598 2002-05-28 Marc Espie <espie@openbsd.org>
599 * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove,
600 inherited from gas.h.
601 (ASM_QUAD): Undef. OpenBSD does not support it.
603 2002-05-28 Danny Smith <dannysmith@users.sourceforge.net>
605 * doc/install.texi (binaries): Change mingw binaries
606 link to www.mingw.org.
608 2002-05-28 Richard Henderson <rth@redhat.com>
610 * config/i386/i386.c (ix86_compute_frame_layout): Do not add
611 bottom alignment for leaf functions.
613 Mon May 27 10:37:28 CEST 2002 Jan Hubicka <jh@suse.cz>
615 * reload.c (find_valid_class): Accept new argument DEST,
616 choose class accordingly.
617 (push_reload): Update callers.
619 2002-05-26 Richard Henderson <rth@redhat.com>
621 2002-05-25 Richard Henderson <rth@redhat.com>
622 * c-pragma.c (apply_pragma_weak): Convert value identifier to
623 string for decl_attributes.
624 (handle_pragma_weak): Call assemble_alias if we're modifying
627 2002-05-15 Richard Henderson <rth@redhat.com>
628 * varasm.c (merge_weak): Remove special case for extern and common.
630 2002-05-15 Richard Henderson <rth@redhat.com>
631 * varasm.c (merge_weak): Error for any weakening after definition.
632 Adjust weakening after use warning to catch more cases.
633 (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
634 * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
636 2002-03-02 Richard Henderson <rth@redhat.com>
637 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
638 * toplev.c (rest_of_decl_compilation): Invoke assemble_alias when
641 2002-05-26 Jakub Jelinek <jakub@redhat.com>
643 * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
645 2002-05-25 Richard Henderson <rth@redhat.com>
648 * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
649 using rtl instead of fprintf.
650 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
651 * config/sparc/sparc-protos.h: Update.
653 2002-05-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
655 * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
657 * config/avr/avr.c (machine_dependent_reorg): Sign extend the
658 CONST_INT operand to the correct mode after adding 1 to it.
660 2002-05-24 Roman Lechtchinsky <rl@cs.tu-berlin.de>
662 * config/alpha/unicosmk.h (REAL_VALUE_TO_TARGET_SINGLE,
663 REAL_VALUE_TO_TARGET_DOUBLE): Define for native builds.
665 2002-05-24 Jakub Jelinek <jakub@redhat.com>
668 * final.c (get_mem_expr_from_op): Return 0 if op is NULL.
670 2002-05-24 David Edelsohn <edelsohn@gnu.org>
672 * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
673 (STARTFILE_SPEC): Delete PE crt0.o.
674 * config/rs6000/aix51.h: Same.
675 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
676 function descriptor symbol. Use RS6000_OUTPUT_BASENAME.
677 (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
678 * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
680 2002-05-24 Richard Henderson <rth@redhat.com>
682 * varasm.c (asm_output_bss): Always output one byte.
683 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
685 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk>
688 * cppmacro.c (enter_macro_context): Clear state.angled_headers.
690 2002-05-21 Richard Earnshaw <rearnsha@arm.com>
692 * bitmap.c (bitmap_find_bit): Return early if we have the correct
695 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk>
697 * cppinit.c (mark_named_operators): Split out from init_builtins.
698 (struct builtin): Remove operator.
699 (CPLUS, OPERATOR, O): Kill
700 (struct named_op): New.
701 (cpp_finish_options): Call it from here instead.
702 (init_builtins): Don't do named operators.
704 2002-05-20 David S. Miller <davem@redhat.com>
706 * cselib.c (max_value_regs): New.
707 (cselib_lookup, cselib_invalidate_regno): Initialize it when
708 adding new entries to the REG_VALUES table and we are dealing with
710 (clear_table): Initialize it.
711 (cselib_invalidate_regno): Use it to determine which hard
712 registers to scan when mode is not VOIDmode.
714 2002-05-24 Alan Modra <amodra@bigpond.net.au>
716 * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
718 2002-05-23 Hans Boehm <Hans_Boehm@hp.com>
719 * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K
722 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
725 * Makefile.in: Update.
726 * c-common.c (c_common_post_options): Add preprocessor
727 errors to the error count.
728 * c-lang.c (c_post_options): Kill.
729 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
730 * hooks.h: Add header guards.
731 * langhooks-def.h: Include hooks.h.
732 (LANG_HOOKS_POST_OPTIONS): Update.
733 * langhooks.h (struct lang_hooks): Update post_options.
734 * toplev.c (parse_options_and_default_flags): Update.
736 * objc-lang.c (objc_post_options): Kill.
737 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
739 2002-05-23 Jakub Jelinek <jakub@redhat.com>
742 * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
743 of x in constraints for clarity.
744 (sse_mov?fcc split): abort if op2 == op3.
745 (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
746 sse_movsfcc_const0_4): Add earlyclobber.
747 (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
748 sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode.
749 Use Y instead of x in constraints.
751 2002-05-23 Jakub Jelinek <jakub@redhat.com>
754 * emit-rtl.c (widen_memory_access): Only call compare_tree_int
755 if DECL_SIZE_UNIT is INTEGER_CST.
757 2002-05-23 Jakub Jelinek <jakub@redhat.com>
759 * combine.c (force_to_mode): Use gen_int_mode.
760 Don't clear CONST_INT bits outside of mode.
762 2002-05-23 Jakub Jelinek <jakub@redhat.com>
764 * configure.in: Fix as version test for binutils 2.12.1 releases
766 * configure: Rebuilt.
768 Wed May 22 14:16:07 CEST 2002 Jan Hubicka <jh@suse.cz>
770 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
772 (ix86_expand_clrstr): Fix typo.
774 2002-05-22 Duraid Madina <duraid@fl.net.au>
776 * tradcpp.c (fixup_newlines): Use old-style function header.
778 2002-05-21 Richard Henderson <rth@redhat.com>
780 * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
781 FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
782 MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
784 * toplev.c (display_help): Kill -a -ax help.
786 * config/1750a/1750a.h, config/alpha/alpha.h,
787 config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
788 config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
789 config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
790 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
792 * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
793 * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
795 * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
796 (ix86_output_function_block_profiler): Kill.
797 * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
798 (m68hc11_function_block_profiler): Kill.
799 * config/m68hc11/m68hc11-protos.h: Update.
800 * config/m88k/m88k.c (output_block_profiler): Kill.
801 (output_function_block_profiler): Kill.
802 * config/m88k/m88k-protos.h: Update.
804 2002-05-21 NIIBE Yutaka <gniibe@m17n.org>
806 * reload1.c (do_output_reload): Run delete_output_reload
809 2002-05-20 Richard Henderson <rth@redhat.com>
811 * cse.c (canon_hash): Reorder do_not_record test. Always
812 allow pic_offset_table_rtx.
814 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk>
816 * doc/contrib.texi: Update my entry.
818 2002-05-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
820 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
822 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
824 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
825 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
826 which may overwrite the high byte of the frame pointer.
828 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
830 * emit-rtl.c (gen_int_mode): New function.
831 * rtl.h: Prototype for it.
833 Sat May 18 23:09:19 CEST 2002 Jan Hubicka <jh@suse.cz>
835 * i386.md (pushqi2, ashrqi_*): Fix constraint.
837 2002-05-18 Aldy Hernandez <aldyh@redhat.com>
839 * config/rs6000/altivec.h: Cleanups.
841 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
843 * doc/install.texi (Specific, mips-sgi-irix6): Document need to
844 bootstrap with -mips3.
846 2002-05-17 David S. Miller <davem@redhat.com>
848 PR c/6689, PR optimization/6615
849 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
850 and make it a pointer to rtx. Update comments.
851 (update_equiv_regs): When scanning for equivalences, record
852 address of SET_SRC (set) in reg_equiv[].src_p. Dereference
853 it while making the equiv replacements.
855 2002-05-17 Kurt Wall <kwall@kurtwerks.com>
857 * doc/install.texi (Testing): Mention two common DejaGnu warnings
860 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
862 * doc/install.texi (Final install): Recommend to install into a
863 "clean" target directory.
865 2002-05-17 Andreas Schwab <schwab@suse.de>
867 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
869 (UNIQUE_SECTION): Define to get small data correctly.
871 * varasm.c (resolve_unique_section): Add third parameter
872 flag_function_or_data_sections and use it instead of
873 flag_function_sections.
874 (assemble_start_function): Pass flag_function_sections.
875 (asm_emit_uninitialised): Pass flag_data_sections.
876 (assemble_variable): Likewise.
878 2002-05-15 Eric Botcazou <ebotcazou@multimania.com>
880 * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
881 comparison against the highest or lowest integer value before
882 the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
883 transformation and that of an unsigned comparison against 0
886 2002-05-16 Richard Henderson <rth@redhat.com>
889 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
892 2002-05-16 Mark Mitchell <mark@codesourcery.com>
894 * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
896 2002-05-09 David S. Miller <davem@redhat.com>
898 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
900 2002-05-07 David S. Miller <davem@redhat.com>
903 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
904 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
905 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
906 library implementation clobbers the output before the inputs
907 are fully consumed, use stack temporary for the output.
909 Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
911 * invoke.texi (-malign-double): Re-add lost warning.
913 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
915 * doc/install.texi: Remove special markup originally required for
916 HTML generation with texi2html.
918 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
920 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
921 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
922 (possibly) work around broken /bin/sh.
924 2002-05-08 Jason Merrill <jason@redhat.com>
927 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
930 2002-05-14 Release Manager
934 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
936 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
937 . as N64/N32 libgcc_s.so subdirs.
939 2002-05-09 Mark Mitchell <mark@codesourcery.com>
941 * config/rs6000/rs6000.h: Revert previous patch.
943 2002-05-09 Joel Sherrill <joel@OARcorp.com>
945 * config/rs6000/rs6000.h CPP_CPU_SPEC): Correct
946 403 and 405 arguments for binutils 2.12.
948 Thu May 9 12:21:48 2002 Jeffrey A Law (law@redhat.com)
950 * pa.c (hppa_profile_hook): Use force_reg to get the address
951 of the profile hook into an appropriate pseudo register.
953 2002-05-09 Jakub Jelinek <jakub@redhat.com>
955 * mklibgcc.in: Set shlib_slibdir_qual to empty string if
956 SHLIB_SLIBDIR_SUFFIXES is empty.
958 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
960 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
961 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
963 2002-05-09 Jakub Jelinek <jakub@redhat.com>
965 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
966 * config/sparc/libgcc-sparc-glibc.ver: New file.
967 * config/i386/t-linux64 (SHLIB_MAPFILES): Add libgcc-x86_64-glibc.ver.
968 * config/i386/libgcc-x86_64-glibc.ver: New file.
969 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
970 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
972 2002-05-09 Jakub Jelinek <jakub@redhat.com>
975 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
976 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
977 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
979 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
980 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
981 * config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
982 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
983 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
985 2002-05-08 Mark Mitchell <mark@codesourcery.com>
988 * varasm.c (mark_weak): New function.
989 (merge_weak): Use it. Do not call declare_weak.
990 (declare_weak): Use merge_weak.
992 2002-05-07 Geoffrey Keating <geoffk@redhat.com>
994 * configure.in: Don't pass -Wno-long-long to a ADA compiler
995 that doesn't support it.
996 * configure: Regenerate.
998 2002-05-07 Jason Merrill <jason@redhat.com>
1000 * dwarf2out.c (rtl_for_decl_location): Don't try to extract a
1001 constant value from DECL_INITIAL.
1003 2002-05-07 Richard Henderson <rth@redhat.com>
1006 * expr.c (highest_pow2_factor_for_type): New.
1007 (expand_assignment): Use it.
1009 2002-05-07 Jakub Jelinek <jakub@redhat.com>
1011 * configure.in: If as or ld segfaults, don't clutter with it stdout.
1012 * configure: Rebuilt.
1014 2002-05-05 Jakub Jelinek <jakub@redhat.com>
1017 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
1019 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1021 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
1023 2002-05-04 David Edelsohn <edelsohn@gnu.org>
1026 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
1027 clobber and use result as temporary value.
1029 2002-05-03 Jakub Jelinek <jakub@redhat.com>
1032 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
1033 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
1034 fill leaf_reg_remap with identity.
1035 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
1037 2002-05-03 Jakub Jelinek <jakub@redhat.com>
1040 * dwarf2out.c (simple_decl_align_in_bits): Renamed to...
1041 (simple_field_decl_align_in_bits): this. Apply
1042 BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN if defined.
1044 2002-05-03 Richard Henderson <rth@redhat.com>
1047 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
1048 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
1049 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
1050 code before JUMP, not EARLIEST.
1052 2002-05-03 Jakub Jelinek <jakub@redhat.com>
1054 PR preprocessor/6489
1055 * tradcpp.c (fixup_newlines): New.
1056 (main, finclude): Use it.
1058 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1060 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
1061 (Specific): Removed buildstats references.
1062 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
1063 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
1064 Accomodate Solaris versions beyond 8.
1065 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
1066 (Specific, *-*-solaris2.8): Removed, obsolete.
1068 2002-05-02 Jason Merrill <jason@redhat.com>
1070 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
1071 * c-decl.c (c_init_decl_processing): Use it.
1072 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
1073 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
1074 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
1076 2002-05-02 Loren J. Rittle <ljrittle@acm.org>
1078 * doc/install.texi (*-*-freebsd*): Update to latest status.
1080 2002-05-02 Jakub Jelinek <jakub@redhat.com>
1083 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
1084 * config/float-sparc.h: Assume 128-bit long double if
1085 __LONG_DOUBLE_128__ is defined.
1087 PR target/6512, PR target/5628
1088 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
1089 when memory is not aligned.
1090 (movdf_insn_v9only_vis): Likewise.
1091 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
1092 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
1093 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
1095 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
1097 * doc/install.texi: State GNAT version requirements.
1099 2002-05-01 Jeff Law <law@redhat.com>
1101 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
1104 2002-05-01 Joel Brobecker <brobecker@gnat.com>
1106 * dbxout.c (dbxout_type): Emit size information for range types,
1107 as well, but only when using GDB extensions.
1109 2002-05-01 Richard Henderson <rth@redhat.com>
1111 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
1112 target-independent gnu binutils date test.
1114 2002-05-01 Jakub Jelinek <jakub@redhat.com>
1116 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
1117 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
1118 -M -or -MM is in effect.
1120 2002-05-01 Zack Weinberg <zack@codesourcery.com>
1122 * config.gcc: Correct test of --enable-obsolete. Obsolete all
1123 A29k configurations.
1124 * doc/install.texi: Update to match.
1126 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1129 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
1130 for duplicates. Always loop over whole list.
1132 Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1134 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
1136 2002-05-01 Joel Sherrill <joel@OARcorp.com>
1138 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
1141 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
1143 * doc/install.texi: Update Texinfo version requirement
1146 2002-04-30 Richard Henderson <rth@redhat.com>
1148 * config/sparc/sol27-sld.h: Rename from sol26-sld.h.
1149 (PREFERRED_DEBUGGING_TYPE, ASM_DEBUG_SPEC): Undef.
1150 * config.gcc (sparc-solaris): Adjust test for native ld bug.
1151 Add it after the biarch headers.
1153 2002-04-30 Richard Henderson <rth@redhat.com>
1156 * toplev.c (rest_of_compilation): Don't run cross-jump before
1159 2002-04-30 Joel Sherrill <joel@OARcorp.com>
1161 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
1163 2002-04-30 Richard Henderson <rth@redhat.com>
1165 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
1166 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
1167 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
1168 emit_tfmode_cvt): New.
1169 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
1170 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
1171 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
1172 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
1173 * config/sparc/sparc-protos.h: Update.
1175 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1177 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
1178 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
1179 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
1180 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
1181 * ada/Make-lang.in (ADA_FLAGS_TO_PASS): Don't pass ADA_CFLAGS.
1182 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
1183 * pa/x-ada: New file. Define ADA_CFLAGS.
1185 2002-04-30 Janis Johnson <janis187@us.ibm.com>
1187 * doc/install.texi (Final install): Add to the list of info to include
1188 in a report of a successful bootstrap, and add link to 3.1 list.
1190 2002-04-30 Jakub Jelinek <jakub@redhat.com>
1193 * toplev.c (rest_of_compilation): Only run regrename and copy
1194 propagation if optimizing.
1196 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1198 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
1199 mips. Add two missing commas.
1201 2002-04-30 Paolo Carlini <pcarlini@unitus.it>
1203 * doc/contrib.texi (Contributors): Update Paolo Carlini's
1204 and Benjamin Kosnik's entries.
1206 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1208 * combine.c (find_split_point): Use trunc_int_for_mode.
1210 Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1212 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
1213 adjust_address_nv call.
1215 2002-04-29 Janis Johnson <janis187@us.ibm.com>
1217 * doc/install.texi (Testing): Provide additional information, and
1218 a stronger encouragement, for running the testsuites.
1220 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1222 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
1223 Solaris 2 <widec.h> if missing.
1224 * fixinc/fixincl.x: Regenerate.
1225 * fixinc/tests/base/widec.h: New file.
1227 2002-04-29 Jakub Jelinek <jakub@redhat.com>
1230 * configure.in: Check whether linker eh_frame optimizations work
1232 * configure: Rebuilt.
1234 Mon Apr 29 17:08:09 CEST 2002 Jan Hubicka <jh@suse.cz>
1236 * i386.c (dbx64_register_map): Fix typo.
1238 Mon Apr 29 14:48:33 CEST 2002 Jan Hubicka <jh@suse.cz>
1240 * i386.md (sse_mov?fcc*): Revert patch of Apr 18th.
1242 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1244 * doc/contrib.texi (Contributors): Add Paolo Carlini and
1246 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
1247 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
1248 and CPU instead of cpu.
1250 2002-04-29 Alexandre Oliva <aoliva@redhat.com>
1252 * config.gcc: Revert i386 changes inadvertently brought in
1253 from mainline along with 2002-04-04's change.
1255 2002-04-28 David S. Miller <davem@redhat.com>
1258 * config/sparc/sparc.md (call followed by jump peephole): Do not
1259 match for TARGET_V9, kill TARGET_ARCH64 variants.
1262 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
1263 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
1264 several {reads,writes} instead.
1265 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
1268 2002-04-27 David S. Miller <davem@redhat.com>
1271 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
1274 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
1275 including signal.h and sys/ucontext.h, not needed.
1277 2002-04-28 Richard Henderson <rth@redhat.com>
1280 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
1281 (ggc_mark_rtx_children): New.
1283 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1286 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
1287 result as temporary value.
1289 2002-04-28 Jakub Jelinek <jakub@redhat.com>
1291 PR optimization/6475
1292 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
1293 register of REGNO_DECL (i).
1294 * Makefile.in (reload1.o): Add $(TREE_H).
1296 2002-04-28 Bruce Korb <bkorb@gnu.org>
1298 * fixinc/check.tpl (set-writable): verify that it exists before
1301 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1304 * c-decl.c (duplicate_decls): Call merge_weak.
1305 * c-pragma.c (apply_pragma_weak): Warn about misuse.
1306 * output.h (merge_weak): Prototype merge_weak.
1307 * varasm.c (merge_weak): New function.
1308 (declare_weak): Make sure we don't give an error on VAR_DECLs.
1309 Mark RTL with SYMBOL_REF_WEAK.
1311 2002-04-25 David S. Miller <davem@redhat.com>
1314 * reorg.c (optimize_skip): Do not allow exception causing
1315 instructions to be considered for delay slots.
1316 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
1317 (relax_delay_slots): Do not try to consider exception causing
1318 instructions as redundant.
1320 2002-04-26 Alexandre Oliva <aoliva@redhat.com>
1322 * tree.c (tree_int_cst_lt): Compare constants whose types differ
1323 in unsigned-ness correctly.
1325 2002-04-26 Chris Demetriou <cgd@broadcom.com>
1327 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to
1328 correct for MEABI (used by mipsisa32-elf).
1330 2002-04-26 Mark Mitchell <mark@codesourcery.com>
1333 * config/i386/i386.md (untyped_call): Return the value in a float
1334 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
1337 2002-04-26 Ulrich Weigand <uweigand@de.ibm.com>
1339 * config/s390/linux.h: Revert 2002-04-22 change.
1341 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
1343 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
1344 portable runtime model.
1346 2002-04-26 David Edelsohn <edelsohn@gnu.org>
1347 Richard Henderson <rth@redhat.com>
1349 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
1350 result as temporary value.
1352 2002-04-26 Richard Henderson <rth@redhat.com>
1355 * c-common.c (combine_strings): Use xmalloc, not alloca.
1357 * c-common.c (combine_strings): Tweak __FUNCTION__ warning text.
1359 2002-04-26 Bo Thorsen <bo@suse.co.uk>
1361 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
1364 2002-04-25 David S. Miller <davem@redhat.com>
1366 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
1367 for DECL being NULL.
1369 2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
1371 * c-decl.c (grokdeclarator): Remove outdated ??? note
1372 on invalid declaration of flexible array members.
1374 2002-04-25 Richard Henderson <rth@redhat.com>
1376 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
1378 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
1380 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
1381 needed by the compiler, even if they are used as global regs.
1383 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
1385 * doc/c-tree.texi: Fix typo in introduction.
1387 2002-04-24 Richard Henderson <rth@redhat.com>
1389 * configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12
1392 2002-04-24 Jason Merrill <jason@redhat.com>
1394 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
1395 * dwarf2out.c (dwarf_attr_name): Support it.
1396 (gen_array_type_die): Emit it.
1397 (lookup_type_die): No special handling for VECTOR_TYPE.
1398 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
1400 2002-04-24 Richard Henderson <rth@redhat.com>
1402 * config/mips/mips.md (movdi_usd): Renumber.
1404 2002-04-24 Robert Lipe <robertlipe@usa.net>
1406 * config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion.
1408 2002-04-24 David S. Miller <davem@redhat.com>
1410 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
1411 32-bit Sparc and current_function_returns_struct is true.
1413 2002-04-24 Aldy Hernandez <aldyh@redhat.com>
1415 * config/rs6000/altivec.h: Cleanup file. Add non individual
1437 (vec_vcmpequb): New.
1438 (vec_vcmpequh): New.
1439 (vec_vcmpequw): New.
1440 (vec_vcmpeqfp): New.
1441 (vec_vcmpgefp): New.
1442 (vec_vcmpgtub): New.
1443 (vec_vcmpgtsb): New.
1444 (vec_vcmpgtuh): New.
1445 (vec_vcmpgtsh): New.
1446 (vec_vcmpgtuw): New.
1447 (vec_vcmpgtsw): New.
1448 (vec_vcmpgtfp): New.
1449 (vec_vcmpgefp): New.
1454 (vec_vexptefp): New.
1459 (vec_lde): Add vector float variant.
1464 (vec_vmhaddshs): New.
1486 (vec_vmladduhm): New.
1487 (vec_vmhraddshs): New.
1489 (vec_vmsummbm): New.
1490 (vec_vmsumuhm): New.
1491 (vec_vmsumshm): New.
1492 (vec_vmsumuhs): New.
1493 (vec_vmsumshs): New.
1502 (vec_vnmsubfp): New.
1520 (vec_vrsqrtefp): New.
1531 (vec_vspltisb): New.
1532 (vec_vspltish): New.
1533 (vec_vspltisw): New.
1558 (vec_vsum4ubs): New.
1559 (vec_vsum4sbs): New.
1560 (vec_vsum4shs): New.
1561 (vec_vsum2sws): New.
1572 2002-04-23 Zack Weinberg <zack@codesourcery.com>
1574 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
1577 2002-04-23 Eric Botcazou <ebotcazou@multimania.com>
1580 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
1581 added literals from substracted literals.
1582 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
1583 (fold) [associate]: Preserve MINUS_EXPR if needed.
1585 2002-04-23 Tom Tromey <tromey@redhat.com>
1587 * gcc.c: Added --resource. For PR java/6314.
1589 2002-04-23 David O'Brien <obrien@FreeBSD.org>
1591 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
1593 2002-04-23 David O'Brien <obrien@FreeBSD.org>
1595 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
1596 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
1599 2002-04-23 Alan Modra <amodra@bigpond.net.au>
1602 * function.h: (struct function): Add profile_label_no field.
1603 (current_function_profile_label_no): Define.
1604 * function.c: (profile_label_no): New static var.
1605 (expand_function_start): Increment it, and copy to
1606 current_function_profile_label_no.
1607 * output.h (profile_label_no): Delete.
1608 * final.c (profile_label_no): Delete.
1609 (profile_function): Use current_function_profile_label_no.
1610 (final_end_function): Don't increment profile_label_no here.
1611 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
1612 profile_label_no with current_function_profile_label_no.
1613 * config/pa/pa.c (current_function_number): Delete.
1614 (pa_output_function_prologue): Don't output profile label here.
1615 (hppa_profile_hook): Use label_no param rather than
1616 current_function_number.
1617 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
1618 * config/pa/pa.h: .. here.
1619 (FUNCTION_PROFILER): Output profile label here.
1621 2002-04-23 Aldy Hernandez <aldyh@redhat.com>
1623 * config/rs6000/altivec.h (vec_step): Remove extraneous
1625 (vec_ctu): Cast return.
1627 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
1629 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
1630 constraint to 'o' for m=r and r=m alternatives.
1631 ("*movv8hi_internal1"): Same.
1632 ("*movv16qi_internal1"): Same.
1633 ("*movv4sf_internal1"): Same.
1635 2002-04-22 Zack Weinberg <zack@codesourcery.com>
1637 * c-lex.c (lex_charconst): Call convert to get constant in
1638 proper type; don't just smash the type field.
1641 * config.gcc: Add list of obsolete configurations. Disallow
1642 building these without --enable-obsolete.
1643 * doc/install.texi: Document --enable-obsolete and obsoletion
1644 policy. Mention obsoletion of individual targets in
1647 2002-04-22 Richard Henderson <rth@redhat.com>
1649 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
1651 2002-04-22 Mark Mitchell <mark@codesourcery.com>
1654 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
1655 (walk_fixup_memory_subreg): Likewise.
1656 (fixup_var_refs_insn): Adjust accordingly.
1657 (fixup_var_refs_1): Likewise.
1659 2002-04-22 Joel Sherrill <joel@OARcorp.com>
1661 * gthr-rtems.h: Correct prototypes to remove warnings.
1663 2002-04-22 Richard Henderson <rth@redhat.com>
1666 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
1668 * gcse.c (free_insn_expr_list_list): New.
1669 (clear_modify_mem_tables): Use it. Fix bit set usage.
1670 (canon_list_insert): Use EXPR_LISTs for expressions.
1671 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
1673 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
1675 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
1676 LIBPATH_ARCH64_SPEC): Define.
1677 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
1678 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
1679 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
1680 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
1682 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
1684 * config/rs6000/altivec.h (vec_xor): Add variant for both args
1685 being vector signed int.
1687 (vec_xor): Add variant for both args being vector signed char.
1688 Remove redundant variant.
1691 2002-04-21 David S. Miller <davem@redhat.com>
1693 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
1694 compare mode in output RTL.
1696 2002-04-22 David Edelsohn <edelsohn@gnu.org>
1698 * config/rs6000/rs6000.c (rs6000_override_options): Correct
1699 style and formatting of previous patch.
1701 2002-04-22 Alan Modra <amodra@bigpond.net.au>
1703 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
1704 flag_pic for ABI_AIX.
1706 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
1708 * cppmacro.c (funlike_invocation_p): Don't step back
1711 2002-04-21 David Edelsohn <edelsohn@gnu.org>
1713 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
1716 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
1718 * doc/invoke.texi: Remove Chill references.
1719 * doc/gcc.texi: Update last modified date.
1721 2002-04-19 David S. Miller <davem@redhat.com>
1723 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
1724 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1726 Sat Apr 20 02:17:38 CEST 2002 Jan Hubicka <jh@suse.cz>
1728 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
1731 2002-04-19 Jakub Jelinek <jakub@redhat.com>
1734 * function.c: Reapply patch for c/6358.
1735 (expand_function_end): Copy decl_rtl's mode, not
1736 current_function_return_rtx mode.
1738 2002-04-19 Joel Sherrill <joel@OARcorp.com>
1740 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
1743 2002-04-19 Tom Tromey <tromey@redhat.com>
1745 * doc/install.texi (Specific): Update status of Solaris 2.8.
1748 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
1749 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1751 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
1752 binutils 2.11.2 and higher generate smaller binaries than Sun's
1755 2002-04-19 Mark Mitchell <mark@codesourcery.com>
1758 * toplev.c (rest_of_compilation): Do not defer functions for which
1759 TREE_SYMBOL_REFERENCED has already been set.
1761 2002-04-18 Richard Henderson <rth@redhat.com>
1763 * function.c: Revert patch for c/6358.
1765 2002-04-18 Richard Henderson <rth@redhat.com>
1767 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
1768 blocks. Handle multiple references to the TRAP block. Handle
1769 non-adjacent THEN and OTHER blocks.
1771 2002-04-18 Richard Henderson <rth@redhat.com>
1773 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
1774 crash with no type for by-mode libcalls.
1776 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
1778 2002-04-18 David S. Miller <davem@redhat.com>
1780 * config/sparc/sparc.h (BRANCH_COST): Define.
1782 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
1785 2002-04-18 Richard Henderson <rth@redhat.com>
1787 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
1788 (ia64_va_arg): Expect variable sized types by reference.
1789 * config/ia64/ia64-protos.h: Update.
1790 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
1791 ia64_function_arg_pass_by_reference.
1793 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
1795 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
1796 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
1797 propagate_block calls after relaxation loop using new variable
1798 stabilized_prop_flags.
1800 2002-04-18 Richard Henderson <rth@redhat.com>
1802 * ifcvt.c: Include except.h.
1803 (block_has_only_trap): Break out from find_cond_trap.
1804 (find_cond_trap): Use it. Always delete the trap block.
1805 (merge_if_block): Allow then block null. Be less simplistic about
1806 what insns can end a block.
1807 * Makefile.in (ifcvt.o): Depend on except.h.
1809 * config/ia64/ia64.md (trap, conditional_trap): New.
1811 2002-04-18 Jakub Jelinek <jakub@redhat.com>
1814 * function.c (assign_parms): Assign hard current_function_return_rtx
1816 (expand_function_end): ...not here.
1818 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1820 * doc/install.texi (Downloading the source): Do not mention Chill
1821 any longer, but mention Ada.
1822 (Configuration): Do not mention Chill any longer.
1824 2002-04-18 Hans-Peter Nilsson <hp@axis.com>
1826 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
1828 Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
1830 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
1831 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
1834 2002-04-18 Jakub Jelinek <jakub@redhat.com>
1837 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
1840 2002-04-18 Loren J. Rittle <ljrittle@acm.org>
1844 * doc/install.texi (Installing GCC: Configuration): Clarify
1845 the only supported ways to configure gcc.
1847 2002-04-17 Dale Johannesen <dalej@apple.com>
1849 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
1850 comparison operands do not match each other or if modes of
1851 conditions do not match result.
1852 (rs6000_output_function_prologue): Compute instruction addresses.
1853 (rs6000_output_function_epilogue): Likewise.
1855 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
1857 * config/s390/s390.c (legitimize_pic_address): Do not generate
1858 illegal address constant without CONST.
1860 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1862 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
1863 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1865 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
1867 PR optimization/6305
1868 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
1869 to make sure previous reloads are taken into account. Generate
1870 better code if one operand is an in-range immediate constant.
1872 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
1874 * doc/install.texi (Building): libgcj requires GNU make.
1876 2002-04-17 Jakub Jelinek <jakub@redhat.com>
1879 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
1880 even if hard quad and register is not floating.
1881 (movtf reg<-mem split): Disallow splitting if hard quad and
1882 register is floating.
1883 (movtf mem<-reg split): Likewise.
1884 * config/sparc/sparc.c (fp_register_operand): New predicate.
1885 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
1887 2002-04-17 Zack Weinberg <zack@codesourcery.com>
1889 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
1890 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
1891 (unprotoize.o): Ditto. Build from protoize.c. Define
1892 UNPROTOIZE on command line.
1893 * protoize.c: Include cppdefault.h. Delete include_defaults.
1894 (in_system_include_dir): Use cpp_include_defaults (defined in
1896 * unprotoize.c: Delete file.
1898 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
1900 * config/rs6000/altivec.h (vec_ld): Add array variants.
1904 2002-04-17 Alan Matsuoka <alanm@redhat.com>
1905 Aldy Hernandez <aldyh@redhat.com>
1907 * config/rs6000/altivec.h: Define __ALTIVEC__.
1914 Add parentheses to all macro arguments.
1916 2002-04-16 Richard Henderson <rth@redhat.com>
1919 * except.c (remove_eh_handler): Insert inner regions at beginning
1920 of sibling chain. Refactor expressions.
1922 2002-04-16 Mark Mitchell <mark@codesourcery.com>
1924 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
1925 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
1926 * tree.h (expand_start_stmt_expr): Update prototype.
1927 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
1928 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
1929 on the STMT_EXPR created for the inline function.
1931 2002-04-16 Richard Henderson <rth@redhat.com>
1933 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
1934 * config/sparc/sol2-gas-bi.h: New file.
1935 * config.gcc (sparc*-solaris): Add it as needed.
1936 * configure.in (AS_SPARC64_FLAG): Remove check.
1937 * config.in, configure: Regenerate.
1939 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
1941 2002-04-16 Richard Henderson <rth@redhat.com>
1943 * config/mips/mips.c (override_options): Don't override N32 for
1947 * config/mips/mips.md (can_delay): Split out of existing define_delays.
1948 (HILO_delay): Set can_delay false.
1950 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1952 * c-parse.in (poplevel, compstmt_start, compstmt_primary_start):
1953 Add ending ';', in accordance with POSIX.
1955 2002-04-16 Richard Henderson <rth@redhat.com>
1957 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
1958 Adjust tm_file order to get TARGET_DEFAULT set properly.
1959 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
1960 * doc/install.texi (sparc-solaris): Update.
1962 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
1965 * config/s390/s390.md (mulsidi3): Set both subregs of the
1968 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
1970 * config/rs6000/altivec.h (vec_addc): Type check.
1972 2002-04-16 Jakub Jelinek <jakub@redhat.com>
1975 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
1977 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
1979 2002-04-15 Richard Henderson <rth@redhat.com>
1981 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
1982 call_really_used_regs too.
1984 2002-04-15 David S. Miller <davem@redhat.com>
1986 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
1989 2002-04-16 Jakub Jelinek <jakub@redhat.com>
1992 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
1993 CONST_VECTOR is { 0, ... 0 }.
1995 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
1997 * doc/install.texi (Installing GCC: Configuration): Clarify
1998 the only supported ways to configure gcc.
2000 2002-04-15 Richard Henderson <rth@redhat.com>
2002 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
2003 config/i386/linux-aout.h, config/i386/linux-oldld.h,
2004 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
2005 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
2006 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
2007 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
2008 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
2009 Define __gnu_linux__, not gnu_linux.
2010 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
2012 2002-04-15 Mark Mitchell <mark@codesourcery.com>
2014 Remove Chill front end.
2015 * gcc.c (default_compilers): Remove Chill entries.
2016 * ch: Remove directory.
2017 * doc/frontends.texi: Remove information about Chill.
2018 * doc/sourcebuild.texi: Likewise.
2019 * doc/standards.texi: Likewise.
2021 2002-04-15 Douglas B Rupp <rupp@gnat.com>
2023 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
2024 (LONGLONG_STANDALONE): Define.
2026 2002-04-15 David S. Miller <davem@redhat.com>
2028 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
2029 Call emit_library_call with LCT_NORMAL.
2030 (sparc_initialize_trampoline): Use LCT_foo instead of
2031 magic constant in emit_library_call invocations.
2032 (sparc64_initialize_trampoline): Likewise.
2033 (sparc_profile_hook): Likewise.
2034 * config/sparc/sparc.md: Likewise.
2036 * config/sparc/sparc.c (sparc_extra_constraint_check):
2037 Fix type of argument 'c'.
2038 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
2041 2002-04-14 Andreas Schwab <schwab@suse.de>
2043 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
2045 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
2047 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
2049 2002-04-13 Mark Mitchell <mark@codesourcery.com>
2051 * config/alpha/linux.h (CPP_PREDEFINES): Fix typo.
2052 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
2055 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
2057 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
2059 2002-04-13 Joel Sherrill <joel@OARcorp.com>
2061 * config/sparc/t-elf: Enable v8 multilibs. Impacts
2062 sparc-elf and sparc-rtems targets.
2064 2002-04-13 Mark Mitchell <mark@codesourcery.com>
2066 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
2067 defined, and __gnu_hurd__ wherever __GNU__ is defined.
2068 * arm/linux-elf.h: Likewise.
2069 * cris/aout.h: Likewise.
2070 * cris/linux.h: Likewise.
2071 * i370/linux.h: Likewise.
2072 * i386/gnu.h: Likewise.
2073 * i386/linux-aout.h: Likewise.
2074 * i386/linux-oldld.h: Likewise.
2075 * i386/linux.h: Likewise.
2076 * i386/linux64.h: Likewise.
2077 * ia64/linux.h: Likewise.
2078 * m68k/linux-aout.h: Likewise.
2079 * m68k/linux.h: Likewise.
2080 * mips/linux.h: Likewise.
2081 * pa/pa-linux.h: Likewise.
2082 * pj/linux.h: Likewise.
2083 * rs6000/sysv4.h: Likewise.
2084 * s390/linux.h: Likewise.
2085 * sh/linux.h: Likewise.
2086 * sparc/linux-aout.h: Likewise.
2087 * sparc/linux.h: Likewise.
2088 * sparc/linux64.h: Likewise.
2089 * xtensa/linux.h: Likewise.
2091 2002-04-13 Andreas Schwab <schwab@suse.de>
2093 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
2095 2002-04-12 Mark Mitchell <mark@codesourcery.com>
2097 Revert these changes:
2099 2002-04-06 Mark Mitchell <mark@codesourcery.com>
2102 * stor-layout.c (layout_decl): Reset the RTL for the decl.
2104 2002-03-15 Mark Mitchell <mark@codesourcery.com>
2106 * expr.c (expand_expr): Tidy.
2108 2002-04-12 Richard Henderson <rth@redhat.com>
2110 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
2111 (sparc*-*-solaris): Clean up header files.
2112 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
2113 and plan on generating 64-bit code.
2114 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
2115 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
2116 * config/sparc/sol2-sld-64.h: Rename ...
2117 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
2118 for AS_SPARC64_FLAG not defined.
2119 * config/sparc/sol2-gld-bi.h: New.
2120 * config/sparc/sol2-sld.h: Remove.
2121 * config/sparc/sol26-sld.h: New.
2122 * config/sparc/sol2.h: Tidy comments.
2123 * doc/install.texi: Document sparc-solaris configury changes.
2125 2002-04-12 Richard Henderson <rth@redhat.com>
2127 * recog.c (offsettable_address_p): Match the logic in adjust_address.
2129 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
2130 in 64-bit mode only. Use only for 32-bit or MEDLOW.
2132 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2134 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
2136 Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
2138 * pa.c (pa_can_combine_p): Call extract_insn before calling
2141 2002-04-12 Douglas B Rupp <rupp@gnat.com>
2143 * hwint.h (HAVE___INT64): Correct spelling.
2145 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
2146 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
2147 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
2148 (CPP_PREDEFINES): Handle __declspec.
2149 * config/i386/t-interix (USER_H): Remove.
2151 2002-04-12 DJ Delorie <dj@redhat.com>
2153 * integrate.c (compare_blocks): Make comparisons safe for when
2154 sizeof(int) < sizeof(char *).
2155 (find_block): Likewise.
2157 2002-04-12 Andreas Schwab <schwab@suse.de>
2159 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
2160 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
2161 overrides the definition in config/svr4.h.
2163 2002-04-12 Eric Norum <eric.norum@usask.ca>
2165 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
2166 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
2167 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
2168 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
2169 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
2170 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
2171 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
2172 definitions to config/rtems.h and make the targets more similar.
2174 Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2176 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
2177 POINTERS_EXTEND_UNSIGNED.
2178 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
2179 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
2181 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
2184 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
2186 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
2187 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
2189 2002-04-12 Andreas Schwab <schwab@suse.de>
2191 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
2193 2002-04-12 Richard Henderson <rth@redhat.com>
2196 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
2198 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
2199 modes spanning multiple hard regs.
2201 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
2203 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2205 * pa.c (output_millicode_call): Check attribute type as well as length
2208 2002-04-11 David O'Brien <obrien@FreeBSD.org>
2210 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
2211 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
2212 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
2213 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
2214 elfos.h and dbxelf.h values are fine now.
2215 * config/i386/freebsd.h, config/alpha/freebsd.h
2216 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
2218 2002-04-11 David O'Brien <obrien@FreeBSD.org>
2220 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
2221 or set Acpu or Amachine. Reformat.
2222 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
2224 (LINK_SPEC): Do not need to undef.
2225 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
2226 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
2227 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
2229 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
2230 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
2231 (LINK_SPEC): Do not need to undef.
2232 (DONT_USE_BUILTIN_SETJMP): Do not define.
2233 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
2234 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
2235 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
2236 Remove trailing spaces.
2237 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
2238 __ELF__, or set Acpu or Amachine. Reformat.
2239 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
2242 2002-04-11 David O'Brien <obrien@FreeBSD.org>
2244 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
2245 all other *-*-freebsd* targets.
2247 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
2249 * doc/extend.texi: Remove old claim that typedefs cannot have
2250 an alignment attribute.
2252 2002-04-11 Jakub Jelinek <jakub@redhat.com>
2254 PR optimization/6177
2255 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
2256 bitpos is 0 and bitsize CONCAT size.
2258 2002-04-11 Jakub Jelinek <jakub@redhat.com>
2261 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
2263 2002-04-11 David O'Brien <obrien@FreeBSD.org>
2265 * config/alpha/freebsd.h: Minor reformatting.
2266 (CPP_SPEC): Define ELF and add cpp_subtarget.
2267 (ASM_SPEC): No longer needed.
2269 2002-04-11 Richard Henderson <rth@redhat.com>
2271 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
2272 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
2273 (dimode mem/zero splitter): New.
2275 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
2277 * config/cris/cris.c (cris_override_options): Tweak error message
2278 for PIC not implemented.
2280 * config/cris/cris.h: Tweak comments related to parameter-passing.
2282 * config/cris/t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
2284 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
2285 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
2286 (cris_target_asm_function_epilogue): Ditto.
2287 (cris_initial_frame_pointer_offset): Ditto.
2288 (cris_simple_epilogue): Ditto.
2289 (cris_expand_builtin_va_arg): Variable-size types come in
2292 2002-04-10 Richard Henderson <rth@redhat.com>
2294 * except.c (add_ehl_entry): Allow duplicates after landing pad
2297 2002-04-10 David Edelsohn <edelsohn@gnu.org>
2299 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
2301 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
2303 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
2304 is only used as frame pointer when frame_pointer_needed is true.
2306 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
2309 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
2310 for the fact that the pool entry uses two words.
2311 (movdf_hard_insn): Similarly. Also, ADR instruction can span
2313 (movdf_soft_insn): Similarly.
2314 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
2315 for the fact that the pool entry uses three words.
2317 2002-04-10 Richard Henderson <rth@redhat.com>
2319 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
2320 if EXPAND_INITIALIZER.
2322 2002-04-10 Alan Modra <amodra@bigpond.net.au>
2324 PR optimization/6233
2325 * rtlanal.c (pure_call_p): New function.
2326 * rtl.h (pure_call_p): Declare.
2327 * loop.c (prescan_loop): Use it to set has_nonconst_call.
2328 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
2330 2002-04-09 Richard Henderson <rth@redhat.com>
2332 * config/alpha/alpha.md (movdi_er_maybe_g): New.
2333 * config/alpha/alpha.c (alpha_expand_mov): Use it.
2335 2002-04-09 Richard Henderson <rth@redhat.com>
2338 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
2340 2002-04-09 Andrew MacLeod <amacleod@redhat.com>
2342 * expr.c (expand_expr): A RESULT_DECL is part of a call.
2344 2002-04-09 Richard Henderson <rth@redhat.com>
2346 * cfg.c (expunge_block): Decrement num_elements here ...
2347 (expunge_block_nocompact): ... not here.
2348 * cfgcleanup.c (delete_unreachable_blocks): Set num_elements.
2350 2002-04-09 Richard Henderson <rth@redhat.com>
2352 * basic-block.h (flow_delete_block_noexpunge): Declare.
2353 (expunge_block_nocompact): Declare.
2354 * cfg.c (expunge_block_nocompact): Split out from ...
2355 (expunge_block): ... here.
2356 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
2357 (flow_delete_block_noexpunge): Split out from ...
2358 (flow_delete_block): ... here.
2359 * cfgcleanup.c (delete_unreachable_blocks): Compact while
2360 removing dead blocks.
2361 * except.c (exception_handler_labels): Remove.
2362 (exception_handler_label_map): New.
2363 (struct eh_region): Add aka member.
2364 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
2365 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
2366 (for_each_eh_label, for_each_eh_label_1): New.
2367 (init_eh): Register exception_handler_label_map.
2368 (free_eh_status): Use free_region.
2369 (find_exception_handler_labels): Use the map, not the list.
2370 (remove_exception_handler_label): Likewise.
2371 (maybe_remove_eh_handler): Likewise.
2372 (remove_eh_handler): Use the region aka bitmap.
2373 * except.h (exception_handler_labels): Remove.
2374 (for_each_eh_label): Declare.
2375 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
2376 * loop.c (invalidate_loops_containing_label): New.
2377 (find_and_verify_loops): Use it. Use for_each_eh_label.
2378 * sched-rgn.c (is_cfg_nonregular): Use
2379 current_function_has_exception_handlers.
2381 2002-04-08 Richard Henderson <rth@redhat.com>
2383 * reorg.c (get_branch_condition): Use reversed_comparison_code.
2385 2002-04-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2387 * config/m68hc11/larith.asm (__map_data_section): Fix condition
2388 and optimize for size.
2389 (__do_global_ctors): Fix pointer comparison.
2390 (__do_global_dtors): Likewise.
2392 2002-04-09 David S. Miller <davem@redhat.com>
2394 * config/sparc/sparc.c (sparc_extra_constraint_check): New
2395 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
2396 allow reloading pseudos.
2397 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
2398 * config/sparc/sparc-protos.h: Declare it.
2400 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
2401 unsigned comparison warning.
2402 (output_restore_regs): Mark leaf_function as unused.
2404 Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2406 * expr.c (is_aligning_offset): New function.
2407 (expand_expr, case COMPONENT_EXPR): Call it.
2409 2002-04-09 Alan Modra <amodra@bigpond.net.au>
2411 * configure.in (auto-build.h): Use target_alias and build_alias
2412 when running configure.
2413 (gcc_cv_as): Use $target_alias in directory searchs rather than
2414 $target. Heed program_prefix and program_transform_name. Search
2415 for gas in cross-compiler case too. "test -x" rather than "test -f".
2416 (gcc_cv_ld): Likewise.
2417 (gcc_cv_nm): Set for cross compilers too. Heed program_prefix and
2418 program_transform_name.
2419 (gcc_cv_objdump): Likewise.
2420 * configure: Regenerate.
2422 2002-04-08 Hans-Peter Nilsson <hp@bitrange.com>
2424 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
2427 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
2430 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
2431 types come in by-reference. Fix typo in comment.
2433 2002-04-08 Richard Henderson <rth@redhat.com>
2436 * toplev.c (rest_of_compilation): Disable cross-jumping for
2437 highly connected graphs.
2439 2002-04-08 David S. Miller <davem@redhat.com>
2442 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
2444 Make init_priority work on Sparc when using GNU ld.
2445 * config/sparc/linux.h, config/sparc/linux64.h,
2446 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
2447 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
2448 * config/sparc/sol2-gld.h: New file to do the same.
2449 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
2450 sparc/sol2-gld.h to tm_file.
2452 PR optimization/4328
2453 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
2454 * doc/md.texi: Document it.
2455 * config/sparc/sparc.md (movdi_insn_sp64_novis,
2456 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
2457 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
2458 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
2459 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
2461 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2463 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
2464 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
2466 2002-04-07 David S. Miller <davem@redhat.com>
2468 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
2470 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2473 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
2474 generating 32-bit pic code.
2476 2002-04-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2478 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
2479 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
2481 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
2482 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
2483 of PIC_OFFSET_TABLE_REGNUM thruout.
2484 * config/rs6000/rs6000.md: Likewise.
2485 * config/rs6000/darwin.h: Likewise.
2487 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
2489 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
2491 2002-04-06 Mark Mitchell <mark@codesourcery.com>
2494 * stor-layout.c (layout_decl): Reset the RTL for the decl.
2497 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
2498 RTX_UNCHANGING_P for the functions arguments when a tail call
2501 2002-04-06 Jason Merrill <jason@redhat.com>
2503 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
2504 (parse_options_and_default_flags): Set them appropriately.
2505 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
2507 Sat Apr 6 18:26:32 CEST 2002 Jan Hubicka <jh@suse.cz>
2509 * ifcvt.c (if_convert): Clear aux fields of blocks.
2511 2002-04-05 David S. Miller <davem@redhat.com>
2513 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
2514 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
2515 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
2516 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
2518 2002-04-05 Jan Hubicka <jh@suse.cz>
2520 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
2523 2002-04-05 David S. Miller <davem@redhat.com>
2525 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
2526 are not going to emit return instructions, emit at least a nop
2527 for the sake of sane backtraces.
2529 2002-04-05 Jakub Jelinek <jakub@redhat.com>
2531 * mklibgcc.in: Use separate libgcc.map for each multilib.
2532 * Makefile.in (distclean): Don't remove libgcc.map here.
2534 2002-04-05 Jakub Jelinek <jakub@redhat.com>
2536 * Makefile.in (s-mlib): Handle --disable-multilib by separate
2537 genmultilib invocation.
2539 2002-04-04 David S. Miller <davem@redhat.com>
2541 * config/sparc/crtfastmath.c: New file.
2542 * config/sparc/t-crtfm: New file.
2543 * config/sparc/linux.h (ENDFILE_SPEC): Use crtfastmath.o
2544 * config/sparc/linux64.h (ENDFILE_SPEC): Likewise.
2545 * config/sparc/sol2.h (ENDFILE_SPEC): Likewise.
2546 * config/sparc/sp64-elf.h (ENDFILE_SPEC): Likewise.
2547 * config/sparc/elf.h (ENDFILE_SPEC): Likewise.
2548 * config.gcc (sparc*-*-{elf*,linux*,solaris2*}): Add
2549 sparc/t-crtfm to tmake_file.
2551 2002-04-05 Alan Modra <amodra@bigpond.net.au>
2553 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
2554 Add rules to make null object file.
2556 2002-04-04 David S. Miller <davem@redhat.com>
2558 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
2560 2002-04-04 Richard Henderson <rth@redhat.com>
2563 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
2564 (write_dependence_p): Likewise.
2566 2002-04-04 Richard Henderson <rth@redhat.com>
2568 * predict.c (estimate_bb_frequencies): Do frequency calculation
2569 with a volatile temporary.
2571 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
2573 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
2575 2002-04-04 Jakub Jelinek <jakub@redhat.com>
2578 * final.c (final_start_function): Don't bump profile_label_no here...
2579 (final_end_function): ...but here.
2581 2002-04-04 Jakub Jelinek <jakub@redhat.com>
2583 * config/sparc/sparc.md (pic): New attribute.
2584 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
2586 (split after do_builtin_setjmp_setup): New.
2588 2002-04-04 Jakub Jelinek <jakub@redhat.com>
2591 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
2594 2002-04-04 Jakub Jelinek <jakub@redhat.com>
2596 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
2597 UNITS_PER_WORD for zero sized aggregates.
2599 2002-04-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2601 * doc/contrib.texi (Contributors): Add David O'Brien.
2603 2002-04-03 David S. Miller <davem@redhat.com>
2605 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
2606 one-character spec for this, just use %(link_gcc_c_sequence).
2608 2002-04-04 Alan Modra <amodra@bigpond.net.au>
2610 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
2612 2002-04-03 David S. Miller <davem@redhat.com>
2614 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
2615 library sequence passed to the linker.
2616 (LINK_COMMAND_SPEC): Use it.
2617 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
2618 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
2619 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
2621 2002-04-03 Jason Merrill <jason@redhat.com>
2624 * tree.h (CLEANUP_EH_ONLY): New macro.
2625 * stmt.c (expand_decl_cleanup_eh): New fn.
2626 (expand_cleanups): Check CLEANUP_EH_ONLY.
2627 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
2628 Use expand_decl_cleanup_eh.
2629 (expand_stmt): Adjust.
2630 * c-common.h: Adjust prototype.
2632 2002-04-03 Jakub Jelinek <jakub@redhat.com>
2634 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
2635 works properly with .hidden symbols.
2636 * configure: Rebuilt.
2637 * config.in: Rebuilt.
2638 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
2639 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
2640 properly with .hidden symbols.
2642 2002-04-03 Jakub Jelinek <jakub@redhat.com>
2645 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
2648 2002-04-03 Richard Henderson <rth@redhat.com>
2651 * sched-rgn.c (sets_likely_spilled): New.
2652 (sets_likely_spilled_1): New.
2653 (add_branch_dependences): Use it.
2655 2002-04-02 Richard Henderson <rth@redhat.com>
2658 * loop.h (LOOP_FIRST_PASS): New.
2659 * loop.c (strength_reduce): Mind it when deciding to unroll.
2660 * toplev.c (rest_of_compilation): Set it.
2662 2002-04-02 David S. Miller <davem@redhat.com>
2664 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
2665 mems_ok_for_ldd_peep when the order of the loads being examined
2667 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
2668 existing comment to increase comprehension of this situation.
2670 2002-04-02 Richard Henderson <rth@redhat.com>
2672 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
2674 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
2675 Richard Henderson <rth@redhat.com>
2678 * function.c (assign_temp): Accept either type or decl argument.
2679 Detect variables whose size is too large to fit into an integer.
2680 * stmt.c (expand_decl): Pass the decl, not the type.
2682 2002-04-02 David O'Brien <obrien@FreeBSD.org>
2684 * protoize.c: Match include directory usage with cppdefault.c.
2686 2002-04-03 Jeffrey A Law (law@redhat.com)
2687 Hans-Peter Nilsson <hp@bitrange.com>
2689 * combine.c (simplify_comparison): Avoid narrowing a comparison
2690 with a paradoxical subreg when doing so would drop signficant bits.
2692 2002-04-02 David Edelsohn <edelsohn@gnu.org>
2694 * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
2696 2002-04-02 Alan Modra <amodra@bigpond.net.au>
2698 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
2699 associated splitter. Remove MQ constraint.
2700 (ctrdi_internal4): Correct CCmode clobber.
2702 2002-04-03 Hans-Peter Nilsson <hp@bitrange.com>
2704 * config/mmix/mmix.md (define_constants): Remove misleading
2705 FIXME. Add MMIX_fp_rO_OFFSET.
2706 ("nonlocal_goto_receiver"): Don't have stack-frame address of
2707 saved rO as part of the pattern. Remove FIXME.
2708 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
2709 here, at output-time.
2710 * config/mmix/crti.asm (_init): Register _fini with atexit.
2711 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
2712 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
2713 unwind information when frame_pointer_needed.
2714 (mmix_assemble_integer): Tweak wording in comment.
2716 2002-04-02 Richard Henderson <rth@redhat.com>
2719 * local-alloc.c (contains_replace_regs): LO_SUM may contain
2722 2002-04-02 Richard Henderson <rth@redhat.com>
2724 * doc/standards.texi: Document required freestanding libc entry points.
2726 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
2728 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
2729 offset before loading address of argument passed by transparent
2732 2002-04-02 Richard Henderson <rth@redhat.com>
2734 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
2735 rename solaris_sys_varargs_h.
2737 Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2739 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
2740 the same mode as its component.
2742 2002-04-02 Richard Henderson <rth@redhat.com>
2745 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
2747 2002-04-01 Richard Henderson <rth@redhat.com>
2750 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
2751 * fixinc/fixincl.x: Rebuild.
2753 2002-04-01 Richard Henderson <rth@redhat.com>
2755 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
2756 (atomic_alloc, atomic_free): New.
2757 (SIZE, MASK_FOR, PTR_IN): New.
2758 (emergency_reg_state, emergency_reg_state_free): New.
2759 (emergency_labeled_state, emergency_labeled_state_free): New.
2760 (reg_state_alloced, labeled_state_alloced): New.
2761 (alloc_reg_state, free_reg_state): New.
2762 (alloc_label_state, free_label_state, free_label_states): New.
2763 (push, pop, dup_state_stack, free_state_stack): Use them.
2764 (desc_label_state): Likewise.
2765 (uw_frame_state_for): Free label states and state stack.
2766 (uw_update_reg_address): Eliminate warnings.
2768 2002-04-01 Loren J. Rittle <ljrittle@acm.org>
2770 * doc/install.texi (*-*-freebsd*): Update.
2772 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2774 * version.c: Fix misplaced leading blanks on first line.
2776 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
2778 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
2779 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
2781 2002-04-01 Jim Blandy <jimb@redhat.com>
2783 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
2784 macro formal parameter names.
2786 2002-04-01 Bob Wilson <bob.wilson@acm.org>
2788 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
2791 2002-04-01 Bob Wilson <bob.wilson@acm.org>
2793 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
2794 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
2796 2002-03-31 Richard Henderson <rth@redhat.com>
2798 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
2799 (desc_frgr_mem): Fix reference to f16-f31.
2801 Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2803 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
2804 unsigned HOST_WIDE_INT, not unsigned int.
2806 2002-03-31 Jakub Jelinek <jakub@redhat.com>
2808 PR middle-end/6096, middle-end/6098, middle-end/6099
2809 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
2811 (fill_slots_from_thread): Likewise.
2813 2002-03-31 Jakub Jelinek <jakub@redhat.com>
2815 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
2816 floating fields in float regs.
2817 (function_arg_record_value_2): Likewise.
2819 2002-03-31 Jakub Jelinek <jakub@redhat.com>
2822 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
2824 (output_v9branch): Likewise.
2826 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
2828 * gcc.c: Revert previous patch for now.
2829 * config/i386/djgpp.h: Likewise.
2831 2002-03-31 Richard Henderson <rth@redhat.com>
2834 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
2835 (ASM_OUTPUT_DEF_FROM_DECLS): New.
2837 2002-03-31 Richard Henderson <rth@redhat.com>
2839 * libgcc2.c (__bb_exit_func): Make static.
2841 * config/alpha/alpha.md (trap): New.
2843 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
2845 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
2846 (LINK_COMMAND_SPEC): ... from here.
2847 (init_gcc_specs): Duplicate it here too, omitting
2848 shared_name in the second copy.
2849 (init_spec): Test for duplicate
2850 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
2852 2002-03-31 Richard Henderson <rth@redhat.com>
2854 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
2855 promoted argument types; build trap.
2856 (expand_builtin_trap): New.
2857 (expand_builtin): Use it.
2858 * stmt.c (expand_nl_goto_receivers): Likewise.
2859 * expr.h (expand_builtin_trap): Declare.
2860 * libfuncs.h (LTI_abort, abort_libfunc): New.
2861 * optabs.c (init_optabs): Init abort_libfunc.
2863 2002-03-30 David S. Miller <davem@redhat.com>
2865 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2866 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
2868 2002-03-30 Roger Sayle <roger@eyesopen.com>
2869 Richard Henderson <rth@redhat.com>
2871 * regmove.c (combine_stack_adjustments_for_block): Avoid
2872 emitting a stack adjustment of zero bytes. Let delete_insn
2875 2002-03-30 Richard Henderson <rth@redhat.com>
2877 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
2878 (sparc_emitting_epilogue): New.
2879 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
2880 * config/sparc/sparc-protos.h: Update.
2881 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
2882 (TARGET_SWITCHES): Update.
2883 * config/sparc/sparc.md (return): Remove.
2884 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
2885 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
2886 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
2887 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
2888 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
2889 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
2890 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
2891 Remove MASK_EPILOGUE.
2892 * doc/invoke.texi: Update.
2894 2002-03-30 Daniel Berlin <dan@dberlin.org>
2896 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
2897 CPP will start the file for us.
2899 2002-03-30 Richard Henderson <rth@redhat.com>
2902 * config/ia64/ia64.c (group_barrier_needed_p): Special case
2903 prologue_allocate_stack.
2904 (ia64_single_set): Use insn codes for recognition of special
2905 cases, not rtl matching.
2906 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
2908 2002-03-30 Richard Henderson <rth@redhat.com>
2911 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
2912 or -fomit-frame-pointer with profiling.
2913 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2914 (FUNCTION_PROFILER): Do nothing.
2915 (PROFILE_HOOK): New.
2916 * config/sparc/sparc.c (sparc_override_options): Don't check
2917 code models for profiling.
2918 (sparc_function_profiler): Remove.
2919 (sparc_profile_hook): New.
2920 * config/sparc/sparc-protos.h: Update.
2922 2002-03-30 Jakub Jelinek <jakub@redhat.com>
2924 PR optimization/6086
2925 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
2926 of SUBREG of volatile MEM or because the MEM was mode dependent,
2927 return CLOBBER instead of unmodified SUBREG.
2929 2002-03-30 David O'Brien <obrien@FreeBSD.org>
2931 * config/i370/linux.h: Update copyright.
2933 2002-03-30 Alexandre Oliva <aoliva@redhat.com>
2935 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
2936 in o32 and o64 ABIs.
2937 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
2938 but getting fixed-size structs passed in registers regardless of
2939 padding in o32 and o64 ABIs.
2941 2002-03-29 Richard Henderson <rth@redhat.com>
2944 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
2946 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2948 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
2949 for aggregate and TFmode types.
2951 2002-03-29 Richard Henderson <rth@redhat.com>
2954 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
2955 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
2957 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
2959 * doc/install.texi (*-*-freebsd*): Fix last commit.
2961 2002-03-29 Richard Henderson <rth@redhat.com>
2964 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
2965 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
2966 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
2967 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
2969 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
2971 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
2973 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
2974 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
2975 No functional change except ...
2976 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
2977 * doc/install.texi (*-*-freebsd*): Document port configuration.
2979 2002-03-29 Jakub Jelinek <jakub@redhat.com>
2982 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
2984 (length): Compute variable length for branches/calls/jumps here.
2985 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
2986 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
2987 define branch_type attribute.
2988 (divsi3_sp32): Maximum length is 6 not 7.
2989 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
2990 call_address_untyped_struct_value_sp32,
2991 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
2992 * config/sparc/sparc.c (empty_delay_slot): New function.
2993 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
2994 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
2996 2002-03-29 Jakub Jelinek <jakub@redhat.com>
2998 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
2999 nonzero_bits if not needed.
3000 (nonzero_bits) [XOR]: Likewise.
3001 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
3002 reg_last_set_mode and mode are both MODE_INT, but not equal.
3003 (record_value_for_reg): Compute reg_last_set_nonzero_bits
3004 in nonzero_bits_mode for MODE_INT modes.
3006 2002-03-28 Richard Henderson <rth@redhat.com>
3009 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
3010 to GAS. Correct drift between alternatives.
3012 2002-03-28 Richard Henderson <rth@redhat.com>
3015 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
3017 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
3019 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
3020 emulation to the linker.
3022 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
3024 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
3025 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
3027 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
3029 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
3031 Thu Mar 28 16:33:13 2002 Jeffrey A Law (law@redhat.com)
3033 * combine.c (simplify_and_const_int): Make sure to apply mask
3034 when force_to_mode returns a constant integer. PR3311.
3036 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3038 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
3039 and Objective-C Dialect Options.
3041 2002-03-28 Richard Henderson <rth@redhat.com>
3043 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
3044 comparison should be done vs !=0 not >0 return code. Tidy cases.
3046 2002-03-28 Richard Henderson <rth@redhat.com>
3048 * c-decl.c (finish_function): New arg can_defer_p. Pass it
3049 on to c_expand_body.
3050 * c-tree.h (finish_function): Update decl.
3051 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
3053 2002-03-27 Andreas Schwab <schwab@suse.de>
3055 * config/i386/i386.c (classify_argument): Also check for
3058 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3060 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
3063 Wed Mar 27 22:52:02 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3065 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
3066 assigning to BLOCK_FOR_INSN directly.
3068 Wed Mar 27 22:46:04 CET 2002 Jan Hubicka <jh@suse.cz>
3070 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
3072 2002-03-27 Richard Henderson <rth@redhat.com>
3074 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
3076 2002-03-27 Richard Henderson <rth@redhat.com>
3078 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
3079 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
3080 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
3082 2002-03-27 Richard Henderson <rth@redhat.com>
3085 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
3086 TARGET_CONST_GP. Simplify conditions.
3088 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
3090 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
3092 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
3093 or __rtems_ is defined.
3095 2002-03-26 Richard Henderson <rth@redhat.com>
3097 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
3098 if a non-trivial load was emitted.
3099 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
3100 in high+extra+low case.
3102 2002-03-26 Richard Henderson <rth@redhat.com>
3104 * config.gcc (sparc*-solaris): Use float_format=sparc.
3106 2002-03-26 Richard Henderson <rth@redhat.com>
3108 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
3109 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
3110 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
3111 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
3112 (WINT_TYPE_SIZE): Fix at 32.
3114 2002-03-26 Richard Henderson <rth@redhat.com>
3116 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
3117 until after eh landing pad generation.
3118 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
3119 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
3121 2002-03-26 Richard Henderson <rth@redhat.com>
3123 * expr.h (ADD_PARM_SIZE): One more convert for INC.
3125 2002-03-26 David Edelsohn <edelsohn@gnu.org>
3127 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
3129 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
3131 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
3132 Restore more of the signal context. Set no_reg_stack_frame.
3133 * config/ia64/unwind-ia64.c (unw_state_record):
3134 Add no_reg_stack_frame, comments.
3135 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
3136 (uw_update_context): Adjust bsp when unwinding from leaf,
3137 but not signal frame.
3139 2002-03-26 Bob Wilson <bob.wilson@acm.org>
3141 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
3143 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
3146 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
3147 "Add a pool_range attribute", which was lost during the ARM/Thumb
3150 2002-03-26 Bob Wilson <bob.wilson@acm.org>
3152 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
3153 a register into the MAC16 accumulator.
3155 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
3157 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
3158 code to not restoring global registers.
3160 2002-03-26 Richard Henderson <rth@redhat.com>
3162 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
3163 (SUB_PARM_SIZE): Cast DEC to ssizetype.
3165 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
3166 types from the normal argument frame.
3168 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
3169 variable sized objects by reference.
3170 (sparc_va_arg): Receive them by reference too.
3172 2002-03-25 Bruce Korb <bkorb@gnu.org>
3174 * Makefile.in(check-fixinc): run "$(MAKE) check" in the fixinc
3175 directory when autogen is detected.
3177 2002-03-25 Richard Henderson <rth@redhat.com>
3179 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
3180 anywhere in the block. Don't refer to insns that have been
3181 removed from the chain. Iterate backward through the new insns.
3182 Don't refer to edges that have been removed.
3184 2002-03-26 Alan Modra <amodra@bigpond.net.au>
3186 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
3187 test for overflow of constant.
3189 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
3192 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
3193 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
3194 these patterns on arm_archv4.
3196 2002-03-22 Nick Clifton <nickc@cambridge.redhat.com>
3198 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
3199 defined. Do not disable exceptions or rtti.
3200 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
3201 mcore.h. Disable exceptions and rtti, since they are not
3204 2002-03-25 Jakub Jelinek <jakub@redhat.com>
3206 * regrename.c (build_def_use): Move recog_memoized
3207 before extract_insn.
3209 2002-03-25 Jakub Jelinek <jakub@redhat.com>
3212 * expr.c (emit_group_store): Handle storing into CONCAT.
3214 2002-03-25 Jakub Jelinek <jakub@redhat.com>
3216 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
3217 corresponding MATCH_DUP.
3219 2002-03-24 Richard Henderson <rth@redhat.com>
3221 * unroll.c (unroll_loop): Zero label_map.
3223 * gcse.c: Include except.h.
3224 * Makefile.in (gcse.o): Update.
3226 2002-03-24 Richard Henderson <rth@redhat.com>
3228 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
3229 Do resolve_unique_section before shared data clause.
3231 2002-03-24 Richard Henderson <rth@redhat.com>
3233 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
3235 2002-03-24 Richard Henderson <rth@redhat.com>
3237 * recog.c (peephole2_optimize): Split blocks when EH insns are
3238 generated in the middle of a block. Do global life update if
3241 2002-03-24 Richard Henderson <rth@redhat.com>
3243 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
3245 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
3248 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
3249 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
3250 (init_dependency_output): Don't make no_output decision here.
3252 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3254 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
3255 (m68hc11_split_move): Call it to see if the source and destination
3256 operands use the same direction auto inc/dec mode, otherwise make the
3257 source an offsetable memory operand and generate an add.
3259 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3261 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
3262 register for operand 2.
3263 ("*subsi3_zero_extendqi"): Likewise.
3264 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
3265 bits so that it is compatible with a pop.
3266 ("*andhi3_gen"): Likewise.
3267 ("xorhi3"): Likewise.
3269 2002-03-24 Richard Henderson <rth@redhat.com>
3271 PR optimization/5742
3272 * machmode.def: Add inner mode field to complex modes.
3273 * config/mips/mips.c (mips_function_value): Always define. Add
3274 new argument to handle libcalls.
3275 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
3276 (FUNCTION_VALUE): Likewise.
3277 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
3278 * config/mips/mips-protos.h: Update.
3280 2002-03-23 Richard Henderson <rth@redhat.com>
3282 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
3283 * config/sparc/sparc-protos.h: Update.
3284 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
3286 2002-03-23 Richard Henderson <rth@redhat.com>
3288 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
3289 _start or _init begins the text segment.
3291 2002-03-23 Alan Modra <amodra@bigpond.net.au>
3293 * combine.c (simplify_comparison): When widening modes, ignore
3294 sign extension on CONST_INTs.
3296 2002-03-22 Bob Wilson <bob.wilson@acm.org>
3298 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
3299 passed to adjust_address. Fix comment formatting.
3301 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
3303 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
3304 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
3306 2002-03-22 Richard Henderson <rth@redhat.com>
3308 * c-pragma.c (maybe_apply_renaming_pragma): New.
3309 (handle_pragma_redefine_extname, pending_redefine_extname): New.
3310 (handle_pragma_extern_prefix, pragma_extern_prefix): New.
3311 (init_pragma): Register them.
3312 * c-pragma.h (maybe_apply_renaming_pragma): Declare.
3313 * c-decl.c (finish_decl): Call it.
3314 * cp/decl.c (cp_finish_decl): Likewise.
3315 * doc/extend.texi: Document the new pragmas.
3317 * config/alpha/osf.h (CPP_SUBTARGET_SPEC): Add __EXTERN_PREFIX.
3318 (HANDLE_PRAGMA_EXTERN_PREFIX): New.
3320 * config/i386/sol2.h (CPP_PREDEFINES): Add __PRAGMA_REDEFINE_EXTNAME.
3321 (HANDLE_PRAGMA_REDEFINE_EXTNAME): New.
3322 * config/sparc/sol2.h: Likewise.
3324 2002-03-22 Bob Wilson <bob.wilson@acm.org>
3326 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
3327 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
3328 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
3329 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
3330 prevent use of sp as a reload register.
3331 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
3332 non_acc_reg_operand.
3333 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
3334 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
3335 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
3336 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
3338 2002-03-22 Jakub Jelinek <jakub@redhat.com>
3340 PR optimization/5854
3341 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
3343 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
3344 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
3345 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
3346 const0 if scratch register was not allocated.
3347 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
3348 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
3350 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
3351 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
3352 with GEN_INT (...) everywhere. Remove constraints in define_split
3354 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
3355 require scratch register for setting 0 into regs/non-pushable memory.
3357 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
3359 * flow.c (calculate_global_regs_live): Clear aux fields of
3362 2002-03-22 Jakub Jelinek <jakub@redhat.com>
3364 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
3365 REG or MEM subregs, pass rtx * instead of rtx to it.
3366 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
3367 rtx * instead of rtx to alter_subreg.
3368 * config/m32r/m32r.c (gen_split_move_double): Likewise.
3369 * config/pj/pj.c (pj_output_rval): Likewise.
3371 2002-03-22 Richard Henderson <rth@redhat.com>
3374 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
3375 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
3376 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
3377 (ia64_expand_prologue): Look at int_regs, not words, for number
3378 of incomming int regs.
3380 Fri Mar 22 16:00:06 CET 2002 Jan Hubicka <jh@suse.cz>
3382 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
3383 frequencies match; avoid match on different loop depths.
3384 (try_crossjump_to_bb): Kill tests that no longer brings time
3386 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
3388 (split_edge): Likewise.
3390 2002-03-21 Richard Henderson <rth@redhat.com>
3393 * fixinc/inclhack.def (solaris_stdio_tag): New.
3394 * fixinc/fixincl.x: Regenerate.
3396 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
3399 * c-typeck.c (process_init_element): Flag non-static
3400 initialization of a flexible array member as illegal.
3402 2002-03-22 Alan Modra <amodra@bigpond.net.au>
3404 * config/rs6000/t-linux64: New.
3405 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
3406 t-ppccomm. Use t-rs6000 and t-linux64.
3407 (powerpc64-*-gnu* <tmake_file>): Likewise.
3408 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
3409 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
3410 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
3412 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
3414 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
3415 flag_really_no_inline instead of optimize == 0.
3417 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
3419 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
3421 * flags.h (flag_really_no_inline): New.
3423 * c-common.c (c_common_post_options): Initialzie
3424 flag_really_no_inline.
3426 * toplev.c (flag_really_no_inline): New.
3428 2002-03-21 Jakub Jelinek <jakub@redhat.com>
3430 * config/avr/avr.md (length): Fix length computation for
3431 conditional branches.
3433 2002-03-21 Richard Henderson <rth@redhat.com>
3435 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
3436 constants in .data when -fpic.
3438 2002-03-21 Tom Tromey <tromey@redhat.com>
3440 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
3442 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3444 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
3447 Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3449 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
3451 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
3453 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
3454 Richard Henderson <rth@redhat.com>
3457 * c-common.c (c_expand_expr): Preserve result of a statement
3458 expression if needed.
3460 2002-03-21 Jakub Jelinek <jakub@redhat.com>
3463 * genrecog.c (maybe_both_true_mode): Remove.
3464 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
3465 * machmode.def (Pmode): Likewise.
3467 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3469 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
3471 * fixinc/fixincl.x: Regenerate.
3473 2002-03-20 Jason Merrill <jason@redhat.com>
3475 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
3477 2002-03-20 Bob Wilson <bob.wilson@acm.org>
3479 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
3480 ".literal_position" directive before the constant pool.
3482 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3484 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
3485 Add Craig Rodrigues.
3486 Add Brad Lucier to testers.
3488 2002-03-20 Jakub Jelinek <jakub@redhat.com>
3491 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
3493 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
3494 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
3495 instead of insn_extract.
3497 2002-03-20 Jakub Jelinek <jakub@redhat.com>
3500 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
3502 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
3503 stmt if some case has been output.
3505 2002-03-20 Jakub Jelinek <jakub@redhat.com>
3508 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
3509 movsfcc_1, movdfcc_1): Add %O2.
3510 * config/i386/i386.c (print_operand): Handle %ON.
3511 Print . before float condition codes in Sun as cmov syntax.
3512 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
3513 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
3516 2002-03-20 Philip Blundell <pb@nexus.co.uk>
3518 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
3519 return instruction if PC was popped.
3521 2002-03-20 Hans-Peter Nilsson <hp@bitrange.com>
3523 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
3524 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
3525 ("truncdfsf2"): Correct operator is float_truncate, not fix.
3526 ("*truncdfsf2_real"): Ditto.
3527 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
3529 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
3531 2002-03-19 Jim Blandy <jimb@redhat.com>
3533 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
3534 the start_source_file debug hook, not the current line number.
3536 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
3537 name, even if the replacement list contains no tokens, as required
3540 2002-03-19 David Edelsohn <edelsohn@gnu.org>
3542 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
3543 about -fpic/-fPIC if extra_warnings set.
3545 2002-03-19 Richard Henderson <rth@redhat.com>
3547 * flow.c (EH_USES): Provide default.
3548 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
3549 * doc/tm.texi (EH_USES): New.
3551 * config/ia64/ia64.c (ia64_eh_uses): New.
3552 * config/ia64/ia64-protos.h: Update.
3553 * config/ia64/ia64.h (EH_USES): New.
3555 2002-03-20 Alan Modra <amodra@bigpond.net.au>
3557 * defaults.h (SUPPORTS_WEAK): Set if ASM_WEAKEN_DECL.
3558 * varasm.c (assemble_alias): Use ASM_WEAKEN_DECL.
3559 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
3560 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
3561 (SUPPORTS_WEAK): Likewise.
3563 2002-03-19 Richard Henderson <rth@redhat.com>
3566 * except.c (current_function_has_exception_handlers): New.
3567 * except.h: Declare it.
3568 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
3569 Combine tests that disable all sibcalls for the function.
3571 2002-03-19 Richard Henderson <rth@redhat.com>
3574 * config/ia64/ia64.c: Revert 2002-03-01 patch.
3575 * config/ia64/ia64.h (INIT_EXPANDERS): New.
3577 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
3579 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
3582 2002-03-19 Jason Merrill <jason@redhat.com>
3584 * varasm.c (globalize_decl): Get the name from the RTL, not
3585 DECL_ASSEMBLER_NAME.
3587 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
3589 2002-03-19 Dale Johannesen <dalej@apple.com>
3591 PR optimization/5999, middle-end/5731
3592 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
3593 multiplications by reciprocals.
3595 2002-03-19 Bob Wilson <bob.wilson@acm.org>
3597 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
3598 subdi_carry): Define.
3600 Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3602 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
3603 in favor of SP if FRAME_POINTER_REQUIRED is false.
3605 2002-03-19 Jakub Jelinek <jakub@redhat.com>
3608 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
3609 convert_parm_for_inlining.
3610 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
3612 * langhooks-def.h: Likewise.
3613 * objc/objc-lang.c: Likewise.
3614 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
3616 * tree-inline.c (initialize_inlined_parameters):
3617 Call convert_parm_for_inlining lang hook if needed.
3618 * c-typeck.c (c_convert_parm_for_inlining): New function.
3619 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
3621 2002-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3623 * gcse.c (insert_insn_end_bb): Fix typo in last change.
3625 2002-03-18 Mark Mitchell <mark@codesourcery.com>
3627 * calls.c (precompute_arguments): Do not assume that temporaries
3628 can be destroyed after expanding the argument.
3629 (expand_call): Likewise.
3631 2002-03-18 Ashif Harji <asharji@uwaterloo.ca>
3633 * gcc.c (struct compiler default_compilers): Add
3634 -no-integrated-cpp flag to invoke an external cpp.
3635 (struct option_map option_map[]): Likewise.
3636 * objc/lang-specs.h (struct compiler default_compilers): Add
3637 -no-integrated-cpp flag to invoke an external cpp.
3638 * doc/invoke.texi: Document -no-integrated-cpp flag.
3640 2002-03-18 Alan Modra <amodra@bigpond.net.au>
3641 David Edelsohn <edelsohn@gnu.org>
3643 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
3644 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
3645 .weak for code sym. Do emit .size for descriptor sym.
3646 (ASM_DECLARE_FUNCTION_SIZE): Define.
3647 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
3648 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
3649 .lglobl unless TARGET_XCOFF. Formatting fixes.
3650 (PREDICATE_CODES): Add any_operand and zero_constant.
3651 (HANDLE_PRAGMA_PACK): Delete.
3652 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
3654 (HANDLE_PRAGMA_WEAK): Remove.
3655 (ASM_WEAKEN_LABEL): Remove.
3656 (COLLECT_EXPORT_LIST): Delete.
3657 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
3658 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
3660 2002-03-18 Bob Wilson <bob.wilson@acm.org>
3662 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
3663 constant-pool addresses as "mode-dependent".
3665 Mon Mar 18 18:12:48 CET 2002 Jan Hubicka <jh@suse.cz>
3667 * i386.c (override_options): Disallow preferred_stack_boundary to be
3669 (construct_container): Fix end of array check.
3670 (ix86_va_start): Force alignemnt to be 16 bytes.
3672 * linux64.h (MULTILIB_DEFAULTS): Set to "m64".
3673 (t-linux64): Add multilibing
3675 * i386.h (PROMOTE_PROTOTYPES): Set to 0 for x86_64.
3677 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
3679 * basic-block.h (fixup_abnormal_edges): Declare.
3680 * reload1.c (fixup_abnormal_edges): Make global.
3681 * reg-stack.c (convert_regs): Use it.
3683 * gcse.c (insert_insn_end_bb): Handle trapping insns.
3685 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
3687 * recog.c (peephole2_optimize): Re-distribute EH edges.
3689 2002-03-18 Jason Merrill <jason@redhat.com>
3691 * configure.in: Disable checking by default on release branch.
3693 2002-03-18 Jakub Jelinek <jakub@redhat.com>
3696 * expr.c (emit_group_load): Use extract_bit_field if
3697 needed for CONCAT arguments.
3699 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
3702 * arm.md (tablejump): Make this a define_expand. For PIC add the
3703 offset to the base of the table.
3704 (thumb_tablejump): Matcher for Thumb tablejump insn.
3705 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
3706 as the difference of two labels.
3707 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
3708 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
3710 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
3711 * arm.c (get_jump_table_size): If the table is not in the text
3712 section, return zero.
3714 2002-03-17 Richard Henderson <rth@redhat.com>
3716 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
3719 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3721 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
3723 2002-03-17 David Edelsohn <edelsohn@gnu.org>
3725 * expr.c (expand_expr): Sign-extend CONST_INT generated from
3726 TREE_STRING_POINTER.
3728 2002-03-16 Richard Henderson <rth@redhat.com>
3730 * config/ia64/ia64.c (ia64_attribute_table): Move before
3731 targetm definition. Make static.
3733 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
3735 * cppinit.c (print_help): Display -MD and -MMD.
3736 Don't display usage string. Update assertion syntax and
3739 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3741 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
3742 soft registers by default for 68HC12.
3743 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
3744 when compiling with -fomit-frame-pointer.
3745 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
3746 (expand_epilogue): Likewise.
3747 (m68hc11_gen_rotate): Use exg when rotating by 8.
3749 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3751 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
3752 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
3753 (splits): Remove unused add splits.
3754 ("*addhi3_68hc12"): Tune constraints.
3755 ("addhi_sp"): Try to use X instead of Y in all cases and if the
3756 constant fits in 8-bits and D is dead use abx/aby instructions.
3757 ("*addhi3"): Remove extern declaration of ix_reg.
3758 ("*subsi3"): Optimize and provide new split.
3759 ("subhi3"): Cleanup.
3760 ("*subhi3_sp"): Avoid saving X if we know it is dead.
3761 (arith splits): For 68hc12 save the address register on the stack
3762 and do the arithmetic operation with a pop.
3764 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3766 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
3767 allocating QImode in address registers.
3768 ("*movqi_m68hc11"): Likewise.
3770 2002-03-15 Mark Mitchell <mark@codesourcery.com>
3772 * expr.c (expand_expr): Revert previous change.
3774 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
3775 * c-common.def (CLEANUP_STMT): New tree node.
3776 * c-common.h (CLEANUP_DECL): New macro.
3777 (CLEANUP_EXPR): Likewise.
3778 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
3779 * expr.c (expand_expr): Tidy.
3780 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
3781 * tree-inline.c (initialize_inlined_parameters): Clean up
3782 new local variables.
3784 2002-03-15 Richard Henderson <rth@redhat.com>
3786 * c-decl.c: Include c-pragma.h.
3787 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
3788 (finish_function): Tidy.
3789 * c-pragma.c: Include c-common.h.
3790 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
3791 (handle_pragma_weak): Use them.
3792 (init_pragma): Register pending_weaks.
3793 * c-pragma.h (maybe_apply_pragma_weak): Declare.
3794 * print-tree.c (print_node): Print DECL_WEAK.
3795 * varasm.c (mark_weak_decls): Remove.
3796 (remove_from_pending_weak_list): Remove.
3798 (asm_emit_uninitialised): Call globalize_decl for weak commons.
3799 (weak_decls): Make a tree_list.
3800 (declare_weak): Cons weak_decls directly.
3801 (globalize_decl): Remove weak_decls elements directly.
3802 (weak_finish): Simplify weak_decls walk. Don't weaken unused
3803 symbols. Don't pretend to handle aliases.
3804 (init_varasm_once): Update weak_decls registry.
3805 * Makefile.in: Update dependencies.
3807 2002-03-15 Richard Henderson <rth@redhat.com>
3809 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
3812 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3814 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
3815 ("tstqi" split): Avoid using memory for tstqi on address register.
3816 (splits): Remove constraints.
3817 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
3818 ("cmpdf", "cmpsf"): Remove since not used.
3819 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
3820 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
3822 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3824 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
3825 ("neghi2"): Tighten constraints.
3826 ("one_cmplsi2"): Optimize and simplify split.
3827 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
3829 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3831 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
3832 and split of AND operation to clear the upper bits.
3833 ("*logicalsi3_zextqi"): Likewise.
3834 ("*logicallhi3_zexthi_ashift8"): Likewise.
3835 ("*logicalsi3_silshr16"): Likewise.
3836 ("logicalsi3_silshl16"): Likewise.
3837 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
3839 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3841 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
3842 (m68hc11_indirect_p): New function.
3843 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
3844 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
3846 (asm_print_register): Likewise.
3847 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
3848 (m68hc11_indirect_p): Declare.
3849 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
3850 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
3851 (TARGET_SWITCHES): New option -mrelax.
3852 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
3854 ("iorsi3", "xorsi3"): Likewise.
3855 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
3856 ("*andhi3_mem"): New to handle destination in memory with bclr
3857 and a scratch register.
3858 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
3859 ("*andhi3_const"): New when operand2 is constant.
3860 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
3861 ("*andhi3_gen"): Cleanup of the old "andhi3".
3862 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
3863 ("xorqi3"): Update constraints.
3865 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3867 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
3868 for reg_equiv_memory_loc when the operand is a register that does
3869 not get a hard register (stack location).
3870 (tst_operand): After reload, accept all memory operand.
3871 (symbolic_memory_operand): Fix detection of symbolic references.
3872 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
3873 accept symbols and any constant.
3875 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3877 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
3878 note on the insn that sets the soft frame register.
3879 (must_parenthesize): ix and iy are also reserved names.
3880 (print_operand_address): One more place where parenthesis are required
3881 to avoid confusion with register names.
3882 (m68hc11_gen_movhi): Allow push of stack pointer.
3883 (m68hc11_check_z_replacement): Fix handling of parallel with a
3885 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
3886 the replacement register is.
3887 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
3888 and D8_REGS classes.
3889 (MODES_TIEABLE_P): All modes are tieable except QImode.
3891 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3893 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
3894 (___subdi3): Likewise.
3895 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
3896 (__map_data_section): Optimize 68hc11 case.
3898 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3900 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
3901 than a shift to avoid adding a register with itself.
3902 (m68hc11_memory_move_cost): Take into account NO_REGS.
3903 (m68hc11_register_move_cost): Update and use memory move cost
3905 (m68hc11_address_cost): Make cost of valid offset not 0 so that
3906 it gives more opportunities to cse to optimize.
3907 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
3908 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
3910 2002-03-15 Jason Merrill <jason@redhat.com>
3912 * varasm.c (globalize_decl): New fn.
3913 (assemble_start_function): Use it.
3914 (asm_emit_uninitialized): Use it.
3915 (assemble_alias): Use it.
3916 (assemble_variable): Use it.
3918 2002-03-15 Jason Merrill <jason@redhat.com>
3920 * varasm.c (assemble_variable): Use zeros for a decl with DECL_INITIAL
3923 2002-03-15 Jakub Jelinek <jakub@redhat.com>
3926 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
3927 before movrXX only, use reg_overlap_mentioned_p.
3928 Only special case NE if just one insn can be generated.
3930 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
3933 * arm.md (movaddr, movaddr_insn): Delete.
3935 2002-03-15 Jason Merrill <jason@redhat.com>
3937 * toplev.c (wrapup_global_declarations): Clarify variable handling.
3938 -fkeep-static-consts doesn't apply to comdats.
3940 2002-03-14 Richard Henderson <rth@redhat.com>
3943 * config/ia64/ia64.c: Include tm_p.h last.
3944 (gen_nop_type): Remove duplicate definition.
3945 (cycle_end_fill_slots): Set sched_data for second L slot.
3946 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
3947 (nop_cycles_until): Fix typos.
3949 2002-03-15 Jakub Jelinek <jakub@redhat.com>
3951 PR optimization/5891
3952 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
3954 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
3956 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
3957 descriptors correctly.
3959 2002-03-14 Zack Weinberg <zack@codesourcery.com>
3961 * cpphash.h (struct lexer_state): Remove line_extension member.
3962 * cpplib.c (dequote_string, do_linemarker): New functions.
3963 (linemarker_dir): New data object.
3964 (DIRECTIVE_TABLE): No longer need to interpret #line in
3965 preprocessed source. Delete obsolete comment about return
3967 (end_directive, directive_diagnostics, _cpp_handle_directive):
3968 Don't muck with line_extension.
3969 (directive_diagnostics): No need to issue warnings for
3971 (_cpp_handle_directive): Issue warnings for linemarkers here,
3972 when appropriate. Dispatch linemarkers to do_linemarker, not
3974 (do_line): Code to handle linemarkers split out to do_linemarker.
3975 Convert escape sequences in filename argument, both places.
3977 * cppmacro.c (quote_string): Rename cpp_quote_string and
3978 export. All callers changed.
3979 * cpplib.h (cpp_quote_string): Prototype.
3980 * cppmain.c (print_line): Call cpp_quote_string on to_file
3983 * doc/cpp.texi: Document that escapes are now interpreted in
3984 #line and in linemarkers, and that non-printing characters are
3985 converted to octal escapes when linemarkers are generated.
3987 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
3988 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
3991 * arm.c (arm_output_epilogue): Fix floating-point register save
3992 adjustment when using a frame pointer.
3994 2002-03-13 Hans-Peter Nilsson <hp@bitrange.com>
3996 * config/mmix/mmix.c: Improve comments.
3997 (mmix_target_asm_function_prologue): Drop variable
3998 empty_stack_frame. Don't allocate unused slot above fp.
3999 (mmix_target_asm_function_epilogue): Mirror prologue changes.
4000 (mmix_expand_builtin_va_arg): Do all computations on trees.
4001 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
4002 brace in first column.
4003 (enum reg_class): Ditto.
4004 (FIRST_PARM_OFFSET): Now 0.
4005 (USER_LABEL_PREFIX): Remove #if 0:d definition.
4006 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
4007 relocatably. Always produce ELF, not mmo if linking relocatably.
4009 2002-03-13 David Edelsohn <edelsohn@gnu.org>
4011 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
4012 * config/rs6000/rs6000.c (rs6000_va_arg): Use
4013 std_expand_builtin_va_arg if not ABI_V4.
4015 2002-03-13 Jakub Jelinek <jakub@redhat.com>
4018 * config/sparc/sparc.md (normal_branch, inverted_branch,
4019 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
4020 inverted_fp_branch): Adjust calls to output_cbranch.
4021 Set length attribute.
4022 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
4023 output_v9branch. Set length attribute.
4024 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
4026 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
4027 (output_cbranch): Likewise. Handle far branches.
4028 (output_v9branch): Handle far branches.
4029 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
4031 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
4032 noov_compare64_op predicates.
4034 2002-03-13 Jason Merrill <jason@redhat.com>
4036 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
4037 into the function and constify it.
4038 * gthr-dce.h, gthr-solaris.h: Likewise.
4040 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
4042 * config/cris/cris.c (cris_print_operand): Avoid
4043 traditional-warning for 0xffffffff.
4044 (cris_expand_builtin_va_arg): Do all computations on trees.
4046 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
4048 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
4049 VOIDmode operand. Add compile-time optimization for constant results.
4051 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
4053 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
4054 before prologue, to avoid scheduling problems.
4056 2002-03-13 Jakub Jelinek <jakub@redhat.com>
4058 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
4059 (ELIMINABLE_REGS): Add sfp->sp.
4060 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
4062 2002-03-13 Jakub Jelinek <jakub@redhat.com>
4064 PR optimization/5892
4065 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
4067 2002-03-13 Jakub Jelinek <jakub@redhat.com>
4069 * loop.c (basic_induction_var): Don't call convert_modes if mode
4070 classes are different.
4072 2002-03-12 Richard Henderson <rth@redhat.com>
4074 PR optimization/5901
4075 * function.c (reposition_prologue_and_epilogue_notes): Position
4076 the markers after/before the last/first insn not deleted.
4078 2002-03-12 Richard Henderson <rth@redhat.com>
4080 PR optimization/5878
4081 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
4082 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
4083 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
4085 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
4086 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
4087 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
4089 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
4090 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
4091 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
4092 also. Don't set it if not flag_pic.
4093 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
4094 to be INVALID_REGNUM when not used.
4096 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
4098 * expmed.c (store_bit_field): Reset alias set for memory.
4099 (extract_bit_field): Same.
4101 2002-03-12 Chris Meyer <cmeyer@gatan.com>
4103 * genflags.c (gen_insn): Use IS_VSPACE.
4104 * genoutput.c (output_insn_data): Likewise.
4105 (process_template): Likewise.
4107 2002-03-12 Bob Wilson <bob.wilson@acm.org>
4109 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
4110 validize_mem() instead of change_address to avoid clobbering
4113 2002-03-12 Jakub Jelinek <jakub@redhat.com>
4115 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
4116 (lex_string): Use unsigned char pointers.
4118 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
4120 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
4121 is not a valid memory_operand.
4123 2002-03-12 Bob Wilson <bob.wilson@acm.org>
4125 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
4126 * config/xtensa/lib1funcs.asm: Fix copyright to include
4127 special case for libgcc files.
4128 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
4129 (__divsi3): Likewise.
4130 (__umodsi3): Likewise.
4131 (__modsi3): Likewise.
4132 * config/xtensa/lib2funcs.S: Fix copyright to include
4133 special case for libgcc files.
4135 2002-03-12 Michael Matz <matz@suse.de>
4137 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
4138 (ne0+5): Use new clobber to generate proper shift pattern.
4140 2002-03-12 Bob Wilson <bob.wilson@acm.org>
4142 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
4144 2002-03-12 Bob Wilson <bob.wilson@acm.org>
4146 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
4147 to function_section before writing out the constant pool.
4149 2002-03-12 Zack Weinberg <zack@codesourcery.com>
4151 * Makefile.in: Give texi2pod its input file as a command
4152 line argument, not on stdin.
4154 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
4156 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
4157 address calculation.
4159 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
4161 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
4162 scratch register to DImode / TImode.
4163 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
4164 register used does not overlap the target.
4166 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
4168 * Makefile.in: Update.
4170 * cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
4171 Update documentation.
4172 * gcc.texi: Include cppopts.texi and cppenv.texi.
4173 * cpp.texi: Include cppopts.texi and cppenv.texi.
4175 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
4177 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
4179 2002-03-11 Douglas B Rupp <rupp@gnat.com>
4181 * toplev.c (vms_fopen): Remove, not needed.
4183 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
4185 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
4187 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
4188 for FP, already done later.
4190 * toplev.c (debug_args): Add entry for VMS_DEBUG.
4191 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
4193 2002-03-10 Richard Henderson <rth@redhat.com>
4196 * reload.c (copy_replacements_1): New.
4197 (copy_replacements): Use it to recurse through the rtx.
4199 2002-03-10 Richard Henderson <rth@redhat.com>
4201 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
4202 to move away from the end of the block.
4204 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
4206 PR preprocessor/5899
4207 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
4209 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4211 * combine.c (make_extraction): Fix error in last change.
4213 2002-03-09 Jakub Jelinek <jakub@redhat.com>
4215 PR optimization/5172, optimization/5200
4216 * gcse.c (gcse_main): Disable store_motion.
4218 2002-03-09 Andreas Schwab <schwab@suse.de>
4220 * gcc.c (validate_all_switches): Also handle `%W{...}'.
4222 2002-03-09 Jakub Jelinek <jakub@redhat.com>
4225 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
4226 even for non-representable constants.
4228 Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4230 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
4231 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
4232 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
4233 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
4234 (pop_function_context): Compute MAY_SHARE parameter for
4236 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
4237 (gen_mem_addressof): Call fixup_var_refs with new parm.
4239 * combine.c (make_extraction): Don't make extension of CONST_INT.
4241 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4243 * sparc.c (arith_4096_operand): Fix error in last change.
4245 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
4247 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
4250 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
4252 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
4254 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
4256 * doc/install.texi (--with-libiconv-prefix): Document.
4258 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
4260 * doc/sourcebuild.texi: Fix typo.
4262 2002-03-08 Jakub Jelinek <jakub@redhat.com>
4265 * builtins.c (std_expand_builtin_va_arg): Do all computations on
4268 Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4270 * rtl.c (copy_most_rtx): Move from here ...
4271 * emit-rtl.c (copy_most_rtx): ... to here.
4273 2002-03-08 Richard Earnshaw <rearnsha@arm.com>
4275 * combine.c (simplify_comparison): If simplifying a logical shift
4276 right and compare with constant, force the comparison to unsigned.
4278 2002-03-07 Ulrich Weigand <uweigand@de.ibm.com>
4280 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
4281 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
4284 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
4286 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
4288 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
4290 (alt_reg_names): Remove % for vrsave.
4292 2002-03-06 Jeffrey A Law (law@redhat.com)
4294 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
4295 after completing fast dead code elimination.
4297 2002-03-06 Richard Henderson <rth@redhat.com>
4299 PR optimization/5844
4300 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
4301 if used indicates we've already emitted one copy of an operand.
4302 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
4303 (gen_split): Supply a non-null used.
4305 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
4307 * simplify-rtx.c (simplify_plus_minus): Do not abort,
4308 but simply fail if the expression is too complex to simplify.
4309 (simplify_gen_binary): Handle simplify_plus_minus failures.
4311 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
4313 * reload1.c (reload): Unshare all rtl after reload is done.
4315 2002-03-06 Jakub Jelinek <jakub@redhat.com>
4317 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
4320 2002-03-05 Zack Weinberg <zack@codesourcery.com>
4322 * cppmain.c (setup_callbacks): Disable #pragma and #ident
4323 callbacks when processing assembly language.
4325 2002-03-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
4327 * pa.h (ASM_FILE_END): Define.
4328 * som.h (ASM_FILE_END): Delete.
4330 * pa.c (function_arg): Don't pass floats in general registers in
4331 indirect calls if TARGET_ELF32.
4333 2002-03-05 Richard Henderson <rth@redhat.com>
4335 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
4337 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4339 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
4340 -r command line. Don't hide any symbols if not building
4343 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4345 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
4346 wide volatile memory by parts.
4348 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4350 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
4353 2002-03-05 Richard Henderson <rth@redhat.com>
4355 * config/rs6000/rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
4357 2002-03-04 Krister Walfridsson <cato@df.lth.se>
4359 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
4361 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
4363 * configure.in: Increase required makeinfo version to 4.1.
4364 * configure: Regenerate.
4366 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
4368 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
4369 * doc/invoke.texi: Fix @math uses.
4371 2002-03-02 Per Bothner <per@bothner.com>
4373 * gcc.c (option_map): Suport new --bootclasspath option.
4374 --CLASSPATH is now just an alias for --classpath.
4376 Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4378 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
4381 * emit-rtl.c (offset_address): Call update_temp_slot_address.
4383 2002-03-01 Richard Henderson <rth@redhat.com>
4385 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
4386 adjust argument_pointer by pretend_args_size.
4387 (ia64_va_start): Adjust va_start address by -pretend_args_size.
4389 2002-03-01 Zack Weinberg <zack@codesourcery.com>
4391 * doc/cpp.texi: Clarify documentation of relationship between
4394 2002-02-28 Richard Henderson <rth@redhat.com>
4396 * expmed.c (store_bit_field): Prevent generation of CONCATs;
4397 pun complex values as integers; use gen_lowpart instead of
4399 (extract_bit_field): Likewise.
4401 2002-02-28 David O'Brien <obrien@FreeBSD.org>
4403 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
4405 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
4408 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
4410 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
4411 override -shared and -shared-libgcc.
4413 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
4415 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
4416 POST_DEC, and POST_MODIFY.
4418 2002-02-28 Joseph S. Myers <jsm28@cam.ac.uk>
4420 * doc/invoke.texi, doc/standards.texi: Link to
4421 gcc-3.1/c99status.html.
4423 2002-02-28 Richard Henderson <rth@redhat.com>
4425 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
4426 4 cycle latency from MM producers.
4427 (ia64_internal_sched_reorder): Likewise with pipeline flush.
4429 2002-02-28 Jakub Jelinek <jakub@redhat.com>
4431 * mklibgcc.in: Don't use GNU make extension.
4433 2002-02-28 Richard Henderson <rth@redhat.com>
4435 * haifa-sched.c (sched_emit_insn): New.
4436 (schedule_block): Use last_scheduled_insn to track last insn.
4437 * sched-int.h (sched_emit_insn): Prototype.
4438 * config/ia64/ia64.c (last_issued): Remove.
4439 (ia64_variable_issue): Don't set it.
4440 (nop_cycles_until): Use sched_emit_insn.
4442 2002-02-28 Bo Thorsen <bo@suse.de>
4444 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
4445 (STARTFILE_SPEC): Add 64 bit files.
4446 (ENDFILE_SPEC): Likewise.
4448 Don Feb 28 16:41:19 CET 2002 Jan Hubicka <jh@suse.cz>
4450 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
4452 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
4453 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
4455 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Always define.
4457 2002-02-28 David Edelsohn <edelsohn@gnu.org>
4459 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
4460 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
4462 2002-02-28 Alan Modra <amodra@bigpond.net.au>
4464 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
4466 2002-02-28 Jason Merrill <jason@redhat.com>
4468 * c-decl.c (finish_function): Only warn about missing return
4469 statement with -Wreturn-type.
4471 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4473 * mklibgcc.in: Don't use \n in a line subject to
4474 interpretation by echo.
4476 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
4478 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
4479 insn UIDs with insn addresses.
4481 2002-02-27 Graham Stott <grahams@redhat.com>
4483 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECL):
4486 * loop.c (prescan_loop): Handle PARALLEL.
4488 * unroll.c (loop_iterations): Return 0 if the add_val for
4491 * final.c (output_operand_lossage): Constify PFX_STR.
4493 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
4495 2002-02-26 Richard Henderson <rth@redhat.com>
4497 * config/alpha/alpha.md (ashldi_se): Re-enable.
4499 2002-02-26 Kelley Cook <kelleycook@comcast.net>
4501 * config/i386/i386.c (print_operand): Don't append ATT-style
4502 length suffixs to x87 opcodes when in Intel mode.
4504 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
4506 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
4507 (init_emit_once): Update calls.
4508 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
4509 (init_syntax_once): Prototype.
4511 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
4513 * pa-linux.h (LIB_SPEC): Update definition.
4514 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
4516 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
4518 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
4519 generate a die for the lexical block.
4521 2002-02-26 Richard Henderson <rth@redhat.com>
4523 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
4524 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
4526 2002-02-26 Richard Henderson <rth@redhat.com>
4528 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
4529 if we emitted a stop bit.
4531 2002-02-26 Jakub Jelinek <jakub@redhat.com>
4533 * configure.in (libgcc_visibility): Substitute.
4534 * configure: Rebuilt.
4535 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
4536 defined symbols .hidden.
4538 2002-02-26 Jakub Jelinek <jakub@redhat.com>
4541 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
4542 STRING_CST initializer spanning the whole variable without
4544 If expand_expr returned MEM, don't use it.
4546 2002-02-25 Jakub Jelinek <jakub@redhat.com>
4549 * config/i386/i386.c (ix86_return_pops_args): Only pop
4550 fake structure return argument if it was passed on the stack.
4552 2002-02-25 Jason Merrill <jason@redhat.com>
4554 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
4557 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
4559 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
4560 link with shared_name only.
4561 * doc/invoke.texi (Link Options): Document new behavior.
4563 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
4565 * c-typeck.c (push_init_level): Handle vectors.
4567 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
4569 * config/sparc/sparc.c (const64_high_operand): Zero-extend
4570 operands of SPARC_SETHI_P.
4571 (input_operand): Likewise.
4572 (sparc_emit_set_const32): Likewise.
4573 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
4574 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
4575 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
4576 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
4577 (movdi_insn_sp64_vis): Likewise.
4578 (movdi split, movdf split): Use SETHI32.
4579 * doc/md.texi: Document SPARC constraints L, M and N.
4581 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
4583 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
4584 ("*set_vrsave_internal"): use mfspr for Darwin.
4586 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
4587 gen_get_vrsave_internal.
4589 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4591 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
4593 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
4595 * cpplex.c (cpp_interpret_charconst): Get signedness or
4596 otherwise of wide character constants correct.
4597 * cppexp.c (lex): Get signedness of wide charconsts correct.
4599 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4601 * optabs.c (widen_operand): Only call convert_modes for
4602 promoted SUBREG if signedness matches.
4603 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
4605 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
4607 * cpplib.c (glue_header_name): Use local buffer to build up
4610 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
4612 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
4614 2002-02-23 Kazu Hirata <kazu@hxi.com>
4616 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
4617 H8/300[HS] separately.
4618 * config/h8300/h8300.md: Remove the early clobber constraint
4619 from bit field patterns.
4621 2002-02-23 Kazu Hirata <kazu@hxi.com>
4623 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
4625 (mulhisi3): Likewise.
4626 (umulqisi3): Likewise.
4627 (umulhisi3): Likewise.
4629 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
4631 * cppinit.c (output_deps): Correct test for stdout output.
4632 (init_dependency_output): Cure warning.
4634 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4636 * expr.c (store_expr): When converting expression to promoted
4637 equivalent type, allow using SUBREG_REG of TARGET as the target
4638 of the expansion of EXP.
4639 * loop.c (basic_induction_var, case SUBREG): Always look inside.
4640 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
4641 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
4642 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
4643 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
4645 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
4647 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
4648 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
4649 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
4651 2002-02-23 Jakub Jelinek <jakub@redhat.com>
4653 PR optimization/5747
4654 * loop.c (scan_loop): Update reg info if move_movables created new
4657 2002-02-23 David Edelsohn <edelsohn@gnu.org>
4659 * gcc.c (init_gcc_spec): Revert last change.
4661 2002-02-23 David Edelsohn <edelsohn@gnu.org>
4663 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
4664 gpc_reg_operand constraint.
4666 2002-02-23 Alan Modra <amodra@bigpond.net.au>
4668 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
4669 Simplify comparison of `low'.
4670 (add_operand): Fix formatting.
4671 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
4672 (mask_operand): Disallow mask to wrap in 64-bit mode.
4673 (rs6000_stack_info): Remove redundant test setting push_p.
4674 (output_toc): Fix formatting.
4675 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
4676 cc_reg_not_cr0_operand constraint.
4677 (booldi3, boolcdi3 splitters): Same.
4679 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
4681 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
4683 2002-02-22 David Edelsohn <edelsohn@gnu.org>
4685 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
4686 gcc invoked with -shared-libgcc.
4688 2002-02-22 Jakub Jelinek <jakub@redhat.com>
4691 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
4692 decl if any of elements was TREE_USED.
4694 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
4696 * config/sparc/sol2.h: Don't include sys/mman.h.
4697 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
4698 (arith_4096_operand): Don't throw high bits away.
4699 (const64_operand): Take sign extension of CONST_INTs into account.
4700 (const64_high_operand, sparc_emit_set_const32): Likewise.
4701 (GEN_HIGHINT64): Likewise.
4702 (sparc_emit_set_const64_quick1): Likewise.
4703 (const64_is_2insns): Likewise.
4704 (print_operand): Use trunc_int_for_mode for sign extension.
4705 * config/sparc/sparc.h (SMALL_INT32): Likewise.
4706 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
4707 chars. Assume CONST_INT is already properly sign-extended.
4708 (movdi split): Sign-extend each SImode part.
4709 (andsi3 split): Don't mask high bits off, so that result
4710 remains properly sign-extend.
4711 (iorsi3 split): Likewise.
4712 (xorsi3 split): Likewise.
4714 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
4716 * fold-const.c (fold): Fix typo in comments.
4718 2002-02-21 Diego Novillo <dnovillo@redhat.com>
4720 * Makefile.in (langhooks.o): Update dependencies.
4722 2002-02-21 Diego Novillo <dnovillo@redhat.com>
4724 * langhooks.c: Include flags.h.
4726 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
4728 * testsuite/gcc.dg/attr-alwaysinline.c: New.
4730 * c-common.c (c_common_post_options): Set inline trees by
4733 * doc/extend.texi (Function Attributes): Document always_inline
4735 Update documentation about inlining when not optimizing.
4737 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
4739 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
4740 unless DECL_ALWAYS_INLINE.
4742 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
4743 unless DECL_ALWAYS_INLINE.
4744 (c_disregard_inline_limits): Disregard if always_inline set.
4746 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
4747 Disregard if always_inline set.
4748 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
4749 unless DECL_ALWAYS_INLINE.
4751 * attribs.c (handle_always_inline_attribute): New.
4752 (c_common_attribute_table): Add always_inline.
4754 * config/rs6000/altivec.h: Add prototypes for builtins
4755 requiring the always_inline attribute.
4757 2002-02-21 Eric Christopher <echristo@redhat.com>
4759 * expmed.c (store_bit_field): Try to simplify the subreg
4760 before generating a new one when when the mode size of
4761 value is less than maxmode.
4763 2002-02-21 Richard Henderson <rth@redhat.com>
4765 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
4766 than gen_rtx_PLUS to form the sum.
4767 * explow.c (force_reg): Rearrange to not allocate new pseudo
4768 when force_operand returns a register.
4769 * expr.c (expand_assignment): Allow offset_rtx expansion to
4770 return a sum. Do not force addresses into registers.
4771 (expand_expr): Likewise.
4772 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
4773 to canonicalize arithmetic that didn't simpify.
4774 (simplify_plus_minus): New argument force; update
4775 all callers. Don't split CONST unless we can do something with it,
4776 and wouldn't lose the constness of the operands.
4778 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
4779 that we generated earlier.
4781 2002-02-21 Tom Tromey <tromey@redhat.com>
4783 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4784 (output_line_info): Use constant `1', with a long explanatory
4786 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
4788 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
4790 * jump.c (redirect_jump): If old label has no UID, don't try to
4793 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
4795 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
4796 If input is constant, do shifts at compile time.
4798 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
4800 * doc/extend.texi: Fix some more overfull hboxes.
4802 2002-02-21 Jakub Jelinek <jakub@redhat.com>
4804 PR optimization/4994
4805 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
4808 2002-02-21 Jakub Jelinek <jakub@redhat.com>
4811 * expr.h (expand_and): Add mode argument.
4812 * expmed.c (expand_and): Add mode argument.
4813 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
4814 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
4815 * except.c (expand_builtin_extract_return_addr): Likewise.
4816 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
4817 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
4818 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
4819 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
4820 * config/c4x/c4x.md: Use GEN_INT (x) instead of
4821 gen_rtx (CONST_INT, VOIDmode, x).
4823 2002-02-21 Jakub Jelinek <jakub@redhat.com>
4826 * stmt.c (warn_if_unused_value): Move side effects test once more.
4828 2002-02-20 Torbjorn Granlund <tege@swox.com>
4830 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
4831 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
4833 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
4835 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
4836 SUBREG or ZERO_EXTEND.
4838 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
4840 * sh.h (current_function_anonymous_args): Remove.
4841 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
4842 of current_function_varargs and current_function_stdarg is set.
4843 * sh.c (sh_expand_prologue): Check current_function_varargs /
4844 current_function_stdarg / TARGET_SH5 instead of
4845 current_function_anonymous_args.
4847 * sh64.h (TARGET_VERSION): Define.
4849 2002-02-20 David Edelsohn <edelsohn@gnu.org>
4851 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
4852 VRSAVE_REGNO on TARGET_ALTIVEC.
4854 2002-02-20 Alan Modra <amodra@bigpond.net.au>
4856 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
4857 bits of SImode const_int.
4858 (includes_rshift_p): Likewise.
4859 (print_operand): Call mask_operand and mask64_operand with correct
4861 (rs6000_output_function_epilogue): Pad traceback table to word.
4862 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
4863 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
4864 mask64_operand with correct mode.
4865 (FUNCTION_ARG_REGNO_P): Correct parentheses.
4867 2002-02-20 Jakub Jelinek <jakub@redhat.com>
4870 * varasm.c (get_pool_constant_mark): New.
4871 * rtl.h (get_pool_constant_mark): Add prototype.
4872 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
4873 be represented if it has not been output.
4875 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
4877 * combine.c (do_SUBST): Sanity check substitutions of
4878 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
4879 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
4880 CONST_INT into its operand.
4881 (known_cond): Likewise, for ZERO_EXTEND.
4882 * simplify-rtx.c (simplify_unary_operation): Fix condition to
4883 allow for simplification of wide modes. Reject CONST_INTs in
4884 ZERO_EXTEND when their actual mode is not given.
4886 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
4888 * c-decl.c (pushdecl): If no global declaration is found for an
4889 extern declaration in block scope, try a limbo one.
4891 2002-02-20 Jakub Jelinek <jakub@redhat.com>
4894 * c-common.c (pointer_int_sum): Moved from...
4895 * c-typeck.c (pointer_int_sum): ...here.
4896 * c-common.h (pointer_int_sum): Add prototype.
4898 2002-02-20 Jakub Jelinek <jakub@redhat.com>
4901 * c-decl.c (duplicate_decls): Return 0 if issued error about
4904 2002-02-20 Roger Sayle <roger@eyesopen.com>
4905 Jakub Jelinek <jakub@redhat.com>
4908 * tree.c (host_integerp): Ensure that the constant integer is
4909 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
4910 when pos is zero or non-zero respectively. Clarify comment.
4911 * c-format.c (check_format_info_recurse): Fix host_integerp
4912 usage; the pos argument should be zero when assigning to a
4913 signed HOST_WIDE_INT.
4915 2002-02-20 Richard Henderson <rth@redhat.com>
4917 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
4918 of the operand, rather than assuming TImode.
4919 (ix86_expand_binop_builtin): Cope with commutative patterns
4920 using nonimmediate_operand for both operands.
4921 (ix86_expand_timode_binop_builtin): Likewise.
4922 (ix86_expand_store_builtin): Validate operand 1.
4923 (ix86_expand_unop1_builtin): Likewise.
4925 2002-02-20 Philip Blundell <philb@gnu.org>
4928 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
4930 2002-02-20 Richard Henderson <rth@redhat.com>
4933 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
4935 2002-02-20 Tom Tromey <tromey@redhat.com>
4937 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4938 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4939 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4940 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
4941 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
4944 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
4946 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
4947 for (const_int 0) in X not just INTVAL.
4949 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
4951 * doc/extend.texi: Avoid or reduce overfull hboxes.
4953 2002-02-20 Diego Novillo <dnovillo@redhat.com>
4955 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
4956 operations if the field does not start at a mode boundary.
4958 2001-02-20 Joel Sherrill <joel@OARcorp.com>
4960 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
4961 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
4962 Also done for -Acpu and -Amachine.
4964 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
4966 * cppinit.c (init_dependency_output): Take deps output file
4967 from -o if none given with -MF. Suppress normal output.
4968 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
4969 * doc/cpp.texi, doc/invoke.texi: Update.
4971 2002-02-19 Zack Weinberg <zack@codesourcery.com>
4973 * toplev.c (output_quoted_string): Write unprintable
4974 characters with octal escapes.
4976 2002-02-19 David Edelsohn <edelsohn@gnu.org>
4978 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
4979 really_call_used[VRSAVE_REGNO] if not Altivec.
4981 2002-02-19 Alan Modra <amodra@bigpond.net.au>
4983 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
4985 (constant_pool_expr_1): Fix formatting.
4986 (rs6000_legitimize_reload_address): Likewise.
4988 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4990 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
4991 now that we have one.
4993 2002-02-19 Zack Weinberg <zack@codesourcery.com>
4995 * tree.h (struct tree_common): Remove aux. Add unused_0 at
4996 end of first block of bitfields (which was only seven bits);
4997 rename dummy to unused_1; remove comment which is no longer true.
4999 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
5001 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
5003 2002-02-19 Philip Blundell <pb@nexus.co.uk>
5006 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
5010 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
5011 arm_is_longcall_p rather than inspecting call-type cookie
5013 (call_value_insn) [TARGET_THUMB]: Likewise.
5015 2002-02-19 Graham Stott <grahams@redhat.com>
5017 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
5019 2002-02-19 David Edelsohn <edelsohn@gnu.org>
5021 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
5022 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
5023 (FP_SAVE_INLINE): Delete.
5025 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
5026 * config/rs6000/eabi.asm: Remove ABI save restore routines.
5027 * config/rs6000/t-ppccomm: Build crtsavres.o.
5028 * config/rs6000/crtsavres.asm: New file.
5030 2002-02-19 Philip Blundell <philb@gnu.org>
5032 * config/arm/arm.c (use_return_insn): Don't reject interrupt
5034 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
5035 (output_return_instruction): Allow interrupt functions to return with
5036 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
5037 (arm_expand_prologue): Subtract 4 before stacking LR in an
5040 2002-02-19 Philip Blundell <pb@nexus.co.uk>
5042 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
5043 decl, not just FUNCTION_DECL.
5044 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
5045 (arm_assemble_integer): Likewise.
5046 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
5049 2002-02-19 matthew green <mrg@eterna.com.au>
5051 * config.gcc (sparc-*-netbsdelf*): Enable target.
5052 (sparc64-*-netbsd*): New target.
5053 * config/sparc/netbsd-elf.h: New file.
5054 * config/sparc/t-netbsd64: New file.
5056 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
5058 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
5060 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
5062 * doc/invoke.texi: explicitly list the style guidelines that
5063 -Weffc++ checks for.
5065 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
5067 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
5069 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
5072 * gcc.c (cpp_unique_options): Treat -o as indicating object file
5073 only if not -E. If -E, pass -o through to the preprocessor.
5075 2002-02-19 Kazu Hirata <kazu@hxi.com>
5077 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
5078 register number with an appropriate macro.
5080 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
5082 * doc/rtl.texi (Constants): Close @code tag.
5084 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
5086 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
5087 ("mmx_uavgv4hi3"): Same.
5088 ("pmulhrwv4hi3"): Same.
5090 * tree-inline.c (walk_tree): Handle vectors.
5092 * c-common.c (constant_expression_warning): Handle vectors.
5093 (overflow_warning): Same.
5095 * sched-deps.c (sched_analyze_2): Handle vectors.
5097 * rtlanal.c (rtx_unstable_p): Handle vectors.
5098 (rtx_varies_p): Same.
5099 (count_occurrences): Same.
5100 (regs_set_between_p): Same.
5101 (modified_between_p): Same.
5102 (modified_in_p): Same.
5103 (volatile_insn_p): Same.
5104 (volatile_refs_p): Same.
5105 (side_effects_p): Same.
5107 (inequality_comparisons_p): Same.
5108 (replace_regs): Same.
5109 (computed_jump_p_1): Same.
5111 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
5113 (inner_mode_array): New.
5114 (copy_rtx): Handle vectors.
5115 (copy_most_rtx): Same.
5116 (rtx_equal_p): Same.
5117 (get_mode_alignment): Adjust for vectors.
5119 * resource.c (mark_referenced_resources): Handle vectors.
5120 (mark_set_resources): Same.
5122 * reload1.c (eliminate_regs): Handle vectors.
5123 (elimination_effects): Same.
5124 (scan_paradoxical_subregs): Same.
5126 * reload.c (subst_reg_equivs): Handle vectors.
5128 * regrename.c (scan_rtx): Handle vectors.
5130 * regclass.c (reg_scan_mark_refs): Handle vectors.
5132 * recog.c (find_single_use_1): Handle vectors.
5134 * local-alloc.c (equiv_init_varies_p): Handle vectors.
5135 (contains_replace_regs): Same.
5136 (memref_referenced_p): Same.
5138 * integrate.c (copy_rtx_and_substitute): Handle vectors.
5139 (subst_constants): Same.
5141 * genattrtab.c (attr_copy_rtx): Handle vectors.
5142 (encode_units_mask): Same.
5143 (clear_struct_flag): Same.
5144 (count_sub_rtxs): Same.
5146 * gcse.c (want_to_gcse_p): Handle vectors.
5147 (oprs_unchanged_p): Same.
5148 (hash_expr_1): Same.
5149 (oprs_not_set_p): Same.
5150 (expr_killed_p): Same.
5151 (compute_transp): Same.
5152 (store_ops_ok): Same.
5154 * function.c (purge_addressof_1): Do not allow paradoxical subregs
5156 (fixup_var_refs_1): Same.
5157 (instantiate_virtual_regs_1): Same.
5159 * fold-const.c (operand_equal_p): Handle vectors.
5161 (rtl_expr_nonnegative_p): Same.
5163 * flow.c (mark_used_regs): Handle vectors.
5165 * df.c (df_uses_record): Handle vectors.
5167 * cselib.c (cselib_subst_to_values): Handle vectors.
5168 (cselib_mem_conflict_p): Same.
5171 * cse.c (canon_reg): Handle vectors.
5173 (cse_process_notes): Same.
5174 (count_reg_usage): Same.
5177 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
5179 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
5181 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
5182 (gen_rtx): Handle CONST_VECTOR.
5183 (gen_const_vector_0): New.
5184 (copy_rtx_if_shared): CONST_VECTORs can be shared.
5185 (reset_used_flags): Same.
5186 (copy_insn_1): Same.
5187 (initializer_constant_valid_p): Handle VECTOR_CST.
5189 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
5191 * doc/rtl.texi (Constants): Document const_vector.
5192 (CONST0_RTX): Update for vectors.
5193 (RTL sharing): Same.
5195 * print-tree.c (print_node): Add case for VECTOR_CST.
5197 * tree.h (TREE_VECTOR_CST_ELTS): New.
5198 (struct tree_vector): New.
5199 (union tree_node): Add vector node.
5200 (build_vector): Add prototype.
5202 * tree.def (VECTOR_CST): New.
5204 * tree.c (build_vector): New.
5206 * expmed.c (make_tree): Handle CONST_VECTOR.
5208 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
5209 (CONST_VECTOR_ELT): New.
5210 (CONST_VECTOR_NUNITS): New.
5212 * machmode.h (GET_MODE_INNER): New.
5213 (DEF_MACHMODE): Accept 8th arg.
5215 * machmode.def: Add 8th argument for vector inner mode.
5216 Add inner vector modes for vectors.
5218 * rtl.def (VEC_CONST): Remove.
5219 (CONST_VECTOR): New.
5221 * expr.c (clear_storage): Allow vectors.
5222 (is_zeros_p): Handle VECTOR_CST.
5224 * varasm.c (output_constant_pool): Handle vectors.
5225 (rtx_const): Add veclo and vechi fields.
5226 (kind): Add RTX_VECTOR.
5227 (decode_rtx_const): Add case for vector.
5229 * config/rs6000/rs6000-protos.h: Add zero_constant.
5231 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
5232 constants. Force easy vector constants into memory.
5233 (easy_vector_constant): New.
5234 (emit_easy_vector_constant): New.
5235 (rs6000_legitimize_reload_address): Do not generate bad reloads on
5238 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
5240 ("altivec_lvxl"): Same.
5241 (altivec_lvebx): Same.
5242 (altivec_lvehx): Same.
5243 (altivec_lvewx): Same.
5244 ("*movv4si_const0"): New.
5245 ("*movv4sf_const0"): New.
5246 ("*movv8hi_const0"): New.
5247 ("*movv16qi_const0"): New.
5249 2002-02-18 Kazu Hirata <kazu@hxi.com>
5251 * config/h8300/h8300.c (notice_update_cc): Use
5254 2002-02-18 Kazu Hirata <kazu@hxi.com>
5256 * config/h8300/h8300.md (divmod patterns): Change the
5257 constraints for operands[1] to register_operand.
5259 2002-02-18 Kazu Hirata <kazu@hxi.com>
5261 * config/h8300/h8300-protos.h: Remove the prototype for
5263 * config/h8300/h8300.c (p_operand): Remove.
5264 * config/h8300/h8300.md: Replace p_operand with
5267 2002-02-18 Philip Blundell <pb@nexus.co.uk>
5269 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
5271 (output_return_instruction): Allow use of LDR to unstack
5272 return addresss even for interrupt handlers or when
5273 interworking. If compiling for ARMv5, use interworking-safe
5274 return instructions by default. Remove duplicated code and
5275 lengthy "strcat" sequences.
5277 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5279 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
5280 (LINK_EH_SPEC): Define.
5281 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
5283 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
5285 * config/s390/s390.c (s390_emit_prologue): Do not set the
5286 frame_related flag for call-clobbered registers.
5288 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
5290 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
5291 (construct_container): Fix handling of SSE operands.
5292 (ix86_expand_builtin): Fix handling of 64bit pointers.
5293 (mmx_maskmovq_rex): New pattern.
5295 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
5297 * regrename.c (kill_set_value): Handle subregs properly.
5299 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
5301 * objc/objc-act.c (handle_impent): Remove leading '*'
5302 from objc_class_name.
5304 2002-02-17 Richard Henderson <rth@redhat.com>
5306 * config/alpha/alpha.c (some_small_symbolic_operand,
5307 some_small_symbolic_operand_1, split_small_symbolic_operand,
5308 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
5309 Handle small SYMBOL_REFs anywhere, not just inside memories.
5310 * config/alpha/alpha-protos.h: Update.
5311 * config/alpha/alpha.h (PREDICATE_CODES): Update.
5312 * config/alpha/alpha.md (small symbolic operand splitter): Update.
5314 2002-02-17 Roland McGrath <roland@frob.com>
5316 * config.gcc (powerpc-*-gnu-gnualtivec*,
5317 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
5318 * config/rs6000/gnu.h: New file.
5319 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
5320 Grok "gnu" in rs6000_abi_name.
5321 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
5322 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
5323 Grok -mcall-gnu analogous to -mcall-linux et al.
5324 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
5325 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
5326 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
5328 2002-02-17 Jakub Jelinek <jakub@redhat.com>
5331 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
5334 2002-02-17 Philipp Thomas <pthomas@suse.de>
5336 * config/cris/cris.h: Undefine STARTFILE_SPEC and
5337 ENDFILE_SPEC before (re)defining them.
5339 2002-02-17 Kazu Hirata <kazu@hxi.com>
5341 * config/h8300/h8300.c: Fix formatting.
5342 * config/h8300/h8300.h: Likewise.
5344 2002-02-17 Philipp Thomas <pthomas@suse.de>
5346 * doc/tm.texi: Explain why empty strings should not be
5347 marked for translation.
5349 2002-02-17 Philipp Thomas <pthomas@suse.de>
5351 * final.c (output_operand_lossage): Changed to accept
5352 printf style arguments. Change calls where necessary.
5353 * output.h (output_operand_lossage): Change declaration
5354 accordingly. Update copyright.
5355 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
5356 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
5357 Update copyright date where necessary.
5359 * config/i386/i386.c (print_operand): Likewise. Remove use of
5362 * config/cris/cris.c (cris_operand_lossage): Likewise.
5363 Rename parameter so that exgettext recognizes it as
5364 translatable message.
5365 (LOSE_AND_RETURN): Rename parameter to msgid.
5367 2002-02-17 Kazu Hirata <kazu@hxi.com>
5369 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
5370 hard coded register number with an appropriate macro.
5371 (HARD_REGNO_MODE_OK): Likewise.
5372 (ARG_POINTER_REGNUM): Likewise.
5373 (STATIC_CHAIN_REGNUM): Likewise.
5374 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
5375 * config/h8300/h8300.md (define_constants): Define more
5378 2002-02-17 Philipp Thomas <pthomas@suse.de>
5380 * config/i386/i386.h: Don't mark empty strings for translation.
5382 2002-02-16 H.J. Lu <hjl@gnu.org>
5384 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
5386 2002-02-16 Zack Weinberg <zack@codesourcery.com>
5388 * cppinit.c (merge_include_chains): Check for brack being
5389 NULL before attempting to merge it with qtail.
5391 2002-02-16 Andrew Cagney <ac131313@redhat.com>
5393 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
5396 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5398 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
5400 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5402 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
5403 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
5404 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
5406 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5408 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
5409 now only if !TARGET_FIX.
5410 (*movsi_nt_vms_fix): New pattern.
5412 2002-02-16 Douglas B Rupp <rupp@gnat.com>
5414 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
5415 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
5416 (alpha_sa_mask, alpha_sa_size): Reflect above change.
5417 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
5418 (alpha_start_function, alpha_expand_epilogue): Likewise.
5419 (unicosmk_gen_dsib): Likewise.
5421 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5423 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
5425 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
5427 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
5428 check_and_change_labels, s390_final_chunkify): Delete.
5429 (s390_split_branches, s390_chunkify_pool): New functions.
5430 (s390_function_prologue): Call them.
5432 * config/s390/s390.h (S390_REL_MAX): Delete.
5433 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
5435 * config/s390/s390.md (cjump, icjump, jump): Fix length
5436 attribute calculation.
5439 2002-02-15 David Edelsohn <edelsohn@gnu.org>
5441 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
5442 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
5444 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5446 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
5447 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
5448 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
5450 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
5452 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
5454 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
5456 * reload.c (find_dummy_reload): Check that an output register
5457 is valid for its mode.
5459 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
5461 * combine.c (known_cond): After replacing the REG of a SUBREG, try
5464 * function.c (assign_parms): Demote promoted argument passed by
5465 transparent reference.
5467 2001-02-14 Joel Sherrill <joel@OARcorp.com>
5469 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
5470 -Acpu() and -Amachine() to eliminate warnings.
5472 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
5474 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
5476 2002-02-14 Kazu Hirata <kazu@hxi.com>
5478 * config/h8300/h8300-protos.h: Update the prototype for
5480 * config/h8300/h8300.c (const_costs): Treat SET as a little
5481 more expensive operation.
5482 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
5483 reference to const_costs.
5485 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
5487 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
5489 2002-02-14 Jakub Jelinek <jakub@redhat.com>
5492 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
5493 use arguments from newtype.
5495 2002-02-13 Eric Christopher <echristo@redhat.com>
5497 * config/mips/mips.c (override_options): Add check for march/mipsX
5498 on the same command line. Fix error message in cpu processing.
5499 Remove architecture and ISA checks.
5501 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
5503 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
5505 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
5507 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
5509 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
5511 ("*movv8hi_internal1"): Same.
5512 ("*movv16qi_internal1"): Same.
5513 ("*movv4sf_internal1"): Same.
5515 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
5516 not push_reload for altivec modes.
5518 2002-02-13 Joel Sherrill <joel@OARcorp.com>
5520 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
5521 all RTEMS targets including removal of #includes from config/*/rtems*.h
5522 file and adding them to tm_file setting. Added xm_defines=POSIX to
5524 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
5525 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
5526 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
5527 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
5528 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
5529 config/m68k/rtemself.h: Ditto.
5530 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
5531 config/mips/rtems64.h: Ditto.
5532 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
5533 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
5535 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
5536 config/sparc/rtemself.h: Ditto.
5537 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
5538 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
5539 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
5541 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
5542 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
5543 target made more similar to i386-elf.
5544 * config/i386/t-rtems-i386: Added soft float support and multilibs.
5545 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
5546 be similar to config/m68k/t-m68kelf.
5547 * gthr-rtems.h: Encapsulate with extern "C" for C++.
5549 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
5551 * regmove.c (kill_value): Handle subregs.
5553 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
5555 * i386.md (mul patterns): Allow memory operand to be first;
5556 add expanders where needed; fix constraints.
5557 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
5558 Allow memory operand to be the first.
5560 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
5563 2002-02-13 Jakub Jelinek <jakub@redhat.com>
5566 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
5569 2002-02-13 Jakub Jelinek <jakub@redhat.com>
5571 PR optimization/5547:
5572 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
5573 all valid IA-32 address modes involving non-scaled %ebx and
5574 GOT/GOTOFF as displacement.
5576 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
5578 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
5579 after emitting ltorg insns.
5581 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
5582 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
5583 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
5584 *abssf2): Fix "op_type" attribute.
5586 2002-02-13 Douglas B Rupp <rupp@gnat.com>
5588 * mkconfig.sh: Avoid using a subshell redirect.
5589 ($output.T): Change to $(output)T.
5590 (ENABLE_NLS): Remove unneeded undef.
5592 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
5593 * config/alpha/x-vms (libsubdir): Define.
5595 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
5596 register frame procedures. Optimize retrieving context.
5598 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
5599 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
5600 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
5602 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5604 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
5605 Make same change as for find_base_value.
5607 2002-02-13 Kazu Hirata <kazu@hxi.com>
5609 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
5610 of QImode and SImode.
5612 2002-02-13 Kazu Hirata <kazu@hxi.com>
5614 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
5615 length computation of movsi.
5616 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
5618 2002-02-13 Kazu Hirata <kazu@hxi.com>
5620 * config/h8300/h8300.md (subqi3): Tighten the predicate for
5621 operands[2] to register_operand.
5623 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
5625 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
5627 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
5629 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
5630 for altivec_lvx* and altivec_stvx*.
5631 ("*movv4si_internal"): Add constraint for loading from GPRs.
5632 ("*movv8hi_internal1"): Same.
5633 ("*movv16qi_internal1"): Same.
5634 ("*movv4sf_internal1"): Same.
5636 * config/rs6000/rs6000.c (altivec_register_operand): New.
5638 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
5639 altivec_register_operand.
5641 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
5643 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
5646 2002-02-13 Stan Shebs <shebs@apple.com>
5648 * c-typeck.c (digest_init): Handle vectors.
5649 (really_start_incremental_init): Same.
5650 (pop_init_level): Same.
5651 (process_init_element): Same.
5653 * varasm.c (output_constant): Same.
5655 * expr.c (clear_storage): Same.
5656 (store_constructor): Same.
5658 2002-02-12 Eric Christopher <echristo@redhat.com>
5660 * explow.c (hard_function_value): Add comment explaining
5661 signed/unsigned comparison.
5663 2002-02-12 Jakub Jelinek <jakub@redhat.com>
5665 * jump.c (never_reached_warning): Add finish argument.
5666 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
5667 real insn after end.
5668 * rtl.h (never_reached_warning): Adjust prototype.
5669 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
5670 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
5671 never_reached_warning.
5673 2002-02-12 Graham Stott <grahams@redhat.com>
5675 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
5677 2002-02-12 Kazu Hirata <kazu@hxi.com>
5679 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
5680 logical shifts on H8/300.
5681 (shift_alg_si): Improve several shifts on H8/300.
5682 (get_shift_alg): Likewise.
5684 2002-02-12 Graham Stott <grahams@redhat.com>
5686 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
5688 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5690 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
5691 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
5693 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
5695 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
5696 non-CONST_INT through default_assemble_integer.
5697 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
5698 <case 8>: Abort for CONST_DOUBLE.
5700 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5702 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
5704 * config/pa/pa-linux.h (LIB_SPEC): Delete.
5705 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
5707 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
5709 * config/stormy16/stormy16.md (zero_extendqihi2): New.
5711 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
5713 * regrename.c (regrename_optimize): Don't accept a
5714 part-clobbered register if the replaced register is not part
5717 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
5718 take padding into account when computing the argument value.
5720 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
5722 * combine.c (try_combine): Apply substitutions in
5723 CALL_INSN_FUNCTION_USAGE too.
5725 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
5727 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
5728 __builtin_altivec_abs*.
5731 * config/rs6000/rs6000.h (rs6000_builtins): Add
5732 ALTIVEC_BUILTIN_ABS*.
5734 * config/rs6000/altivec.h: Use const char for builtins expecting
5736 (vec_abs): New versions for C and C++.
5739 2002-02-10 Kazu Hirata <kazu@hxi.com>
5741 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
5744 2002-02-10 Kazu Hirata <kazu@hxi.com>
5746 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
5747 constant definition from h8300.md.
5748 (FRAME_POINTER_REGNUM): Likewise.
5749 * config/h8300/h8300.md (define_constants): Add FP_REG.
5751 2002-02-10 Kazu Hirata <kazu@hxi.com>
5753 * config/h8300/h8300.c (print_operand): Remove redundant code.
5755 2002-02-10 Kazu Hirata <kazu@hxi.com>
5757 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
5758 * config/h8300/h8300.c (byte_reg): Make it static.
5760 2002-02-10 Richard Henderson <rth@redhat.com>
5763 * c-typeck.c (incomplete_type_error): Handle flexible array members.
5765 2002-02-10 Richard Henderson <rth@redhat.com>
5768 * tree.c (append_random_chars): Don't abort if main_input_filename
5771 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
5773 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
5775 2002-02-10 Kazu Hirata <kazu@hxi.com>
5777 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
5778 (pushhi1): Likewise.
5780 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
5782 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
5783 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
5785 2002-02-09 David O'Brien <obrien@FreeBSD.org>
5787 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
5789 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
5791 2002-02-09 Kazu Hirata <kazu@hxi.com>
5793 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
5794 a half of an SImode register on H8/300.
5796 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
5798 * i386.md (movdi_2): Add missing '!'.
5800 2002-02-09 Kazu Hirata <kazu@hxi.com>
5802 * config/h8300/h8300.h: Fix formatting. Remove commented-out
5805 2002-02-09 Kazu Hirata <kazu@hxi.com>
5807 * config/h8300/h8300.md (length): Correct the distance valid
5808 for the short branch.
5810 2002-02-09 Kazu Hirata <kazu@hxi.com>
5812 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
5814 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
5816 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
5817 registers in SImode.
5818 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
5821 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
5824 Contribute sh64-elf.
5825 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
5826 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
5827 (sh_cannot_modify_jumps_p): New function.
5828 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
5829 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
5830 (sh_ms_bitfield_layout_p): New function.
5831 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
5832 Zack Weinberg <zack@codesourcery.com>
5833 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
5834 expand_simple_binop instead of expand_binop.
5835 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
5836 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
5837 use of .quad and .uaquad.
5838 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
5839 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
5840 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
5841 * config/sh/sh.md (movdi_const, movdi_const_32bit,
5842 movdi_const_16bit): Make sure all CONSTs have modes.
5843 (sym2PIC): Ditto, but by adjusting all callers.
5844 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
5845 if the prologue calls the SHmedia argument decoder or register
5847 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
5848 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
5849 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
5850 (sh_expand_epilogue): Don't emit USE of return target register.
5851 (prepare_move_operands): Legitimize DImode PIC addresses.
5852 (sh_media_register_for_return): Skip tr0, used to initialize the
5854 (sh_expand_prologue): Remove explicit USE of return register.
5855 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
5856 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
5857 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
5858 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
5859 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
5861 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
5862 (MOVI_SHORI_BASE_OPERAND_P): New.
5863 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
5864 (EXTRA_CONSTRAINT_T): Define in terms of them.
5865 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
5866 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
5867 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
5868 alternatives supporting TARGET_REGS.
5869 (UNSPEC_GOTPLT): New constant.
5870 (movdi split): Move incrementing of LABEL_NUSES...
5871 (movdi_const, movdi_const_32bit): Here. Use
5872 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
5873 (movdi_const_16bit): New.
5874 (call, call_value) [flag_pic]: Use GOTPLT.
5875 (call_pop, call_value_pop): New expands.
5876 (call_pop_compact, call_pop_rettramp): New insns.
5877 (call_value_pop_compact, call_value_pop_rettramp): New insns.
5878 (sibcall) [flag_pic]: Use GOT.
5879 (builtint_setjmp_receiver): Remove bogus, unused expand.
5880 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
5881 (*pt, *ptb, ptrel): New insns.
5882 (sym2GOT): Handle DImode GOT.
5883 (sym2GOTPLT, symGOTPLT2reg): New expands.
5884 (sym2PIC): New expand.
5885 (shcompact_return_tramp): Use GOTPLT to return trampoline.
5886 (shcompact_return_tramp_i): Use return register explicitly.
5887 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
5888 disable flag_reorder_blocks.
5889 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
5890 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
5891 clobbers, for clarity.
5892 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
5893 restoring of r0 in macl as MAYBE_DEAD.
5894 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
5895 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
5896 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
5897 alter_subreg all over.
5898 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
5899 reload, instead of emitting instructions that would require
5901 (casesi_load_media): Add missing modes.
5902 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
5903 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
5904 as used if the argument decoder is called.
5905 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
5906 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
5907 Pmode, then extend it to DImode if necessary.
5908 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
5909 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
5910 constants in FPU-enabled SHmedia, let them be loaded from memory.
5911 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
5912 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
5913 Adjust whitespace in assembly output templates.
5914 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
5915 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
5916 mode of if_then_else.
5917 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
5918 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
5920 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
5921 Joern Rennecke <amylaar@redhat.com>
5922 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
5923 (SUBTARGET_CPP_PTR_SPEC): New.
5924 (SUBTARGET_CPP_SPEC): Remove.
5925 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
5926 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
5927 Fix typo in previous checkin.
5928 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
5929 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
5930 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
5931 Alexandre Oliva <aoliva@redhat.com>
5932 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
5933 what single FP register can hold for SHmedia target.
5934 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
5935 Alexandre Oliva <aoliva@redhat.com>
5936 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
5937 Do not split into SUBREG.
5938 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
5939 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
5940 and added new functions as specified in SH5 ABI r9.
5941 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
5942 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
5944 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
5945 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
5946 gen_consttable_4 and gen_consttable_8. Emit multiple labels
5947 and consttable_window_ends.
5948 2001-06-03 Graham Stott <grahams@redhat,com>
5949 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
5950 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
5951 * config/sh/sh.c (print_operand): Handle floating-point pair,
5952 vector and matrix registers.
5953 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
5954 vector modes into account.
5955 * config/sh/sh.md (movv2sf): Split move between registers into
5957 (movv4sf, movv16sf): Introduce insns that get split only after
5959 * config/sh/shmedia.h: Fix Copyright dates.
5960 * config/sh/ushmedia.h: Likewise. Move loop counter
5961 declarations into conditionals that uses them.
5962 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
5964 * config/sh/sshmedia.h: Fix Copyright dates.
5965 (sh_media_PUTCFG): Fix constraints.
5966 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
5967 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
5968 ptrmemfunc_vbit_in_delta for SH5.
5969 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
5970 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
5971 * invoke.texi: Likewise.
5972 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
5973 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
5974 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
5975 GCC_pop_shmedia_regs_nofpu): New global symbols.
5976 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
5977 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
5978 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
5979 compact function with nonlocal labels.
5980 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
5981 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
5982 (initial_elimination_offset): Account for their stack space.
5983 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
5984 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
5985 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
5986 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
5987 least one of the operands to be a register.
5988 (movv2sf): Likewise. Renamed to movv2sf_i.
5989 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
5990 prepare_move_operands() before emitting SHmedia insns.
5991 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
5992 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
5993 Don't save nor initialize r12. Don't mis-align the stack.
5994 Pad the code with a nop.
5995 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
5997 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
5998 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
5999 [__SHMEDIA__]: Implement.
6000 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
6001 * config/sh/sh.md: Set latency of `pt' closer to reality.
6002 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
6003 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
6004 Set move, load and store type attributes.
6005 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
6006 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
6008 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
6009 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
6010 * config/sh/sh.c (sh_media_register_for_return): New function.
6011 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
6012 branch-target register.
6013 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
6014 * config/sh/sh.md (return_media_i): Use any call-clobbered
6015 branch-target register.
6016 (return_media): If r18 wasn't copied in the prologue, copy it
6018 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
6019 Clear class FP0_REGS.
6020 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
6022 2001-03-08 DJ Delorie <dj@redhat.com>
6023 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
6024 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
6025 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
6026 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
6027 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
6028 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6029 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
6030 return value correctly for call_cookie.
6031 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6032 * config/sh/crt1.asm (start): Modified so as to call
6033 ___setup_argv_and_call_main.
6034 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
6035 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
6037 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
6038 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
6039 (STRIP_NAME_ENCODING): Use it.
6040 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
6041 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
6042 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
6043 prepare_scc_operands().
6044 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
6045 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
6046 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
6047 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
6048 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
6049 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
6050 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
6051 used in shcompact_incoming_args.
6052 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
6054 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
6056 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
6058 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
6059 Simplify. Adjust. Add sanity check.
6060 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
6062 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
6064 (udivsi3, divsi3): Use them.
6065 (force_mode_for_call): New insn.
6066 (call, call_value, sibcall_value): Emit it before SHcompact
6068 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
6069 * config/sh/sh.md (call, call_value, sibcall): Make sure the
6070 call cookie is non-NULL before taking its value.
6071 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
6072 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
6073 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6074 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
6076 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
6077 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
6078 temporary for stack adjusts. Use MACL and MACH to pass
6079 arguments to shcompact_incoming_args.
6080 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
6082 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
6083 (nested_trampoline): Load static chain address into r1.
6084 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
6085 2001-01-07 Alexandre Oliva <aoliva@redhat.com
6086 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
6087 fp_arith_reg_operand().
6088 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
6089 * config/sh/sh.md (casesi): Sign-extend the first two operands,
6090 and use signed compares for them.
6091 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
6092 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
6093 ones properly aligned.
6094 (find_barrier): Account for extra alignment needed for 8-byte wide
6096 (machine_dependent_reorg): Require a label for the second 4-byte
6097 constant after an 8-byte one.
6098 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
6100 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
6101 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
6102 last_float when switching float modes.
6103 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
6104 auto-increment for general-purpose registers.
6105 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
6107 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
6109 * config/sh/sh.c (sh_builtin_saveregs): Support using all
6110 registers for varargs.
6111 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
6112 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
6113 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
6114 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
6115 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
6116 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
6117 call_cookie accordingly.
6118 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
6119 (SHCOMPACT_BYREF): Likewise.
6120 (SHCOMPACT_FORCE_ON_STACK): New macro.
6121 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
6122 (sh_builtin_saveregs): Likewise.
6123 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6124 shcompact_incoming_args): Use new shift values. Support
6125 sequences of consecutive and non-consecutive pushes/pops.
6126 * config/sh/sh.md (return): Don't explicitly use PR_REG.
6127 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
6128 * config/sh/sh.h (TEXT_SECTION): Define.
6129 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
6130 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
6131 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
6132 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
6133 return values on FPU-enabled SHmedia.
6134 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
6135 FPU-enabled SHmedia.
6136 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
6137 value is returned in a non-FP reg and is not returned by
6139 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
6141 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
6142 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
6143 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
6144 quad-aligned to be passed by callee-copy reference.
6145 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
6146 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
6147 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
6148 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
6149 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
6150 copying low-numbered FP regs to r7 and r8.
6151 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
6152 FP regs to general-purpose regs only if the copy was passed on the
6154 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
6155 copying FP reg to r9.
6156 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
6157 copy FP regs to general-purpose regs only in outgoing calls.
6158 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
6159 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
6161 * config/sh/sh.h (struct sh_args): Document all fields.
6162 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
6163 passed partially on the stack should not consider making
6165 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
6166 stack_regs only for incoming calls. When passing FP args,
6167 make sure there are FP regs available before modifying
6169 (SHCOMPACT_BYREF): Pass double args in general-purpose
6170 registers by reference.
6171 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
6172 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
6173 attempt to generate sibcalls if the caller got any arguments
6175 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
6176 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
6177 to 8-byte boundaries.
6178 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
6179 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
6180 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
6181 stored in the stack.
6182 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
6183 for the offsets to have the ISA bit set.
6184 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
6185 invocation. Use beq instead of bgt to mark end of sequence of
6187 (shcompact_incoming_args): Fix store of r2. Use beq instead of
6188 bgt to mark end of sequence of stores.
6189 * config/sh/sh.c (arith_operand): Don't check whether
6190 CONST_OK_FOR_J for now.
6191 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
6192 instead of long for conversion.
6193 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
6194 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
6195 before passing it to fprintf.
6196 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
6197 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
6198 Call set_fpscr before reading/writing SR.
6199 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
6201 * config/sh/lib1funcs.asm: Add `.align 2' directives before
6203 (FMOVD_WORKS): Define on SH5 with FPU.
6204 (set_fpscr): Define on SH5. Remove separate _fpscr_values
6206 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
6208 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
6209 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
6211 (ia_main_table): Ditto.
6212 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
6213 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
6214 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
6215 the definitions from sh.h.
6216 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
6218 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
6219 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
6220 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
6221 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
6222 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
6223 Increment LABEL_NUSES.
6225 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
6227 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
6229 * config/sh/elf.h (SIZE_TYPE): Likewise.
6230 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
6231 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6232 shcompact_incoming_args): Load switch table addresses using
6234 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
6235 (NO_BUILTIN_SIZE_TYPE): Define.
6236 (SIZE_TYPE): Don't define.
6237 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
6238 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
6239 definition of __SH5__=32 for -m5-compact-nofpu.
6240 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
6242 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
6243 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
6244 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
6245 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
6246 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
6247 (INSN_LENGTH_ALIGNMENT): Likewise.
6248 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6249 * config/sh/sh.md (call, call_value, sibcall): Simplify
6250 copying of non-branch-target register.
6251 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6252 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
6253 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
6254 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6255 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
6256 floating-point values as structs.
6257 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
6258 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
6259 general-purpose register.
6260 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
6261 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
6262 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
6263 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
6264 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
6265 (ENCODE_SECTION_INFO): Enclose variables and constants in
6267 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
6268 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
6269 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
6270 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
6271 only for LABEL_REFs. For SYMBOL_REFs, prepend
6272 SH_DATALABEL_ENCODING to the symbol name.
6273 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
6275 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
6276 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
6278 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
6279 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
6280 (DATALABEL_REF_P): Don't require CONST.
6281 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
6283 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
6284 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
6286 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
6287 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
6288 Use shallow_copy_rtx and PUT_MODE to change the mode of
6289 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
6290 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
6291 on SHmedia using GENERAL_REGs.
6292 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
6293 bltu_media_i): Fix reversion of conditions.
6294 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
6295 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
6296 * config/sh/sh.c (output_far_jump): Save r13 in macl.
6297 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
6298 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
6299 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6300 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
6301 (GCC_nested_trampoline): Likewise.
6302 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
6303 * config/sh/sh.c (gen_datalabel_ref): Define.
6304 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
6305 (INITIALIZE_TRAMPOLINE): Likewise.
6306 (TRAMPOLINE_ADJUST_ADDRESS): Define.
6307 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
6308 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
6309 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
6310 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
6311 (ic_invalidate): Adjust for SH5.
6312 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
6313 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
6315 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
6316 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
6317 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
6318 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
6319 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
6320 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
6321 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
6322 * config/sh/sh.c (target_reg_operand): Match only target-branch
6323 registers and pseudos that aren't virtual registers.
6324 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
6325 Copy operands that don't match target_reg_operand to pseudos.
6326 (call_media, call_value_media, sibcall_media): Use
6327 target_reg_operand instead of target_operand.
6328 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
6329 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
6330 * config/sh/sh.c (target_reg_operand): Match hardware registers
6331 other than branch-target registers.
6332 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
6333 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
6334 (fpscr_values) [SH5 == 32]: Define.
6335 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
6336 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
6337 Handle function addresses coming in SUBREGs.
6338 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
6339 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6340 shcompact_return_trampoline): Use datalabel where appropriate.
6341 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
6342 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
6343 general-purpose register to copy one branch-target register to
6345 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
6346 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
6347 SYMBOL_REFs with VOIDmode.
6348 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
6349 bltu_media_i): New insns.
6350 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
6351 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
6352 (INIT_CUMULATIVE_ARGS): Likewise.
6353 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6354 * machmode.def (V16SFmode): New mode.
6355 * c-common.c (type_for_mode): Support V2SF and V16SF.
6356 * tree.c (build_common_tree_nodes_2): Likewise.
6357 * tree.h (tree_index): Likewise.
6358 * calls.c (emit_call_1): Take args_so_far. Adjust all
6359 callers. Introduce CALL_POPS_ARGS.
6360 * tm.texi (CALL_POPS_ARGS): Document.
6361 * config/sh/crt1.asm: Implement in SHmedia mode.
6362 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
6363 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
6364 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
6365 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
6366 Implement divsi and udivsi in SHmedia mode. Introduce
6367 SHcompact trampolines.
6368 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
6370 (regno_reg_class): Rewrite.
6371 (fp_reg_names): Remove.
6372 (sh_register_names, sh_additional_register_names): New.
6373 (print_operand): Added `u'. Support SUBREGs in addresses.
6374 Add parentheses around shifted CONSTs.
6375 (output_file_start): Output .mode and .abi directives.
6376 (shiftcosts, addsubcosts, multcosts): Adjust.
6377 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
6378 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
6379 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
6380 bytes, not registers. Take into account the need for the
6381 SHcompact incoming args trampoline. Adjust all callers.
6382 (sh_expand_prologue): Take stack_regs into account. Call
6383 incoming args trampoline. Keep stack aligned as per SH5 ABI.
6384 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
6385 stack aligned as per SH5 ABI.
6386 (sh_builtin_saveregs): Support SH5 ABI.
6387 (sh_build_va_list, sh_va_start): Likewise.
6388 (initial_elimination_offset): Take alignment into account.
6389 Compute location of PR according to the SH5 stack frame.
6390 (arith_reg_operand): Reject branch-target registers.
6391 (shmedia_6bit_operand): New.
6392 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
6393 (target_reg_operand): Match DImode only. Accept SUBREGs.
6394 (target_operand): New.
6395 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
6396 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
6397 SIBCALL_REGS for SHmedia.
6398 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
6399 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
6400 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
6401 (TARGET_SWITCHES): New SH5 flags.
6402 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
6403 VALID_REGISTER_P to disable unsupported registers.
6404 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
6405 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
6406 (FUNCTION_ARG_PADDING): Define.
6407 (FASTEST_ALIGNMENT): Adjust.
6408 (SH_REGISTER_NAMES_INITIALIZER): New.
6409 (sh_register_names): Declare.
6410 (DEBUG_REGISTER_NAMES): Define.
6411 (REGISTER_NAMES): Define based on sh_register_names.
6412 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
6413 (sh_additional_register_names): Declare.
6414 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
6415 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
6416 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
6417 (REGISTER_NATURAL_MODE): Define.
6418 (FIRST_PSEUDO_REGISTER): Adjust.
6419 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
6420 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
6421 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
6422 (VECTOR_MODE_SUPPORTED_P): Define.
6423 (REG_CLASS_CONTENTS): Adjust.
6424 (SMALL_REGISTER_CLASSES): Adjust.
6425 (REG_ALLOC_ORDER): Adjust.
6426 (INDEX_REG_CLASS): Adjust.
6427 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
6428 (CONST_OK_FOR_LETTER_P): Adjust.
6429 (PREFERRED_RELOAD_CLASS): Adjust.
6430 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
6431 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
6432 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
6433 (FIRST_FP_PARM_REG): Adjust.
6434 (CALL_POPS_ARGS): Define.
6435 (FUNCTION_ARG_REGNO_P): Adjust.
6436 (struct sh_args): New fields.
6437 (GET_SH_ARG_CLASS): Adjust.
6438 (INIT_CUMULATIVE_ARGS): Adjust.
6439 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
6440 (FUNCTION_ARG_ADVANCE): Adjust.
6441 (FUNCTION_ARG): Adjust.
6442 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
6443 (FUNCTION_ARG_CALLEE_COPIES): Define.
6444 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
6445 (STRICT_ARGUMENT_NAMING): Define.
6446 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
6447 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
6448 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
6449 (SETUP_INCOMING_VARARGS): Adjust.
6450 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
6451 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
6452 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
6453 (SUBREG_OK_FOR_INDEX_P): Adjust.
6454 (EXTRA_CONSTRAINT_S): Update.
6455 (EXTRA_CONSTRAINT_T): New.
6456 (EXTRA_CONSTRAINT): Adjust.
6457 (GO_IF_LEGITIMATE_INDEX): Adjust.
6458 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
6459 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
6461 (MAX_MOVE_MAX): Define.
6463 (CONST_COSTS): Adjust.
6464 (REGISTER_MOVE_COST): Adjust.
6465 (BRANCH_COST): Adjust.
6466 (TEXT_SECTION_ASM_OP): Adjust.
6467 (DBX_REGISTER_NUMBER): Adjust.
6468 (ASM_OUTPUT_DOUBLE_INT): New.
6469 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6470 (PREDICATE_CODES): Adjust.
6471 (PROMOTE_MODE): Adjust.
6472 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
6473 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
6474 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
6475 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
6476 (DR0_REG, DR2_REG, DR4_REG): Renumber.
6477 (TR0_REG, TR1_REG, TR2_REG): New.
6478 (XD0_REG): Renumber.
6479 (UNSPEC_COMPACT_ARGS): New.
6480 (type): Added pt and ptabs.
6481 (length): Default to 4 on SHmedia. Default pt length to 12
6482 and 20 on SHmedia32 and SHmedia64, respectively.
6483 (pt): New function unit.
6484 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
6485 Add whitespace between operands of SHmedia instructions.
6487 (adddi3_media, addsi3_media): Adjust constraints.
6488 (subsi3) [SHmedia]: Force operand 1 into a register.
6489 (udivsi3_i1_media, udivsi3_i4_media): New.
6490 (udivsi3): Support SHmedia.
6491 (divsi3_i1_media, divsi3_i4_media): New.
6492 (divsi3): Support SHmedia.
6493 (anddi3, iordi3, xordi3): Adjust constraints.
6494 (zero_extendhidi2, zero_extendqidi2): New.
6495 (extendsidi2, extendhidi2, extendqidi2): New.
6496 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
6497 (pop_e, pop_fpul, pop_4): Likewise.
6498 (movsi_media): Support FP and BT registers.
6499 (movsi_media_nofpu): New. Adjust splits to DImode.
6500 (lduw, ldub): Renamed to zero_extend* above.
6501 (movqi_media): Fix typo.
6502 (movdi_media): Support FP and BT registers.
6503 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
6504 (movdi_const_32bit): New.
6505 (shori_media): Require immediate operand. Use `u' for output.
6506 (movdf_media, movsf_media): Simplified.
6507 (movdf_media_nofpu, movsf_media_nofpu): New.
6508 (movdf, movsf): Adjust
6509 (movv2sf, movv2sf, movv16sf): New.
6510 (beq_media, beq_media_i): Adjust constraints. Don't use
6511 scratch BT register.
6512 (bne_media, bne_media_i): Likewise.
6513 (bgt_media, bgt_media_i): Likewise.
6514 (bge_media, bge_media_i): Likewise.
6515 (bgtu_media, bgtu_media_i): Likewise.
6516 (bgeu_media, bgeu_media_i): Likewise.
6517 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
6518 bunordered): Emit jump insn. Force operands to registers when
6520 (jump_media, jump): Simplify.
6521 (call_compact, call_compact_rettramp): New.
6522 (call_value_compact, call_value_compact_rettramp): New.
6523 (call_media, call_value_media): Simplify.
6524 (sibcall_compact, sibcall_media): New.
6525 (call, call_value): Adjust for SHmedia and SHcompact.
6526 (sibcall, sibcall_value, untyped_call): Likewise.
6527 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
6528 (indirect_jump): Adjust for SHmedia.
6529 (casesi_jump_media): New.
6530 (nop): Re-enable for SHmedia.
6531 (call_site): Restrict to SH1.
6532 (casesi): Adjust for SHmedia.
6533 (casesi_shift_media, casesi_load_media): New.
6534 (return): Explicitly use PR register. Call return trampoline
6536 (return_i): Explicitly use PR register.
6537 (shcompact_return_tramp, shcompact_return_tramp_i): New.
6538 (return_media): Adjust.
6539 (shcompact_incoming_args): New.
6541 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
6542 (movstrsi): Disable on SH5.
6543 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
6544 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
6545 (subsf3, subsf3_media): Likewise.
6546 (mulsf3, mulsf3_media, mac_media): Likewise.
6547 (divsf3, divsf3_media): Likewise.
6548 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
6549 (floatsisf2, fux_truncsfsi2): Likewise.
6550 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
6552 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
6553 (cmpunsf_media, cmpsf): Likewise.
6554 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
6555 (abssf2, abssf2_media): Likewise.
6556 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
6557 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
6558 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
6559 (floatsidf2, fix_truncdfsi2): Likewise.
6560 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
6562 (cmpeqdf_media, cmpgtdf_media): Likewise.
6563 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
6564 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
6565 (absdf2, absdf2_media): Likewise.
6566 (extendsfdf2, extendsfdf2_media): Likewise.
6567 (truncsfdf2, truncsfdf2_media): Likewise.
6568 * config/sh/sh64.h: New file.
6569 * config/sh/t-sh64: New file.
6570 * config/sh/shmedia.h: New file.
6571 * config/sh/ushmedia.h: New file.
6572 * config/sh/sshmedia.h: New file.
6573 * configure.in: Added sh64-*-elf.
6574 * configure: Rebuilt.
6575 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
6576 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
6577 (reg_class_from_letter): Use `b' for TARGET_REGS.
6578 (print_operand): Support `%M', `%m', `AND' and
6579 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
6580 (andcosts): Adjust for SHmedia.
6581 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
6583 (target_reg_operand): New function.
6584 * config/sh/sh-protos.h (target_reg_operand): Declare.
6585 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
6586 FP registers on SH5.
6587 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
6589 (TARGET_REGISTER_P): New macro.
6590 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
6591 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
6592 (EXTRA_CONSTRAINT_S): New macro.
6593 (EXTRA_CONSTRAINT): Adjust.
6594 (FLOAT_TYPE_SIZE): Define to 32.
6595 (Pmode): DImode on SHmedia.
6596 (CONST_COSTS): Adjust for SHmedia literals.
6597 (PREDICATE_CODES): Added target_reg_operand.
6598 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
6599 * config/sh/sh.md: Remove all attrs from SHmedia insns.
6600 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
6601 (cmpdi): Accept SHmedia.
6602 (movdicc_false, movdicc_true): New insns.
6603 (movdicc): New expand.
6604 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
6606 (addsi3_media): Match `S' constraint.
6607 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
6608 (negdi2): Expand for SHmedia.
6609 (one_cmpldi2): New expand.
6610 (zero_extendsidi2): Change from expand to insn.
6611 (extendsidi2): Add constraints.
6612 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
6613 LD/ST address. Fix SI immediate loading split.
6614 (movhi_media, movqi_media, lduw, ldub): New insns.
6615 (movhi, movqi): Accept SHmedia.
6616 (shori_media, movdi_media): Relax input constraints. Split
6618 (movdf_media, movsf_media): New insn. New split to movdi.
6619 (movdf, movsf): Match on SHmedia.
6620 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
6621 bgeu_media): New insns and splits. New insns with `_i' suffix.
6622 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
6623 (bunordered): New expand.
6624 (jump_compact): Renamed from `jump'.
6625 (jump_media): New insn.
6627 (call_media, call_value_media): New insns.
6628 (call, call_value): Adjust.
6629 (indirect_jump_compact): Renamed from `indirect_jump'.
6630 (indirect_jump_media): New insn.
6631 (indirect_jump): New expand.
6632 (untyped_call, return): Accept SHmedia.
6633 (return_media): New insn.
6634 (prologue, epilogue, blockage): Accept SHmedia.
6635 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
6636 (sunordered): New expand.
6637 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
6638 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
6639 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
6640 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
6641 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
6642 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
6643 abssf2_media): New insns.
6644 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
6645 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
6646 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
6647 floatdidf2, floatsidf2_media, fix_truncdfdi2,
6648 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
6649 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
6650 absdf2_media): New insns.
6651 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
6652 (extendsfdf2_media, truncdfsf2_media): New insns.
6653 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
6654 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
6655 * config/sh/sh.h (CONST_OK_FOR_J): Document.
6656 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
6657 * config/sh/sh.md (adddi3): New expand.
6658 (adddi3_media, adddi3z_media): New insns.
6659 (adddi3_compact): Renamed from adddi3.
6660 (addsi3_media): Use add.l r63 to add constant zero.
6661 (subdi3): New expand.
6662 (subdi3_media): New insn.
6663 (subdi3_compact): Renamed from subdi3.
6664 (mulsidi3): New expand.
6665 (mulsidi3_media): New insn.
6666 (mulsidi3_compact): Renamed from mulsidi3.
6667 (umulsidi3): New expand.
6668 (umulsidi3_media): New insn.
6669 (umulsidi3_compact): Renamed from umulsidi3.
6670 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
6671 (ashlsi3, ashrsi3, lshrsi3): Use them.
6672 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
6673 (ashldi3, ashrdi3, lshrdi3): Use them.
6674 (zero_extendsidi2): New expand.
6675 (extendsidi2): New insn.
6676 (movsi_media): New insn. Split to movdi to load constants.
6677 (movsi): Enable for shmedia.
6678 (movdi_media): New insn. Use shori_media to load wide constants.
6679 (short_media): New insn.
6680 (movdi): Enable for shmedia.
6681 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
6682 * config/sh/sh.h (CPP_SPEC): Added `m5'.
6683 (SUBTARGET_CPP_SPEC): Added `!m5'.
6684 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
6685 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
6686 to all other SH variants.
6687 (TARGET_DEFAULT): Set to SH1_BIT.
6688 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
6689 (BITS_PER_WORD): Raise to 64 on shmedia.
6690 (MAX_BITS_PER_WORD): Change to 64.
6691 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
6692 (INT_TYPE_SIZE): Keep as 32.
6693 (UNITS_PER_WORD): Raise to 8 on shmedia.
6694 (MIN_UNITS_PER_WORD): Keep as 4.
6695 (POINTER_SIZE): Raise to 64 on shmedia.
6696 (CONST_OK_FOR_J): New macro.
6697 (CONST_OK_FOR_LETTER_P): Use it.
6698 (processor_type): Add PROCESSOR_SH5.
6699 * config/sh/sh.md: Conditionalize all expands, insns and
6700 splits to TARGET_SH1.
6702 (addsi3_compact): Renamed from...
6703 (addsi3): Now an expand.
6704 (addsi3_media, subsi3_media): New insns.
6705 (subsi3): Don't negate constants with SHmedia.
6707 * hooks.c: New file.
6708 * hooks.h: New file.
6709 * Makefile.in (HOOKS_H): New.
6710 (TARGET_DEF_H): Added $(HOOKS_H).
6711 (OBJS): Added hooks.o.
6712 (cfgcleanup.o, bb-reorder.o): Added target.h.
6713 (hooks.o): Added dependencies.
6714 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
6715 (TARGET_INITIALIZER): this.
6716 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
6717 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
6718 * bb-reorder.c: Include target.h.
6719 (reorder_basic_blocks): Skip if cannot modify jumps.
6720 * cfgcleanup.c: Include target.h.
6721 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
6723 2002-02-08 Chris Demetriou <cgd@broadcom.com>
6725 * config/mips/mips.md (casesi_internal, casesi_internal_di):
6726 Protect jump delay slot instructions with .set noreorder and
6729 2002-02-08 Chris Demetriou <cgd@broadcom.com>
6731 * config/mips/mips.md (casesi_internal_di): Calculate
6732 the index into the target offset table correctly.
6734 2002-02-08 Richard Henderson <rth@redhat.com>
6736 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
6737 * final.c (output_addr_const): Accept and discard SUBREG.
6738 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
6739 mark them unknown instead.
6740 (simplify_subtraction): Handle RTX_UNKNOWN.
6741 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
6743 2002-02-08 David Edelsohn <edelsohn@gnu.org>
6745 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
6747 2002-02-08 Richard Henderson <rth@redhat.com>
6749 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
6751 2002-02-08 Andreas Jaeger <aj@suse.de>
6753 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
6754 * config/i386/t-linux64: New file.
6756 2002-02-08 Jakub Jelinek <jakub@redhat.com>
6758 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
6759 * c-parse.in (compstmt): Clear last_expr_type.
6761 2002-02-07 Richard Henderson <rth@redhat.com>
6763 * loop.c (strength_reduce): Sink final_value when not
6766 2002-02-07 David O'Brien <obrien@FreeBSD.org>
6768 * config/sparc/freebsd.h: Fix mismatched spec {.
6770 2002-02-07 Richard Henderson <rth@redhat.com>
6772 * cfgrtl.c: Include recog.h and insn-config.h.
6773 (keep_with_call_p): Fix general_operand invocation.
6774 * Makefile.in (cfgrtl.o): Update dependencies.
6776 2002-02-07 Kazu Hirata <kazu@hxi.com>
6778 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
6779 comment. Accept HImode only if TARGET_H8300.
6781 2002-02-07 Eric Christopher <echristo@redhat.com>
6783 * config/mips/crtn.asm: Cleanup #ifdefs.
6785 2002-02-07 Eric Christopher <echristo@redhat.com>
6787 * config/mips/crti.asm: Add changes for mips16. mips16 uses
6788 register 7 as RA instead of $31.
6789 * config/mips/crtn.asm: Ditto.
6790 * config/mips/mips.c (mips_move_2words): Add case for
6791 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
6792 (compute_frame_size): Fix typo.
6793 (save_restore_insns): Ditto. Make documentation about using
6794 register $7 as return register more precise.
6795 (mips_expand_epilogue): Fix comment. Add code to work around not
6796 being able to add to the stack pointer directly.
6797 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
6798 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
6801 2002-02-07 Tom Rix <trix@redhat.com>
6803 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
6804 immediates in ldu and stdu DS opcode field.
6805 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
6806 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
6807 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
6809 2002-02-07 Jeff Sturm <jsturm@one-point.com>
6811 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
6812 offset for stack bias.
6814 2002-02-07 H.J. Lu <hjl@gnu.org>
6816 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
6818 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
6820 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
6822 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
6824 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
6825 * i386.c (x86_order_regs_for_local_alloc): New global function.
6826 * i386.h (REG_ALLOC_ORDER): CLeanup.
6827 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
6829 2002-02-07 Richard Henderson <rth@redhat.com>
6831 PR optimization/2463
6832 * alias.c (find_base_value): Recall base values for fixed hard regs.
6833 * loop.c (loop_regs_update): Don't use single_set on non-insns.
6835 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
6837 * config/mips/mips.md (define_delay) [mips16]: Adjust required
6840 2002-02-06 Richard Henderson <rth@redhat.com>
6843 * stmt.c (resolve_operand_name_1): Take more care with mixed
6844 named and unnamed operands.
6846 2002-02-06 Janis Johnson <janis187@us.ibm.com>
6847 Jan Hubicka <jh@suse.cz>
6849 * loop.c (remove_constant_addition): Avoid clobbering a shared
6852 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
6854 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
6855 * config/s390/t-linux64: New file.
6856 * config/s390/libgcc-glibc.ver: New file.
6858 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
6860 * config/s390/linux64.h: Delete file.
6861 * config/s390/s390x.h: New file.
6862 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
6863 as target header file.
6864 * config/s390/linux.h (TARGET_VERSION): Define depending on
6865 DEFAULT_TARGET_64BIT.
6866 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
6867 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
6868 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
6869 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
6870 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
6871 (EXTRA_SPEC): New define.
6872 * config/s390/s390.h (TARGET_VERSION): Define depending on
6873 DEFAULT_TARGET_64BIT.
6874 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
6876 2002-02-06 Jason Merrill <jason@redhat.com>
6878 * c-decl.c (finish_function): Warn about a non-void function with
6879 no return statement and no abnormal exit.
6880 (current_function_returns_abnormally): New variable.
6881 (start_function): Clear it.
6882 (struct c_language_function): Add returns_abnormally.
6883 (push_c_function_context): Save it.
6884 (pop_c_function_context): Restore it.
6885 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
6886 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
6887 an explicit return type.
6888 * c-tree.h: Declare current_function_returns_abnormally.
6889 (C_FUNCTION_IMPLICIT_INT): New macro.
6890 * c-typeck.c (build_function_call): Set it.
6891 (c_expand_return): Set current_function_returns_value even if the
6894 2002-02-06 Jakub Jelinek <jakub@redhat.com>
6897 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
6898 unsafe for reevaluation.
6900 2002-02-06 Jakub Jelinek <jakub@redhat.com>
6903 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
6904 EXPR_STMT, but COMPOUND_STMT, recurse into it.
6906 2002-02-06 Richard Henderson <rth@redhat.com>
6908 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
6909 be a general_operand. Dest for function value must be a pseudo.
6911 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
6913 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
6914 as SYMBOL_REFs from the constant pool.
6916 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
6918 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
6919 passed by invisible reference.
6921 2002-02-05 Richard Henderson <rth@redhat.com>
6923 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
6925 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
6927 Implement using "base addresses" in insn operands as default.
6928 * config/mmix/mmix.c (mmix_conditional_register_usage): if
6929 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
6930 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
6931 used to read the rtx value.
6932 (mmix_target_asm_function_epilogue): Fix spacing.
6933 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
6934 (mmix_legitimate_address): Ditto.
6935 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
6936 should be loaded with a GETA insn. Don't allocate needless extra
6937 char for nul termination and fix misleading comment.
6938 (mmix_print_operand_address): Handle constants if
6939 TARGET_BASE_ADDRESSES.
6940 (mmix_output_register_setting): Use base addressing if
6941 TARGET_BASE_ADDRESSES and the number of insns is 3.
6942 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
6943 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
6944 to use R as constraint, add LDA to match s.
6945 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
6946 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
6947 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
6948 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
6949 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
6950 order with other fixed registers.
6951 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
6952 other parameter/call-clobbered registers.
6953 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
6954 -mbase-addresses, -mno-base-addresses.
6955 (MMIX Options): Ditto.
6957 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
6959 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
6961 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
6963 * config/rs6000/altivec.h: Change elem to _S_elem.
6965 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
6967 * config/netbsd.h (WCHAR_TYPE): Define.
6968 (WCHAR_TYPE_SIZE): Ditto.
6970 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
6971 (WCHAR_UNSIGNED): Ditto.
6972 (WCHAR_TYPE_SIZE): Ditto.
6974 * config/arm/netbsd.h: Likewise.
6975 * config/i386/netbsd-elf.h: Likewise.
6976 * config/i386/netbsd.h: Likewise.
6977 * config/m68k/netbsd-elf.h: Likewise.
6978 * config/m68k/netbsd.h: Likewise.
6979 * config/ns32k/netbsd.h: Likewise.
6980 * config/sparc/netbsd.h: Likewise.
6981 * config/vax/netbsd.: Likewise.
6983 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
6985 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
6986 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
6987 (TARGET_INITIALIZER): this.
6988 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
6989 (BITFIELD_NBYTES_LIMITED): Markup fix.
6990 * tree.h (default_ms_bitfield_layout_p): Declare.
6991 (record_layout_info): Added prev_field.
6992 * tree.c (default_ms_bitfield_layout_p): New fn.
6993 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
6994 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
6995 * stor-layout.c: Include target.h.
6996 (start_record_layout): Initialize prev_field.
6997 (place_field): Handle MS bit-field layout, and disregard
6998 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
6999 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
7000 * Makefile.in (stor-layout.o): Adjust dependencies.
7002 2002-02-05 Jason Merrill <jason@redhat.com>
7004 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
7006 2002-02-05 Andreas Jaeger <aj@suse.de>
7008 * crtstuff.c: Fix comments.
7010 2002-02-05 Richard Henderson <rth@redhat.com>
7013 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
7014 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
7017 * config/mips/mips.c (function_arg): Handle TImode.
7018 (function_arg_advance): Likewise.
7020 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7022 * config/rs6000/altivec.h (vec_step_help): Rename to
7025 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7027 * config/rs6000/altivec.h: Fix typos.
7029 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
7031 * config/arm/netbsd.h: Correct a comment.
7033 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7035 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
7036 building void typed builtins.
7038 * config/rs6000/altivec.h (vec_ld*): Fix typos.
7039 (vec_step): Implement for C++.
7041 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7043 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
7045 2002-02-04 Richard Henderson <rth@redhat.com>
7047 * combine.c (nonzero_bits): Re-introduce special case for
7048 sp/fp/ap wrt REGNO_POINTER_ALIGN.
7050 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7052 * doc/extend.texi: Warn about unsupported usage of altivec
7055 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
7056 (altivec_predicate_*): New.
7058 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
7059 Add C++ version of vec_*() functions.
7061 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
7062 (bdesc_2arg): Remove altivec predicates.
7063 (altivec_expand_builtin): Handle predicates.
7064 (altivec_init_builtins): Handle predicates.
7065 (altivec_expand_predicate_builtin): New.
7067 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7069 * pa.c (DO_FRAME_NOTES): Move forward.
7070 (store_reg): Revise handling of frame notes.
7071 (load_reg): Likewise.
7072 (set_reg_plus_d): Likewise.
7073 (hppa_expand_prologue): Likewise.
7074 (hppa_expand_epilogue): Likewise.
7076 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7078 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
7080 2002-02-04 Jakub Jelinek <jakub@redhat.com>
7082 PR c/4475, c++/3780:
7083 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
7084 * c-common.h (SWITCH_TYPE): Define.
7085 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
7086 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
7087 Rename spareness variable to sparseness.
7088 (expand_end_case_type): Renamed from expand_end_case, use orig_type
7089 if non-NULL instead of TREE_TYPE (orig_index).
7090 * tree.h (expand_end_case_type): Renamed from expand_end_case.
7091 (expand_end_case): Define using expand_end_case_type.
7092 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
7093 to expand_end_case_type.
7094 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
7096 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7098 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
7099 (BIGGEST_ALIGNMENT): Change to 128.
7101 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7103 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
7105 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7107 * pa.md (call_internal_reg_64bit): Remove unused variable.
7109 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
7111 * config/arm/arm.h (machine_function): Add uses_anonymous_args
7113 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
7114 * config/arm/arm.c (current_function_anonymous_args): Delete,
7115 replace uses with cfun->machine->uses_anonymous_args.
7116 (arm_reorg): Do not reset uses_anonymous_args.
7118 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
7119 any geenral register.
7121 2001-02-04 Bernd Schmidt <bernds@redhat.com>
7123 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
7126 2002-02-04 Richard Henderson <rth@redhat.com>
7128 * combine.c (force_to_mode): Remove STACK_BIAS code.
7129 (nonzero_bits): Likewise. Replace sp/fp special case with
7130 REGNO_POINTER_ALIGN.
7132 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
7133 (HARD_FRAME_POINTER_REGNUM): New.
7134 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
7135 (FIXED_REGS, CALL_USED_REGS): Update.
7136 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
7137 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
7138 (HARD_REGNO_NREGS): Update for SFP.
7139 (STACK_POINTER_OFFSET): Include bias here ...
7140 (FIRST_PARM_OFFSET): ... not here.
7141 (STACK_BIAS): Remove.
7142 (INIT_EXPANDERS): New.
7143 (STARTING_FRAME_OFFSET): Do not include bias.
7144 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
7145 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
7146 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
7147 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
7148 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
7149 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
7150 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
7151 (MUST_SAVE_REGISTER): Likewise.
7152 (sparc_flat_function_prologue): Likewise.
7153 (sparc_flat_function_epilogue): Likewise.
7154 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
7155 (sparc_init_modes): SFP is GENERAL_REGS.
7156 (sparc_builtin_saveregs): SFP does not have bias applied.
7158 2002-02-04 Richard Henderson <rth@redhat.com>
7160 * config/alpha/alpha.c (current_function_is_thunk): Don't check
7161 current_function_is_thunk.
7162 (alpha_sa_mask): Distinguish between current_function_is_thunk
7163 called from ASM_OUTPUT_MI_THUNK and not.
7164 (alpha_does_function_need_gp): Thunks always need gp.
7165 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
7166 (alpha_output_mi_thunk_osf): New.
7167 * config/alpha/alpha-protos.h: Update.
7168 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
7170 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
7172 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
7173 function types, not when they're taken away.
7175 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
7177 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
7178 CODE_LABEL and jump table when replacing a table jump with a
7181 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7183 * config/s390/s390-protos.h (legitimize_la_operand,
7184 s390_secondary_input_reload_class, s390_plus_operand,
7185 s390_expand_plus_operand): Add prototypes.
7187 config/s390/s390.c (s390_secondary_input_reload_class,
7188 s390_plus_operand, s390_expand_plus_operand): New functions.
7190 (struct s390_address): New member 'pointer'.
7191 (s390_decompose_address): Compute it.
7192 (legitimate_la_operand_p): Use it.
7193 (legitimize_la_operand): New function.
7194 (movti, movdi, movdf splitters): Call it.
7196 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
7197 (PREDICATE_CODES): Add s390_plus_operand.
7199 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
7200 (la_ccclobber): Allow GENERAL_REGS as output operand.
7202 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
7203 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
7204 (*la_64, *la_31, reload_indi, reload_insi): ... these.
7206 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7208 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
7209 register names for regular asm () construct.
7211 2002-02-04 Jakub Jelinek <jakub@redhat.com>
7213 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
7216 2002-02-04 Jakub Jelinek <jakub@redhat.com>
7218 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
7221 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
7223 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
7224 constant pool to be identical by string address and index.
7226 2002-02-04 Anthony Green <green@redhat.com>
7228 * output.h (SECTION_OVERRIDE): Define.
7229 * varasm.c (named_section): Obey SECTION_OVERRIDE.
7231 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
7233 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
7234 by existing arm*-*-netbsd* (a.out) target.
7235 (ns32k-*-netbsdelf*): Likewise.
7236 (sparc-*-netbsdelf*): Likewise.
7237 (vax-*-netbsdelf*): Likewise.
7239 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
7241 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
7242 headers and libobjc headers.
7244 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
7246 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
7247 (_mingw.h): Remove duplicate include.
7249 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
7251 * config.gcc: Set cpu_type to m68k for 68010, as well.
7252 (m68010-*-netbsdelf*): New...
7253 (m68k*-*-netbsdelf*): ...targets.
7254 * config/m68k/netbsd-elf.h: New file.
7256 2002-02-02 Kazu Hirata <kazu@hxi.com>
7258 * config/h8300/h8300.c (hand_list): Move inside function_arg.
7260 2002-02-02 Kazu Hirata <kazu@hxi.com>
7262 * config/h8300/h8300.c (h8_push_ops): Move inside
7264 (h8_pop_ops): Likewise.
7265 (h8_move_ops): Likewise.
7267 2002-02-02 Kazu Hirata <kazu@hxi.com>
7269 * config/h8300/h8300.c (os_task): Make it static.
7270 (monitor): Likewise.
7271 (pragma_saveall): Likewise.
7273 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
7275 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
7276 constant is a valid sign-extension for Pmode.
7278 2002-02-02 Kazu Hirata <kazu@hxi.com>
7280 * config/h8300/h8300.c: Fix formatting.
7282 2002-02-02 Kazu Hirata <kazu@hxi.com>
7284 * config/h8300/h8300.md: Fix formatting.
7286 2002-02-02 Kazu Hirata <kazu@hxi.com>
7288 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
7289 predicates of operands[1]. Split the patterns for each
7292 2002-02-02 Kazu Hirata <kazu@hxi.com>
7294 * config/h8300/h8300.md (xor patterns): Tighten the predicates
7295 of operands[1] to register_operand.
7297 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
7299 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
7300 * cpphash.c (_cpp_init_hashtable): Similarly.
7301 * cppinit.c (cpp_create_reader): Default the signed_char flag.
7302 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
7303 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
7304 (cpp_handle_option): Handle the new options.
7305 * cpplex.c (cpp_interpret_charconst): Use new flag.
7306 * cpplib.h (struct cpp_options): New member signed_char.
7307 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
7308 (cpp_options): Handle -fsigned-char and -funsigned-char.
7309 (static_specs): Remove signed_char_spec.
7310 (do_spec1): Don't handle %c.
7311 * system.h: Poison SIGNED_CHAR_SPEC.
7312 * tradcif.y (yylex): Use flag_signed_char.
7313 * tradcpp.h (flag_signed_char): New.
7314 * tradcpp.c (flag_signed_char): New.
7315 (main): Handle new command-line options.
7316 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
7318 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
7319 * avr/avr.h: Remove old comments.
7320 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
7321 (CC1_SPEC): Pass -fsigned-char if -mic*.
7322 (SIGNED_CHAR_SPEC): Remove.
7324 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
7326 2002-02-01 Eric Christopher <echristo@redhat.com>
7328 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
7329 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
7330 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
7331 (ASM_OUTPUT_REG_POP): Ditto.
7333 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
7335 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
7338 2002-02-02 Jakub Jelinek <jakub@redhat.com>
7340 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
7342 2002-02-02 Jakub Jelinek <jakub@redhat.com>
7345 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
7348 2002-02-01 Janis Johnson <janis187@us.ibm.com>
7350 * cfganal.c: Include tm_p.h.
7351 (keep_with_call_p): Fix the test that determines if a register holds
7352 the return value of a call.
7354 2002-02-01 DJ Delorie <dj@redhat.com>
7356 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
7357 we are given conflicting registers, switch to the other one we
7358 had allocated for us.
7359 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
7360 as TImode so we know when the "other" register is available.
7362 2002-02-01 David O'Brien <obrien@FreeBSD.org>
7364 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
7367 2002-02-01 Janis Johnson <janis187@us.ibm.com>
7369 * cfganal.c (keep_with_call_p): New function.
7370 (flow_call_edges_add): Prevent splitting a block between a call and
7371 a single-set instruction that should be kept in the same block.
7373 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
7375 * doc/install.texi (avr): Update outdated URL.
7377 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
7379 * config/stormy16/stormy16.md (pushqi): New.
7383 (movhi): Remove stack operands.
7385 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
7386 nonimmediate_nonstack_operand.
7387 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
7389 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
7392 2002-01-31 Jason Merrill <jason@redhat.com>
7394 * Makefile.in (c-parse.c): Handle .output file.
7395 * objc/Make-lang.in (objc-parse.c): Likewise.
7397 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
7399 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
7400 the -me[lb] option is given. Don't output the default flag
7403 2002-01-31 Zack Weinberg <zack@codesourcery.com>
7405 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
7406 the primary source file; this has not been done yet.
7407 * c-decl.c (c_expand_body): Reset input_filename from
7408 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
7410 2002-01-31 Kazu Hirata <kazu@hxi.com>
7412 * rtlanal.c (subreg_regno_offset): Do not use
7413 SUBREG_REGNO_OFFSET.
7414 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
7415 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
7417 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
7419 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
7420 version rather than GNATS version in --version output.
7422 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
7424 * ifcvt.c (noce_process_if_block): Make a copy of the destination
7425 when copying back from a temporary.
7427 2002-01-30 Richard Henderson <rth@redhat.com>
7429 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
7430 and new_dest are the same.
7432 2002-01-30 Richard Henderson <rth@redhat.com>
7435 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
7436 * rtl.c (note_insn_name): Update.
7437 * emit-rtl.c (remove_unnecessary_notes): Kill it.
7438 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
7439 to perform loop rotation.
7440 (expand_exit_loop_top_cond): New.
7441 * tree.h (expand_exit_loop_top_cond): Declare it.
7442 * c-semantics.c (genrtl_while_stmt): Use it.
7443 (genrtl_for_stmt): Likewise.
7445 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
7447 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
7448 arguments to 64-bit boundaries on 64-bit ABIs.
7450 2002-01-30 Steve Ellcey <sje@cup.hp.com>
7452 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
7454 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
7456 * c-decl.c (grokdeclarator): Handle type being a typedef for an
7459 2002-01-30 David O'Brien <obrien@FreeBSD.org>
7461 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
7462 * config/sparc/sparc_bi.h: Remove file.
7463 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
7465 2002-01-30 Richard Henderson <rth@redhat.com>
7467 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
7469 2002-01-30 Zack Weinberg <zack@codesourcery.com>
7471 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
7473 2002-01-30 Jason Merrill <jason@redhat.com>
7475 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
7476 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
7477 (reg_save): Use DW_CFA_offset_extended_sf instead.
7479 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
7481 2002-01-29 Jakub Jelinek <jakub@redhat.com>
7483 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
7486 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
7488 * rs6000.md ("*call_value_local32"): Remove constraints.
7489 ("*call_value_local64"): Same.
7490 ("*call_value_indirect_nonlocal_aix32"): Same.
7491 ("*call_value_nonlocal_aix32"): Same.
7492 ("*call_value_indirect_nonlocal_aix64"): Same.
7493 ("*call_value_nonlocal_aix64"): Same.
7494 ("*call_value_nonlocal_sysv"): Same.
7496 2002-01-29 Richard Henderson <rth@redhat.com>
7498 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
7500 2002-01-29 Richard Henderson <rth@redhat.com>
7502 * expr.c (force_operand): Ignore flag_pic for detecting pic
7504 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
7505 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
7506 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
7507 instead of open-coded loop.
7508 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
7509 be fixed when in use.
7511 2002-01-29 Richard Henderson <rth@redhat.com>
7513 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
7514 * sched-rgn.c (propagate_deps): Update them.
7515 * sched-deps.c (sched_analyze_insn): Update them. Flush the
7516 clobbers list when either gets too long.
7518 2002-01-29 Jakub Jelinek <jakub@redhat.com>
7520 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
7521 and INDEX_REGS the same as GENERAL_REGS.
7522 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
7524 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
7526 * tree.c (build_nonstandard_integer_type): Correct prototype.
7528 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
7530 * config/s390/s390.md (movstrsico, movstrdix_64,
7531 movstrsix_31): Remove, replace by ...
7532 (movstrdi_short, movstrsi_short, movstrdi_long,
7533 movstrsi_long): ... these. New.
7534 (movstrdi, movstrsi): Adapt.
7536 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
7537 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
7538 Remove unnecessary CC clobber.
7539 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
7540 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
7542 (divmoddi4): Don't partially initialize TImode register.
7544 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
7546 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
7548 2002-01-29 Richard Henderson <rth@redhat.com>
7550 * flow.c (print_rtl_and_abort): Remove.
7551 (print_rtl_and_abort_fcn): Remove.
7552 (verify_local_live_at_start): Use dump_bb instead.
7553 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
7554 (verify_wide_reg_1): Return 2 on mode test failure.
7556 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
7558 PR c/3325, c/3326, c/2511, c/3347
7559 * c-decl.c (enum_decl_context): Remove BITFIELD.
7560 (grokdeclarator): Take bitfield width as an input.
7561 Ensure bitfields are given the correct type. Perform
7562 bitfield width validation with build_bitfield_integer_type
7563 rather than waiting for finish_struct.
7564 (grok_typename, grok_typename_in_parm_context, start_decl,
7565 push_parmdecl, grokfield, start_function): Update calls to
7567 (build_bitfield_integer_type): New function.
7568 (finish_struct): Move bitfield validation to grokdeclarator
7569 and build_bitfield_integer_type.
7570 * tree.c (build_nonstandard_integer_type): New function.
7571 * tree.h (build_nonstandard_integer_type): New prototype.
7573 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
7575 2002-01-29 Jakub Jelinek <jakub@redhat.com>
7578 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
7579 don't ignore unrecognized -W* options.
7580 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
7581 * cpplib.h (cpp_handle_option): Adjust prototype.
7582 * c-decl.c (c_decode_options): Pass 0 as last argument to
7586 * gcc.c (cpp_unique_options): Split from cpp_options.
7587 (cpp_options): Source cpp_unique_options.
7588 (default_compilers): Use cpp_unique_options instead of cpp_options
7589 when used together with cc1_options.
7590 (static_specs): Add cpp_unique_options.
7591 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
7592 when used together with cc1_options.
7594 2002-01-29 Kazu Hirata <kazu@hxi.com>
7596 * config/h8300/h8300-protos.h: Update the prototype of
7598 * config/h8300/h8300.c (output_a_shift): Remove an unused
7599 argument 'insn'. Remove redundant code.
7600 * config/h8300/h8300.md: Adust to the new prototype of
7603 2002-01-29 Kazu Hirata <kazu@hxi.com>
7605 * config/h8300/h8300-protos.h: Update the prototypes of
7606 emit_a_rotate and expand_a_rotate.
7607 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
7608 first argument to 'enum rtx_code'.
7609 (expand_a_rotate): Likewise.
7611 2002-01-28 Kazu Hirata <kazu@hxi.com>
7613 * config/h8300/h8300-protos.h: Update the prototype of
7615 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
7617 * config/h8300/h8300.md: Adjust to the new prototype.
7619 2002-01-28 Kazu Hirata <kazu@hxi.com>
7621 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
7624 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
7626 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
7627 is a fixed register before returning pic_offset_table_rtx.
7628 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
7629 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
7631 2002-01-28 Jason Merrill <jason@redhat.com>
7633 * dwarf2.h: Sync with src version.
7635 2002-01-28 Paul Koning <pkoning@equallogic.com>
7637 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
7639 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
7640 * doc/extend.texi (__builtin_prefetch): Update documentation:
7641 first argument is now const void ptr.
7643 2002-01-28 Kazu Hirata <kazu@hxi.com>
7645 * config/h8300/h8300-protos.h: Remove an unused prototype.
7647 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
7649 * toplev.c (lang_independent_init): Round up identifier size.
7651 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
7653 * config.gcc: Revert previous change.
7655 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
7657 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
7659 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
7661 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
7662 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
7663 other non-elf netbsd config frags.
7664 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
7665 collect2 will does that.
7666 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
7667 shared-lib frobbing will work.
7669 2002-01-28 Kazu Hirata <kazu@hxi.com>
7671 * config/h8300/h8300.h: Fix formatting.
7672 * config/h8300/h8300.md: Likewise.
7674 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
7676 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
7677 the old, removed AAA_standards fix.
7678 * fixinc/fixincl.x: Rebuilt.
7680 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
7682 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
7683 atexit call in crtbegin, hooked in after call to frame_dummy;
7684 register EH before registering __fini__start.
7686 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
7688 * config/rs6000/altivec.h: Remove spurious semicolons.
7690 2002-01-27 Kazu Hirata <kazu@hxi.com>
7692 * config/h8300/h8300.md: Replace dead bit extraction patterns
7693 with ones that work.
7695 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7697 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
7698 if not STRICT_ALIGNMENT.
7699 * rtl.h (MEM_ALIGN): Likewise.
7701 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
7703 * doc/invoke.texi (-fdump-translation-unit): Revert this
7704 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
7706 2002-01-27 Kazu Hirata <kazu@hxi.com>
7708 * config/h8300/h8300.md (define_constants): New.
7709 (anonymous patterns) Use defined constants appropriately.
7711 2002-01-27 Kazu Hirata <kazu@hxi.com>
7713 * config/h8300/h8300.c (function_arg): Remove redundant code.
7715 2002-01-26 Richard Henderson <rth@redhat.com>
7717 * sched-deps.c (reg_pending_uses_head): New.
7718 (reg_pending_barrier): Rename from reg_pending_sets_all.
7719 (find_insn_list): Don't mark inline.
7720 (find_insn_mem_list): Remove.
7721 (add_dependence_list, add_dependence_list_and_free): New.
7722 (flush_pending_lists): Replace only_write param with separate
7723 for_read and for_write parameters. Update all callers. Use
7724 add_dependence_list_and_free.
7725 (sched_analyze_1): Do not add reg dependencies here; just set
7726 the pending bits. Use add_dependence_list.
7727 (sched_analyze_2): Likewise.
7728 (sched_analyze_insn): Replace schedule_barrier_found with
7729 reg_pending_barrier. Add all dependencies for pending reg
7730 uses, sets, and clobbers.
7731 (sched_analyze): Don't add reg dependencies for calls, just
7732 set pending bits. Use regs_invalidated_by_call. Treat
7733 sched_before_next_call as a normal list, not a fake insn.
7734 (init_deps): No funny init for sched_before_next_call.
7735 (free_deps): Free pending mems lists. Don't zero reg_last.
7736 (init_deps_global): Init reg_pending_uses.
7737 (finish_deps_global): Free it.
7738 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
7739 (find_insn_mem_list): Remove.
7740 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
7741 (propagate_deps): Use them. Zero temp mem lists.
7743 2002-01-26 Richard Henderson <rth@redhat.com>
7745 * Makefile.in (CRTSTUFF_CFLAGS): New.
7746 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
7747 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
7748 crtstuff.c instead of alpha assembly version.
7749 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
7750 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
7751 not FORCE_{INIT,FINI}_SECTION_ALIGN.
7752 (__do_global_dtors_aux): Mark used.
7753 (frame_dummy, __do_global_ctors_aux): Mark used.
7754 (fini_dummy, init_dummy): Remove.
7756 * config/alpha/crtbegin.asm: Remove file.
7757 * config/alpha/crtend.asm: Remove file.
7758 * config/alpha/t-crtbe: Remove file.
7759 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
7760 (LINK_EH_SPEC): New.
7762 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
7763 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
7764 calling constructors.
7765 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
7767 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
7768 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
7769 CRT_END_INIT_DUMMY hack.
7770 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
7771 FORCE_{INIT,FINI}_SECTION_ALIGN.
7773 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
7774 FORCE_{INIT,FINI}_SECTION_ALIGN.
7776 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
7777 invocation sequence.
7778 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
7780 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
7781 (FORCE_CODE_SECTION_ALIGN): New.
7783 2002-01-26 Richard Henderson <rth@redhat.com>
7785 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
7787 2002-01-26 Richard Henderson <rth@redhat.com>
7789 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
7790 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
7792 2002-01-26 Kazu Hirata <kazu@hxi.com>
7794 * config/h8300/h8300.md: Remove bit extraction patterns that
7795 cannot be triggered.
7796 Restrict each bit extraction pattern to a variant on which the
7799 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
7801 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
7803 2002-01-26 Kazu Hirata <kazu@hxi.com>
7805 * config/h8300/h8300.md: Remove bit test patterns that cannot
7807 Restrict each bit test pattern to a variant on which the
7810 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7812 * builtins.c (expand_builtin_strncat): Remove redundant check for
7815 2002-01-25 David O'Brien <obrien@FreeBSD.org>
7817 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
7819 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
7822 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
7824 * dbxout.c (dbxout_init): Use assemble_name rather than just
7825 stripping off the first character.
7826 (dbxout_source_file): Likewise.
7828 2002-01-25 DJ Delorie <dj@redhat.com>
7830 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
7831 using rtx_equal_p, not by comparing pointers.
7833 2002-01-25 Steve Ellcey <sje@cup.hp.com>
7835 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
7836 for PIC_OFFSET_TABLE_REGNUM.
7837 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
7839 2002-01-25 David O'Brien <obrien@FreeBSD.org>
7841 * config.gcc (x86_64-*-freebsd*): New target.
7842 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
7844 (i[34567]86-*-freebsd*): Don't include svr4.h.
7845 * config/i386/freebsd64.h: New file.
7847 2002-01-25 Douglas B Rupp <rupp@gnat.com>
7849 * config/alpha/x-vms (version): Make static.
7851 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
7852 in previous checkin.
7854 * Makefile.in (install-headers-cp): New target.
7855 * config.gcc (alpha-dec-*vms*): Install headers with
7858 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
7860 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
7863 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7865 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
7866 of compare_tree_int.
7867 (expand_builtin_strncat): Likewise.
7868 * c-decl.c (finish_struct): Use tree_low_cst.
7869 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
7870 * tree.c (compare_tree_int): Likewise.
7872 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
7874 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
7875 adjustments even if they are implemented by more than two insns.
7877 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
7879 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
7880 * df.h (struct ref): Kill B.
7881 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
7883 * basic-block.h (PROP_EQUAL_NOTES): New flag.
7884 * flow.c (propagate_one_insn): Use it.
7885 (mark_used_regs): Handle NIL.
7887 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
7889 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
7892 2002-01-25 David Edelsohn <edelsohn@gnu.org>
7894 * rs6000.md (prefetch): Make address V4SI mode so that the address
7895 is restricted to legitimate form for instruction.
7897 2002-01-25 Bob Wilson <bob.wilson@acm.org>
7899 * doc/install.texi (xtensa-*-elf): New target.
7900 (xtensa-*-linux*): New target.
7901 * doc/contrib.texi: Add myself.
7903 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
7905 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
7906 purpose register to hold an SImode (or smaller) value.
7908 2002-01-25 Jakub Jelinek <jakub@redhat.com>
7910 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
7912 * crtstuff.c: Likewise.
7914 2002-01-25 Kazu Hirata <kazu@hxi.com>
7916 * config/h8300/h8300.md (negation patterns): Tighten
7917 predicates to register_operand.
7919 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
7921 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
7924 * builtins.c (expand_builtin_prefetch): Same.
7926 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
7928 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
7931 2002-01-24 Kazu Hirata <kazu@hxi.com>
7933 * config/h8300/h8300.c (print_operand): Remove support for
7934 operand character 'A'.
7935 * config/h8300/h8300.md (three anonymous patterns): Replace
7936 operand character 'A' with either 'T' or 'S'.
7938 2002-01-24 Kazu Hirata <kazu@hxi.com>
7940 * config/h8300/h8300.c (print_operand): Remove support for
7941 operand character 'U'.
7943 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
7945 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7947 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
7949 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
7950 values to be assigned to the stack pointer.
7952 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
7954 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
7955 to const_double needs to be done right for big-endian systems.
7957 2002-01-24 Jason Merrill <jason@redhat.com>
7960 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
7961 to can_throw_internal.
7963 2002-01-23 Richard Henderson <rth@redhat.com>
7965 * fold-const.c (fold): Change UINT_MAX test to check vs precision
7966 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
7968 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
7970 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
7971 (symGOT2reg): Use them, then set as GOT value as unchanging.
7972 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
7973 as a temporary, if possible.
7974 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
7975 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
7977 2002-01-23 Kazu Hirata <kazu@hxi.com>
7979 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
7980 accept to accept 0x80 as operands[2].
7982 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
7984 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
7986 2002-01-23 Richard Henderson <rth@redhat.com>
7988 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
7990 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
7992 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
7993 (parmlist_or_identifiers_1): Verify that only a parmlist follows
7996 2002-01-23 Richard Henderson <rth@redhat.com>
7998 * expr.c (move_by_pieces_1): Extend size before negation.
8000 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
8001 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
8002 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
8003 * config/m68k/t-m68kelf: Likewise.
8005 2002-01-23 Bob Wilson <bob.wilson@acm.org>
8007 * config/xtensa/elf.h: New file.
8008 * config/xtensa/lib1funcs.asm: New file.
8009 * config/xtensa/lib2funcs.S: New file.
8010 * config/xtensa/linux.h: New file.
8011 * config/xtensa/t-xtensa: New file.
8012 * config/xtensa/xtensa-config.h: New file.
8013 * config/xtensa/xtensa-protos.h: New file.
8014 * config/xtensa/xtensa.c: New file.
8015 * config/xtensa/xtensa.h: New file.
8016 * config/xtensa/xtensa.md: New file.
8017 * config.gcc (xtensa-*-elf*): New target.
8018 (xtensa-*-linux*): New target.
8019 * cse.c (canon_hash): Compare rtx pointers instead of register
8020 numbers. This is required for the Xtensa port.
8021 * integrate.c (copy_insn_list): Handle case where the static
8022 chain is in memory and the memory address has to be copied to
8024 * doc/invoke.texi (Option Summary): Add Xtensa options.
8025 (Xtensa Options): New node.
8026 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
8028 2002-01-23 Zack Weinberg <zack@codesourcery.com>
8030 * diagnostic.c (internal_error): Do ICE suppression only
8031 when ENABLE_CHECKING is not defined.
8033 * c-typeck.c (require_complete_type): Return error_mark_node
8034 if type is error_mark_node.
8036 2002-01-23 Janis Johnson <janis187@us.ibm.com>
8038 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
8039 -Os and issue a warning.
8041 2002-01-23 Zack Weinberg <zack@codesourcery.com>
8043 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
8044 current (lack of) need for host configuration by hand.
8046 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
8047 references. Documentation of some target macros moved from
8048 hostconfig.texi to tm.texi.
8050 2002-01-23 Will Cohen <wcohen@redhat.com>
8052 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
8055 2002-01-23 Kazu Hirata <kazu@hxi.com>
8057 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
8060 2002-01-23 Jason Merrill <jason@redhat.com>
8062 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
8064 * function.c (assign_parms): Don't put args of inline functions
8065 into registers when not optimizing.
8067 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
8069 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
8070 (prologue_use): New pattern.
8071 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
8072 preference to gen_rtx_USE.
8073 (thumb_expand_prologue): Use gen_prologue_use in preference to
8075 (thumb_expand_epilogue): Use gen_prologue_use in preference to
8078 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
8080 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
8082 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
8085 * doc/extend.texi: Correct documentation of __alignof__.
8087 2002-01-22 Zack Weinberg <zack@codesourcery.com>
8089 * params.h: Rename arguments of DEFPARAM so that it will be
8090 recognized as a translation keyword.
8092 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
8094 * extend.texi: Document altivec functions.
8095 Fix N-bit adjectives in X86 builtin documentation.
8097 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
8099 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
8100 auto_inc_dec values.
8102 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
8104 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
8106 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
8108 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
8110 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
8112 2002-01-22 Richard Henderson <rth@redhat.com>
8114 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
8115 copy_insn not copy_rtx.
8117 2002-01-23 Alan Modra <amodra@bigpond.net.au>
8119 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
8120 "nonzero" as that might add "1" bits. Ensure "constop" is
8121 properly sign extened.
8122 (force_to_mode): Tweak for sign extended constop.
8124 2002-01-22 Richard Henderson <rth@redhat.com>
8126 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
8127 for_each_rtx instead of assuming we're already looking at the MEM.
8128 (split_small_symbolic_mem_operand): Likewise.
8129 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8130 * config/alpha/alpha.md (small symbolic memory splitters): Update.
8132 2002-01-22 Richard Henderson <rth@redhat.com>
8134 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
8135 sequence number for the literal.
8136 (divmoddi_internal_er): Likewise.
8138 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
8141 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
8142 in LIBICONV variable.
8143 * configure: Regenerated.
8145 2002-01-22 Krister Walfridsson <cato@df.lth.se>
8147 * dependence.c (build_def_use): Remove array_idx.
8149 * dwarfout.c (last_filename): Remove.
8150 (output_compile_unit_die): Remove last_filename.
8152 2002-01-22 Roger Sayle <roger@eyesopen.com>
8153 Richard Henderson <rth@redhat.com>
8156 * fold-const.c (fold): Optimize unsigned comparisons against
8157 UINT_MAX (and similar unsigned constants).
8159 2002-01-22 Janis Johnson <janis187@us.ibm.com>
8161 * Makefile.in (loop.o): Depend on OPTABS_H.
8162 * loop.c (emit_prefetch_instructions): Check the prefetch operand
8163 against the predicate.
8166 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
8167 for the address operand.
8169 2002-01-22 Richard Henderson <rth@redhat.com>
8171 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
8173 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
8176 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
8179 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
8181 * config.gcc (x86_64-*-netbsd*): New target.
8182 * config/i386/netbsd64.h: New file.
8184 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
8186 * regrename.c (kill_value): Fix typo.
8188 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
8190 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
8192 * config/rs6000/rs6000.h: Same.
8194 * function.c (instantiate_virtual_regs): Remove
8195 STARTING_FRAME_PHASE.
8196 (assign_stack_local_1): Same.
8197 Calculate frame phase.
8199 2002-01-22 Nick Clifton <nickc@redhat.com>
8201 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
8202 variable declaration to outer scope in order to simplify
8204 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
8205 arm_hard_regno_mode_ok.
8206 * config/arm/arm-protos.h: Add a prototype for
8207 arm_hard_regno_mode_ok.
8208 * config/arm/arm.c (soft_df_operand): Remove now redundant
8209 check for DImode values using IP_REGNUM.
8210 (nonimmediate_soft_df_operand): Remove now redundant check for
8211 DImode values using IP_REGNUM.
8212 (arm_hard_regno_mode_ok): New function. New check: make sure
8213 that DImode values are not stored in IP_REGNUM.
8215 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
8217 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
8219 2002-01-22 Jason Merrill <jason@redhat.com>
8221 * c-semantics.c (genrtl_compound_stmt): Only check nesting
8222 consistency if this COMPOUND_STMT is scoped.
8224 2002-01-22 Kazu Hirata <kazu@hxi.com>
8226 * predict.c: Fix formatting.
8227 * print-tree.c: Likewise.
8228 * protoize.c: Likewise.
8231 * sbitmap.h: Likewise.
8233 * sched-deps.c: Likewise.
8234 * sched-vis.c: Likewise.
8235 * sdbout.c: Likewise.
8236 * sibcall.c: Likewise.
8238 * ssa-ccp.c: Likewise.
8239 * ssa-dce.c: Likewise.
8241 * stor-layout.c: Likewise.
8242 * system.h: Likewise.
8244 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8246 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
8247 if fits in bounds of base type.
8249 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
8250 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
8251 (add_bound_info, default): If can't find a context, make a
8253 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
8255 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
8257 * c-typeck.c (parser_build_binary_op): If result from
8258 build_binary_op is ERROR_MARK just return error_mark_node without
8261 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
8263 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
8264 Split a.out-specific bits into...
8265 * config/netbsd-aout.h: ...this.
8266 * config/netbsd-elf.h: New file.
8267 * config/alpha/netbsd-elf.h: Remove.
8268 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
8269 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
8270 (STARTFILE_SPEC): Remove redundant definition.
8271 (ENDFILE_SPEC): Likewise.
8272 (LINK_SPEC): Likewise.
8273 (CPP_SPEC): Likewise.
8274 (ASM_SPEC): Likewise.
8275 (LIB_SPEC): Likewise.
8276 (SWITCH_TAKES_ARG): Likewise.
8277 (TARGET_MEM_FUNCTIONS): Likewise.
8278 (CPP_PREDEFINES): Redefine.
8279 (ASM_FINAL_SPEC): Remove redefinition.
8280 (ASM_COMMENT_START): Redefine.
8281 (FUNCTION_PROFILER): Define.
8282 (TARGET_VERSION): Redefine.
8283 Comment and formatting cleanup.
8284 * config/i386/netbsd.h: Include <netbsd-aout.h>.
8285 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
8286 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
8287 big- or little-endian.
8288 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
8289 * config.gcc (*-*-netbsd*): Add definitions common to all
8291 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
8292 gnu_ld definitions. Add netbsd-elf.h to and remove
8293 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
8294 tmake_file, and don't lose previous tmake_file contents.
8295 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
8296 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
8297 gnu_ld definitions. Add netbsd-elf.h to tm_file.
8298 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
8299 (mipsel-*-netbsd*): Rename this to...
8300 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
8301 mips/little.h to tm_file for mips*el-*.
8302 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
8303 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
8304 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
8306 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
8308 * pa-protos.h (reg_before_reload_operand): New function prototype.
8309 * pa.c (reg_before_reload_operand): New function implementation.
8310 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
8313 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8315 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
8317 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
8319 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
8320 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
8321 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
8322 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
8323 (ENDFILE_SPEC): Undefine.
8324 (STARTFILE_SPEC): Redefine for PA.
8326 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8328 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
8330 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
8332 * config.gcc: Add entries to supported PowerPC --with-cpu
8335 2002-01-21 Jakub Jelinek <jakub@redhat.com>
8337 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
8338 true for 64-bit mode only SSE registers in 32-bit mode.
8340 2002-01-21 Kazu Hirata <kazu@hxi.com>
8342 * unwind-dw2.c: Fix formatting.
8343 * unwind-dw2-fde.c: Likewise.
8344 * unwind-dw2-fde.h: Likewise.
8345 * unwind-pe.h: Likewise.
8346 * varasm.c: Likewise.
8347 * varray.h: Likewise.
8349 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
8351 Remove workaround for register stack overwrite bug in mmix.
8352 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
8353 support for TARGET_REG_STACK_FILL_BUG.
8354 * config/mmix/mmix.h: Remove member has_call_without_parameters.
8355 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
8357 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
8358 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
8359 -mno-reg-stack-fill-bug-workaround.
8360 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
8361 machine member has_call_without_parameters.
8362 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
8363 -mreg-stack-fill-bug-workaround and
8364 -mno-reg-stack-fill-bug-workaround.
8365 (MMIX Options): Ditto.
8367 2002-01-21 Kazu Hirata <kazu@hxi.com>
8369 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
8371 Remove redundant code.
8373 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
8375 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
8376 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8377 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
8378 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
8379 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
8380 out target macro definitions and non-target-specific comments
8381 mostly taken from old versions of the manual.
8383 2002-01-20 Kazu Hirata <kazu@hxi.com>
8385 * config/h8300/h8300.h: Fix comment formatting.
8386 * config/ia64/aix.h: Likewise.
8387 * config/ia64/ia64-protos.h: Likewise.
8388 * config/ia64/ia64.c: Likewise.
8389 * config/ia64/ia64.h: Likewise.
8390 * config/ia64/ia64intrin.h: Likewise.
8391 * config/ia64/linux.h: Likewise.
8392 * config/ia64/unwind-aix.c: Likewise.
8393 * config/ia64/unwind-ia64.c: Likewise.
8395 2002-01-20 Kazu Hirata <kazu@hxi.com>
8397 * config/h8300/h8300.c: Revise comments about shift code.
8399 2002-01-20 Kazu Hirata <kazu@hxi.com>
8401 * config/h8300/h8300.c (function_arg): Update a comment.
8403 2002-01-20 Kazu Hirata <kazu@hxi.com>
8405 * config/h8300/h8300.md: Update the comments at the beginning
8408 2002-01-20 Kazu Hirata <kazu@hxi.com>
8410 * config/i370/i370.c: Fix comment formatting.
8411 * config/i370/i370.h: Likewise.
8412 * config/i370/i370.md: Likewise.
8413 * config/i370/linux.h: Likewise.
8415 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8417 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
8419 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
8420 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
8423 2002-01-20 Graham Stott <grahams@redhat.com>
8425 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
8427 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
8429 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
8431 2002-01-19 Tom Rix <trix@redhat.com>
8433 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
8435 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
8437 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
8439 * function.c (assign_stack_local_1): Adjust x_frame_offset with
8440 STARTING_FRAME_PHASE.
8441 (STARTING_FRAME_PHASE): New.
8442 (instantiate_virtual_regs): Check saneness of
8443 STARTING_FRAME_PHASE.
8445 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
8447 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
8449 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
8451 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
8453 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
8454 be used for bootstrapping GCC 3.0.
8456 2002-01-18 Kazu Hirata <kazu@hxi.com>
8458 * config/h8300/h8300.md: Fix an insn length.
8460 2002-01-18 Kazu Hirata <kazu@hxi.com>
8462 * bitmap.h: Fix comment formatting.
8463 * combine.c: Likewise.
8464 * cppfiles.c: Likewise.
8465 * c-pragma.h: Likewise.
8466 * c-typeck.c: Likewise.
8468 * dwarf2out.c: Likewise.
8469 * function.c: Likewise.
8471 * genattrtab.c: Likewise.
8472 * gthr-win32.h: Likewise.
8473 * haifa-sched.c: Likewise.
8474 * predict.c: Likewise.
8475 * rtlanal.c: Likewise.
8477 * unwind-dw2-fde.h: Likewise.
8478 * unwind-pe.h: Likewise.
8479 * vmsdbgout.c: Likewise.
8481 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8483 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
8484 if type_required and passed decl.
8486 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
8488 * config.gcc (cpu_type): Include altivec.h in powerpc
8492 * config/rs6000/altivec.h: New.
8494 2002-01-17 David Edelsohn <edelsohn@gnu.org>
8496 * doc/install.texi (*-ibm-aix*): Update assembler and exception
8497 handling information.
8498 * doc/trouble.texi (Interoperation): Add libstdc++ information
8500 (Misunderstandings): Add template instantiation and static template
8501 member information for AIX.
8503 2002-01-17 Jason Merrill <jason@redhat.com>
8505 * dbxout.c (dbxout_type): Support const and volatile.
8507 * except.c (add_partial_entry): Remove backwards compatibility code.
8508 (end_protect_partials): Likewise.
8510 2002-01-17 Jakub Jelinek <jakub@redhat.com>
8512 * config/ia64/ia64.md (prologue_use): New.
8513 * config/ia64/ia64.c (ia64_expand_prologue): Use
8514 gen_prologue_use instead of gen_rtx_USE.
8515 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
8516 as CODE_FOR_pred_rel_mutex.
8517 (ia64_sched_reorder2): Likewise.
8519 2002-01-16 Eric Christopher <echristo@redhat.com>
8521 * config/mips/r3900.h: Reformat.
8522 (SUBTARGET_CPP_SIZE_SPEC): Remove.
8523 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8524 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
8525 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
8526 * config/mips/t-elf: Remove mips3 multilib.
8528 2002-01-16 H.J. Lu <hjl@gnu.org>
8530 * config/mips/linux.h: Include "mips/abi64.h".
8532 2002-01-16 H.J. Lu <hjl@gnu.org>
8534 * config/mips/t-linux: New.
8536 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
8538 * config/mips/linux.h: Don't include "gofast.h".
8539 (INIT_SUBTARGET_OPTABS): Removed.
8541 2002-01-16 Kazu Hirata <kazu@hxi.com>
8543 * config/h8300/h8300-protos.h: Replace emit_a_shift with
8545 * config/h8300/h8300.c: Likewise.
8546 * config/h8300/h8300.md: Likewise.
8548 2002-01-16 Kazu Hirata <kazu@hxi.com>
8550 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
8551 spaces after an opcode name.
8552 (pushqi1_h8300hs): Likewise.
8553 (pushhi1_h8300hs): Likewise.
8555 2002-01-16 Kazu Hirata <kazu@hxi.com>
8557 * doc/extend.texi: Replace "option" with "attribute"
8560 2002-01-16 Jakub Jelinek <jakub@redhat.com>
8562 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
8563 (and:DI () (const_int -8)).
8564 (split_small_symbolic_mem_operand): Split
8565 (mem (and:DI () (const_int -8)).
8567 2002-01-16 Jakub Jelinek <jakub@redhat.com>
8570 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
8571 same way as TYPE_IMUL.
8572 (ultrasparc_sched_reorder): Likewise.
8573 * config/sparc/sparc.md (type): Add comment to update
8574 ultrasparc_sched_reorder when making changes.
8576 2002-01-16 Kazu Hirata <kazu@hxi.com>
8578 * doc/invoke.texi: Change the dump file name of block
8579 reordering pass from 28.bbro to 29.bbro.
8582 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
8584 * i386.md (minsf splitter): Fix pasto.
8586 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
8588 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
8589 to frame pointer initialisation instruction.
8590 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
8591 initialisation instruction.
8592 (soft_df_operand): Do not accept the IP register.
8593 (nonimmediate_soft_df_operand): Do not accept the IP register.
8595 2002-01-16 Jakub Jelinek <jakub@redhat.com>
8598 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
8599 MASK_V8 being both set.
8601 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
8603 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
8604 insn for GOT register; add REG_MAYBE_DEAD notes instead.
8605 config/s390/s390.md (call, call_value): Add GOT register to
8606 CALL_INSN_FUNCTION_USAGE where needed.
8607 (call_exp, call_value_exp): New.
8609 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
8611 * config/arm/arm.c: General formatting tidy up.
8613 2002-01-16 Graham Stott <grahams@redhat.com>
8615 * calls.c (try_to_integrate): Use "(size_t)" intermediate
8616 cast and when casting an integer literal to "rtx" pointer.
8617 (expand_call): Likewise.
8618 * flow.c (try_pre_increment): Likewise.
8619 (find_use_as_address): Likewise.
8620 * integrate.c (expand_iline_function): Likewise.
8621 * regmove.c (try_auto_increment): Likewise.
8623 2002-01-16 Graham Stott <grahams@redhat.com>
8625 * sched-rgn.c (passed): Use sbitmap_free.
8628 (in_queue): Likewise.
8629 (in_stack): Likewise.
8631 2002-01-15 Eric Christopher <echristo@redhat.com>
8633 * flow.c (propagate_one_insn): Change to use fatal_insn.
8635 2002-01-15 Kazu Hirata <kazu@hxi.com>
8637 * expmed.c (extract_fixed_bit_field): Remove unused code.
8638 * system.h: Poison SLOW_ZERO_EXTEND.
8639 * doc/tm.texi: Remove.
8640 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
8641 * config/arm/arm.h: Likewise.
8642 * config/avr/avr.h: Likewise.
8643 * config/clipper/clipper.h: Likewise.
8644 * config/convex/convex.h: Likewise.
8645 * config/d30v/d30v.h: Likewise.
8646 * config/dsp16xx/dsp16xx.h: Likewise.
8647 * config/elxsi/elxsi.h: Likewise.
8648 * config/fr30/fr30.h: Likewise.
8649 * config/h8300/h8300.h: Likewise.
8650 * config/i370/i370.h: Likewise.
8651 * config/i386/i386.h: Likewise.
8652 * config/m68k/m68k.h: Likewise.
8653 * config/mips/mips.h: Likewise.
8654 * config/ns32k/ns32k.h: Likewise.
8655 * config/pdp11/pdp11.h: Likewise.
8656 * config/pj/pj.h: Likewise.
8657 * config/s390/s390.h: Likewise.
8658 * config/sh/sh.h: Likewise.
8659 * config/stormy16/stormy16.h: Likewise.
8660 * config/v850/v850.h: Likewise.
8661 * config/vax/vax.h: Likewise.
8662 * config/we32k/we32k.h: Likewise.
8664 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
8666 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
8667 (altivec_lvsl): Change constraint to b.
8668 (altivec_lvsr): Same.
8669 (altivec_lvebx): Same.
8670 (altivec_lvehx): Same.
8671 (altivec_lvewx): Same.
8672 (altivec_lvxl): Same.
8673 (altivec_lvx): Same.
8674 (altivec_stvx): Add parallel.
8675 (altivec_stvxl): Same.
8676 (altivec_stvehx): Same.
8677 (altivec_stvebx): Same.
8678 (altivec_stvebx): Same.
8680 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
8682 * config.gcc: Change altivec.h to altivec-defs.h.
8684 * config/rs6000/altivec.h: Delete.
8686 * config/rs6000/altivec-defs.h: Add.
8688 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
8690 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
8693 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
8694 less than or equal to eight bytes.
8696 * vax.md (andsi3): Remove constraints and change SET destination
8697 operand type to nonimmediate_operand.
8698 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
8699 when it is a CONST_INT.
8701 2002-01-15 Jason Merrill <jason@redhat.com>
8703 * c-common.def (FILE_STMT): New code.
8704 * c-common.c (statement_code_p): It's a statement.
8705 * c-common.h (stmt_tree_s): Add x_last_filename.
8706 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
8707 (last_expr_filename): New macro.
8708 * c-semantics.c (begin_stmt_tree): Initialize it.
8709 (add_stmt): If the filename changed, also insert a
8711 (expand_stmt): Handle seeing one.
8713 2002-01-15 Eric Christopher <echristo@redhat.com>
8715 * flow.c (propagate_one_insn): Add error message and print out
8718 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
8720 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
8721 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
8722 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
8723 TRAMPOLINE_ALIGNMENT.
8724 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
8726 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
8727 PCC_BITFIELD_TYPE_MATTERS.
8728 * config/interix.h (STDC_VALUE): Remove. Use
8729 STDC_0_IN_SYSTEM_HEADERS.
8730 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
8731 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
8732 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
8734 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
8736 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
8737 not work on this platform currently.
8739 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
8741 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
8742 readonly_warning in _().
8744 2002-01-15 Douglas B Rupp <rupp@gnat.com>
8746 * gcc.c (delete_if_ordinary): Backout previous change.
8748 2002-01-15 Kazu Hirata <kazu@hxi.com>
8750 * config/h8300/h8300.c (print_operand): Remove support for
8751 unused operand characters.
8753 * read-rtl.c: Fix formatting.
8755 * recog.c: Likewise.
8756 * regclass.c: Likewise.
8757 * regmove.c: Likewise.
8758 * reg-stack.c: Likewise.
8759 * reload1.c: Likewise.
8760 * rtlanal.c: Likewise.
8762 2002-01-15 Kazu Hirata <kazu@hxi.com>
8764 * config/i386/i386.c: Fix formatting.
8766 2002-01-15 Jakub Jelinek <jakub@redhat.com>
8768 * c-typeck.c (process_init_element): Don't save_expr
8769 COMPOUND_LITERAL_EXPR if just its initializer will be used.
8771 2002-01-15 David Edelsohn <edelsohn@gnu.org>
8773 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
8774 emit optional traceback table if optimize_size or TARGET_ELF.
8775 * config/rs6000/rs6000.md (prefetch): New.
8777 2002-01-15 Andreas Jaeger <aj@suse.de>
8779 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
8781 2002-01-15 Kazu Hirata <kazu@hxi.com>
8783 * mips-tfile.c: Fix formatting.
8785 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
8787 * unroll.c (final_reg_note_copy): Fix previous commit.
8789 2002-01-14 Kazu Hirata <kazu@hxi.com>
8791 * config/h8300/h8300-protos.h: Remove the prototype for
8793 * config/h8300/h8300.c (eq_operator): Remove.
8795 2002-01-14 Richard Henderson <rth@redhat.com>
8797 * config/i386/i386.md (prefetch): Tidy.
8798 (prefetch_3dnow): Fix locality operand.
8800 2002-01-14 Richard Henderson <rth@redhat.com>
8802 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
8803 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
8805 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
8807 * reload1.c (reload_combine): Pass reg_sum replacement through
8808 copy_rtx in loop performing multiple changes.
8810 2002-01-14 Jakub Jelinek <jakub@redhat.com>
8812 * except.c (remove_unreachable_regions): New.
8813 (free_eh_status): Clear exception_handler_labels.
8814 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
8815 (find_exception_handler_labels): Don't add the same label more than
8817 (remove_exception_handler_label): Don't die if
8818 find_exception_handler_labels hasn't been called for the current
8821 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
8823 * toplev.c (rest_of_compilation): Rebuild jump labels after
8826 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
8828 * doc/extend.texi: Move documentation of X86 built-in functions
8830 * doc/invoke.texi: From here.
8831 * doc/sourcebuild.texi: Document location of documentation for
8832 machine built-in functions.
8834 2002-01-13 Christopher Faylor <cgf@redhat.com>
8836 * cppfiles.c (TEST_THRESHOLD): New macro.
8837 (SHOULD_MMAP): Ditto.
8838 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
8841 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
8843 * unroll.c (final_reg_note_copy): Properly handle
8845 (unroll_loops): Fix LOOP_CONDITION heuristics.
8847 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
8849 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
8850 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
8852 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
8854 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
8857 2002-01-14 Tom Rix <trix@redhat.com>
8859 * config/rs6000/rs6000.md: Fix typo with sradi.
8861 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
8863 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
8864 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
8865 (clrstrdi, clrstrsi): Adapt callers.
8867 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
8869 (movti splitter): Never use register 0 as base register.
8871 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
8873 * combine.c (simplify_shift_const): Always generate new rtx
8874 for shift expression instead of reusing given expression.
8876 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8878 * config/alpha/alpha.c (alpha_expand_mov): Don't call
8879 alpha_legitimize_address unless mode is Pmode.
8881 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
8883 * doc/md.texi (Modifiers): Document the '*' constraint for the
8886 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
8887 * doc/extend.texi (Function Attributes): 'interrupt' is valid
8890 2002-01-13 Richard Henderson <rth@redhat.com>
8892 * reload.c (find_reloads): Use a hard reg destination as reload reg
8893 for an input reload of the source.
8895 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8897 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
8900 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
8902 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
8903 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
8905 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
8907 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8909 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
8911 2002-01-12 Tom Rix <trix@redhat.com>
8913 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
8916 2002-01-12 Richard Henderson <rth@redhat.com>
8918 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
8920 * doc/invoke.texi: Update Alpha options.
8922 * doc/invoke.texi: Update i386 built-in function lists.
8924 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
8926 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
8927 referencing outside.
8929 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8931 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
8932 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
8933 offsets, and change line folding.
8934 * optabs.c (expand_binop): Remove warnings.
8935 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8937 2002-01-12 Graham Stott <grahams@redhat.com>
8939 * attribs.c (handle_deprecated_attribute): constify WHAT.
8940 * diagnostic.c (warn_deprecated_use): Add braces, fixes
8941 dangling else warning and constify WHAT.
8942 * except.h (struct function, struct inline_remap): Move
8943 struct tag forward defs before all prototypes.
8944 (duplicate_eh_regions): Whitespace.
8946 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
8948 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
8949 MODE_BASE_REG_CLASS.
8950 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
8952 2002-01-12 Richard Henderson <rth@redhat.com>
8954 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
8955 (ix86_expand_vector_move): New.
8956 (bdesc_2arg): Remove andps, andnps, orps, xorps.
8957 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
8958 Remove old prefetch builtins. Special case the logicals removed above.
8959 (ix86_expand_builtin): Likewise.
8960 (safe_vector_operand): Use V4SFmode, not TImode.
8961 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
8962 (ix86_expand_timode_binop_builtin): New.
8963 * config/i386/i386-protos.h: Update.
8964 * config/i386/i386.h (enum ix86_builtins): Update.
8965 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
8966 Use ix86_expand_vector_move in vector move expanders.
8967 (movti_internal, movti_rex64): Add xorps alternative.
8968 (sse_clrv4sf): Rename and adjust from sse_clrti.
8969 (prefetch): Don't work so hard.
8970 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
8971 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
8972 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
8974 2002-01-11 Richard Henderson <rth@redhat.com>
8976 * config/i386/mmintrin.h: New file.
8977 * config/i386/xmmintrin.h: New file.
8978 * config.gcc (i?86-*-*): Add extra_headers.
8979 * simplify-rtx.c (simplify_unary_operation): Handle saturating
8981 (simplify_binary_operation): Handle saturating arithmetic codes.
8982 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
8983 not the lowpart subreg.
8984 (ix86_expand_builtin): Return a TImode dummy register instead of 0
8986 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
8988 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8990 * conflict.c (conflict_graph_compute): Free regsets when finished.
8991 * ssa.c (compute_coalesced_reg_partition): Likewise.
8993 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8995 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
8996 every where we allocate a register.
8998 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9000 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
9001 * lcm.c (compute_earliest, compute_farthest): Likewise.
9003 2002-01-11 Janis Johnson <janis187@us.ibm.com>
9005 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
9007 2002-01-11 Janis Johnson <janis187@us.ibm.com>
9009 * doc/rtl.texi (Insns): Fix 2 typos.
9011 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
9013 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
9014 options. Use @table @gcctabopt for MMIX options. Add index
9015 entries for MMIX options. Start new paragraph with first
9016 heading of the machine-dependent options.
9018 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
9021 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
9022 * combine.c (force_to_mode): Same.
9023 * reload1.c (clear_reload_reg_in_use): Same.
9025 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
9027 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
9030 2002-01-11 Andreas Jaeger <aj@suse.de>,
9031 Brad Lucier <lucier@math.purdue.edu>
9033 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
9036 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
9038 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
9039 Protect with IN_LIBGCC.
9040 (LINK_EH_SPEC): Add required trailing space.
9042 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
9044 * c-tree.h: Move function declarations so that they are listed
9045 under the filename which contains them.
9046 (check_identifier, finish_decl_top_level,
9047 lookup_name_current_level_global, shadow_record_fields): Remove.
9049 2002-01-11 Andreas Jaeger <aj@suse.de>
9051 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
9054 2002-01-10 Richard Henderson <rth@redhat.com>
9056 * config/alpha/alpha.c (print_operand): Add 'J'.
9057 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
9058 new operand with the sequence number for the lituse. When splitting
9059 the insns, use gen_movdi_er_high_g and generate a sequence number.
9060 (gen_movdi_er_high_g): Print the sequence number if non-zero.
9062 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
9064 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
9065 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
9067 (altivec_expand_builtin): Same.
9068 (altivec_expand_stv_builtin): New.
9070 * config/rs6000/rs6000.h (rs6000_builtins): Same.
9072 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
9073 ("altivec_lvehx"): New.
9074 ("altivec_lvewx"): New.
9075 ("altivec_lvxl"): New.
9076 ("altivec_lvx"): New.
9077 ("altivec_stvx"): New.
9078 ("altivec_stvebx"): New.
9079 ("altivec_stvehx"): New.
9080 ("altivec_stvewx"): New.
9081 ("altivec_stvxl"): New.
9083 2002-01-10 Richard Henderson <rth@redhat.com>
9085 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
9086 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
9087 care not to delete instructions twice.
9089 2002-01-10 Zack Weinberg <zack@codesourcery.com>
9091 * toplev.c: Don't declare environ (it's not used anywhere).
9092 * configure.in: Don't check for declaration of environ.
9093 * config/i386/xm-mingw32.h: Don't #define environ.
9094 * config.in, configure: Regenerate.
9096 2002-01-10 Zack Weinberg <zack@codesourcery.com>
9098 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
9099 * configure: Regenerate.
9101 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
9102 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
9103 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
9105 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
9106 LIMITS_H_TEST here, not in m68k/x-next.
9107 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
9108 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
9110 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
9111 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
9112 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
9114 * config/i386/x-djgpp: Renamed i386/t-djgpp.
9115 * config/m88k/x-dolph: Renamed m88k/t-dolph.
9116 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
9117 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
9118 replacement of quadlib.asm with quadlib.c.
9120 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
9121 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
9122 config/rs6000/xm-beos.h: Delete file.
9124 * config.gcc: Update to match above changes.
9126 2002-01-10 Kazu Hirata <kazu@hxi.com>
9128 * config/h8300/h8300.h: Fix comment typos.
9129 * config/h8300/h8300.md: Likewise.
9130 * config/h8300/lib1funcs.asm: Likewise.
9132 2002-01-10 Dale Johannesen <dalej@apple.com>
9134 PR optimization/5269
9135 * unroll.c (precondition_loop_p): Make *increment be the correct
9136 sign when n_iterations known, to avoid confusing caller.
9138 2002-01-10 Kazu Hirata <kazu@hxi.com>
9140 * doc/extend.texi (deprecated): Fix a typo.
9142 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
9144 * basic-block.h (update_br_prob_note): Declare.
9145 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
9146 (try_forward_edges): Care negative frequencies and update note.
9147 (outgoing_edges_match): Tweek conditional merging heuristics.
9148 (try_crossjump_to_edge): use update_br_prob_note.
9149 * cfglayout.c (fixup_reorder_chain): Likewise.
9150 * cfrtl.c (update_br_prob_note): New.
9151 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
9153 * i386.c (ix86_decompose_address): Return -1 if address contains
9155 (legitimate_address_p): Require ix86_decompose_address to return 1.
9157 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
9158 (cprop_insn): Likewise.
9160 2002-01-10 Kazu Hirata <kazu@hxi.com>
9162 * toplev.c: Fix formatting.
9164 * tree-dump.c: Likewise.
9165 * unroll.c: Likewise.
9166 * unwind-dw2.c: Likewise.
9167 * unwind-dw2-fde.c: Likewise.
9168 * unwind-dw2-fde-glibc.c: Likewise.
9169 * unwind-sjlj.c: Likewise.
9171 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
9173 * doc/invoke.texi: Document PDP-11 options.
9175 2002-01-10 Kazu Hirata <kazu@hxi.com>
9177 * config/h8300/h8300.h: Fix formatting.
9179 2002-01-10 Ira Ruben <ira@apple.com>
9181 Add __attribute__ ((deprecated)).
9182 * extend.texi: Document __attribute__ ((deprecated)).
9183 * invoke.texi: Document -Wno-deprecated-declarations.
9184 * testsuite/g++.dg/other/deprecated.C: New C++ test.
9185 * testsuite/gcc.dg/deprecated.c: New C test.
9186 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
9187 (c_common_attribute_table): Add "deprecated" entry.
9188 (handle_deprecated_attribute): New function.
9189 * c-decl.c (deprecated_states): New enum.
9190 deprecated_state: State of "deprecated" handling.
9191 (start_decl): Set deprecated_state based on attributes.
9192 (grokdeclarator): Test for deprecated uses, propagate attribute.
9193 * c-typeck.c (build_component_ref): Test for deprecated fields.
9194 (build_external_ref): Test for deprecated primaries.
9195 * diagnostic.c (warn_deprecated_use) New function to issue
9196 warnings about __attribute__ ((depricated)) references.
9197 * flags.h (warn_deprecated_decl): Extern declared for
9198 -W[no-]deprecated-declarations option.
9199 * print-tree.c (print_node): Show deprecated flag status.
9200 * toplev.c (warn_deprecated_decl): Defined.
9201 (W_options): Added "deprecated-declaration".
9202 * toplev.h (warn_deprecated_use): Extern declared.
9203 * tree.h (struct tree_common): Define deprecated_flag.
9204 (TREE_DEPRECATED): New macro to access flag.
9205 * cp/call.c (build_call): Test for deprecated calls.
9206 * cp/class.c (add_implicitly_declared_members): Set global
9207 flag to tell grokdeclarator to not issue deprecated warnings.
9208 * cp/cp-tree.h: Add extern for adding_implicit_members.
9209 * cp/decl.c (deprecated_states): New enum.
9210 (start_decl): Set deprecated_state based on attributes.
9211 (grokdeclarator): Test for deprecated uses, propagate attribute.
9212 * cp/lex.c (do_identifier): Test for deprecated primaries.
9213 * cp/typeck.c (build_component_ref): Test for deprecated fields.
9215 2002-01-10 Ira Ruben <ira@apple.com>
9217 Fix to assign attributes to inline member functions.
9218 * cp/decl.c (start_method): Handle attrlist.
9220 2002-01-10 Kazu Hirata <kazu@hxi.com>
9222 * combine.c (expand_field_assignment): Use subreg_lsb().
9224 2002-01-10 David Edelsohn <edelsohn@gnu.org>
9226 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
9227 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
9228 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
9229 Recurse for any operand of AND as long as constant is non-zero.
9231 2002-01-10 Kazu Hirata <kazu@hxi.com>
9233 * config/h8300/h8300.md: Remove constraints from expanders.
9235 2002-01-10 Kazu Hirata <kazu@hxi.com>
9237 * varasm.c: Fix formatting.
9238 * varray.c: Likewise.
9239 * vmsdbgout.c: Likewise.
9240 * xcoffout.c: Likewise.
9242 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
9244 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
9245 update edge probabilities to match.
9247 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
9249 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
9251 * doc/languages.texi, doc/sourcebuild.texi: New files.
9252 * doc/configfiles.texi: Make a subsubsection. Update.
9253 * doc/configterms.texi: Add @node. Remove warning that this isn't
9254 instructions for building GCC.
9255 * doc/makefile.texi: Make a subsection.
9256 * doc/gccint.texi: Update.
9258 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
9260 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
9262 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
9264 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
9266 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
9268 * optabs.c (expand_fix): Look for wider integer modes first.
9270 * i386.md (mov?f): Avoid the fake const double trick for medium
9272 (min?f*/max?f*): Prohibit memory operands for i387 variant.
9273 (fop_df_4): Disable for SSE compilation.
9275 2002-01-10 Graham Stott <grahams@redhat.com>
9277 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
9278 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
9280 2002-01-10 Richard Henderson <rth@redhat.com>
9282 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
9284 2002-01-10 Richard Henderson <rth@redhat.com>
9286 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
9287 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
9289 2002-01-10 Kazu Hirata <kazu@hxi.com>
9291 * combine.c (can_combine_p): Fix a comment typo.
9293 2002-01-09 Zack Weinberg <zack@codesourcery.com>
9295 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
9296 empty list correctly. Change loop index $t to $f for
9297 consistency with rest of Makefile.
9299 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
9301 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
9302 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
9304 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
9305 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
9306 (altivec_init_builtins): Same.
9307 (altivec_expand_unop_builtin): Return NULL_RTX on error.
9308 (altivec_expand_binop_builtin): Same.
9309 (altivec_expand_ternop_builtin): Same.
9312 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
9313 ("altivec_vctuxs"): Fix typo.
9314 ("altivec_vnmsubfp"): Same.
9315 ("altivec_dssall"): New.
9316 ("altivec_mfvscr"): New.
9317 ("altivec_dss"): New.
9318 ("altivec_lvsl"): New.
9319 ("altivec_lvsr"): New.
9320 ("altivec_dstt"): New.
9321 ("altivec_dstst"): New.
9322 ("altivec_dststt"): New.
9323 ("altivec_dst"): New.
9325 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
9326 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
9328 2002-01-09 Richard Henderson <rth@redhat.com>
9330 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
9332 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
9334 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
9336 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
9338 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
9340 2002-01-09 Kazu Hirata <kazu@hxi.com>
9342 * read-rtl.c: Fix formatting.
9344 * regclass.c: Likewise.
9345 * regrename.c: Likewise.
9346 * reg-stack.c: Likewise.
9347 * reload1.c: Likewise.
9348 * reload.c: Likewise.
9351 2002-01-09 Kazu Hirata <kazu@hxi.com>
9353 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
9354 to extract items in the expr_list chain.
9356 2002-01-09 Richard Henderson <rth@redhat.com>
9358 * config/vax/vax.c (vax_rtx_cost): Never abort.
9360 * config/vax/vax.h (REAL_ARITHMETIC): Define.
9362 2002-01-09 Jan Hubicka <jh@suse.cz>
9364 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
9366 2002-01-09 Richard Henderson <rth@redhat.com>
9368 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
9369 Unify code from various alternatives.
9371 2002-01-09 Richard Henderson <rth@redhat.com>
9373 * regrename.c (copy_value): Ignore the copy if the source register
9374 is present in the value chain with a narrower mode.
9376 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9378 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
9379 for the c4x target. Also improve layout.
9381 2002-01-09 Richard Henderson <rth@redhat.com>
9383 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
9384 * config/m32r/m32r.md (and ior xor splitters): Swap operands
9385 to match insn patterns.
9387 2002-01-09 Richard Henderson <rth@redhat.com>
9389 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
9390 (copyprop_hardreg_forward_1): Likewise.
9392 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
9394 * pa.md (decrement_and_branch_until_zero): Change predicate for
9395 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
9397 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9399 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
9400 gets undefined. For Darwin.
9402 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9404 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
9406 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9408 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
9410 2002-01-08 Richard Henderson <rth@redhat.com>
9412 * regrename.c (copy_value): Ignore overlapping copies.
9414 2002-01-08 Richard Henderson <rth@redhat.com>
9416 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
9417 as needed to avoid shared structure.
9419 2002-01-08 Kazu Hirata <kazu@hxi.com>
9421 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
9424 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9426 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
9427 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
9428 documentation of obsolete macros.
9429 * system.h: Poison these macros.
9430 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
9431 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
9432 config/c4x/c4x.h, config/clipper/clipper.h,
9433 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
9434 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
9435 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
9436 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
9437 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
9438 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
9439 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
9440 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
9441 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
9442 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
9443 config/sparc/sparc.h, config/stormy16/stormy16.h,
9444 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
9445 definitions and commented out definitions of obsolete macros.
9446 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
9447 of MAX_INT_TYPE_SIZE.
9449 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
9451 * config/s390/s390.c (s390_preferred_reload_class): Never
9452 return ADDR_REGS if it isn't a subset of the given class.
9453 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
9454 FP_REGS, but all superclasses as well.
9456 * config/s390/s390.c (s390_function_profiler): Fix thinko.
9458 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
9459 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
9460 must not be a const_int.
9462 2002-01-08 Richard Henderson <rth@redhat.com>
9464 * Makefile.in (toplev.o): Depend on options.h.
9465 (gcc.o): Depend on specs.h.
9467 2002-01-08 Jakub Jelinek <jakub@redhat.com>
9469 * expr.c (store_expr): Convert VOIDmode constants back to target's
9472 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9474 * doc/invoke.texi: Markup gcc as @command. Refer to
9475 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
9476 of http://gcc.gnu.org/thanks.html.
9478 2002-01-08 Dale Johannesen <dalej@apple.com>
9480 * config/rs6000/rs6000.md: Add missing int register
9481 target case to movdf_low.
9483 2002-01-08 Zack Weinberg <zack@codesourcery.com>
9485 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
9486 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
9487 (cppinit.o): Depend on except.h.
9488 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
9489 s-specs): New rules.
9491 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
9492 Don't create specs.h/options.h/gencheck.h here. Remove
9493 unnecessary variable settings from last argument of AC_OUTPUT.
9494 * config.in, configure: Regenerate.
9495 * intl.c: Hardcode package name as "gcc".
9497 * cppinit.c: Include except.h.
9498 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
9500 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
9501 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
9502 (!)USING_SJLJ_EXCEPTIONS.
9503 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
9505 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9507 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
9508 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
9509 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
9510 documentation of obsolete macros.
9511 * system.h: Poison these macros.
9512 * config/d30v/d30v.h, config/ns32k/encore.h,
9513 config/stormy16/stormy16.h: Remove definitions and commented out
9514 definitions of obsolete macros.
9516 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
9518 * objc/objc-act.c (handle_class_ref): Mark the declaration of
9519 %sobjc_class_ref_%s as used - to prevent unwanted compiler
9522 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
9524 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
9525 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
9526 to insn adjusting stack/frame pointer.
9527 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
9528 accept operands that cause the insn to be non-splittable.
9530 2002-01-08 Graham Stott <grahams@redhat.com>
9532 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
9533 (C_TYPE_FIELDS_VOLATILE): Likewise.
9534 (C_TYPE_BEING_DEFINED): Likewise.
9535 (C_IS_RESERVED_WORD): Likewise.
9536 (C_TYPE_VARIABLE_SIZE): Likewise.
9537 (C_DECL_VARIABLE_SIZE): Likewise.
9538 (C_MISSING_PROTOTYPE_WARNED): Likewise.
9539 (C_SET_EXP_ORIGINAL_CODE): Likewise.
9540 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
9542 (C_DECL_ANTICIPATED): Likewise.
9543 (c_build_type_variant): Add parenthesis.
9545 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9547 * gcc.c (option_map): Remove --version.
9548 (process_command): Handle -fversion following the GNU Coding
9549 Standards. Partially addresses PR other/704.
9551 2002-01-08 Graham Stott <grahams@redhat.com>
9553 * combine.c (combine_instructions): Fix typo.
9555 2002-01-08 Graham Stott <grahams@redhat.com>
9557 * debug.h: Use "tree" and "rtx" throughout.
9559 * debug.c: Likewise.
9561 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
9563 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
9564 constant pool, use the pool's version of the symbol instead.
9566 2002-01-07 Richard Henderson <rth@redhat.com>
9568 * regrename.c (find_oldest_value_reg): Ignore the value chain if
9569 the original register was copied in a mode with a fewer number of
9570 hard registers than the desired mode.
9571 (copyprop_hardreg_forward_1): Likewise.
9572 (debug_value_data): Fix loop test.
9573 * toplev.c (parse_options_and_default_flags): Reenable
9574 -fcprop-registers at -O1.
9576 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
9578 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
9579 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
9581 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
9584 * config/rs6000/rs6000.md: Add altivec predicate patterns.
9586 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
9588 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
9589 (pa_output_function_prologue): Output local label at the beginning of
9590 the prologue when profiling.
9591 (hppa_profile_hook): Use the local label rather than the function label.
9592 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
9594 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
9596 * config/rs6000/rs6000.c (print_operand): Remove extra space.
9597 (altivec_expand_unop_builtin): Fix thinko.
9598 (altivec_expand_binop_builtin): Same.
9599 (altivec_expand_ternop_builtin): Same.
9600 (altivec_expand_builtin): Same.
9602 2002-01-07 Richard Henderson <rth@redhat.com>
9604 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
9606 2002-01-07 Jason Merrill <jason@redhat.com>
9608 * unwind-dw2.c (execute_cfa_program): Use < again.
9610 2002-01-07 Jakub Jelinek <jakub@redhat.com>
9612 * predict.c (combine_predictions_for_insn): Avoid division by zero.
9614 2002-01-07 Jakub Jelinek <jakub@redhat.com>
9616 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
9617 Don't allow -1 - x -> ~x simplifications in the first pass.
9619 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
9621 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
9623 (altivec_expand_binop_builtin): Same.
9624 (altivec_expand_unop_builtin): Same.
9625 (print_operand): Fix typo.
9626 (bdesc_1arg): Add vupk* variants.
9628 * rs6000.h (rs6000_builtins): Add vupk* enums.
9630 * rs6000.md: Add altivec_vupk* variants.
9632 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
9634 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
9635 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
9636 and last update dates.
9638 2002-01-07 Janis Johnson <janis187@us.ibm.com>
9640 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
9642 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
9644 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
9645 * config/avr/avr.h (CPP_SPEC): Likewise.
9646 (LINK_SPEC): Likewise.
9647 (CRT_BINUTILS_SPECS): Likewise.
9648 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
9649 * doc/invoke.texi (AVR Options): Document them.
9651 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
9653 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
9656 2002-01-07 Graham Stott <grahams@redhat.com>
9658 * config/i386/i386.h: Update copyright date.
9659 (HALF_PIC_PTR): Add parenthesis.
9660 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
9661 (CONSTANT_ALIGNMENT): Add parenthesis.
9662 (DATA_ALIGNMENT): Likewise.
9663 (LOCAL_ALIGNMENT): Likewise.
9664 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
9665 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
9666 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
9667 (HARD_REGNO_NREGS): Add paranethesis.
9668 (VALID_SSE_REG_MODE): Whitespace.
9669 (VALID_MMX_REG_MODE): Whitespace.
9670 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
9671 (ix86_hard_regno_mode_ok): Add parenthesis.
9672 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
9673 (RETURN_IN_MEMORY): Whitespace.
9674 (N_REG_CLASSES): Add parenthesis.
9675 (INTEGER_CLASS_P): Add parenthesis and wrap.
9676 (FLOAT_CLASS_P): Likewise.
9677 (SSE_CLASS_P): Likewise.
9678 (MMX_CLASS_P): Likewise.
9679 (MAYBE_INTEGER_CLASS_P): Likewise.
9680 (MAYBE_FLOAT_CLASS_P): Likewise.
9681 (MAYBE_SSE_CLASS_P): Likewise.
9682 (MAYBE_MMX_CLASS_P): Likewise.
9683 (Q_CLASS_P): Likewise.
9684 (GENERAL_REGNO_P): Uppercase macro parameter.
9685 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
9686 (FP_REGNO_P): Likewise.
9687 (ANY_FP_REGNO_P): Uppercase macro parameter.
9688 (SSE_REGNO_P): Likewise.
9689 (SSE_REGNO): Likewise.
9690 (SSE_REG_P): Likewise.
9691 (SSE_FLOAT_MODE_P): Likewise.
9692 (MMX_REGNO_P): Likewise.
9693 (MMX_REG_P):Likewise.
9694 (STACK_REG_P): Likewise.
9695 (NON_STACK_REG_P): Likewise.
9696 (STACK_TOP_P): Likewise.
9697 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
9698 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
9699 (SECONDARY_MEMORY_NEEDED): Likewise.
9700 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
9701 (MD_ASM_CLOBBERS): Whitespace and wrap.
9702 (MUST_PASS_IN_STACK): Whitespace and wrap.
9703 (RETURN_POPS_ARGS): Add parenthesis.
9704 (INIT_CUMULATIVE_ARGS): Likewise.
9705 (FUNCTION_ARG): Likewise.
9706 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
9707 (SETUP_INCOMING_VARARGS): Likewise.
9708 (BUILD_VA_LIST_TYPE): Add parenthesis.
9709 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
9711 (EXPAND_BUILTIN_VA_ARG): Likewise.
9712 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
9713 (INITIALIZE_TRAMPOLINE): Add parenthesis.
9714 (INITIAL_ELIMINATION_OFFSET): Likewise.
9715 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
9716 (REGNO_OK_FOR_BASE_P): Likewise.
9717 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
9718 (REGNO_OK_FOR_DIREG_P): Likewise.
9719 (REG_OK_FOR_INDEX_P): Whitespace.
9720 (REG_OK_FOR_BASE_P): Whitespace.
9721 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
9723 (FIND_BASE_TERM): Fix typo.
9724 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
9725 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
9726 (SYMBOLIC_CONST; Whitespace.
9727 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
9728 (ENCODE_SECTION_INFO): Whitespace.
9729 (FINALIZE_PIC): Remove do { ... } while (0).
9730 (PROMOTE_MODE): Wrap in do { ... } while (0).
9731 (CONST_COSTS): Whitespace.
9732 (RTX_COSTS): Add paramethesis, whitespace and wrap.
9733 (REGISTER_MOVE_COST): Add parenthesis.
9734 (MEMORY_MOVE_COST): Likewise.
9735 (EXTRA_CC_MODES): Whitespace.
9736 (SELECT_CC_MODE): Add parenthesis and whitespace.
9737 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
9738 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
9739 (ASM_OUTPUT_LABEL): Add paramethesis.
9740 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
9741 (ASM_OUTPUT_REG_POP): Likewise.
9742 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
9743 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9745 * config/i386/i386.c: Update copyright.
9746 (CHECK_STACK_LIMIT): Add parenthesis.
9747 (AT_BP): Uppercase macro parameter.
9748 (x86_64_int_parameter_registers): Constify.
9749 (x86_64_int_return_registers): Likewise.
9750 (ix86_compare_op0): Use rtx.
9751 (construct_container): Constify INTREG parameter.
9752 (function_arg): Use rtx.
9754 * diagnostic.h: Update copyright date.
9755 (output_buffer_state): Add parenthesis.
9756 (output_buffer_format_args): Likewise.
9758 * combine.c (combine_instructions): Replace XEXP (links, 0)
9761 2002-01-06 H.J. Lu <hjl@gnu.org>
9763 * cfgcleanup.c (thread_jump): Fix 2 typos.
9765 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
9767 * config.gcc: Add support for --enable-altivec.
9769 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
9771 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
9773 2002-01-06 Jakub Jelinek <jakub@redhat.com>
9775 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
9776 __objc_class_name_*.
9778 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
9780 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
9782 2002-01-06 Richard Henderson <rth@redhat.com>
9784 * reorg.c (emit_delay_sequence): Remove death notes, not merely
9785 nop them out. Increment label reference count for REG_LABEL.
9786 (fill_slots_from_thread): Frob label reference count around
9787 delete_related_insns.
9789 2002-01-05 Richard Henderson <rth@redhat.com>
9791 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
9794 2002-01-05 Richard Henderson <rth@redhat.com>
9796 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
9797 * integrate.c (output_inline_function): Likewise.
9798 * toplev.c (rest_of_compilation): Do it here instead. Move call
9799 to remove_unnecessary_notes after emitting abstract instance.
9800 Force an emitted nested function to have its parent emited as well.
9801 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
9803 (rtl_for_decl_location): Do not look at reload data structures
9804 before reload has run.
9806 2002-01-05 Kazu Hirata <kazu@hxi.com>
9808 * cse.c: Fix formatting.
9809 * dwarf2asm.c: Likewise.
9810 * dwarf2out.c: Likewise.
9811 * explow.c: Likewise.
9812 * expmed.c: Likewise.
9813 * function.c: Likewise.
9815 * gencheck.c: Likewise.
9816 * genrecog.c: Likewise.
9817 * ggc-common.c: Likewise.
9818 * ggc-page.c: Likewise.
9819 * global.c: Likewise.
9821 2002-01-05 Kazu Hirata <kazu@hxi.com>
9823 * combine.c: Fix formatting.
9825 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
9828 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
9830 2002-01-05 David Edelsohn <edelsohn@gnu.org>
9832 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
9833 as 1 for __powerpc64__ as well.
9835 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
9837 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
9840 2002-01-05 Daniel Berlin <dan@dberlin.org>
9842 * lcm.c: Revert change, due to performance regression it causes on
9843 SPEC because it's slightly more conservative (sigh, I hate
9846 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
9848 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
9850 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
9852 * doc/cppinternals.texi: Update.
9854 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
9856 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
9857 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
9859 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
9860 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
9861 kludge for pre-october-14th mmix versions to handle new-found bug
9862 with PUSHJ/PUSHGO and the register stack.
9863 * config/mmix/mmix.h (struct machine_function): Rename member
9864 has_call_value_without_parameters to has_call_without_parameters.
9865 All referers changed.
9866 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
9867 TARGET_MASK_BRANCH_PREDICT): New macros.
9868 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
9869 -mno-reg-stack-fill-bug-workaround.
9870 * config/mmix/mmix.md ("call"): Set struct machine member
9871 has_call_without_parameters.
9873 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
9875 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
9877 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
9879 * cfgcleanup.c: Include tm_p.h
9880 (mark_effect): Fix handling of hard register; fix handling of SET
9882 2002-01-04 Kazu Hirata <kazu@hxi.com>
9884 * config/h8300/h8300.md (anonymous patterns): Check that
9885 operands are registers before using REGNO on them.
9887 2002-01-03 Roland McGrath <roland@frob.com>
9889 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
9891 2002-01-04 Jakub Jelinek <jakub@redhat.com>
9893 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
9894 * c-common.h (genrtl_expr_stmt_value): Likewise.
9895 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
9896 (expand_expr_stmt_value): Add maybe_last argument.
9897 Don't warn about statement with no effect if it is the last statement
9898 in expression statement.
9899 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
9900 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
9901 expand_expr_stmt_value.
9902 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
9903 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
9904 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
9905 as maybe_last to expand_expr_stmt_value.
9907 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
9909 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
9910 be passed in, do not build it.
9911 (c_begin_if_stmt): New function.
9912 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
9913 * c-common.h (c_expand_start_cond): Update prototype.
9914 (c_begin_if_stmt): Prototype new function.
9915 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
9916 * c-parse.in (if_prefix): Use c_begin_if_stmt,
9917 c_begin_while_stmt and c_finish_while_stmt_cond.
9919 2002-01-04 William Cohen <wcohen@redhat.com>
9921 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
9922 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
9923 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
9924 * config/pa/som.h (ASM_FILE_START): Likewise.
9926 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
9928 * lcm.c: Include df.h.
9929 Add available_transfer_function prototype.
9930 (compute_available): Rework to use iterative dataflow framework.
9931 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
9932 with bb_info in df.h
9933 (available_transfer_function): New function.
9935 * Makefile.in (lcm.o): add df.h to dependencies.
9937 2002-01-04 Richard Henderson <rth@redhat.com>
9939 * config/alpha/alpha.c (some_operand): Accept HIGH.
9940 (input_operand): Likewise; accept simple references to globals.
9941 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
9942 (alpha_const_double_ok_for_letter_p): Likewise.
9943 (alpha_extra_constraint): Likewise.
9944 (alpha_preferred_reload_class): Likewise. Do not force
9945 symbolic constants to memory.
9946 (alpha_legitimate_address_p): Accept simple references
9947 to small_symbolic_operand.
9948 (alpha_legitimize_address): New arg scratch. Be prepared to be
9949 called when no_new_pseudos. Emit simple symbolic references.
9950 Split integers into low, high, and rest.
9951 (alpha_expand_mov): Use alpha_legitimize_address.
9952 (some_small_symbolic_mem_operand): New.
9953 (split_small_symbolic_mem_operand): New.
9954 * config/alpha/alpha-protos.h: Update.
9955 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
9956 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
9957 (EXTRA_CONSTRAINT): Likewise.
9958 (PREFERRED_RELOAD_CLASS): Likewise.
9959 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
9960 (PREDICATE_CODES): Update.
9961 * config/alpha/alpha.md: New post-reload splitters to convert
9962 simplfied symbolic operands to the form that references $29.
9963 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
9964 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
9966 2002-01-03 Richard Henderson <rth@redhat.com>
9968 * local-alloc.c (function_invariant_p): Update commentary.
9970 2002-01-04 H.J. Lu <hjl@gnu.org>
9972 * toplev.c (rest_of_compilation): Fix a typo when calling
9975 2002-01-03 Kazu Hirata <kazu@hxi.com>
9977 * c-common.c: Fix formatting.
9978 * diagnostic.c: Likewise.
9979 * doloop.c: Likewise.
9980 * dwarf2out.c: Likewise.
9982 2002-01-03 Kazu Hirata <kazu@hxi.com>
9984 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
9985 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
9987 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
9989 * cpperror.c: Update comments and copyright.
9990 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
9991 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
9993 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
9995 * collect2.c (main): Use strcmp when testing for "-shared".
9997 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
9999 * cppmacro.c: Don't include intl.h. Update comments.
10000 (new_number_token): Allocate enough buffer for 64-bit unsigned
10001 integers; update prototype.
10002 * cppmain.c: Update comments.
10004 2002-01-03 William Cohen <wcohen@redhat.com>
10006 * function.h (struct function): Add profile.
10007 (current_function_profile): New.
10008 doc/extend.texi: Update documentation.
10009 * final.c (final_start_function): Use current_function_profile
10010 instead of profile_flag.
10011 (profile_after_prologue): Likewise.
10012 * function.c (expand_function_start): Likewise.
10013 (expand_function_start): Likewise.
10014 * config/alpha/alpha.c (direct_call_operand):
10015 (alpha_does_function_need_gp): Likewise.
10016 (alpha_expand_prologue): Likewise.
10017 * config/arm/arm.c (arm_expand_prologue): Likewise.
10018 thumb_expand_prologue: Likewise.
10019 * config/d30v/d30v.c (d30v_stack_info): Likewise.
10020 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
10021 (fr30_expand_prologue): Likewise.
10022 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
10023 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
10024 * config/i386/i386.h (FINALIZE_PIC): Likewise.
10025 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
10026 * config/i960/i960.c (i960_output_function_prologue): Likewise.
10027 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
10028 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
10029 (m32r_expand_prologue): Likewise.
10030 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
10031 (m88k_expand_prologue): Likewise.
10032 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
10033 * config/mips/mips.c (compute_frame_size): Likewise.
10034 (mips_expand_prologue): Likewise.
10035 (mips_can_use_return_insn): Likewise.
10036 * config/pa/elf.h (ASM_FILE_START): Likewise.
10037 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
10038 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
10039 * config/pa/som.h (ASM_FILE_START): Likewise.
10040 * config/romp/romp.c (romp_using_r14): Likewise.
10041 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
10042 (rs6000_stack_info): Likewise.
10043 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
10044 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
10045 * config/v850/v850.c (compute_register_save_size): Likewise.
10047 2002-01-03 Jakub Jelinek <jakub@redhat.com>
10049 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
10050 gen_lowpart_common fails, use gen_lowpart_SUBREG.
10052 2002-01-03 Turly O'Connor <turly@apple.com>
10054 * darwin.c (machopic_output_possible_stub_label): Don't generate
10055 stub routines for pseudo-stubs which we've just defined.
10057 2002-01-03 Kazu Hirata <kazu@hxi.com>
10059 * builtins.c: Fix formatting.
10060 * c-typeck.c: Likewise.
10061 * combine.c: Likewise.
10062 * expr.c: Likewise.
10063 * loop.c: Likewise.
10065 2002-01-03 Andreas Schwab <schwab@suse.de>
10067 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
10068 and return true if _cpp_push_next_buffer pushed a new include
10070 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
10071 _cpp_pop_file_buffer did not push a new file.
10072 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
10074 2002-01-02 Eric Christopher <echristo@redhat.com>
10076 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
10077 FIND_REG_INC_NOTE call. Update copyright.
10078 * loop.c (canonicalize_condition): Ditto.
10079 * reorg.c (delete_scheduled_jump): Ditto.
10081 2002-01-03 Kazu Hirata <kazu@hxi.com>
10083 * gcse.c: Fix formatting.
10085 2002-01-03 Graham Stott <grahams@redhat.com>
10087 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
10088 forward defs for struct tags rtx_def, union_tree, rtvec_def
10089 also output corresponding typedefs for rtx, tree, and rtvec.
10091 * system.h: Move forward defs for struct tags rtx_def, union_tree,
10092 rtvec_def along with corresponding typedefs for rtx, tree, and
10093 rtvec to config.h, hconfig.h, tconfig.h.
10095 2002-01-03 Graham Stott <grahams@redhat.com>
10097 * tree.h: Update copyright date.
10098 (IS_EXPR_CODE_CLASS): Add parenthesis.
10099 (TREE_SET_CODE): Add whitespace.
10100 (TREE_CHECK): Add parenthesis.
10101 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
10102 (CST_OR_CONSTRUCTOR_CHECK):
10103 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
10104 (TREE_SYMBOL_REFERENCED): Whitespace.
10105 (INT_CST_LT): Likewise.
10106 (INT_CST_LT_UNSIGNED): Likewise.
10107 (tree_real_cst): Unwrap comment.
10108 (tree_string): Likewise.
10109 (tree_complex): Likewise.
10110 (IDENTIFIER_POINTER): correct cast.
10111 (SAVE_EXPR_CONTEXT): Whitespace.
10112 (EXPR_WFL_FILENAME_NODE): Likewise.
10113 (EXPR_WFL_FILENAME): Remove parenthesis.
10114 (DECL_ORIGIN): Add parenthesis.
10115 (DECL_FROM_INLINE): Use NULL_TREE.
10116 (build_int_2): Whitespace.
10117 (build_type_variant): Add parenthesis.
10119 * gcc/jcf-parse.c: Update copyright date.
10120 (yyparse): Constify resource_filename.
10122 2002-01-03 Graham Stott <grahams@redhat.com>
10124 * rtl.h: Update copyright date.
10125 (RTL_CHECK1): Wrap long line.
10126 (RTL_CHECK2): Likewise.
10127 (RTL_CHECKC1): Wrap long line and whitespace.
10128 (RTL_CHECKC2): Likewise.
10129 (XWINT): Whitespace.
10135 (XBITMAP): Likewise.
10137 (XBBDEF): Likewise.
10139 (X0WINT): Likewise.
10141 (X0UINT): Likewise.
10145 (X0MODE): Likewise.
10146 (X0BITMAP): Likewise.
10147 (X0TREE): Likewise.
10148 (X0BBDEF): Likewise.
10149 (X0ADVFLAGS): Likewise.
10150 (X0CSELIB): Likewise.
10151 (X0MEMATTR): Likewise.
10152 (XCWINT): Likewise.
10154 (XCUINT): Likewise.
10158 (XCMODE): Likewise.
10159 (XCBITMAP): Likewise.
10160 (XCTREE): Likewise.
10161 (XCBBDEF): Likewise.
10162 (XCADVFLAGS): Likewise.
10163 (XCCSELIB): Likewise.
10164 (XC2EXP): Likewise.
10165 (INSN_UID): Likewise.
10166 (PREV_INSN): Likewise.
10167 (PATTERN): Likewise.
10168 (INSN_CODE): Likewise.
10169 (PUT_REG_NOTE_KIND): Likewise.
10170 (CODE_LABEL_NUMBER): Likewise.
10171 (NOTE_SOURCE_FILE): Likewise.
10172 (NOTE_BLOCK): Likewise.
10173 (NOTE_EH_HANDLER): Likewise.
10174 (NOTE_RANGE_INFO): Likewise.
10175 (NOTE_LIVE_INFO): Likewise.
10176 (NOTE_BASIC_BLOCK): Likewise.
10177 (NOTE_EXPECTED_VALUE): Likewise.
10178 (NOTE_LINE_NUMBER): Likewise.
10179 (LABEL_NAME): Likewise.
10180 (LABEL_NUSES): Likewise.
10181 (LABEL_ALTERNATE_NAME): Likewise.
10182 (ADDRESSOF_DECL): Likewise.
10183 (JUMP_LABEL): Likewise.
10184 (LABEL_NEXTREF): Likewise.
10186 (ORIGINAL_REGNO: Likewise.
10187 (HARD_REGISTER_NUM_P): Add parenthesis.
10188 (SUBREG_REG): Whitespace.
10189 (SUBREG_BYTE): Likewise.
10190 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
10191 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
10192 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
10193 (ASM_OPERANDS_INPUT_VEC): Likewise.
10194 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
10195 (ASM_OPERANDS_INPUT): Likewise.
10196 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
10197 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
10198 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
10199 (ASM_OPERANDS_INPUT_MODE): Likewise.
10200 (ASM_OPERANDS_SOURCE_FILE): Likewise.
10201 (ASM_OPERANDS_SOURCE_LINE): Likewise.
10202 (MEM_SET_IN_STRUCT_P): Minor reformat.
10203 (TRAP_CONDITION): Whitespace.
10204 (TRAP_CODE): Likewise.
10205 (COND_EXEC_TEST): Likewise.
10206 (COND_EXEC_CODE): Likewise.
10207 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
10208 (PHI_NODE_P): Add parenthesis.
10209 (plus_constant): Whitespace and add parenthesis.
10211 2002-01-03 Kazu Hirata <kazu@hxi.com>
10213 * config/avr/avr.c: Fix comment typos.
10214 * config/c4x/c4x.md: Likewise.
10215 * config/dsp16xx/dsp16xx.h: Likewise.
10216 * config/dsp16xx/dsp16xx.md: Likewise.
10217 * config/i386/i386.md: Likewise.
10218 * config/ia64/ia64.c: Likewise.
10219 * config/m32r/m32r.h: Likewise.
10220 * config/m68hc11/m68hc11.md: Likewise.
10221 * config/mmix/mmix.c: Likewise.
10222 * config/mn10200/mn10200.c: Likewise.
10223 * config/romp/romp.c: Likewise.
10224 * config/sh/sh.c: Likewise.
10225 * config/stormy16/stormy16.c: Likewise.
10226 * config/stormy16/stormy16.h: Likewise.
10227 * config/stormy16/stormy16.md: Likewise.
10229 2002-01-03 Graham Stott <grahams@redhat.com>
10231 * loop.h: Update copyright date.
10232 (LOOP_MOVABLES): Fix typo.
10233 (LOOP_REGS): Likewise.
10234 (LOOP_IVS): Likewise.
10236 2002-01-03 Graham Stott <grahams@redhat.com>
10238 * cppinit.c: Update copyright date.
10239 Don't include output.h
10240 * Makefile.in: Update copyright date.
10243 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
10246 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
10247 (-pthread) Add to RS/6000 options.
10249 2002-01-02 Kazu Hirata <kazu@hxi.com>
10251 * except.c: Fix comment typos.
10252 * loop.c: Likewise.
10253 * varasm.c: Likewise.
10254 * doc/tm.texi: Fix a typo.
10256 2002-01-02 Jakub Jelinek <jakub@redhat.com>
10258 * c-typeck.c (output_init_element): Allow initializing static storage
10259 duration objects with compound literals.
10261 2002-01-02 Richard Henderson <rth@redhat.com>
10263 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
10266 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10268 * gcc.c (default_compilers): Const-ify.
10269 * mips-tdump.c (stab_names): Likewise.
10270 * mips-tfile.c (map_coff_types, map_coff_storage,
10271 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
10272 pseudo_ops_t, pseudo_ops): Likewise.
10273 * protoize.c (default_include): Likewise
10275 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
10276 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
10277 Add array size in declaration.
10278 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
10279 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
10280 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
10281 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
10282 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
10283 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
10284 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
10285 emtens, make_nan): Const-ify.
10286 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
10287 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
10289 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
10291 * config.gcc (ia64-*-*): Set extra_headers.
10292 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
10293 * config/alpha/t-osf: Remove.
10294 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
10296 2002-01-02 David Edelsohn <edelsohn@gnu.org>
10298 * config/rs6000/t-aix43: Revert previous change.
10300 2002-01-02 Jason Merrill <jason@redhat.com>
10302 * c-decl.c (c_expand_body): Call outlining_inline_function when
10303 emitting an inline function out of line.
10305 2002-01-02 Richard Henderson <rth@redhat.com>
10307 * dwarf2out.c (limbo_die_node): Add created_for member.
10308 (new_die): New argument created_for. Update all callers.
10309 (mark_limbo_die_list): New.
10310 (dwarf2out_init): Register limbo_die_list as a root.
10311 (dwarf2out_finish): Force insert limbo dies into their function
10314 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
10317 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
10319 2002-01-02 Kazu Hirata <kazu@hxi.com>
10321 * config/h8300/fixunssfsi.c: Update copyright.
10324 * config/h8300/h8300.c: Update copyright.
10325 Eliminate warnings.
10327 2002-01-02 Kazu Hirata <kazu@hxi.com>
10329 * config/romp/romp.c: Fix comment formatting.
10330 * config/romp/romp.h: Likewise.
10331 * config/romp/romp.md: Likewise.
10332 * config/s390/s390.c: Likewise.
10333 * config/stormy16/stormy16.c: Likewise.
10334 * config/stormy16/stormy16.h: Likewise.
10336 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
10338 * c-common.h (genrtl_expr_stmt_value): Declare.
10339 * c-semantics.c (genrtl_goto_stmt): Redirect to...
10340 (genrtl_goto_stmt_value): ... this new function. Pass new
10341 argument down to expand_expr_stmt_value, taking
10342 TREE_ADDRESSABLE into account.
10343 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
10344 STMT_EXPR as addressable, i.e., one whose result we want.
10345 * expr.c (expand_expr): Don't save expression statement value
10346 of labeled_blocks or loop_exprs.
10347 * stmt.c (expand_expr_stmt): Redirect to...
10348 (expand_expr_stmt_value): ... this new function. Use new
10349 argument to tell whether to save expression value.
10350 (expand_end_stmt_expr): Reset last_expr_type and
10351 last_expr_value if we don't have either.
10352 * tree-inline.c (declare_return_variable): Mark its use
10353 statement as addressable.
10354 * tree.h: Document new use of TREE_ADDRESSABLE.
10355 (expand_expr_stmt_value): Declare.
10357 2002-01-01 Tom Rix <trix@redhat.com>
10359 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
10360 rs6000_emit_allocate_stack.
10362 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
10364 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
10365 ${srcdir}/ginclude/ to every entry in extra_headers.
10366 * configure: Regenerate.
10367 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
10368 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
10369 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
10370 * ginclude/proto.h: Rename to config/convex/proto.h.
10372 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10374 * attribs.c (handle_vector_size_attribute): Use host_integerp
10375 and tree_int_cst; remove warnings.
10376 * caller-save.c (insert_restore): Add cast to get rid of warning.
10377 (insert_save): Likewise.
10378 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
10379 * regmove.c (find_matches): Add temporary var to kill a warning.
10381 2002-01-01 Douglas B Rupp <rupp@gnat.com>
10383 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
10384 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
10385 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
10386 (vms-dwarf2eh.o): Add Makefile rule.
10387 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
10388 * config/alpha/vms-dwarf2eh.asm: New file.
10390 * gcc.c (delete_if_ordinary): Delete all versions.
10392 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
10394 * config/mmix/mmix.md: Update FIXME to not mention
10396 (MMIX_rJ_REGNUM): New define_constants constant.
10397 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
10398 "*movdicc_real"): Adjust contraints formatting.
10399 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
10400 for branch prediction.
10401 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
10403 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
10404 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
10405 number. Delete related FIXMEs.
10406 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
10407 from number to MMIX_rJ_REGNUM.
10408 (TARGET_MASK_BRANCH_PREDICT): New.
10409 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
10410 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
10411 value. Add -mbranch-predict and -mno-branch-predict.
10412 (TARGET_VERSION): Drop date.
10413 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
10414 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
10415 for finding out global symbols.
10416 (mmix_asm_output_labelref): Revert condition for global symbol.
10417 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
10418 (mmix_print_operand_punct_valid_p): A '+' is valid.
10420 See ChangeLog.6 for earlier changes.