From dbc30a96988c3dfa9f2587c4691de6f679daf9fd Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 22 May 2007 07:00:22 +0000 Subject: [PATCH] * misc.c (enumerate_modes): Consider log2_b to always be one. From-SVN: r124938 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/misc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index fc5337d6de9..e7369ff5afe 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2007-05-22 Alexandre Oliva + + * misc.c (enumerate_modes): Consider log2_b to always be one. + 2007-05-14 Rafael Avila de Espindola * misc.c (LANG_HOOKS_UNSIGNED_TYPE): Remove. diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index db39179ad32..084c21ab533 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -896,7 +896,7 @@ enumerate_modes (void (*f) (int, int, int, int, int, int, unsigned int)) { const struct real_format *fmt = REAL_MODE_FORMAT (inner_mode); - mantissa = fmt->p * fmt->log2_b; + mantissa = fmt->p; } if (!skip_p && j != VOIDmode) -- 2.30.2