[hsa] Increase hsa symbol alignment to natural one
authorMartin Jambor <mjambor@suse.cz>
Mon, 16 May 2016 17:49:44 +0000 (19:49 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 16 May 2016 17:49:44 +0000 (19:49 +0200)
commit51d9ed489006f5693cb3d1bddaba431a98aa86c6
tree5ed5bcd7d4b7df31c135b193a9f9d59d92b00c1b
parent538374e1396abe947817191a4da34ecc0ad3fb19
[hsa] Increase hsa symbol alignment to natural one

2016-05-16  Martin Jambor  <mjambor@suse.cz>

* hsa-gen.c (fillup_for_decl): Increase alignment to natural one.
(get_symbol_for_decl): Sorry if a global symbol in under-aligned.

libgomp/
        * testsuite/libgomp.hsa.c/complex-align-2.c: New test.

From-SVN: r236295
gcc/ChangeLog
gcc/hsa-gen.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.hsa.c/complex-align-2.c [new file with mode: 0644]