https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106171

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Isn't that UB?  Both e[0] and e[1] initialized in the first loop when d == 0,
but not used there, then e goes out of scope, in the d == 1 iteration e is
uninitialized, nothing initializes it and e[0] is returned.

Reply via email to