]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Initialise a couple of scalars that gcc -Og thinks might be
authorJulian Seward <jseward@acm.org>
Mon, 21 Jul 2014 07:55:45 +0000 (07:55 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 21 Jul 2014 07:55:45 +0000 (07:55 +0000)
uninitialised, presumably because at -Og it doesn't do enough
block straightening-outening or whatever to see that they are
always assigned before use.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2906

VEX/priv/guest_arm_toIR.c

index ff2ebdfd4b332321dfff645813de3896043d922d..c0bf0a78cd9456b3891e55cbb1c98c8b30699a3b 100644 (file)
@@ -3657,8 +3657,8 @@ Bool dis_neon_data_3same ( UInt theInstr, IRTemp condT )
       case 4:
          if (B == 0) {
             /* VSHL */
-            IROp op, sub_op;
-            IRTemp tmp;
+            IROp op = Iop_INVALID, sub_op = Iop_INVALID;
+            IRTemp tmp = IRTemp_INVALID;
             if (U) {
                switch (size) {
                   case 0: op = Q ? Iop_Shl8x16 : Iop_Shl8x8; break;