IRC channel logs

2025-12-01.log

back to list of logs

<matrix_bridge><Andrius Štikonas> gtker: hmm, hit even strange post increment bug now... Even this is causing problems for me:
<matrix_bridge>- pos = pos + 1;
<matrix_bridge>+ pos++;
<matrix_bridge><Andrius Štikonas> and pos is just "uint32_t pos;"
<matrix_bridge><Andrius Štikonas> I'll have to dig and check generated assembly
<matrix_bridge><Andrius Štikonas> but this was very unexpected...
<matrix_bridge><gtker> stikonas: Strange, "int main() { uint32_t t; t++; }" for me increments correctly
<matrix_bridge><Andrius Štikonas> yeah, that diff was part of my bigger changes for unxz.c
<matrix_bridge><Andrius Štikonas> but that single diff was enough to make it from working to non-working
<matrix_bridge><Andrius Štikonas> didn't have time to generated assembly diff yet...
<matrix_bridge><Andrius Štikonas> * generate
<matrix_bridge><gtker> For me it just increments by one, so not sure why it breaks anything
<matrix_bridge><Andrius Štikonas> yeah, strange, I'll try to investigate a bit after the dinner
<matrix_bridge><Andrius Štikonas> gtker: so I just ran diff on assmebly: https://paste.debian.net/1411655/
<matrix_bridge><Andrius Štikonas> I'm confused by that offset thing here...
<matrix_bridge><Andrius Štikonas> oh I guess it has to be there...