[Bug other/95971] [10 regression] Optimizer converts a false boolean value into a true boolean value

0xe2.0x9a.0x9b at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 29 18:05:41 GMT 2020


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

Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48804|0                           |1
        is obsolete|                            |

--- Comment #5 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> ---
Created attachment 48808
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48808&action=edit
a.cc

Initialize A::a to a valid heap pointer, instead of initializing it to
(char*)1.


More information about the Gcc-bugs mailing list