OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66257a
)
(init_rtl): Correct number of 'w's in CONST_DOUBLE format.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 1993 20:07:45 +0000
(20:07 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 1993 20:07:45 +0000
(20:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4490
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/rtl.c
patch
|
blob
|
history
diff --git
a/gcc/rtl.c
b/gcc/rtl.c
index
d5eea12
..
ac1979f
100644
(file)
--- 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;
}