Bug 65386 - [libgomp] omp task final test case fails
Summary: [libgomp] omp task final test case fails
Alias: None
Product: gcc
Classification: Unclassified
Component: libgomp (show other bugs)
Version: 5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2015-03-11 08:21 UTC by Sebastian Huber
Modified: 2015-04-10 08:23 UTC (History)
1 user (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed:

Test program. (750 bytes, text/x-csrc)
2015-03-11 08:21 UTC, Sebastian Huber
Test program. (1.89 KB, text/x-csrc)
2015-03-11 08:26 UTC, Sebastian Huber

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Huber 2015-03-11 08:21:52 UTC
Created attachment 35007 [details]
Test program.

The task final test case of the OpenMP Validation SuiteV 3.0a fails on Linux.

Comment 1 Sebastian Huber 2015-03-11 08:26:41 UTC
Created attachment 35009 [details]
Test program.
Comment 2 Jakub Jelinek 2015-03-11 08:45:04 UTC
The test looks bogus to me.
Citing the standard:
final task   A task that forces all of its child tasks to become final and included tasks.
None of the explicit tasks (final or not) create any child tasks, so nothing requires any explicit task to be included, so I see no reason why there should be any restriction on where the tasks are scheduled.
IMHO the spec just says that all the children of the final task will be included (i.e. tied to the final parent task).
Comment 3 Sebastian Huber 2015-04-10 08:23:11 UTC
I contacted the test suite authors and they also think that this test is bogus.