[Bug c++/87515] "no return statement in function returning non-void" miscompiles with optimizations
jaydee at email dot cz
gcc-bugzilla@gcc.gnu.org
Thu Oct 4 12:54:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87515
--- Comment #2 from Jakub Drnec <jaydee at email dot cz> ---
Ok, will use -Werror=return-type , thanks. Looking at the discussion in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943 this really is not legal
code, I merely wasn't expecting the nasal demons to be this vigorous.
More information about the Gcc-bugs
mailing list