diff options
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r-- | gcc/c-pragma.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c index a28679e6e06..5856d058b30 100644 --- a/gcc/c-pragma.c +++ b/gcc/c-pragma.c @@ -384,7 +384,11 @@ handle_pragma_token (string, token) break; case ps_left: - align = atoi (string); + + if (TREE_CODE(token) == INTEGER_CST) + align = TREE_INT_CST_LOW(token); + else + align = atoi (string); switch (align) { case 1: |