From 0021bea918bd779cbc3984e27551dc723364b434 Mon Sep 17 00:00:00 2001 From: zack Date: Mon, 6 Oct 2003 22:47:32 +0000 Subject: * 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 --- gcc/c-cppbuiltin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/c-cppbuiltin.c') 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) -- cgit v1.2.3