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: unassignedclangb...@nondot.org
          Reporter: hah...@hahnjo.de
                CC: a.bat...@hotmail.com, llvm-bugs@lists.llvm.org,
                    tstel...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to