From be3914df4cc863fa52e3b74ad84ee683a4621e76 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 17 Oct 2005 20:39:45 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/doc/md.texi | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3bcd51c6428..ef2f059539c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-10-17 Hans-Peter Nilsson + + PR target/23424 + * md.texi (Modifiers) <%>: Clarify that % doesn't work + after register allocation. + 2005-10-17 DJ Delorie * 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 8bbc2d889ae..36b02739070 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 # -- 2.30.2