Files
macports-ports/math/OpenBLAS/files/5820.diff
T

17 lines
588 B
Diff

Upstream fix: https://github.com/OpenMathLib/OpenBLAS/pull/5820
for issue: https://github.com/OpenMathLib/OpenBLAS/issues/5818
diff --git a/lapack/getf2/zgetf2_k.c b/lapack/getf2/zgetf2_k.c
index 6a2137b3e7..e2c2f75f65 100644
--- lapack/getf2/zgetf2_k.c.orig
+++ lapack/getf2/zgetf2_k.c
@@ -51,7 +51,8 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
blasint *ipiv;
FLOAT *a;
- FLOAT temp1, temp2, temp3, temp4, ratio, den;
+ volatile FLOAT temp1;
+ FLOAT temp2, temp3, temp4, ratio, den;
blasint i, j;
blasint ip, jp;
blasint info;