]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/varasm.c
Add inline functions for various bitwise operations.
[thirdparty/gcc.git] / gcc / varasm.c
index 00a9b30e73cc03236ead949e42758fb75a1879fb..ba866ce8044c9a9ffd9d16000aaedea815605bb0 100644 (file)
@@ -2632,7 +2632,7 @@ assemble_trampoline_template (void)
 static inline unsigned
 min_align (unsigned int a, unsigned int b)
 {
-  return (a | b) & -(a | b);
+  return least_bit_hwi (a | b);
 }
 
 /* Return the assembler directive for creating a given kind of integer