https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282
--- Comment #21 from mcccs at gmx dot com --- Okay I'm so sorry for the misinterpretation. I thought DCE should never turn an invalid program to a valid one because DCE is always an optimization and optimizations should never modify the behavior of the programs. But since you're the code owner and someone familiar with GCC internals your word is worth 100 times my word so this can be closed.