From a6ac87c14f2896fab97868ebcca6b60e2b0c7e9a Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 15 Nov 2004 00:38:04 +0100 Subject: [PATCH] * doc/rtl.texi (SUBREG): Adjust BYTENUM value in example. From-SVN: r90639 --- gcc/ChangeLog | 4 ++++ gcc/doc/rtl.texi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e9333a322cc..84cd2b0d38d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-11-14 Eric Botcazou + + * doc/rtl.texi (SUBREG): Adjust BYTENUM value. + 2004-11-14 Kazu Hirata * cfgrtl.c, global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c, diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 869570b11c2..0672d03a6c4 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -1602,7 +1602,7 @@ It is also not valid to access a single word of a multi-word value in a hard register when less registers can hold the value than would be expected from its size. For example, some 32-bit machines have floating-point registers that can hold an entire @code{DFmode} value. -If register 10 were such a register @code{(subreg:SI (reg:DF 10) 1)} +If register 10 were such a register @code{(subreg:SI (reg:DF 10) 4)} would be invalid because there is no way to convert that reference to a single machine register. The reload pass prevents @code{subreg} expressions such as these from being formed. -- 2.30.2