Yet the compiler writers care only about the language spec, and you can bet that failing to optimize this as dead code would be considered a compiler bug.
This goes not only for Java compiler, but many other languages as well.
This goes not only for Java compiler, but many other languages as well.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8537
>When optimizing code for "dead store removal" the optimizing compiler may remove code necessary for security.