On Mon, Sep 5, 2016 at 1:11 PM, Jakub Jelinek <ja...@redhat.com> wrote:
> +  /* If body is a statement other than STATEMENT_LIST or BIND_EXPR,
> +     it should be skipped.  E.g. switch (a) b = a;  */
> +  if (TREE_CODE (body) == STATEMENT_LIST
> +      || TREE_CODE (body) == BIND_EXPR)

I'm nervous about this optimization for useless code breaking other
things that might (one day) wrap a case label; I think I'd prefer to
drop the condition.

OK with that change, for trunk and 6.

Jason

Reply via email to