diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2023-07-30 18:31:51 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2023-07-30 18:31:51 -0700 |
commit | 5d1bf673872c4b23c0c77dd440a2dd692603c055 (patch) | |
tree | 03b7f33dfc36b189612e856fde92c3df9f4553b3 /codegen.c | |
parent | 44662c62f444fc50fe523d987199f6a10c9a693c (diff) |
fix name of alignof
Diffstat (limited to 'codegen.c')
-rw-r--r-- | codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -314,7 +314,7 @@ static void gen_expr(Node *node, int to_tmp) { if (opt_type_builtins && (node->is_sizeof || node->is_alignof)) { decltmp(node->ty, to_tmp); if (node->is_sizeof) printnoln("\tt%d = sizeof ( ", to_tmp); - else printnoln("\tt%d = alignof ( ", to_tmp); + else printnoln("\tt%d = _Alignof ( ", to_tmp); print_type(node->is_sizeof); println(" ) ;"); return; |