aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-10-17 20:39:45 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2005-10-17 20:39:45 +0000
commitbe3914df4cc863fa52e3b74ad84ee683a4621e76 (patch)
tree8a2a1f88d5029481be0a6ff7c8ffe3dd7ae55588 /gcc
parentb3fdec9ea50940a23eb1a82be77aba3aa178a6de (diff)
downloadgcc-be3914df4cc863fa52e3b74ad84ee683a4621e76.zip
gcc-be3914df4cc863fa52e3b74ad84ee683a4621e76.tar.gz
gcc-be3914df4cc863fa52e3b74ad84ee683a4621e76.tar.bz2
re PR target/23424 (cris.md rtl canonicalization bug)
PR target/23424 * md.texi (Modifiers) <%>: Clarify that % doesn't work after register allocation. From-SVN: r105517
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/md.texi5
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3bcd51c..ef2f059 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-17 Hans-Peter Nilsson <hp@axis.com>
+
+ PR target/23424
+ * md.texi (Modifiers) <%>: Clarify that % doesn't work
+ after register allocation.
+
2005-10-17 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.c (m32c_pushm_popm): Don't mark epilogue insns
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 8bbc2d8..36b0273 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -1552,7 +1552,10 @@ instruction is defined:
GCC can only handle one commutative pair in an asm; if you use more,
the compiler may fail. Note that you need not use the modifier if
the two alternatives are strictly identical; this would only waste
-time in the reload pass.
+time in the reload pass. The modifier is not operational after
+register allocation, so the result of @code{define_peephole2}
+and @code{define_split}s performed after reload cannot rely on
+@samp{%} to make the intended insn match.
@cindex @samp{#} in constraint
@item #