aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmatch.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-07-22 10:48:11 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-07-22 10:48:11 +0000
commitd3b0b6921f805ae943198fe519299175bc122aca (patch)
tree013e46b274d1acd3c73c60835d78ae6ea280688a /gcc/genmatch.c
parent4d0a023751b086e7f11dc4529042104a9bd8cb1b (diff)
downloadgcc-d3b0b6921f805ae943198fe519299175bc122aca.zip
gcc-d3b0b6921f805ae943198fe519299175bc122aca.tar.gz
gcc-d3b0b6921f805ae943198fe519299175bc122aca.tar.bz2
genmatch.c (parser::parse_result): Properly handle match with result operands and conditions.
2015-07-22 Richard Biener <rguenther@suse.de> * genmatch.c (parser::parse_result): Properly handle match with result operands and conditions. From-SVN: r226060
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 8f1fbcd..f543ad7 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;