PR/69089: C++-11: Ingore "alignas(0)".
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Fri, 29 Apr 2016 09:20:06 +0000 (09:20 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 29 Apr 2016 09:20:06 +0000 (09:20 +0000)
commit509063ebd1859c83df189ac0df52ada49c75ba31
tree7a4eb6e962868b8905da08956e19636914dca987
parent83745c0ddb708f90961d0b217a4f0cd5e80cd8c7
PR/69089: C++-11: Ingore "alignas(0)".

gcc/c-family/ChangeLog:

2016-04-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>

PR/69089
* c-common.c (handle_aligned_attribute): Allow 0 as an argument to the
"aligned" attribute.

gcc/testsuite/ChangeLog:

2016-04-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>

PR/69089
* g++.dg/cpp0x/alignas6.C: New test.

From-SVN: r235629
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/alignas6.C [new file with mode: 0644]