On 01/02/2018 04:03 PM, Jakub Jelinek wrote:
Hi!

The gimplifier uses in several places STRIP_USELESS_TYPE_CONVERSION and
that, being primarily a middle-end predicate, doesn't like error_mark_nodes
appearing in conversion operands.  I've talked about it with Richi on IRC
and he'd prefer not to change it.

2018-01-02  Jakub Jelinek  <ja...@redhat.com>

        PR c++/83634
        * cp-gimplify.c (cp_fold) <case NOP_EXPR>: If the operand folds to
        error_mark_node, return error_mark_node.

        * g++.dg/parse/pr83634.C: New test.


ok thanks


--
Nathan Sidwell

Reply via email to