]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/md5.c
Improve boostrap-ubsan config (PR bootstrap/64914).
[thirdparty/gcc.git] / libiberty / md5.c
index f106d2262cadb55401a3fceeb32f96d77b748e98..4dd5186a69a1c1dbfcbe350518773f9f6e7a8ed7 100644 (file)
@@ -231,7 +231,7 @@ md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx)
   /* Process available complete blocks.  */
   if (len > 64)
     {
-#if !_STRING_ARCH_unaligned
+#if !_STRING_ARCH_unaligned || defined UBSAN_BOOTSTRAP
 /* To check alignment gcc has an appropriate operator.  Other
    compilers don't.  */
 # if __GNUC__ >= 2