]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/23424 (cris.md rtl canonicalization bug)
authorHans-Peter Nilsson <hp@axis.com>
Mon, 17 Oct 2005 20:39:45 +0000 (20:39 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 17 Oct 2005 20:39:45 +0000 (20:39 +0000)
PR target/23424
* md.texi (Modifiers) <%>: Clarify that % doesn't work
after register allocation.

From-SVN: r105517

gcc/ChangeLog
gcc/doc/md.texi

index 3bcd51c6428faf7c0a7866d089072db2570795b2..ef2f059539cfd04615cc430ac8f7ec0a7e85d371 100644 (file)
@@ -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
index 8bbc2d889ae2a1e2ada714851f15d57e5c252231..36b0273907073a9df86c0679bc7da50bfaef63df 100644 (file)
@@ -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 #