2 ms·
Clang now has "frozen poison" is because the original poison was essentially a flawed concept that lead to incorrect optimizations. I certainly do no think we s
by uecker 2y ago
Clang now has "frozen poison" is because the original poison was essentially a flawed concept that lead to incorrect optimizations. I certainly do no think we should import this into the C standard.
I similar to the Microsoft guys inventing time-travel UB which lead to their compiler being broken. As a standard committee we need to push back against such nonsense instead of endorsing it. I am all for formalizing this stuff precisely though.
- jcranmer 2y agoIt was undef that was broken, not poison. (See https://llvm.org/devmtg/2016-11/Slides/Lopes-LongLivePoison.pdf https://llvm.org/devmtg/2016-11/Slides/Lopes-LongLivePoison.... for the start of the discussion that leads to the development of the current situation).
- uecker 2y agoAh right, thanks! undef is what I meant.