(build_unary_op, case *INCREMENT_EXPR): Add size in bytes, not value

of sizeof.

From-SVN: r7822
This commit is contained in:
Richard Kenner 1994-07-29 18:33:29 -04:00
parent acb76ce3b4
commit 0e9cff7f3a

View File

@ -2798,7 +2798,7 @@ build_unary_op (code, xarg, noconvert)
((code == PREINCREMENT_EXPR ((code == PREINCREMENT_EXPR
|| code == POSTINCREMENT_EXPR) || code == POSTINCREMENT_EXPR)
? "increment" : "decrement")); ? "increment" : "decrement"));
inc = c_sizeof_nowarn (TREE_TYPE (result_type)); inc = c_size_in_bytes (TREE_TYPE (result_type));
} }
else else
inc = integer_one_node; inc = integer_one_node;