Commit d0be05db by Richard Henderson Committed by Richard Henderson

builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes rather than play…

builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes rather than play with TREE_INT_CST_LOW.

        * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
        rather than play with TREE_INT_CST_LOW.

From-SVN: r28314
parent 1a618a5a
Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
* builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
rather than play with TREE_INT_CST_LOW.
1999-07-27 Philip Blundell <pb@nexus.co.uk>
* config/arm/telf.h: Include dbxelf.h.
......
......@@ -1942,8 +1942,7 @@ std_expand_builtin_va_arg (valist, type)
/* Compute the rounded size of the type. */
align = PARM_BOUNDARY / BITS_PER_UNIT;
rounded_size = (((TREE_INT_CST_LOW (TYPE_SIZE (type)) / BITS_PER_UNIT
+ align - 1) / align) * align);
rounded_size = (((int_size_in_bytes (type) + align - 1) / align) * align);
/* Get AP. */
addr_tree = valist;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment