This is the mail archive of the gcc-patches@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: [PATCH] Fix typo in libiberty/configure.in



> The types "int (*)[]" and "int *" are not compatible,

Except that the address of an array points to an int, not to another
pointer, so "v" and "&v" are semantically identical.  They seem
technically compatible to me.

[not that I'm against the patch, since the new way is "more obviously
correct", but just curious]


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