OSDN Git Service

PR target/26459
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Apr 2006 00:33:29 +0000 (00:33 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Apr 2006 00:33:29 +0000 (00:33 +0000)
* config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test
rs6000_explicit_options.float_gprs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112843 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/e500-double.h

index a50a06e..0558177 100644 (file)
@@ -1,3 +1,9 @@
+2006-04-11  Mark Mitchell  <mark@codesourcery.com>
+
+       PR target/26459
+       * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test
+       rs6000_explicit_options.float_gprs.
+
 2006-04-10  Roger Sayle  <roger@eyesopen.com>
 
        * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Renamed
 2006-04-10  Roger Sayle  <roger@eyesopen.com>
 
        * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Renamed
index 3c0d906..55587e4 100644 (file)
@@ -1,5 +1,5 @@
 /* Target definitions for E500 with double precision FP.
 /* Target definitions for E500 with double precision FP.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
    Contributed by Aldy Hernandez (aldyh@redhat.com).
 
    This file is part of GCC.
    Contributed by Aldy Hernandez (aldyh@redhat.com).
 
    This file is part of GCC.
@@ -21,5 +21,5 @@
 
 #undef  SUB3TARGET_OVERRIDE_OPTIONS
 #define SUB3TARGET_OVERRIDE_OPTIONS \
 
 #undef  SUB3TARGET_OVERRIDE_OPTIONS
 #define SUB3TARGET_OVERRIDE_OPTIONS \
-  if (rs6000_float_gprs_string == NULL) \
+  if (!rs6000_explicit_options.float_gprs) \
     rs6000_float_gprs = 2;
     rs6000_float_gprs = 2;