https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107106

Jonny Grant <jg at jguk dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jg at jguk dot org

--- Comment #2 from Jonny Grant <jg at jguk dot org> ---
I saw this and checked on latest trunk, just sharing as another test case.
If I have -Wno-analyzer-use-of-uninitialized-value it keeps this one quiet


<source>:7:12: warning: use of uninitialized value '<unknown>' [CWE-457]
[-Wanalyzer-use-of-uninitialized-value]
    7 |     return str;


#include <string>

std::string make_str(const char * str)
{
    return str;
}

Reply via email to