public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/87911] OpenACC/OpenMP clauses parsing: comma operator vs. separator
       [not found] <bug-87911-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-01  9:41 ` tschwinge at gcc dot gnu.org
  2021-07-01  9:47 ` jakub at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2021-07-01  9:41 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
   Last reconfirmed|                            |2021-07-01
           See Also|                            |https://github.com/OpenACC/
                   |                            |openacc-spec/pull/363
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
For OpenACC this got discussed/resolved in
<https://github.com/OpenACC/openacc-spec/pull/363> "Issue 354: Disallow C/C++
comma operators" (similar to the OpenMP wording), and -- if I remember
correctly -- Tobias verified that the GCC/OpenACC implementation behaves
properly?

Don't know about the OpenMP status.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/87911] OpenACC/OpenMP clauses parsing: comma operator vs. separator
       [not found] <bug-87911-4@http.gcc.gnu.org/bugzilla/>
  2021-07-01  9:41 ` [Bug c/87911] OpenACC/OpenMP clauses parsing: comma operator vs. separator tschwinge at gcc dot gnu.org
@ 2021-07-01  9:47 ` jakub at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-07-01  9:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For OpenMP, I think after the clarification it got fixed in
r9-3992-g81a227c6054a82118d80d3f4b2fffb44bc43aae2
There is still the fuzzy case whether #pragma omp declare reduction combiner
expression should allow commas or not, all compilers I've checked do allow it
there and IMNSHO it is the right thing, but maybe the standard doesn't allow
that, but it is the standard that should be fixed in that case.
#pragma omp declare reduction(+:struct S:omp_out.x += omp_in.x, omp_out.y +=
omp_in.y)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-01  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-87911-4@http.gcc.gnu.org/bugzilla/>
2021-07-01  9:41 ` [Bug c/87911] OpenACC/OpenMP clauses parsing: comma operator vs. separator tschwinge at gcc dot gnu.org
2021-07-01  9:47 ` jakub 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).