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/61053] [4.9/4.10 Regression] _Alignas(long long) reduces alignment of long long


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

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jun  4 08:22:22 2014
New Revision: 211214

URL: http://gcc.gnu.org/viewcvs?rev=211214&root=gcc&view=rev
Log:
    PR c/61053
c-family/
    * c-common.c (min_align_of_type): New function factored out from...
    (c_sizeof_or_alignof_type): ...here.
    * c-common.h (min_align_of_type): Declare.
c/
    * c-decl.c (grokdeclarator): Use min_align_of_type instead of
    TYPE_ALIGN_UNIT.
testsuite/
    * gcc.dg/pr61053.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr61053.c
Modified:
    branches/gcc-4_9-branch/gcc/c-family/ChangeLog
    branches/gcc-4_9-branch/gcc/c-family/c-common.c
    branches/gcc-4_9-branch/gcc/c-family/c-common.h
    branches/gcc-4_9-branch/gcc/c/ChangeLog
    branches/gcc-4_9-branch/gcc/c/c-decl.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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