OSDN Git Service

2002-04-13 Joel Sherrill <joel@OARcorp.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index fb2ba32..a1abd9a 100644 (file)
@@ -1,3 +1,272 @@
+2002-04-13     Joel Sherrill <joel@OARcorp.com>
+
+       * config/sparc/t-elf: Enable v8 multilibs.  Impacts
+       sparc-elf and sparc-rtems targets.
+
+2002-04-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
+       defined, and __gnu_hurd__ wherever __GNU__ is defined.
+       * arm/linux-elf.h: Likewise.
+       * cris/aout.h: Likewise.
+       * cris/linux.h: Likewise.
+       * i370/linux.h: Likewise.
+       * i386/gnu.h: Likewise.
+       * i386/linux-aout.h: Likewise.
+       * i386/linux-oldld.h: Likewise.
+       * i386/linux.h: Likewise.
+       * i386/linux64.h: Likewise.
+       * ia64/linux.h: Likewise.
+       * m68k/linux-aout.h: Likewise.
+       * m68k/linux.h: Likewise.
+       * mips/linux.h: Likewise.
+       * pa/pa-linux.h: Likewise.
+       * pj/linux.h: Likewise.
+       * rs6000/sysv4.h: Likewise.
+       * s390/linux.h: Likewise.
+       * sh/linux.h: Likewise.
+       * sparc/linux-aout.h: Likewise.
+       * sparc/linux.h: Likewise.
+       * sparc/linux64.h: Likewise.
+       * xtensa/linux.h: Likewise.
+
+2002-04-13  Richard Sandiford  <rsandifo@redhat.com>
+
+       * stmt.c (check_unique_operand_names): Expect operand names to
+       be strings rather than identifiers.  Use simple_cst_equal to
+       compare them.
+       (resolve_operand_name_1): Make same identifier to string change here.
+       * c-parse.in (asm_operand): Convert a named operand into a string.
+       * cp/parse.y (asm_operand): Likewise.
+
+2002-04-13  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
+
+2002-04-12  Mark Mitchell  <mark@codesourcery.com>
+
+       Revert these changes:
+
+       2002-04-06  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/5571
+       * stor-layout.c (layout_decl): Reset the RTL for the decl.
+
+2002-04-12  Richard Henderson  <rth@redhat.com>
+
+       * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
+       (sparc*-*-solaris): Clean up header files.
+       * configure.in (AS_SPARC64_FLAG): Error out if can't find it
+       and plan on generating 64-bit code.
+       * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
+       * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
+       * config/sparc/sol2-sld-64.h: Rename ...
+       * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
+       for AS_SPARC64_FLAG not defined.
+       * config/sparc/sol2-gld-bi.h: New.
+       * config/sparc/sol2-sld.h: Remove.
+       * config/sparc/sol26-sld.h: New.
+       * config/sparc/sol2.h: Tidy comments.
+       * doc/install.texi: Document sparc-solaris configury changes.
+
+2002-04-12  Richard Henderson  <rth@redhat.com>
+
+       * recog.c (offsettable_address_p): Match the logic in adjust_address.
+
+       * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
+       in 64-bit mode only.  Use only for 32-bit or MEDLOW.
+
+2002-04-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
+
+Fri Apr 12 15:42:59 2002  Jeffrey A Law  (law@redhat.com)
+
+       * pa.c (pa_can_combine_p): Call extract_insn before calling
+       constrain_operands.
+
+2002-04-12  Douglas B Rupp  <rupp@gnat.com>
+
+       * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
+       (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
+       (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
+       (CPP_PREDEFINES): Handle __declspec.
+       * config/i386/t-interix (USER_H): Remove.
+
+2002-04-12  DJ Delorie  <dj@redhat.com>
+
+       * integrate.c (compare_blocks): Make comparisons safe for when
+       sizeof(int) < sizeof(char *).
+       (find_block): Likewise.
+
+2002-04-12  Jan Hubicka  <jh@suse.cz>
+           David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
+       registers.
+       (symbol_ref_operand): New.
+       * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
+       * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
+
+2002-04-12  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
+       * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
+       overrides the definition in config/svr4.h.
+       
+2002-04-12     Eric Norum <eric.norum@usask.ca>
+
+       * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
+       config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
+       config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
+       config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
+       config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
+       config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
+       config/v850/rtems.h (*-rtems*): Cleanup pass to move common
+       definitions to config/rtems.h and make the targets more similar.
+
+Fri Apr 12 08:06:54 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * expr.c (expand_assigment): Remove duplicate conversions #ifdef
+       POINTERS_EXTEND_UNSIGNED.
+       (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
+       (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
+
+       * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
+       not specified.
+
+Fri Apr 12 12:11:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
+       depends on TARGET_SHMEDIA, not TARGET_SH5.
+
+2002-04-12  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
+       For paradoxical (subreg VAR), replace VAR, don't try the subreg.
+
+Fri Apr 12 10:51:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (broken_move): Constant 0. / 1. load is OK if there is
+       no r0 clobber.
+
+2002-04-12  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
+
+2002-04-12  Richard Henderson  <rth@redhat.com>
+
+       PR bootstrap/4191
+       * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
+
+       * flow.c (mark_used_reg): Manage reg_cond_dead properly for
+       modes spanning multiple hard regs.
+    
+       * recog.c (peephole2_optimize): Rebuild jump labels as needed.
+
+2002-04-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.c (pa_output_function_prologue): Don't accumulate the total
+       number of code bytes when using TARGET_64BIT, or gas, SOM and not
+       the portable runtime.
+       (output_deferred_plabels): Handle 64bit plabels.
+       (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
+       generating pic code using the GAS assembler for object formats that
+       are not SOM (ie., ELF32 and ELF64).
+       (output_millicode_call): Check attribute type if attribute length is 28.
+       Likewise use $PIC_pcrel$0.  Only call get_attr_length and
+       dbr_sequence_length once.
+       (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
+       dbr_sequence_length once.
+       * pa.h (TARGET_SOM): Define if not defined.
+       * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
+       with GAS and not SOM.
+       (jump, call_internal_reg, call_value_internal_reg): Likewise.
+       * som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.
+
+2002-04-11  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
+       (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
+       (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
+       DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
+       elfos.h and dbxelf.h values are fine now.
+       * config/i386/freebsd.h, config/alpha/freebsd.h
+       (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
+
+2002-04-11  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
+       or set Acpu or Amachine.  Reformat.
+       (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
+       define.
+       (LINK_SPEC): Do not need to undef.
+       * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
+       * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
+       (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
+       define.
+       * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
+       (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
+       (LINK_SPEC): Do not need to undef.
+       (DONT_USE_BUILTIN_SETJMP): Do not define.
+       * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
+       (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
+       (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
+       Remove trailing spaces.
+       * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
+       __ELF__, or set Acpu or Amachine.  Reformat.
+       (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
+       define.
+
+2002-04-11  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
+       all other *-*-freebsd* targets.
+
+2002-04-11  Richard Henderson  <rth@redhat.com>
+
+       * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
+
+2002-04-11  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
+       Include {cpu}/{cpu}.h thru tm_file.
+       (alpha*-*-linux*ecoff): Remove target.
+       * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
+       (LINK_SPEC): Remove, is not OS independent.
+       * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
+       (LINK_SPEC): Do not need to #undef any longer.
+       * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
+       any longer.
+       * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
+       __ELF__.
+       (LINK_SPEC): Moved here from alpha/elf.h.
+       * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
+       SUB_CPP_PREDEFINES.
+       * config/alpha/linux-ecoff.h: Remove.
+       * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
+       (CPP_SPEC): Define _POSIX_SOURCE as needed.
+       (CPP_SUBTARGET_SPEC): Do not define.
+       (LINK_SPEC): Do not need to #undef any longer.
+       * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
+       * config/alpha/vms.h: Likewise.
+
+2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
+
+       * doc/extend.texi: Remove old claim that typedefs cannot have
+       an alignment attribute.
+
+2002-04-11  Jakub Jelinek  <jakub@redhat.com>
+
+       PR optimization/6177
+       * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
+       bitpos is 0 and bitsize CONCAT size.
+
+2002-04-11  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/6223
+       * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
+
 2002-04-10  David O'Brien  <obrien@FreeBSD.org>
 
        * config/alpha/freebsd.h: Minor reformatting.
@@ -697,7 +966,7 @@ objc:
        * protoize.c: Match include directory usage with cppdefault.c.
 
 2002-04-03  Jeffrey A Law  (law@redhat.com)
-            Hans-Peter Nilsson  <hp@bitrange.com>
+           Hans-Peter Nilsson  <hp@bitrange.com>
 
        * combine.c (simplify_comparison): Avoid narrowing a comparison
        with a paradoxical subreg when doing so would drop signficant bits.
@@ -775,7 +1044,7 @@ Tue Apr  2 06:47:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>
 
        * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
-        ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
+       ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
 
 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
 
@@ -796,8 +1065,8 @@ objc:
 
 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
 
-        * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
-        in previous change.
+       * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
+       in previous change.
 
 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
 
@@ -950,7 +1219,7 @@ Sun Mar 31 14:43:24 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * libgcc2.c (__bb_exit_func): Make static.
 
-        * config/alpha/alpha.md (trap): New.
+       * config/alpha/alpha.md (trap): New.
 
 2002-03-31  Richard Henderson  <rth@redhat.com>
 
@@ -978,11 +1247,11 @@ Sun Mar 31 14:43:24 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
 
 2002-03-30  Roger Sayle <roger@eyesopen.com>
-            Richard Henderson  <rth@redhat.com>
+           Richard Henderson  <rth@redhat.com>
 
-        * regmove.c (combine_stack_adjustments_for_block): Avoid
-        emitting a stack adjustment of zero bytes.  Let delete_insn
-        update bb->head.
+       * regmove.c (combine_stack_adjustments_for_block): Avoid
+       emitting a stack adjustment of zero bytes.  Let delete_insn
+       update bb->head.
 
 2002-03-30  Richard Henderson  <rth@redhat.com>