PR other/81345 - -Wall resets -Wstringop-overflow to 1 from the default 2
authorMartin Sebor <msebor@redhat.com>
Mon, 10 Jul 2017 21:00:56 +0000 (21:00 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Mon, 10 Jul 2017 21:00:56 +0000 (15:00 -0600)
commit281ac396d1715da56e1098032de9d0b747fcace9
treeb1c9cd4f04d46b6190cfc5170335fe20537273a1
parentb0e90d2acfd63b8cb2fed2385abb5c034fcd7e9a
PR other/81345 -  -Wall resets -Wstringop-overflow to 1 from the default 2

gcc/c-family/ChangeLog:

PR other/81345
* c.opt (-Wstringop-overflow): Set defaults in LangEnabledBy.

gcc/testsuite/ChangeLog:

PR other/81345
* gcc.dg/pr81345.c: New test.

From-SVN: r250104
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr81345.c [new file with mode: 0644]