Toot

Written by Laria on 2024-07-16 at 19:21

Sooo, if I build a #c program on #gcc once with -O0 and once with -O2, and it outputs something different. And gcc builds it without any warnings, even with -Wall -Werror -Wextra -pedantic. And also UBSan not finding any undefined behaviors.... Assuming all that, have I found a bug in GCC? 😬

(The disassembly gdb spits out for the offending function looks kinda wrong to me, but my ASM skills are a bit rusty...)

=> View attached media

=> More informations about this toot | View the thread | More toots from laria@duclaria.com

Mentions

Tags

=> View c tag | View gcc tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/112797792090672108
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
224.936893 milliseconds
Gemini-to-HTML Time
0.385939 milliseconds

This content has been proxied by September (ba2dc).