[Bug tree-optimization/100250] [11 Regression] ICE related to -Wmaybe-uninitialized
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 17 20:07:44 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100250
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Martin Sebor
<msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:a52b2f4cae38abecda2a7ad72a47c4e38236870a
commit r11-8599-ga52b2f4cae38abecda2a7ad72a47c4e38236870a
Author: Martin Sebor <msebor@redhat.com>
Date: Thu Jun 17 10:20:09 2021 -0600
Backported from trunk:
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