[Bug c/77946] -Wimplicit-fallthrough=1 ICE: tree check: expected tree that contains ‘decl with visibility’ structure, have ‘label_decl’
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 12 07:59:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77946
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-10-12
Ever confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Thanks. More reduced (that fails even with -Wimplicit-fallthrough):
void
foo (void)
{
static void *p = &&lab;
goto *p;
/*FALLTHRU*/
lab:;
}
More information about the Gcc-bugs
mailing list