Re: [PATCH v2] add support for placing variables in shared memory

2016-05-09 Thread Nathan Sidwell
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"); - rej

Re: [PATCH v2] add support for placing variables in shared memory

2016-05-06 Thread Alexander Monakov
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" memor