]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/sol2-c.c
Merge from trunk.
[thirdparty/gcc.git] / gcc / config / sol2-c.c
index 8254af0fd7395b4a2d185e40413bb24c7b64a2cc..1a47e39e9cf114e3bb51a2ebff38c768b1cf7846 100644 (file)
@@ -96,7 +96,7 @@ solaris_pragma_align (cpp_reader *pfile ATTRIBUTE_UNUSED)
     }
 
   low = TREE_INT_CST_LOW (x);
-  if (TREE_INT_CST_HIGH (x) != 0
+  if (!cst_fits_uhwi_p (x)
       || (low != 1 && low != 2 && low != 4 && low != 8 && low != 16
          && low != 32 && low != 64 && low != 128))
     {