diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-17 20:07:45 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-17 20:07:45 +0000 |
commit | fce508b5996024f118c3646ba7a4538b9dc24ce1 (patch) | |
tree | 01fce25732ac8317622fc177c3beebeed4552f42 /gcc/rtl.c | |
parent | c66257ad31f4115d94bdbd9bbb6fef5c36a4ef34 (diff) | |
download | gcc-fce508b5996024f118c3646ba7a4538b9dc24ce1.tar.gz |
(init_rtl): Correct number of 'w's in CONST_DOUBLE format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4490 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c index d5eea1239e5..ac1979fc51d 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -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; } |