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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <[email protected]>:

https://gcc.gnu.org/g:2c8bffa184dffba7976ba807ef0a1bbb6f66aa2d

commit r12-246-g2c8bffa184dffba7976ba807ef0a1bbb6f66aa2d
Author: Martin Sebor <[email protected]>
Date:   Wed Apr 28 19:11:34 2021 -0600

    PR middle-end/100250 - ICE related to -Wmaybe-uninitialized

    gcc/ChangeLog:

            PR middle-end/100250
            * attribs.c (attr_access::array_as_string): Avoid dereferencing
            a pointer when it's null.

    gcc/testsuite/ChangeLog:

            PR middle-end/100250
            * gcc.dg/uninit-pr100250.c: New test.

Reply via email to