constexpr-reinterpret1.C
674 Bytes
-
re PR c++/56728 (ICE using constexpr initialization and arrays) · 477e1843
PR c++/56728 * semantics.c (potential_constant_expression_1) [NOP_EXPR]: Reject conversion from integer to pointer. (cxx_eval_constant_expression): Likewise. (cxx_eval_indirect_ref): Use the folded operand if we still think this might be constant. From-SVN: r197209
Jason Merrill committed