This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/81841] [5/6/7/8 Regression] THREADPRIVATE (OpenMP) wrongly rejected in BLOCK DATA
- From: "dibr-bugzilla at daswigwam dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Aug 2017 15:20:56 +0000
- Subject: [Bug fortran/81841] [5/6/7/8 Regression] THREADPRIVATE (OpenMP) wrongly rejected in BLOCK DATA
- Auto-submitted: auto-generated
- References: <bug-81841-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81841
--- Comment #10 from dbroemmel <dibr-bugzilla at daswigwam dot de> ---
(In reply to janus from comment #9)
> This seems to be PR 81018 (which translates into "not your fault").
Good :)
> I'm happy for now. Backed by your OpenMP quotes, the patch looks pretty
> solid to me.
Can I add again: I've not checked (and wouldn't quite know how to) if this
Fortran/OpenMP syntax would require any GOMP machinery to work that's not there
yet. I did write a few simple minded tests for myself if the outcome of a
binary is what I would expect and it did seem work. I also assume that as it
did work prior to 4.9.x, all the OpenMP parts are there and work as expected
and only the syntax check in the parser failed.
And I don't take credit for the patch. It's what the OpenMP-forum entry
suggested.
> Do you feel confident enough to turn your small example into a dejagnu test
> case to be committed along with the patch? We'll also need a short ChangeLog
> entry for both.
I'm afraid not right now. I have no idea how dejagnu works. I can try and
devote some more time to it tomorrow, but I can't promise anything.