Issue 181075
Summary [OpenMP] ElementTypeSize may be used uninitialized
Labels new issue
Assignees
Reporter shafik
    Static analysis flagged this line:

https://github.com/llvm/llvm-project/blob/2ada4b8fb0914ebdddc386130db24bcc074b3554/clang/lib/CodeGen/CGOpenMPRuntime.cpp#L8532-L8533

because it looks like `ElementTypeSize` could be uninitialized in some cases.

It looks like this was brought in by 0cab911

I can't tell all the assumptions here but it could not prove to myself it has to be initialized. 

CC @chichunchen @alexey-bataev @zahiraam 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to