aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-11-30 15:48:22 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-11-30 15:48:22 -0500
commita07805c01cf1ffe6a5b038d0ca5af3d1bb8f385d (patch)
tree7ea88842c700f7f81f173bed38bb91325b73cc4e /gcc/libgcc2.c
parentcaab5771c8058e7a6ea92c5d806bcd69e2c9b2c1 (diff)
downloadgcc-a07805c01cf1ffe6a5b038d0ca5af3d1bb8f385d.zip
gcc-a07805c01cf1ffe6a5b038d0ca5af3d1bb8f385d.tar.gz
gcc-a07805c01cf1ffe6a5b038d0ca5af3d1bb8f385d.tar.bz2
(word_type): Use __attribute__ ((mode (__word__))).
From-SVN: r8583
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 5df5278..c8d5805 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -62,8 +62,10 @@ typedef int SItype __attribute__ ((mode (SI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));
typedef int DItype __attribute__ ((mode (DI)));
typedef unsigned int UDItype __attribute__ ((mode (DI)));
+
typedef float SFtype __attribute__ ((mode (SF)));
typedef float DFtype __attribute__ ((mode (DF)));
+
#if LONG_DOUBLE_TYPE_SIZE == 96
typedef float XFtype __attribute__ ((mode (XF)));
#endif
@@ -71,15 +73,7 @@ typedef float XFtype __attribute__ ((mode (XF)));
typedef float TFtype __attribute__ ((mode (TF)));
#endif
-#if BITS_PER_WORD==16
-typedef int word_type __attribute__ ((mode (HI)));
-#endif
-#if BITS_PER_WORD==32
-typedef int word_type __attribute__ ((mode (SI)));
-#endif
-#if BITS_PER_WORD==64
-typedef int word_type __attribute__ ((mode (DI)));
-#endif
+typedef int word_type __attribute__ ((mode (__word__)));
/* Make sure that we don't accidentally use any normal C language built-in
type names in the first part of this file. Instead we want to use *only*