[llvm-bugs] [Bug 35179] New: Merge r312292, r312296 into the 5.0 branch: Fix for PR34398: assert with random access iterator if the step>1.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 2 11:18:08 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=35179

            Bug ID: 35179
           Summary: Merge r312292, r312296 into the 5.0 branch: Fix for
                    PR34398: assert with random access iterator if the
                    step>1.
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hahnjo at hahnjo.de
                CC: a.bataev at hotmail.com, llvm-bugs at lists.llvm.org,
                    tstellar at redhat.com
            Blocks: 34492

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.

Note: I'm not really sure if we should merge this one: It touches quite a few
tests and needs the second commit to fix the test. Just marking this for
discussion, feel free to close if we don't want to merge it.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=34492
[Bug 34492] [meta] 5.0.1 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171102/8b2e0293/attachment.html>


More information about the llvm-bugs mailing list