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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
MSVC warns too:
<source>(12): warning C4102: 'label': unreferenced label
<source>(17): note: see reference to function template instantiation 'void
f<false>(void)' being compiled

clang does not though.
I think GCC should not warn either.

Reply via email to