Skip to content
Snippets Groups Projects
Commit f66517ed 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312292 91177308-0d34-0410-b5e6-96231b3b80d8
parent fc980697
No related branches found
No related tags found
No related merge requests found
Showing
with 32 additions and 20 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment