[C++ PATCH] Fix ICE on invalid (PR c++/69795)

Martin Sebor msebor@redhat.com
Tue Mar 1 16:02:00 GMT 2016


On 03/01/2016 06:38 AM, Marek Polacek wrote:
> A trivial patch to fix an ICE on invalid: DECL_BUILT_IN only expects
> a FUNCTION_DECL, so checking DECL_P is not enough.

You're right, that was caused by my r227458.  I vaguely remember
wondering about that when I saw the stack trace but I must have
got distracted by something else and never looked into it in more
detail.

Thanks for taking care of it!
Martin



More information about the Gcc-patches mailing list