[cfe-dev] Clang Static Analyzer and Strict Aliasing

Sam Elliott via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 28 02:31:08 PDT 2020


Hi Cfe-dev,

I'm not particularly familiar with the clang static analzyer, so would like some help with a bug that was filed against it (when compiling for RISC-V, but I don't think that's the issue here, as the bug also shows up with the default target).

The bug is here: https://bugs.llvm.org/show_bug.cgi?id=47727 <https://bugs.llvm.org/show_bug.cgi?id=47727>

Is it expected that the static analzyer will catch (some?) strict aliasing issues like this?

Sam

--
Sam Elliott
Software Team Lead
Senior Software Developer - LLVM and OpenTitan
lowRISC CIC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20201028/5ce35fcf/attachment.html>


More information about the cfe-dev mailing list