News for hackers. Stuff that matters.
Re:Clang vs. Clang by layer8 on Saturday August 03, 2024 @02:21PM (#41148250)
It’s not well-defined what counts as an optimization. For example, should every single source-level read access of a memory location go through all cache levels down to main memory, instead of, for example, caching values in registers? That would be awfully slow. But that question is one reason for UB.
Re:Clang vs. Clang by kevingadd on Saturday August 03, 2024 @04:34PM (#41149054)
Or writing code that relies on inlining and/or tail call optimization to successfully run at all without running out of stack... We've got some code that doesn't run if compiled O0 due to that.