This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/32546] [4.3 Regression] 'warning: array subscript is above/below array bounds' on delete[]



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]