[llvm-bugs] [Bug 35180] New: Merge r313675 into the 5.0 branch: fix seg-faults printing diagnostics with invalid ordered(n) values

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 2 11:22:02 PDT 2017


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

            Bug ID: 35180
           Summary: Merge r313675 into the 5.0 branch: fix seg-faults
                    printing diagnostics with invalid ordered(n) values
           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

When the value specified for n in ordered(n) is larger than the number of loops
a segmentation fault can occur in one of two ways when attempting to print out
a diagnostic for an associated depend(sink : vec):
1) The iteration vector vec contains less than n items
2) The iteration vector vec contains a variable that is not a loop control
variable
This patch addresses both of these issues.


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/70adf68b/attachment.html>


More information about the llvm-bugs mailing list