[Bug middle-end/106008] [11/12/13 Regression] warning: ‘(((char *)loadcmds.113_68 + _933 + 16))[329406144173384849].mapend’ may be used uninitialized [-Wmaybe-uninitialized]

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 20 10:01:23 GMT 2022


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-reduction
             Blocks|                            |24639

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
# VUSE <.MEM_699>
_109 = MEM[(struct loadcmd *)_106 + -56B].mapend;

my only suspicion is that we somehow isolate (and not optimize as unreachable)
the nloadcmds < 1 case in the preceeding case.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
[Bug 24639] [meta-bug] bug to track all Wuninitialized issues


More information about the Gcc-bugs mailing list