Hi,
On 08/17/2015 08:59 PM, Jason Merrill wrote:
On 08/17/2015 02:52 PM, Paolo Carlini wrote:
On 08/17/2015 08:50 PM, Jason Merrill wrote:
OK. I wonder if we can also drop the STRIP_NOPs on the C++11 path.
You are not alone ;) No, not trivially, without we ICE on pr51313.C.
Hmm, that testcase is ill-formed. We ought to reject it, though not ICE.
Yes, now I see. At the moment however, I have no idea where that
NOP_EXPR is coming from and whether it would be safe to assume in
null_ptr_cst_p that one can occur only due to a bug elsewhere... Note
that integer_zerop calls STRIP_NOPS right at the beginning anyway and
the ICE comes from TREE_OVERFLOW.
Anyway, about the substance of pr51313.C, is it Ok with you if I add an
xfailed dg-error to it and investigate it separately?
Thanks!
Paolo.