Skip to content

Commit 52c2bd3

Browse files
committed
Suppress warning emitted by Clang.
Fixes: 46e0137 ("Optimize gcm_gf_mult using PCLMULQDQ and PMULL") Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 5bdcab9 commit 52c2bd3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/encauth/gcm/gcm_gf_mult.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,11 @@ static void s_gcm_gf_mult_pclmul(const unsigned char *a, const unsigned char *b,
130130
#if defined(__GNUC__)
131131
#pragma GCC diagnostic push
132132
#pragma GCC diagnostic ignored "-Wbad-function-cast"
133-
#pragma GCC diagnostic ignored "-Wunused-parameter"
133+
#pragma GCC diagnostic ignored "-Wcast-align"
134134
#pragma GCC diagnostic ignored "-Wmissing-braces"
135-
#pragma GCC diagnostic ignored "-Wsign-compare"
136135
#pragma GCC diagnostic ignored "-Wshadow"
136+
#pragma GCC diagnostic ignored "-Wsign-compare"
137+
#pragma GCC diagnostic ignored "-Wunused-parameter"
137138
#endif
138139
#include <arm_neon.h>
139140
#if defined(__GNUC__)

0 commit comments

Comments
 (0)