efriedma-quic wrote: > I've been reading this and the attached example for awhile and something > isn't clicking for me. Why is x not supposed to be zeroed? g() uses x, the > whole point of initializing bypassed variables is so that we don't use > uninitialized stuff that was missed by a goto.
In my example, the source and destination for the second `goto Y` are both inside the scope of the variable x; the lifetime doesn't end until you leave the scope. https://github.com/llvm/llvm-project/pull/181937 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
