Commit cd7a1451 by Richard Stallman

(build_enumerator): Fix error in last change.

From-SVN: r1538
parent c283c989
......@@ -5049,7 +5049,8 @@ build_enumerator (name, value)
/* Validate and default VALUE. */
/* Remove no-op casts from the value. */
STRIP_NOPS (value);
if (value)
STRIP_NOPS (value);
if (value != 0 && TREE_CODE (value) != INTEGER_CST)
{
......
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