[Bug c/96678] [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96678 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/96678] [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-25 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96678 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:3d5ed337cb354c2f85a9caf60377bad887b18d53 commit r11-2849-g3d5ed337cb354c2f85a9caf60377bad887b18d53 Author: Tobias Burnus Date:

[Bug c/96678] [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96678 --- Comment #2 from Tobias Burnus --- Side remark: This pops up for SPEC ACCEL 504.polbm; however, it is permitted to require explicit sizes by defining SPEC_NEED_EXPLICIT_SIZE. (The default of the testcase is to expect that it works without

[Bug c/96678] [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96678 --- Comment #1 from Tobias Burnus --- At least for C, there is: