aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2018-01-03 20:43:47 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2018-01-03 13:43:47 -0700
commita594cff3b56f22153e50759c9eb4e0dbe54f3388 (patch)
tree4f749714f4626da6f165eb6211413bf86d5ab660 /gcc/rtl.h
parenta6fd2cd769c3bb446085e45794fcb22481eed400 (diff)
downloadgcc-a594cff3b56f22153e50759c9eb4e0dbe54f3388.zip
gcc-a594cff3b56f22153e50759c9eb4e0dbe54f3388.tar.gz
gcc-a594cff3b56f22153e50759c9eb4e0dbe54f3388.tar.bz2
PR c/83559 - -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void
gcc/ChangeLog: PR c/83559 * doc/extend.texi (attribute const): Fix a typo. * ipa-pure-const.c ((warn_function_const, warn_function_pure): Avoid issuing -Wsuggest-attribute for void functions. gcc/testsuite/ChangeLog: PR c/83559 * gcc.dg/const-2.c: New test. * gcc.dg/pure-3.c: New test. From-SVN: r256188
Diffstat (limited to 'gcc/rtl.h')
0 files changed, 0 insertions, 0 deletions