This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][match-and-simplify] Fix failed init of force_no_side_effects
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Oct 2014 10:57:04 +0200 (CEST)
- Subject: [PATCH][match-and-simplify] Fix failed init of force_no_side_effects
- Authentication-results: sourceware.org; auth=none
Committed.
Richard.
2014-10-24 Richard Biener <rguenther@suse.de>
* genmatch.c (capture_info::capture_info): Initialize
force_no_side_effects.
Index: gcc/genmatch.c
===================================================================
--- gcc/genmatch.c (revision 216594)
+++ gcc/genmatch.c (working copy)
@@ -1902,6 +1902,7 @@ capture_info::capture_info (simplify *s)
return;
}
+ force_no_side_effects = 0;
info.safe_grow_cleared (s->capture_max + 1);
e = as_a <expr *> (s->match);
for (unsigned i = 0; i < e->ops.length (); ++i)