diff options
author | Tom Stellard <tstellar@redhat.com> | 2017-11-13 23:34:53 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2017-11-13 23:34:53 +0000 |
commit | ccf8d1a8558739a619a29b8d0af1dbd3a8627d39 (patch) | |
tree | efdbff9c2188a867ec075258f90acf20c0a34758 /lib/Sema/SemaTemplateInstantiate.cpp | |
parent | 67341cd6d735f99599aab9e9b6a04699860ac5c2 (diff) |
Merging r312292:
------------------------------------------------------------------------
r312292 | abataev | 2017-08-31 16:06:52 -0700 (Thu, 31 Aug 2017) | 8 lines
[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/branches/release_50@318113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiate.cpp')
0 files changed, 0 insertions, 0 deletions