aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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;