This is the mail archive of the gcc@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]

Re: bug or idiosyncrasy?


On Fri, Aug 17, 2012 at 12:15 AM, Ulrich Drepper <drepper@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


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