[OpenMP][Tests][NFC] Work around ICC bug
authorJoachim Protze <protze@itc.rwth-aachen.de>
Mon, 18 Oct 2021 11:33:22 +0000 (13:33 +0200)
committerJoachim Protze <protze@itc.rwth-aachen.de>
Mon, 18 Oct 2021 11:54:15 +0000 (13:54 +0200)
commitc93fb143b98ea2035c6fca95241bc5ba40faf97e
treec2a1f52f544e7d4257645e25991479476be65619
parent5918688248fa103c46da3a6ff86e7fab0e63fb45
[OpenMP][Tests][NFC] Work around ICC bug
Older intel compilers miss the privatization of nested loop variables for
doacross loops. Declaring the variable in the loop makes the test more
robust.
openmp/runtime/test/ompt/synchronization/ordered_dependences.c