On Fri, Oct 07, 2005 at 11:39:46AM -0700, Richard Henderson wrote:
> That said, some ABIs over-align arrays, and so you might get more
> padding with arrays than raw strings.  But it'll be less than the
> size of an extra pointer variable.

Plus constant merging will not happen (at least not unless
-fmerge-all-constants) when using:
const char foo[] = "Hello, world!";
in one file and
const char bar[] = "Hello, world!";
in another one (or even in the same file), while the strings are merged
for
const char *foo = "Hello, world!";
and
const char *bar = "Hello, world!";
in another file.

        Jakub

Reply via email to