https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104359
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- It is undefined but the issue/question keeps coming up. The store that makes the subsequent read undefined is clearly visible in the IL at all optimization levels so it would be quite easy to issue a helpful warning for the code.