This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/81345] -Wall resets -Wstringop-overflow to 1 from the default 2
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Jul 2017 21:01:29 +0000
- Subject: [Bug other/81345] -Wall resets -Wstringop-overflow to 1 from the default 2
- Auto-submitted: auto-generated
- References: <bug-81345-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Mon Jul 10 21:00:56 2017
New Revision: 250104
URL: https://gcc.gnu.org/viewcvs?rev=250104&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/pr81345.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c.opt
trunk/gcc/testsuite/ChangeLog