I wrote about why undefined behavior may make compilers insert a call to a never-called functionhttps://kristerw.blogspot.se/2017/09/why-undefined-behavior-may-call-never.html
I wrote a follow-up post about what may happen for slightly more complex cases.https://kristerw.blogspot.se/2017/09/follow-up-on-why-undefined-behavior-may.html
I wrote a follow-up post about what may happen for slightly more complex cases.
https://kristerw.blogspot.se/2017/09/follow-up-on-why-undefined-behavior-may.html