[Bug c++/120300] -Wmissing-noreturn is handled inconsistently for in-class and out-of-class definitions

2025-05-15 Thread leekillough at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120300 --- Comment #2 from Lee Killough --- > The problem is Wmissing-noreturn happens after optimizations so if a function is defined in-class it has an implicit vague linkage and not included. The problem is more with false -Wmissing-noreturn warni

[Bug c++/120300] New: -Wmissing-noreturn is handled inconsistently for in-class and out-of-class definitions

2025-05-15 Thread leekillough at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120300 Bug ID: 120300 Summary: -Wmissing-noreturn is handled inconsistently for in-class and out-of-class definitions Product: gcc Version: 16.0 Status: UNCONFIRMED S