OSDN Git Service

* sh.md (ffssi2): Fix emitted code.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5160372..5df0457 100644 (file)
@@ -1,3 +1,323 @@
+Wed Oct  9 15:54:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.md (ffssi2): Fix emitted code.
+
+2002-10-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * cse.c (insn_live_p): Pass insn pattern, not full insn
+       to may_trap_p.
+
+2002-10-09  Neil Booth  <neil@daikokuya.co.uk>
+
+       * cppmacro.c (paste_tokens): Only allow / to paste with =.
+
+2002-10-09  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
+       64-bit hosts.
+       (movtf_internal): Reference correct displacement for second value
+       in memory.
+       (movtf splitter): Correct generation of constants in 64-bit mode.
+
+2002-10-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * libgcc2.c (__floatdisf): Properly cure double rounding.
+
+2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
+       * doc/cpp.texi (Common Predefined Macros): Document.
+
+2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       PR doc/7484
+       * doc/invoke.texi (Option Summary): List
+       -Wmissing-declarations as a C only option.
+
+2002-10-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
+       mno-app-regs|mcmodel=medany.
+       (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
+       (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
+       (CRTSTUFF_T_CFLAGS): Define.
+
+2002-10-08  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/8087
+       * simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
+       pool references that are constructed using LO_SUM.
+
+2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
+       -Wall.
+       * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
+       message.
+       * flags.h (warn_strict_aliasing): Declare.
+       * toplev.c (warn_strict_aliasing): Define.
+       (lang_independent_options): Add it.
+       * doc/invoke.texi (-Wstrict-aliasing): Document it.
+
+2002-10-08  Zack Weinberg  <zack@codesourcery.com>
+
+       * system.h (GCCBUGURL): Delete.
+       * version.c (bug_report_url): New.  Add commentary about
+       modifying both these strings in modified distributions.
+       * version.h: Declare bug_report_url.
+
+       * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
+       bug_report_url.
+
+2002-10-08  Nick Clifton  <nickc@redhat.com>
+
+       * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
+       convert uint64_t into __ev64_opaque__.
+       (__ev_set_acc_s64): Likewise, but using signed types.
+
+2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
+       ("*doloop_di_long"): Likewise.
+
+Tue Oct  8 16:50:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
+
+       * print-rtl.c (print_rtx): Increase buffer size for real numbers.
+
+2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.md (define_attr cpu): Add r4111.
+
+2002-10-08  Anthony Green  <green@redhat.com>
+
+       * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
+
+2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
+       for REAL_VALUE_TO_DECIMAL output.
+
+2002-10-07  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Set
+       real_format_for_mode for IBM extended format, if enabled.
+       (easy_fp_constant): Add TFmode.
+       (rs6000_legitimize_address): Add TFmode.
+       (rs6000_legitimate_address): Same.
+       (function_arg_advance): TFmode uses two FPRs.
+       (rs6000_emit_prologue): Fix warning.
+       (rs6000_output_function_epilogue): Add TFmode.
+       (output_toc): Add TFmode.
+       * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
+       (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
+       * rs6000.md (movtf splitter): Load TFmode constant.
+
+2002-10-07  Dale Johannesen  <dalej@apple.com>
+
+       * rtl.h:  Add NOTE_PRECONDITIONED.
+       * unroll.c:  Set it.
+       * loop.c:  Set loop_info->preconditioned from it.
+       * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
+
+2002-10-07  Richard Henderson  <rth@redhat.com>
+
+       * config/i960/i960.c (i960_setup_incoming_varargs): Create a
+       new rtx for comparing the argument pointer against zero.
+       (i960_va_start): Similarly.
+
+2002-10-07  Richard Henderson  <rth@redhat.com>
+
+       * config/i960/i960.md (*): Use TFmode, not XFmode.
+       * config/i960/i960.c (*): Likewise.
+       (i960_arg_size_and_align): Remove XFmode alignment hack.
+       (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
+       * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
+       (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
+       (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
+
+2002-10-07  Richard Henderson  <rth@redhat.com>
+
+       * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
+       entry points; use void return value and argument list.
+
+2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
+
+       * t-pdp11: Add MULTILIB support for msoft-float.
+       * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
+
+       * t-pdp11: Add LIB2FUNCS_EXTRA.
+       * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
+       add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
+       'fldd' to 'ldd', rename 'fstd' to 'std'.
+       (pdp11_output_function_epilogue): Likewise.
+       (output_move_quad): Make the comment gas compatible.
+       (output_ascii): Add preceding 0 to the octal constant.
+       (print_operand_address): Add pre_modify, post_modify.
+       (output_addr_const_pdp11): Add preceding 0 to the octal constant.
+       * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
+       with the indication of Paul Koning.
+       (PRINT_OPERAND): Fix floating constant.
+       * pdp11.md (movdi): Restrict matching pattern.
+       (movqi): Generalize the matching pattern.
+       (movdf): Restrict matching pattern.
+       (zero_extendqihi2): Change constant representation.
+       (floatsidf2): Fix wrong operands.
+       (addqi3): Fix wrong instruction name.
+       (subqi3): Fix wrong instruction name.
+       (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
+       (xorsi3): Fix wrong insn.
+       (one_cmplqi2): Add two operand pattern.
+       (lsrsi3): New.
+       (negsi2): New.
+       (call): Add register indirect case.
+       (mod): Fix wrong subreg.
+
+2002-09-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
+           Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+       PR c/7411
+       * expr.c (expand_expr) [PLUS]: Simplify after the operands
+       have been expanded in EXPAND_NORMAL mode.
+
+2002-10-06  Richard Henderson  <rth@redhat.com>
+
+       * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
+
+2002-10-06  Richard Henderson  <rth@redhat.com>
+
+       PR optimization/2960
+       * toplev.c (rest_of_compilation): Don't copy_loop_headers if
+       optimize_size.
+
+2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
+       previously definitions.
+
+2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
+
+       * cppinit.c (init_standard_includes, parse_option): Use strncmp.
+       * c-opts.c (find_opt): Similarly.
+
+2002-10-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.c (set_multilib_dir): Don't access *end.
+       Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
+       (print_multilib_info): Don't show paths starting with ".:".
+       * genmultilib: Add new option, "yes" if multilibs are enabled.
+       Update comments.  If multilibs not enabled, print .:${osdirout}
+       for each directory.  If multilibs are enabled, always print
+       ${dirout}:${osdirout}, even if the two are the same.
+       * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
+       Pass all MULTILIB_* variables to genmultilib even if
+       --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
+
+2002-10-04  Bruce Korb  <bkorb@gnu.org>
+
+       * fixinc/inclhack.def(hpux11_abs):  use format fix
+       * fixinc/fixincl.x: regenerate
+       * fixinc/tests/base/stdlib.h: accommodate new fix test
+
+Sat Oct  5 19:42:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
+
+       * c-common.c (cb_register_builtins):  Use really_no_inline.
+
+2002-10-04  David Edelsohn  <edelsohn@gnu.org>
+
+       * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
+       copied instruction if the note is not loop invariant.
+
+2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
+
+       * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
+
+2002-10-04  Steve Ellcey  <sje@cup.hp.com>
+
+       * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
+       and -mhp-ld options to list of options.  Add -mgnu-ld
+       and -mhp-ld option descriptions.
+
+2002-10-04  Steve Ellcey  <sje@cup.hp.com>
+
+       * fixinc/inclhack.def (hpux11_abs):  New.
+       (stdio_va_list): change __va_list__ to __gnuc_va_list.
+       * fixinc/fixincl.x: Rebuild.
+
+2002-10-04  Roger Sayle  <roger@eyesopen.com>
+
+       * config/i386/i386.h (processor_costs): Add new fields fadd,
+       fmul, fdiv, fabs, fchs and fsqrt to costs structure.
+       (RTX_COSTS): Use these fields to determine the RTX costs
+       of floating point addition/subtraction, multiplication,
+       division, fabs, negation and square root respectively.
+       * config/i386/i386.c (size_cost): Provide instruction sizes
+       for these new fields.
+       (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
+       k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
+       counts for these new fields for all x86 processor variants.
+
+2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * mips.c (mips_const_double_ok): Delete unused variable.
+
+       * gengtype.c (rtx_next): Change type to int.
+
+2002-10-04  Andreas Jaeger  <aj@suse.de>
+
+       * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
+
+2002-10-04  Richard Henderson  <rth@redhat.com>
+
+       * real.h (SIGNIFICAND_BITS): Add one more word.
+       (CONST_DOUBLE_FORMAT): Accomodate 6 words.
+       * real.c (times_pten): New.
+       (real_to_decimal, real_from_string): Use it.
+       (sticky_rshift_significand): Use & to find modulus.
+       (rshift_significand, lshift_significand): Likewise.
+       (do_divide): Apply sticky bit after normalization.
+       (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
+
+2002-10-03  Andreas Jaeger  <aj@suse.de>
+
+       * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
+       to unsigned long, adjust printf format string.
+       (output_mangled_typename): Likewise.
+
+2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
+       * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
+       (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
+       assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
+       (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
+       (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
+       * config/vax/elf.h (FUNCTION_PROFILER): Remove.
+       (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
+
+2002-10-03  Mark Mitchell  <mark@codesourcery.com>
+
+       * doc/invoke.texi (-Wabi): Document mangling bug.
+
+2002-10-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
+       name for the tbtab label that depends on the function asm name.
+       Don't output tbtab label unless optional_tbtab.
+       (output_mi_thunk): Formatting.
+
+2002-10-03  Richard Henderson  <rth@redhat.com>
+
+       * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
+       * config/m68k/m68k.c (override_options): ... here.
+       * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
+       * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
+       * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
+       * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
+
+2002-10-03  Richard Henderson  <rth@redhat.com>
+
+       * real.h (struct real_value): Use ENUM_BITFIELD.
+
 2002-10-03  Richard Henderson  <rth@redhat.com>
 
        * config/i960/i960.md (call, call_value): Use emit_call_insn.
        * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
        * config/pa/pa.h (MASK_GNU_LD): New.
        (TARGET_GNU_LD): New.
-       * config/pa/pa64-hpux.h (LINK_SPEC): Set based 
+       * config/pa/pa64-hpux.h (LINK_SPEC): Set based
        on gnu-ld and MASK_GNU_LD.
        (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
 
@@ -92,7 +412,7 @@ Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
 
        * i386.md (lea to mul peep2): Fix condition.
-       
+
 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
@@ -164,10 +484,10 @@ Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
        for TLS debug info to !DECL_EXTERNAL.
 
 2002-10-01  Matt Thomas  <matt@3am-software.com>
-            Jason Thorpe  <thorpej@wasabisystems.com>
+           Jason Thorpe  <thorpej@wasabisystems.com>
 
        * config.gcc (vax-*-netbsdelf*): Enable configuration.
-       * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only 
+       * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
        if not already defined.
        * config/vax/elf.h: New file.
        * config/vax/netbsd-elf.h: New file.
@@ -209,7 +529,7 @@ Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
        * stor-layout.c (update_alignment_for_field): New function.
        (place_union_field): Use it.
        (place_field): Likewise.
-       
+
 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
 
        PR other/8077
@@ -221,7 +541,7 @@ Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
 
 2002-09-30  Andrew Haley  <aph@redhat.com>
 
-       * flow.c (insn_dead_p): When using non-call-exceptions, don't 
+       * flow.c (insn_dead_p): When using non-call-exceptions, don't
        eliminate insns that may trap.
        * cse.c (insn_live_p): Likewise.
 
@@ -281,7 +601,7 @@ Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
        * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
        Add new RL_REGS register class.
        (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
-        Call xtensa_preferred_reload_class for both input and output reloads.
+       Call xtensa_preferred_reload_class for both input and output reloads.
        * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
        (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
        instead of either AR_REGS or GR_REGS classes.
@@ -1041,7 +1361,7 @@ Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
        (const_float_1_operand): Use dconst1.
        * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
        movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
-       Don't allow arbitrary constants; fix predicates and C constraint.
+       Don't allow arbitrary constants; fix predicates and C constraint.
 
 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
 
@@ -2115,7 +2435,7 @@ Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
        replace_equiv_address to generate proper aliasing info.
        Move common code out of conditionals.  Localize vars.
 
-2002-09-09  Eric Botcazou  ebotcazou@libertysurf.fr
+2002-09-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * optabs.c (expand_binop): Minor cleanup.
        (expand_twoval_binop): Convert CONST_INTs like in expand_binop.