x86: Initialize broadcast_op.bytes to 0
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 26 Jul 2018 15:49:12 +0000 (08:49 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 26 Jul 2018 15:49:12 +0000 (08:49 -0700)
* config/tc-i386.c (check_VecOperations): Initialize
broadcast_op.bytes to 0.

gas/ChangeLog
gas/config/tc-i386.c

index 582a12d0ee331fe9dd13bb659e3e82e0f7fb6417..e8c500a2c0ebf6246f01cee80a907e45cfdd3692 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (check_VecOperations): Initialize
+       broadcast_op.bytes to 0.
+
 2018-07-26  Alex Chadwick  <Alex.Chadwick@cl.cam.ac.uk>
 
        * config/tc-ppc.c (md_show_usage): Add -mgekko and -mbroadway.
index 3f8bd93224009ce564e5c5e1aea7ee1230a7ebf4..9e9c676580a10485637206e022781eac100252c0 100644 (file)
@@ -8634,6 +8634,7 @@ check_VecOperations (char *op_string, char *op_end)
 
              broadcast_op.type = bcst_type;
              broadcast_op.operand = this_operand;
+             broadcast_op.bytes = 0;
              i.broadcast = &broadcast_op;
            }
          /* Check masking operation.  */