[Bug middle-end/32546] [4.3 Regression] 'warning: array subscript is above/below array bounds' on delete[]
eyal at eyal dot emu dot id dot au
gcc-bugzilla@gcc.gnu.org
Mon Oct 29 07:46:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list