[Bug tree-optimization/100250] [11/12 Regression] ICE related to -Wmaybe-uninitialized

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 29 01:12:48 GMT 2021


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 <msebor@gcc.gnu.org>:

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

commit r12-246-g2c8bffa184dffba7976ba807ef0a1bbb6f66aa2d
Author: Martin Sebor <msebor@redhat.com>
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.


More information about the Gcc-bugs mailing list