X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fhash%2Fghash_pclmul.c;h=7c8f2faebae787032739db5440489e4b8b408aa5;hp=7ec982345fc167c72d04bd32f2d62b2dbd6111f2;hb=9dc6211237abcc4a4854818f8e5d7b8973bf31e3;hpb=2f88a673049d1e183d1a8f78e2030bf02362b8bf 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 */