[Bug c/71157] -Wnull-dereference false alarm in wrong function

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 19 13:27:00 GMT 2016


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Interesting that with -fno-inline I see

q.i: In function ‘Ruby_functions’:
q.i:7840:12: warning: potential null pointer dereference [-Wnull-dereference]
        if (*cp != '#')
            ^~~


More information about the Gcc-bugs mailing list