aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-11-14 23:38:04 +0000
committerEric Botcazou <ebotcazou@libertysurf.fr>2004-11-14 23:38:04 +0000
commit8cbfb14a916f61d059160375e78f77ac7943e4fd (patch)
treef4d584da2a3acf01c58749da778f9145c75f2871
parente1822c2437a7b2f2772d5cb66d70dc1741c10baf (diff)
* doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90639 138bc75d-0d04-0410-961f-82ee72b054a4
-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 e9333a322cc..84cd2b0d38d 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 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.