aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-09-24 13:13:35 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-09-24 13:13:35 +0000
commit9fc63af58cc65a4a9d0946dd69f0c4091bd7bc8c (patch)
tree8f91f5e7336727b7ca0ac45bf0b06cff510fed2f
parent43a88a8c88ac10ff01027d55ebcecf711cbeff5e (diff)
downloadgcc-9fc63af58cc65a4a9d0946dd69f0c4091bd7bc8c.zip
gcc-9fc63af58cc65a4a9d0946dd69f0c4091bd7bc8c.tar.gz
gcc-9fc63af58cc65a4a9d0946dd69f0c4091bd7bc8c.tar.bz2
* real.h (real_value): Make `exp' explicitly signed.
From-SVN: r57469
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/real.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 40c4683..61df827 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * real.h (real_value): Make `exp' explicitly signed.
+
2002-09-24 Kazu Hirata <kazu@cs.umass.edu>
* config/elfos.h: Follow spelling conventions.
diff --git a/gcc/real.h b/gcc/real.h
index 6f8f7d8..8dcc54e 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -44,7 +44,7 @@ struct real_value GTY(())
{
enum real_value_class class : 2;
unsigned int sign : 1;
- int exp : EXP_BITS;
+ signed int exp : EXP_BITS;
unsigned long sig[SIGSZ];
};