On 01/24/2017 05:49 AM, Jakub Jelinek wrote:
((BIT_FIELD_REF <a, 8, 0> ^ BIT_FIELD_REF <b, 8, 0>) & 110) == 0 out of that. So unless we DTRT (i.e. save constexpr bodies before cp_fold for constexpr evaluation purposes), the workaround would need to handle this properly (basically pattern recognize whatever the
for avoidance of doubt, I'm arguing that such folding is premature in the face of contexpr.
nathan -- Nathan Sidwell