[hsa] Set program allocation for static local variables
authorMartin Jambor <mjambor@suse.cz>
Thu, 8 Feb 2018 13:03:52 +0000 (14:03 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 8 Feb 2018 13:03:52 +0000 (14:03 +0100)
commitc7c30edd4a6049a0debe0ed17ffdb9c196d4c677
tree1ddc2a0a9a52e7b9fbe52d94618bbcaeb647280b
parent414fef4e668856edb8ca885525679c5d5e691fd1
[hsa] Set program allocation for static local variables

2018-02-08  Martin Jambor  <mjambor@suse.cz>

* hsa-gen.c (get_symbol_for_decl): Set program allocation for
static local variables.

libgomp/
* testsuite/libgomp.hsa.c/staticvar.c: New test.

From-SVN: r257484
gcc/ChangeLog
gcc/hsa-gen.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.hsa.c/staticvar.c [new file with mode: 0644]