This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48795] -Warray-bounds false positive
- From: "niko.lecam at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Apr 2011 23:43:16 +0000
- Subject: [Bug tree-optimization/48795] -Warray-bounds false positive
- Auto-submitted: auto-generated
- References: <bug-48795-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48795
--- Comment #1 from Nicolas Le Cam <niko.lecam at gmail dot com> 2011-04-27 23:42:35 UTC ---
Removing the call to p avoid the warning. Also tested by replacing p with a
call to memcpy for example, which also triggers the warning.