News for hackers. Stuff that matters.
Re:C++17 constexpr everything, or as much as the compiler can by plq on Thursday December 28, 2017 @08:04AM (#16021771)
Genuine question: Is there anything protecting us from an entirely new class of compiler bugs where the constexpr code and the compiled code behave differently? Is it at all possible?
Re:C++17 constexpr everything, or as much as the compiler can by lazyjones on Thursday December 28, 2017 @08:23AM (#16021842)
> Is it at all possible?

Of course it is possible. Just consider all the registers, memory locations changed during the execution of such functions. Such side effects can affect behaviour of other code in the presence of compiler bugs.