@thejpster.org.ukJonathan Pallant @thejpster.org.uk
2026-11-25 14:19 UTC
DSP stopped working on a microcontroller when I added a line of code. If I added two, it worked again. if (cbfn == NULL) { return; } Gcc truncated the 24 bit function pointer to 16 bits to compare with the (void*) 0 data pointer. So if you happened to sit on a 64K boundary…
Quoting @patigallardo.bsky.social: Alright, compiler devs, hackers, programming language designers and standardization folks, and anyone else who wants to play, let’s try something: 🐞 Tell me your favorite bug in a compiler, standard library or programming language below. …
23 likes, 3 reposts, 2 replies
3 Next post4 More from @thejpster.org.ukBackBluesky home