* recog.c (extract_insn): Enabled alternative defaults to 1.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Tue, 6 Nov 2012 00:30:54 +0000 (00:30 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 6 Nov 2012 00:30:54 +0000 (00:30 +0000)
From-SVN: r193203

gcc/ChangeLog
gcc/recog.c

index c497a52..e20777f 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * recog.c (extract_insn): Enabled alternative defaults to 1.
+
 2012-11-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/i386/i386.c (print_reg): Replace REX_INT_REG_P with
index 8206f5e..3a53455 100644 (file)
@@ -2165,7 +2165,7 @@ extract_insn (rtx insn)
        {
          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;
        }
     }