On Thu, 13 Dec 2018, hello wrote:
Is there similar function like Clang Static Analyzer in gcc?
No. Some of the warnings may count as static analysis, but there is no dedicated mode specifically tailored for static analysis, advanced warnings only happen as a byproduct of optimization.
-- Marc Glisse