logoalt Hacker News

yongjikyesterday at 9:22 PM1 replyview on HN

But since it is a UB, there's no guarantee that your test program produces the same result as the same code running on production, even if you have the same compiler.


Replies

ameliusyesterday at 9:51 PM

That's very unlikely, and in the worst case you've reduced a difficult bug into an easier to understand bug.