aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-04-11 00:33:29 +0000
committerAlan Modra <amodra@gcc.gnu.org>2006-04-11 10:03:29 +0930
commitab9260ac48d4f7dad156eae570df7ab4f826af7c (patch)
treef6b4023482d6c120d439b4b14fe02fd2425a74fa /gcc
parenta46abe86b2f49137e757d010ff29af4f23f74f99 (diff)
downloadgcc-ab9260ac48d4f7dad156eae570df7ab4f826af7c.zip
gcc-ab9260ac48d4f7dad156eae570df7ab4f826af7c.tar.gz
gcc-ab9260ac48d4f7dad156eae570df7ab4f826af7c.tar.bz2
re PR target/26459 (gcc fails to build on powerpc e500-double targets)
PR target/26459 * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test rs6000_explicit_options.float_gprs. From-SVN: r112843
Diffstat (limited to 'gcc')
-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 a50a06e..0558177 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 3c0d906..55587e4 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;