Make temp1 volatile to keep Clang on AppleM from optimizing out the division guards

This commit is contained in:
Martin Kroeker
2026-05-25 00:35:40 +02:00
committed by GitHub
parent 804a77cb1a
commit 1f2ae720af

View File

@@ -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;