diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-17 20:07:45 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-17 20:07:45 +0000 |
commit | 262555e28876e751af2f3f1d607fffe617f40cdb (patch) | |
tree | 01fce25732ac8317622fc177c3beebeed4552f42 /gcc/rtl.c | |
parent | 910578a803da88407c695f442301c45485592544 (diff) | |
download | gcc-262555e28876e751af2f3f1d607fffe617f40cdb.zip gcc-262555e28876e751af2f3f1d607fffe617f40cdb.tar.gz gcc-262555e28876e751af2f3f1d607fffe617f40cdb.tar.bz2 |
(init_rtl): Correct number of 'w's in CONST_DOUBLE format.
From-SVN: r4490
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -800,8 +800,9 @@ init_rtl () *s++ = 'e'; *s++ = '0'; /* Set the GET_RTX_FORMAT of CONST_DOUBLE to a string - of as many `i's as we now have elements. */ - for (i = 0; i < rtx_length[(int) CONST_DOUBLE]; i++) + of as many `w's as we now have elements. Subtract two from + the size to account for the 'e' and the '0'. */ + for (i = 2; i < rtx_length[(int) CONST_DOUBLE]; i++) *s++ = 'w'; *s++ = 0; } |