Registered Member
|
Dear All,
The following code:
(Eigen 3.2.5) Triggers many gcc-ubsan warnings of the form:
But if I use
gcc-ubsan doesn't complain any more. Unfortunatly, I do not control the version of Eigen this is to run on (that will always trail the latest Eigen version by several months) and would prefer to run the float version of the code. I also get a similar warning when I am calling FullPivHouseholderQR/HouseholderQR instead of ColPivHouseholderQR. Thanks in advance, |
Moderator
|
gcc-ubsan is wrong because the intrinsic _mm_load_sd does not require any special alignment. Nevertheless, in the devel branch I've remove this trick a few days ago because it is not useful anymore on todays CPUs. We could do the same in the 3.2 branch for the 3.2.7 version. In the meantime, you can just ignore this harmless warning.
|
Registered Member
|
Ok, thanks for the info!
|
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar