aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-11-15 00:38:04 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2004-11-14 23:38:04 +0000
commita6ac87c14f2896fab97868ebcca6b60e2b0c7e9a (patch)
treef4d584da2a3acf01c58749da778f9145c75f2871 /gcc
parent3a7c155d2e36bda69cb68c2f6f5105e256878506 (diff)
downloadgcc-a6ac87c14f2896fab97868ebcca6b60e2b0c7e9a.zip
gcc-a6ac87c14f2896fab97868ebcca6b60e2b0c7e9a.tar.gz
gcc-a6ac87c14f2896fab97868ebcca6b60e2b0c7e9a.tar.bz2
* doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
From-SVN: r90639
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/rtl.texi2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e9333a3..84cd2b0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-14 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * doc/rtl.texi (SUBREG): Adjust BYTENUM value.
+
2004-11-14 Kazu Hirata <kazu@cs.umass.edu>
* 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 869570b..0672d03 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.