X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fhash%2Fghash_pclmul.c;h=7c8f2faebae787032739db5440489e4b8b408aa5;hp=7ec982345fc167c72d04bd32f2d62b2dbd6111f2;hb=d021b7eb7fada2acbe16b1b56f6e2cbdf8eee362;hpb=ad6a51bde35d008521e3c667f64c43630351abec diff --git a/src/hash/ghash_pclmul.c b/src/hash/ghash_pclmul.c index 7ec9823..7c8f2fa 100644 --- a/src/hash/ghash_pclmul.c +++ b/src/hash/ghash_pclmul.c @@ -35,13 +35,11 @@ #if BR_AES_X86NI_GCC_OLD #pragma GCC push_options #pragma GCC target("sse2,ssse3,pclmul") +#pragma GCC diagnostic ignored "-Wpsabi" #endif #include #include #include -#if BR_AES_X86NI_GCC_OLD -#pragma GCC pop_options -#endif #endif #if BR_AES_X86NI_MSC @@ -349,6 +347,10 @@ br_ghash_pclmul_get(void) return pclmul_supported() ? &br_ghash_pclmul : 0; } +#if BR_AES_X86NI_GCC && BR_AES_X86NI_GCC_OLD +#pragma GCC pop_options +#endif + #else /* see bearssl_hash.h */