[Bug c++/65690] [5 Regression] typedef alignment lost since r219705

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 8 07:45:00 GMT 2015


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 35250
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35250&action=edit
gcc5-pr65690.patch

So what about this?  The first hunk being a fix for the 4.9 -> 5 regression,
the
second hunk to fix alignof (const T).
Or instead of layout_type we could just copy over all of
TYPE_SIZE/TYPE_SIZE_UNIT/TYPE_ALIGN/TYPE_USER_ALIGN/TYPE_PRECISION/TYPE_MODE.



More information about the Gcc-bugs mailing list