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: unassignedclangb...@nondot.org
          Reporter: erich.ke...@intel.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to