diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2009-08-26 00:21:25 +0300 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-08-25 17:21:25 -0400 |
commit | f4e8a9430d5b2692da88cbbcd2162f45c6c8d978 (patch) | |
tree | e305bb77dbb3c71345fe71ff46eb2173c487e887 /gcc/c-common.c | |
parent | 7b5cbb57032c98320bc7b5ba9da3dab8362a393d (diff) | |
download | gcc-f4e8a9430d5b2692da88cbbcd2162f45c6c8d978.zip gcc-f4e8a9430d5b2692da88cbbcd2162f45c6c8d978.tar.gz gcc-f4e8a9430d5b2692da88cbbcd2162f45c6c8d978.tar.bz2 |
* c-common.c (c_common_reswords) add the alignof keyword,
with same RID as __alignof and __alignof__
From-SVN: r151097
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index ee4991a..a19489c 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -619,6 +619,7 @@ const struct c_common_resword c_common_reswords[] = { "__typeof__", RID_TYPEOF, 0 }, { "__volatile", RID_VOLATILE, 0 }, { "__volatile__", RID_VOLATILE, 0 }, + { "alignof", RID_ALIGNOF, D_CXXONLY | D_CXX0X | D_CXXWARN }, { "asm", RID_ASM, D_ASM }, { "auto", RID_AUTO, 0 }, { "bool", RID_BOOL, D_CXXONLY | D_CXXWARN }, |