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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 33581
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33581&action=edit
gcc5-pr63247.patch

Untested fix.  I believe it is only this particular case
(OMP_CLAUSE_MAP_POINTER for array with non-zero bias) that needs fixing, for
zero base array bias we emit mapping for the decl just with perhaps shortened
length, and for non-array pointer assign the decl should be a pointer already. 
Thanks for reporting this.

Reply via email to