summaryrefslogtreecommitdiff
path: root/gcc/reg-notes.def
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-02-01 21:28:46 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2008-02-01 21:28:46 +0000
commit3e836a310dd93958129e5b917466c4f11cbabc13 (patch)
tree249cc303d527362a0580a568986dea3066f5601b /gcc/reg-notes.def
parent2449e8e5cdb140871c4368606cd3405a48103319 (diff)
downloadgcc-3e836a310dd93958129e5b917466c4f11cbabc13.tar.gz
re PR rtl-optimization/34773 (miscompilation of vfprintf_r)
PR rtl-optimization/34773 * reg-notes.def (EQUAL): Mention significance of combination of REG_EQUAL and REG_RETVAL. * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an insn that has a REG_RETVAL. From-SVN: r132053
Diffstat (limited to 'gcc/reg-notes.def')
-rw-r--r--gcc/reg-notes.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def
index 36953242e29..eaf04168f5f 100644
--- a/gcc/reg-notes.def
+++ b/gcc/reg-notes.def
@@ -52,7 +52,9 @@ REG_NOTE (EQUIV)
/* Like REG_EQUIV except that the destination is only momentarily
equal to the specified rtx. Therefore, it cannot be used for
- substitution; but it can be used for cse. */
+ substitution; but it can be used for cse. Together with a
+ REG_RETVAL note, it means that the insn sets the full contents of
+ the libcall value. */
REG_NOTE (EQUAL)
/* This insn copies the return-value of a library call out of the hard