]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
genmodes.c (emit_max_int): Fixed missing parens.
authorKenneth Zadeck <zadeck@naturalbridge.com>
Fri, 13 Dec 2013 19:04:14 +0000 (19:04 +0000)
committerKenneth Zadeck <zadeck@gcc.gnu.org>
Fri, 13 Dec 2013 19:04:14 +0000 (19:04 +0000)
2013-12-13  Kenneth Zadeck  <zadeck@naturalbridge.com>

* genmodes.c (emit_max_int): Fixed missing parens.

From-SVN: r205970

gcc/ChangeLog
gcc/genmodes.c

index 9aeeadbec52a2ffd808fadba3ccf27d20efaae0e..e80beeb5857952d15eae99901994ad08e70e54e7 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-13  Kenneth Zadeck  <zadeck@naturalbridge.com>
+
+       * genmodes.c (emit_max_int): Fixed missing parens.
+       
 2013-12-13  Aldy Hernandez  <aldyh@redhat.com>
 
        PR tree-optimization/59149
index 641623d385e4220e4ec6d5d8e2a9a52e6f0798c4..d6dcd2d7d425e1eb862431faf9d1a1d04dae1dc2 100644 (file)
@@ -891,7 +891,7 @@ emit_max_int (void)
          max = i->bytesize;
       if (max > mmax)
        mmax = max;
-      printf ("#define MAX_BITSIZE_MODE_ANY_INT %d*BITS_PER_UNIT\n", mmax);
+      printf ("#define MAX_BITSIZE_MODE_ANY_INT (%d*BITS_PER_UNIT)\n", mmax);
     }
   else
     printf ("#define MAX_BITSIZE_MODE_ANY_INT %d\n", max_bitsize_mode_any_int);
@@ -901,7 +901,7 @@ emit_max_int (void)
     for (i = modes[j]; i; i = i->next)
       if (mmax < i->bytesize)
        mmax = i->bytesize;
-  printf ("#define MAX_BITSIZE_MODE_ANY_MODE %d*BITS_PER_UNIT\n", mmax);
+  printf ("#define MAX_BITSIZE_MODE_ANY_MODE (%d*BITS_PER_UNIT)\n", mmax);
 }
 
 static void