c-pragma.c (handle_pragma_token): If passed a token instead of a tree, use that as the pack value.

* c-pragma.c (handle_pragma_token): If passed a token instead
        of a tree, use that as the pack value.

From-SVN: r22997
This commit is contained in:
Robert Lipe 1998-10-11 21:05:04 +00:00 committed by Robert Lipe
parent 411e094cbe
commit 7169a02931
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Oct 11 23:04:30 1998 Robert Lipe <robertl@dgii.com>
* c-pragma.c (handle_pragma_token): If passed a token instead
of a tree, use that as the pack value.
Sun Oct 11 14:21:14 1998 Mark Mitchell <mark@markmitchell.com>
* flow.c (find_basic_blocks_1): Fix prototype.

View File

@ -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: