This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/59377] VRP produces bogus warning with -Warray-bounds
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Dec 2013 18:15:59 +0000
- Subject: [Bug tree-optimization/59377] VRP produces bogus warning with -Warray-bounds
- Auto-submitted: auto-generated
- References: <bug-59377-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59377
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2013-12-03
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this is an invalid testcase. GCC does not know what this strlen/memcmp
does. If we add extern "C" around strlen and memcmp, GCC does not warn.
I think you over reduced the original testcase.