[Bug c++/79996] spurious -Wreturn-type on a function that calls a noreturn function
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 11 01:24:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79996
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=79967
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
As I mentioned in bug 79967 comment 2, I think the code is actually invalid
(and meaningless) and should be diagnosed, so I'm making this bug
accepts-invalid.
More information about the Gcc-bugs
mailing list