From: Richard Stallman Date: Mon, 17 May 1993 20:07:45 +0000 (+0000) Subject: (init_rtl): Correct number of 'w's in CONST_DOUBLE format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=262555e28876e751af2f3f1d607fffe617f40cdb;p=gcc.git (init_rtl): Correct number of 'w's in CONST_DOUBLE format. From-SVN: r4490 --- 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; }