commit | 5372fb8cc1abe6e6b1619beb8722b4596a61200e | [log] [tgz] |
---|---|---|
author | Alexey Bataev <a.bataev@hotmail.com> | Thu Aug 31 23:06:52 2017 +0000 |
committer | Alexey Bataev <a.bataev@hotmail.com> | Thu Aug 31 23:06:52 2017 +0000 |
tree | 34980dd1b825463a1554f9af1268efd43df30f5a | |
parent | a865658a74e03c0547f37a4bf9a46e13d9d1b97b [diff] |
[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