15 Aug
2023
15 Aug
'23
7:46 p.m.
Hi Bruno, On 3/15/23 23:07, Bruno Haible wrote:
Unfortunately, when I build this with CC="gcc -ftrapv" CXX="g++ -ftrapv", I find that it invokes undefined behaviour (due to signed integer overflow during left-shifting). It means that compilers can miscompile this code as they see fit.
The fix is to change the bit() macro. Of course I would like to do this fix before the next release. But before doing that, I need to increase the test coverage (more 'exam_*' tests), to make sure that the change doesn't break things.
Then only I'll test on the umpteen various architectures.
It will take a couple of weeks (because I'm also busy with other packages).
Should we wait for this before releasing 1.3.7? -richy.