https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68960
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Feb 10 18:28:44 2016 New Revision: 233288 URL: https://gcc.gnu.org/viewcvs?rev=233288&root=gcc&view=rev Log: Backported from mainline 2016-01-07 Jakub Jelinek <ja...@redhat.com> PR middle-end/68960 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy it and DECL_ALIGN too. * testsuite/libgomp.c/pr68960.c: New test. Added: branches/gcc-5-branch/libgomp/testsuite/libgomp.c/pr68960.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/gimple-expr.c branches/gcc-5-branch/libgomp/ChangeLog