Commit 0e9cff7f by Richard Kenner

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

of sizeof.

From-SVN: r7822
parent acb76ce3
......@@ -2798,7 +2798,7 @@ build_unary_op (code, xarg, noconvert)
((code == PREINCREMENT_EXPR
|| code == POSTINCREMENT_EXPR)
? "increment" : "decrement"));
inc = c_sizeof_nowarn (TREE_TYPE (result_type));
inc = c_size_in_bytes (TREE_TYPE (result_type));
}
else
inc = integer_one_node;
......
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