diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-12-04 22:57:20 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2013-12-04 22:57:20 +0000 |
commit | 296674dbc9842ac009f558390da2bf6e5a9d4409 (patch) | |
tree | 1d857f76a0338447e2abb6b4d8b9d3a69458fff2 /gcc/gimple.c | |
parent | 31e071aeb827f49ce2e891620852198e99d44a0c (diff) | |
download | gcc-296674dbc9842ac009f558390da2bf6e5a9d4409.zip gcc-296674dbc9842ac009f558390da2bf6e5a9d4409.tar.gz gcc-296674dbc9842ac009f558390da2bf6e5a9d4409.tar.bz2 |
re PR c/52023 ([C11] _Alignof (double) yields wrong value on x86)
PR c/52023
c-family:
* c-common.c (c_sizeof_or_alignof_type): Add parameter min_alignof
and check field alignment if set.
* c-common.h (c_sizeof_or_alignof_type): Update prototype.
(c_sizeof, c_alignof): Update calls to c_sizeof_or_alignof_type.
c:
* c-parser.c (c_parser_alignas_specifier): Use
c_sizeof_or_alignof_type instead of c_alignof.
(c_parser_alignof_expression): Likewise, with min_alignof
parameter depending on alignof spelling used.
cp:
* typeck.c (cxx_sizeof_or_alignof_type): Update call to
c_sizeof_or_alignof_type.
objc:
* objc-act.c (objc_synthesize_getter): Update calls to
c_sizeof_or_alignof_type.
testsuite:
* gcc.dg/c11-align-6.c: New test.
From-SVN: r205685
Diffstat (limited to 'gcc/gimple.c')
0 files changed, 0 insertions, 0 deletions