This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix ICE on invalid (PR c++/69795)
- From: Martin Sebor <msebor at redhat dot com>
- To: Marek Polacek <polacek at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Tue, 1 Mar 2016 09:01:58 -0700
- Subject: Re: [C++ PATCH] Fix ICE on invalid (PR c++/69795)
- Authentication-results: sourceware.org; auth=none
- References: <20160301133803 dot GY14947 at redhat dot com>
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