From 5ceed0d57f14b0d9d62b8732f7f686b3aae56738 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Mon, 10 Oct 2022 20:38:53 +0000 Subject: [PATCH] Guard GCC-specific pragmas with "#ifdef EIGEN_COMP_GNUC" --- Eigen/src/LU/arch/InverseSize4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/LU/arch/InverseSize4.h b/Eigen/src/LU/arch/InverseSize4.h index 07afb389e..2733fbe2d 100644 --- a/Eigen/src/LU/arch/InverseSize4.h +++ b/Eigen/src/LU/arch/InverseSize4.h @@ -37,7 +37,7 @@ #include "../InternalHeaderCheck.h" -#ifdef EIGEN_COMP_GNUC +#if !EIGEN_COMP_LLVM // These routines requires bit manipulation of the sign, which is not compatible // with fastmath. #pragma GCC push_options @@ -358,7 +358,7 @@ struct compute_inverse_size4