[Bug c/112409] Structure is not initialized as expected

freddy77 at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 6 16:16:38 GMT 2023


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

Frediano Ziglio <freddy77 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #5 from Frediano Ziglio <freddy77 at gmail dot com> ---
But the pointer "passes" through a "void*" conversion, so there should be no
aliasing. Or am I missing something?
So what's the standard C way to avoid this (without using specific compiler
options) ?


More information about the Gcc-bugs mailing list