Zero out the initial header instoptions.
authorEric Anholt <eric@anholt.net>
Thu, 24 Aug 2006 19:36:56 +0000 (12:36 -0700)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:21 +0000 (15:54 +0000)
assembler/gram.y

index 4bd7bfc..e0ffe43 100644 (file)
@@ -516,6 +516,9 @@ instoption_list: instoption instoption_list
                  }
                }
                | /* empty, header defaults to zeroes. */
+               {
+                 bzero(&$$, sizeof($$));
+               }
 ;
 
 /* XXX: fill me in. alignctrl, comprctrl, threadctrl, depctrl, maskctrl,