https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87315
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- To be clear: besides the missing warning this is also about the kind of code GCC emits for the uninitialized read -- a missed-optimization for lack of a better term/keyword. It would be safer to do what Clang does and either replace the code with a trap, or simply eliminate it altogether. Bug 87209 only covers the missing warning aspect.