On Fri, Aug 17, 2012 at 12:15 AM, Ulrich Drepper <drep...@gmail.com> wrote: > Compiling the following code with D defined works. Leave it out (and > remove the extra dimension which has no influence on the data layout > etc) and it compiles. Is this correct? Why wouldn't a simple use of > an array parameter be sufficient?
It looks like the decaying to a pointer in the function argument is what is causing the issues. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 for other related issues. Thanks, Andrew