re PR c/68960 (__attribute__ ((aligned ())) is ignored for OpenMP private variables)
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Jan 2016 08:45:54 +0000 (09:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Jan 2016 08:45:54 +0000 (09:45 +0100)
commit8fc708b795bd3910524f1e62e1d0066cae7d9c5e
tree254f4d82e10f3f162b44144b402ba06abc6794b0
parent827d8502a59f32ed533ccf7c76ba32ea6bc27b30
re PR c/68960 (__attribute__ ((aligned ())) is ignored for OpenMP private variables)

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.

From-SVN: r232122
gcc/ChangeLog
gcc/gimple-expr.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr68960.c [new file with mode: 0644]