summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-11 00:33:29 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-11 00:33:29 +0000
commit339ccd69236f64f3012c4ca7e7e64819bf7a9459 (patch)
treef6b4023482d6c120d439b4b14fe02fd2425a74fa
parentf0c9216efacbbd89db4135c70e111112d656eb5b (diff)
downloadppe42-gcc-339ccd69236f64f3012c4ca7e7e64819bf7a9459.tar.gz
ppe42-gcc-339ccd69236f64f3012c4ca7e7e64819bf7a9459.zip
PR target/26459
* 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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/e500-double.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a50a06ed846..05581772ec2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/e500-double.h b/gcc/config/rs6000/e500-double.h
index 3c0d906a4bd..55587e469b8 100644
--- a/gcc/config/rs6000/e500-double.h
+++ b/gcc/config/rs6000/e500-double.h
@@ -1,5 +1,5 @@
/* 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.
@@ -21,5 +21,5 @@
#undef SUB3TARGET_OVERRIDE_OPTIONS
#define SUB3TARGET_OVERRIDE_OPTIONS \
- if (rs6000_float_gprs_string == NULL) \
+ if (!rs6000_explicit_options.float_gprs) \
rs6000_float_gprs = 2;
OpenPOWER on IntegriCloud