[llvm-bugs] [Bug 40563] New: AST: OpenMP 'for' Worksharing-Loop Construct is undermodelled

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 1 10:08:05 PST 2019


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

            Bug ID: 40563
           Summary: AST: OpenMP 'for' Worksharing-Loop Construct is
                    undermodelled
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

The whole `ForStmt` is encompassed into an CapturedDecl.
But as per the spec, only the body has to be a Structured block.
In other words, i believe this does not violate the standard:
https://godbolt.org/z/wkTqQH

While this would:
https://godbolt.org/z/rmicZi

There needs to be some way to represent the fact that
only the body is nothrow.

-- 
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/20190201/3a197346/attachment.html>


More information about the llvm-bugs mailing list