miniblog.
← Back to all posts
Jun 11, 2011 at 23:37
"The results are undefined. That means the compiler is free to do anything, like emailing your boss about this transgression."
Wilfred Hughes
Related Posts
Dec 26, 2018 at 23:25
Finding a bug in GNU Tar, and tracking down the problem:
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
(Old tools are often robust, but by no means bug free!)
You're using a tool with a too-generic User-Agent
utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
Wilfred Hughes
Shared words: means, free Score: 20.2
Dec 28, 2020 at 06:34
1
It's well known that certain compiler optimisations matter way more than others (e.g. inlining). Is there a similar principle for linters? I find red squiggles under unused/undefined variables the single most useful check.
Wilfred Hughes
Shared words: undefined, compiler Score: 19.5
Apr 22, 2017 at 22:02
Taming Undefined Behavior in LLVM
https://www.cs.utah.edu/~regehr/papers/undef-pldi17.pdf
(very readable paper on UB behaviour at the level of compiler IR semantics)
Wilfred Hughes
Shared words: undefined, compiler Score: 19.5