Skip to content

Commit e45d958

Browse files
stweilzdenop
authored andcommitted
arch: Remove stray ) in pragma (#1413)
This fixes a warning from clang: arch/dotproductavx.cpp:94:51: warning: unexpected token in pragma diagnostic [-Wunknown-pragmas] Signed-off-by: Stefan Weil <[email protected]>
1 parent a02b0f9 commit e45d958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/dotproductavx.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ double DotProductAVX(const double* u, const double* v, int n) {
9191
// fool the intrinsics into thinking we are extracting the bottom int64.
9292
auto cast_sum = _mm256_castpd_si256(sum);
9393
#pragma GCC diagnostic push
94-
#pragma GCC diagnostic ignored "-Wstrict-aliasing")
94+
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
9595
*(reinterpret_cast<int64_t*>(&result)) =
9696
#if defined(_WIN32) || defined(__i386__)
9797
// This is a very simple workaround that is activated

0 commit comments

Comments
 (0)