Comment change.

From-SVN: r4130
This commit is contained in:
Richard Stallman 1993-04-13 20:33:27 +00:00
parent 0b1dffa7f1
commit b1aa345d4f

View File

@ -1628,6 +1628,9 @@ non_lvalue (x)
{
if (TREE_CODE (x) == INTEGER_CST && integer_zerop (x))
{
/* Use NOP_EXPR instead of NON_LVALUE_EXPR
so convert_for_assignment won't strip it.
This is so this 0 won't be treated as a null pointer constant. */
result = build1 (NOP_EXPR, TREE_TYPE (x), x);
TREE_CONSTANT (result) = TREE_CONSTANT (x);
return result;