Open tdulcet opened 6 months ago
The warning for Mlucas.c is correct but causes no harm. The mod64=0 case that would cause the undefined behavior is taken care of by the masking and will produce the expected 0 value.
The two warnings for dft_macro.c need more digging into the code.
Undefined behavior detected when Mlucas is compiled with UBSan enabled.
GCC:
Clang:
Clang Tidy also outputs similar warnings, although some of these may be false positives: