[Bug c/68960] __attribute__ ((aligned ())) is ignored for OpenMP private variables
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 7 08:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68960
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 7 08:45:54 2016
New Revision: 232122
URL: https://gcc.gnu.org/viewcvs?rev=232122&root=gcc&view=rev
Log:
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:
trunk/libgomp/testsuite/libgomp.c/pr68960.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-expr.c
trunk/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list