This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR18173 - can't force alignment of global arrays with static initializer?
On Sun, Nov 28, 2004 at 08:01:37PM +0200, Dorit Naishlos wrote:
> The reason why the vectorizer can't force the alignment of global arrays
> with static initialization is that they are being assembled before
> vectorization:
If that's the case...
> + if (DECL_FILE_SCOPE_P (decl) && DECL_INITIAL (decl))
> + return false;
... this is the wrong check. Use TREE_ASM_WRITTEN.
r~