Hi Andrew:

> > +  FOR_EACH_FUNCTION_WITH_GIMPLE_BODY (node)
> > +    {
> > +      function *fun = node->get_fun ();
> > +      FOR_EACH_LOCAL_DECL (fun, i, var)
> > +       {
> > +         align = LOCAL_DECL_ALIGNMENT (var);
> > +
> > +         SET_DECL_ALIGN (var, align);
>
>
> I think this is wrong if the user has set the alignment already.
> You need to check DECL_USER_ALIGN.

Good point, maybe we need to fix align_local_variable too :)

Thanks.

Reply via email to