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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
After writing {} of size 2112 at position 0
After writing 42 of size 32 at position 2080
After writing {} of size 2080 at position 0


The IR is:
  s = {};
  s.a = 42;
  s.base = {};

So either TYPE_SIZE is wrong or DECL_SIZE should be used instead of TYPE_SIZE
...

Reply via email to