On Mon, Mar 30, 2020 at 06:31:27PM +0800, Kito Cheng wrote:
> gcc/ChangeLog
> 
>       * cfgexpand.c (align_local_variable): Check DECL_USER_ALIGN.

Why?  LOCAL_DECL_ALIGNMENT surely shouldn't decrease alignment of decls
with DECL_USER_ALIGN vars (but do you have evidence that it does),
but it is just fine to increase alignment of vars with explicit alignment
requirements if the compiler thinks it is beneficial.  Larger alignment
still satisfies the user requirement...

        Jakub

Reply via email to