[llvm-bugs] [Bug 42159] New: copyin reproducer asserts in with invalid pointer in Clang CodeGen

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 6 06:49:46 PDT 2019


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

            Bug ID: 42159
           Summary: copyin reproducer asserts in with invalid pointer in
                    Clang CodeGen
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: erich.keane at intel.com
                CC: llvm-bugs at lists.llvm.org

The assert I get on my machine is:
s/xmain/llvm/tools/clang/lib/CodeGen/Address.h:38: llvm::Value*
clang::CodeGen::Address::getPointer() const: Assertion `isValid()' failed.


This is the reproducer I have, reduced as far as I could:
https://godbolt.org/z/5k9QbT

I don't particularly understand openmp, but saw this reproducer.

Best I can tell during debugging is that the CapturedStmtInfo's context value
ends up being null while evaluating the load of prvt while evaluating !=.

-- 
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/20190606/2b752b12/attachment.html>


More information about the llvm-bugs mailing list