diff mbox

[trunk] added missing parenthesis to #defines generated by gen-modes.c

Message ID 52AB5A9E.1030600@naturalbridge.com
State New
Headers show

Commit Message

Kenneth Zadeck Dec. 13, 2013, 7:06 p.m. UTC
committed as revision 205970 as obvious.

kenny
diff mbox

Patch

Index: gcc/genmodes.c
===================================================================
--- gcc/genmodes.c	(revision 205967)
+++ gcc/genmodes.c	(working copy)
@@ -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