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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 48883
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48883&action=edit
gcc11-pr93121-wip.patch

Untested WIP on this (well, only the compiler builtin).
What needs still doing is
1) handle bitfields (both in the middle-end in native_encode_initializer and in
2) punt on trying to read padding bits - perhaps if arg is a CONSTRUCTOR
compute
in addition to the memory representation a mask which bits are uninitialized,
and diagnose if we try to read from those
3) verify handling of flexible array members and zero length arrays

Reply via email to