Re: Bogus gcc.c-torture/execute/20071018-1.c testcase?

2012-01-02 Thread Richard Guenther
On Sat, 31 Dec 2011, Mark Kettenis wrote: Execution of the test randomly fails for me on OpenBSD/amd64. Looking at the code, it seems it is doing an out-of-bounds array access. For refernce I've copied the code of the testcase below. As you can see there's a foo(0) call in main().

Bogus gcc.c-torture/execute/20071018-1.c testcase?

2011-12-31 Thread Mark Kettenis
Execution of the test randomly fails for me on OpenBSD/amd64. Looking at the code, it seems it is doing an out-of-bounds array access. For refernce I've copied the code of the testcase below. As you can see there's a foo(0) call in main(). Therefore struct foo **upper = as-x[rank * 8 - 1];