zlacker

[parent] [thread] 2 comments
1. qingch+(OP)[view] [source] 2026-01-15 05:11:42
We don't read the binary output of our C compilers because we trust it to be correct almost every time. ("It's a compiler bug" is more of a joke than a real issue)

If AI could reach the point where we actually trusted the output, then we might stop checking it.

replies(2): >>ares62+s5 >>LiamPo+aC
2. ares62+s5[view] [source] 2026-01-15 06:05:46
>>qingch+(OP)
“If” doing a lot of work here
3. LiamPo+aC[view] [source] 2026-01-15 10:37:58
>>qingch+(OP)
> "It's a compiler bug" is more of a joke than a real issue

It's a very real issue, people just seem to assume their code is wrong rather than the compiler. I've personally reported 12 GCC bugs over the last 2 years and there's 1239 open wrong-code bugs currently.

Here's an example of a simple one in the C frontend that has existed since GCC 4.7: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105180

[go to top]