This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32546] [4.3 Regression] 'warning: array subscript is above/below array bounds' on delete[]
- From: "eyal at eyal dot emu dot id dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2007 07:46:01 -0000
- Subject: [Bug middle-end/32546] [4.3 Regression] 'warning: array subscript is above/below array bounds' on delete[]
- References: <bug-32546-14599@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from eyal at eyal dot emu dot id dot au 2007-10-29 07:46 -------
(In reply to comment #3)
> I can reproduce this on powerpc64-linux with a compiler from 20070630 but not
> with anything after 30070731; can anyone else still reproduce the failure, or
> has it been fixed?
I still get it now with a C program:
#include <stdio.h>
static void f (
char a[3][16])
{
printf ("%p", a[2]);
}
int main (void)
{
char x[3][16];
f (x);
return (0);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32546