From 339ccd69236f64f3012c4ca7e7e64819bf7a9459 Mon Sep 17 00:00:00 2001 From: amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue, 11 Apr 2006 00:33:29 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/e500-double.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a50a06ed8467..05581772ec23 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 3c0d906a4bda..55587e469b83 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; -- GitLab