This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix CONST_DOUBLE usage


On Fri, 22 Apr 2005 19:48:55 -0700
Richard Henderson <rth@redhat.com> wrote:

> > Should I fix up that rtl.h comment too? :-)
> 
> Please.

Done, as follows.

2005-04-22  David S. Miller  <davem@davemloft.net>

	* rtl.h (CONST_DOUBLE): Fix comment, a CONST_DOUBLE holds an
	integer when it's mode is VOIDmode not DImode.

--- rtl.h.~1.547.~	2005-04-18 15:33:36.000000000 -0700
+++ rtl.h	2005-04-22 22:15:13.000000000 -0700
@@ -915,7 +915,7 @@
 #define INTVAL(RTX) XCWINT(RTX, 0, CONST_INT)
 
 /* For a CONST_DOUBLE:
-   For a DImode, there are two integers CONST_DOUBLE_LOW is the
+   For a VOIDmode, there are two integers CONST_DOUBLE_LOW is the
      low-order word and ..._HIGH the high-order.
    For a float, there is a REAL_VALUE_TYPE structure, and
      CONST_DOUBLE_REAL_VALUE(r) is a pointer to it.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]