diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-06 22:47:32 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-06 22:47:32 +0000 |
commit | 0021bea918bd779cbc3984e27551dc723364b434 (patch) | |
tree | 972d12bd6146ca789109687592f05e46952b0f67 /gcc/config/i386 | |
parent | 0d996ec2e19e2972512dc6cf18d0de9fe36bd0b9 (diff) | |
download | gcc-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/config/i386')
-rw-r--r-- | gcc/config/i386/freebsd.h | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index fb0438b8096..7396a47ce42 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -137,9 +137,9 @@ Boston, MA 02111-1307, USA. */ #define SUBTARGET_OVERRIDE_OPTIONS \ do { \ if (!TARGET_64BIT) { \ - real_format_for_mode[XFmode - QFmode] \ + REAL_MODE_FORMAT (XFmode) \ = &ieee_extended_intel_96_round_53_format; \ - real_format_for_mode[TFmode - QFmode] \ + REAL_MODE_FORMAT (TFmode) \ = &ieee_extended_intel_96_round_53_format; \ } \ } while (0) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 6ca6ee2bb9c..1c606df7694 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1113,8 +1113,8 @@ override_options (void) /* By default our XFmode is the 80-bit extended format. If we have use TFmode instead, it's also the 80-bit format, but with padding. */ - real_format_for_mode[XFmode - QFmode] = &ieee_extended_intel_96_format; - real_format_for_mode[TFmode - QFmode] = &ieee_extended_intel_128_format; + REAL_MODE_FORMAT (XFmode) = &ieee_extended_intel_96_format; + REAL_MODE_FORMAT (TFmode) = &ieee_extended_intel_128_format; /* Set the default values for switches whose default depends on TARGET_64BIT in case they weren't overwritten by command line options. */ |