Commit 466e9220 by Richard Stallman

(initializer_constant_valid_p): Handle COMPLEX_CST.

From-SVN: r3820
parent 4acbcee0
...@@ -4305,6 +4305,7 @@ initializer_constant_valid_p (value, endtype) ...@@ -4305,6 +4305,7 @@ initializer_constant_valid_p (value, endtype)
case INTEGER_CST: case INTEGER_CST:
case REAL_CST: case REAL_CST:
case STRING_CST: case STRING_CST:
case COMPLEX_CST:
return null_pointer_node; return null_pointer_node;
case ADDR_EXPR: case ADDR_EXPR:
......
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