Skip to content
Commit 5372fb8c authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] Fix for PR34398: assert with random access iterator if the

step>1.

If the loop is a loot with random access iterators and the iteration
construct is represented it += n, then the compiler crashed because of
reusing of the same MaterializedTemporaryExpr around N. Patch fixes it
by using the expression as written, without any special kind of
wrappings.

llvm-svn: 312292
parent a865658a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment