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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #3)
> This came up in kernel: https://bugzilla.kernel.org/show_bug.cgi?id=215851
> which I've reduced to 
> 
> void
> foo (void **failaddr)
> {
>   *failaddr = ({ __label__ __here; __here: &&__here; });
> }
> 
> I don't think we should be warning here at all and I have a patch to that
> effect.

Actaully in the above case, there should be a warning as you should not be able
to jump into a statement expression.

Reply via email to