PR c/48116 - -Wreturn-type does not work as advertised
authorMartin Sebor <msebor@redhat.com>
Sat, 4 Jun 2016 20:50:50 +0000 (20:50 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Sat, 4 Jun 2016 20:50:50 +0000 (14:50 -0600)
commit58bfcc6615d1d472bfde8acb229a95a1803bb9f1
treec14483c2db68aed0895bd3c950849111d39ad9fe
parent174d7275dbcd1a3c00030f948fca4b83a5893cdf
PR c/48116 - -Wreturn-type does not work as advertised

gcc/ChangeLog:
2016-06-04  Martin Sebor  <msebor@redhat.com>
    Marcin Baczyński <marbacz@gmail.com>

PR c/48116
* doc/invoke.texi (-Wreturn-type): Mention not warning on return with
a void expression in a void function.

Co-Authored-By: Marcin Baczyński <marbacz@gmail.com>
From-SVN: r237093
gcc/ChangeLog
gcc/doc/invoke.texi