This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][match-and-simplify] Fix failed init of force_no_side_effects


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]