[Bug tree-optimization/108467] false positive -Wmaybe-uninitialized warning at -O1 or higher

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 19 16:15:52 GMT 2023


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
      Known to fail|                            |4.1.2
   Last reconfirmed|                            |2023-01-19
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

After normalization [USE]:
        _7 = PHI <0(13), sh_4(8)>
  is conditional on:
        ((NOT (_3 == 0)) AND (emax.3_2 >= 0) AND (emin.2_1 <= 0))


  _3 = rb_5 | sb_6;
  if (_3 == 0)


Confirmed.


More information about the Gcc-bugs mailing list