[Bug c/81006] ICE with zero-size array and #pragma omp task depend

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 8 08:20:00 GMT 2017


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-06-08
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with GCC 4.9.0, before that error message was displayed:

pr81006.cpp: In function ‘void foo()’:
pr81006.cpp:5:20: error: expected ‘#pragma omp’ clause before ‘depend’
   #pragma omp task depend(out: a[:])
                    ^


More information about the Gcc-bugs mailing list