[Bug c++/105195] spurious warning label defined but not used with if constexpr

2022-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105195 --- Comment #2 from Andrew Pinski --- MSVC warns too: (12): warning C4102: 'label': unreferenced label (17): note: see reference to function template instantiation 'void f(void)' being compiled clang does not though. I think GCC should not warn

[Bug c++/105195] spurious warning label defined but not used with if constexpr

2022-04-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105195 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Keywords|