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: Really, really const


Andrew Haley <aph@redhat.com> writes:

| So, I wonder why gcc reads the memory twice.

Maybe is it because GCC is treating a as a pointer of type "const int*"
instead of an array of "const int"?  That early decay might be
pessimizing. 

-- Gaby


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