https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99938
Bug ID: 99938
Summary: Non-void function with no return statement: Either no
or misleading warning is printed
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
S
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99938
--- Comment #2 from rschoe at de dot ibm.com ---
Created attachment 50514
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50514&action=edit
modified example (nullptr), which now shows a warning but wrong line number 11
wgen compiled with g++