On Mon, May 15, 2017 at 12:17 PM, Martin Liška <mli...@suse.cz> wrote: > Hello. > > There are situations where local variables (defined in a switch scope) do > not belong to any BIND_EXPR. Thus, we ICE due to gcc_assert > (gimplify_ctxp->live_switch_vars->elements () == 0); > > Is there any better solution how we can catch these variables? > > Suggested patch can bootstrap on ppc64le-redhat-linux and survives regression > tests. > > Ready to be installed?
I think the C FE and/or ASAN should be fixed instead. Seems to work fine with C++. Richard. > Martin