Patchwork committed: fix extract_insn HAVE_ATTR_enabled SNAFU

login
register
mail settings
Submitter Joern Rennecke
Date Nov. 6, 2012, 12:34 a.m.
Message ID <20121105193447.10j5t1aqogo8cc0c-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/197373/
State New
Headers show

Comments

Joern Rennecke - Nov. 6, 2012, 12:34 a.m.
Committed as obvious.

2012-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>

         * recog.c (extract_insn): Enabled alternative defaults to 1.

Patch

Index: recog.c
===================================================================
--- recog.c	(revision 193202)
+++ recog.c	(revision 193203)
@@ -2165,7 +2165,7 @@ 
 	{
 	  which_alternative = i;
 	  recog_data.alternative_enabled_p[i]
-	    = HAVE_ATTR_enabled ? get_attr_enabled (insn) : 0;
+	    = HAVE_ATTR_enabled ? get_attr_enabled (insn) : 1;
 	}
     }