committed: fix extract_insn HAVE_ATTR_enabled SNAFU

Submitted by Joern Rennecke on Nov. 6, 2012, 12:34 a.m.

Details

Message ID 20121105193447.10j5t1aqogo8cc0c-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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;
 	}
     }