mirror of
https://github.com/OpenMathLib/OpenBLAS
synced 2026-05-31 00:45:48 +08:00
Make temp1 volatile to keep Clang on AppleM from optimizing out the division guards
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user