public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/65001] New: OpenACC data clauses, OpenMP target data clauses: "register" storage class
@ 2015-02-10 13:03 tschwinge at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: tschwinge at gcc dot gnu.org @ 2015-02-10 13:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65001

            Bug ID: 65001
           Summary: OpenACC data clauses, OpenMP target data clauses:
                    "register" storage class
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: openacc, openmp
          Severity: minor
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org

Consider:

      register char *a = 0;

    #pragma acc data deviceptr(a)
      ++a;

    ../../deviceptr3.c:5:9: error: address of register variable 'a' requested
     #pragma acc data deviceptr(a)
             ^

Also for other OpenACC data clauses as well as OpenMP target data clauses. 
Should this be supported?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-10 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-10 13:03 [Bug c/65001] New: OpenACC data clauses, OpenMP target data clauses: "register" storage class tschwinge at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).