https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83599

--- Comment #2 from Yibiao Yang <yangyibiao at nju dot edu.cn> ---
(In reply to Martin Liška from comment #1)
> Thanks for another report, in this case the code is invalid:
> 
>  gcc pr83599.c -Wreturn-type
> pr83599.c: In function ‘func’:
> pr83599.c:7:1: warning: control reaches end of non-void function
> [-Wreturn-type]
>  }
>  ^

Thanks, Martin. Will avoid such kind of invalid bug report.

Reply via email to