[Bug c++/94742] [8/9/10 Regression] Incorrect "no return statement" warning with [[noreturn]] and __FUNCTION__
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 24 11:06:40 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94742
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Incorrect "no return |[8/9/10 Regression]
|statement" warning with |Incorrect "no return
|[[noreturn]] and |statement" warning with
|__FUNCTION__ |[[noreturn]] and
| |__FUNCTION__
Target Milestone|--- |8.5
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r8-4349-g1b6fa695ab5e6f6fd57ed9264b336f06f440125b when
-Wreturn-type has been enabled by default, but with explicit -Wreturn-type and
__attribute__((noreturn)) instead of [[noreturn]] already failed in r105000.
More information about the Gcc-bugs
mailing list