summaryrefslogtreecommitdiff
path: root/gcc/genmatch.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-22 10:48:11 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-22 10:48:11 +0000
commit3061044e68f2729e0e23a0f6ac6b7ffb1cf95958 (patch)
tree013e46b274d1acd3c73c60835d78ae6ea280688a /gcc/genmatch.c
parent0146686c15c73f456623c47c5a0d8ae56f3fecd8 (diff)
downloadgcc-3061044e68f2729e0e23a0f6ac6b7ffb1cf95958.tar.gz
2015-07-22 Richard Biener <rguenther@suse.de>
* genmatch.c (parser::parse_result): Properly handle match with result operands and conditions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226060 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genmatch.c')
-rw-r--r--gcc/genmatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genmatch.c b/gcc/genmatch.c
index 8f1fbcd47e1..f543ad74380 100644
--- a/gcc/genmatch.c
+++ b/gcc/genmatch.c
@@ -3555,6 +3555,7 @@ parser::parse_result (operand *result, predicate_id *matcher)
{
if (!matcher)
fatal_at (peek (), "manual transform not implemented");
+ ife->trueexpr = result;
}
eat_token (CPP_CLOSE_PAREN);
return ife;