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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
                 CC|                            |msebor at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
0xdeadbeef is not a valid address of either declared or allocated object so the
warning takes its size to be zero.  The warning can be avoided by making the
pointer volatile as suggested for example in pr99578 comment 16.

*** This bug has been marked as a duplicate of bug 99578 ***

Reply via email to