Really, really const

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Sep 26 09:12:00 GMT 2003


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



More information about the Gcc mailing list