On 09/26/2014 06:54 AM, Richard Biener wrote:
It also uncovers that the C++ FE uses a mix of NOP_EXPR and CONVERT_EXPR both when building expressions and when checking for them. Jason - is there any difference between NOP_EXPR and CONVERT_EXPR as far as the C++ FE is concerned?
There are a few cases where CONVERT_EXPR is special, but mostly no.
I have silenced -Wsign-compare warnings that the patch caused by making enum_cast_to_int "accept" both NOP_EXPR and CONVERT_EXPR as conversion code (ok for trunk?).
OK. Jason