This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Apr  9 15:06:56 2015
New Revision: 221952

URL: https://gcc.gnu.org/viewcvs?rev=221952&root=gcc&view=rev
Log:
    PR c++/65690
    * tree.c (build_cplus_array_type): Layout type before variants are
    set, but copy over TYPE_SIZE and TYPE_SIZE_UNIT from the main
    variant.

    * c-c++-common/attr-aligned-1.c: New test.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]