summaryrefslogtreecommitdiff
path: root/gcc/c-cppbuiltin.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-06 22:47:32 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-06 22:47:32 +0000
commit0021bea918bd779cbc3984e27551dc723364b434 (patch)
tree972d12bd6146ca789109687592f05e46952b0f67 /gcc/c-cppbuiltin.c
parent0d996ec2e19e2972512dc6cf18d0de9fe36bd0b9 (diff)
downloadgcc-0021bea918bd779cbc3984e27551dc723364b434.tar.gz
* real.h (REAL_MODE_FORMAT): New macro.
* c-cppbuiltin.c, optabs.c, real.c, config/alpha/alpha.c * config/c4x/c4x.c, config/i370/i370.c, config/i386/freebsd.h * config/i386/i386.c, config/i960/i960.c, config/ia64/ia64.c * config/m68k/m68k.c, config/mips/mips.c, config/rs6000/rs6000.c * config/vax/vax.c: Use REAL_MODE_FORMAT instead of referring directly to real_format_for_mode array, wherever possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72168 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-cppbuiltin.c')
-rw-r--r--gcc/c-cppbuiltin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c
index 879d731268a..19a9cf48106 100644
--- a/gcc/c-cppbuiltin.c
+++ b/gcc/c-cppbuiltin.c
@@ -85,7 +85,7 @@ builtin_define_float_constants (const char *name_prefix, const char *fp_suffix,
int dig, min_10_exp, max_10_exp;
int decimal_dig;
- fmt = real_format_for_mode[TYPE_MODE (type) - QFmode];
+ fmt = REAL_MODE_FORMAT (TYPE_MODE (type));
/* The radix of the exponent representation. */
if (type == float_type_node)