This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2] add support for placing variables in shared memory
- From: Nathan Sidwell <nathan at acm dot org>
- To: Alexander Monakov <amonakov at ispras dot ru>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 9 May 2016 09:39:47 -0400
- Subject: Re: [PATCH v2] add support for placing variables in shared memory
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LNX dot 2 dot 20 dot 1604201957570 dot 14803 at monopod dot intra dot ispras dot ru> <alpine dot LNX dot 2 dot 20 dot 1605061958430 dot 20406 at monopod dot intra dot ispras dot ru>
On 05/06/16 13:11, Alexander Monakov wrote:
Allow using __attribute__((shared)) to place static variables in '.shared'
memory space.
Changes in v2:
- reword diagnostic message in nvptx_handle_shared_attribute to follow other
backends ("... attribute not allowed with auto storage class");
- reject explicit initialization of ".shared" memory variables;
- add testcases.
thanks, this is ok to commit now -- I see no reason why it needs to wait.
nathan