On 08/12/2014 12:48 PM, Joseph S. Myers wrote:
For C, it is definitely expected within the front end that anything that
is an integer constant expression is an INTEGER_CST and that a NOP_EXPR
wrapping an INTEGER_CST is something folded to an integer constant that is
neither an integer constant expression nor can appear in one.

Right, but that doesn't apply to the C++ front end, which does additional folding at the point where we require a constant expression in order to handle constexpr.

Jason


Reply via email to