aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/genmatch.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 079432f..1c0cf50 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-22 Richard Biener <rguenther@suse.de>
+
+ * genmatch.c (parser::parse_result): Properly handle
+ match with result operands and conditions.
+
2015-07-22 Charles Baylis <charles.baylis@linaro.org>
PR target/63870
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;