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

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


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

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.

http://web.cs.uh.edu/~openuh/download/
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.