[Bug target/77728] [5/6/7 Regression] Miscompilation multiple vector iteration on ARM

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 12 11:08:00 GMT 2017


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

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

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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I had a brief look at why there is the difference in DECL_ALIGN on TYPE_DECL
in this case, and the difference seems to come up from whether the type
size/layout has been finalized before calling layout_decl on the corresponding
TYPE_DECL or not.  The question is if we ever except for the arm/aarch64 bug
ever care about DECL_ALIGN on TYPE_DECLs, if yes, perhaps finalize_type_size
should check if type or any variant's TYPE_NAME is a TYPE_DECL and in that case
relayout_decl it?


More information about the Gcc-bugs mailing list