[Bug middle-end/68762] link error for inline function decorated with OpenMP declare simd

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 8 09:49:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2016-08-08
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 39072
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39072&action=edit
gcc7-pr68762.patch

Untested fix.  That said, using #pragma omp declare simd is usually quite
pointless on inline functions, those are usually inlined and then there is no
point in the declaration.


More information about the Gcc-bugs mailing list