This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Fix ICE with invalid function call (PR c/64778)
- From: Marek Polacek <polacek at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Jan 2015 22:20:06 +0100
- Subject: Re: [C PATCH] Fix ICE with invalid function call (PR c/64778)
- Authentication-results: sourceware.org; auth=none
- References: <20150126211056 dot GS1746 at tucnak dot redhat dot com>
On Mon, Jan 26, 2015 at 10:10:56PM +0100, Jakub Jelinek wrote:
> Hi!
>
> On the following testcase we ICE, because we end up with a CALL_EXPR
> with error_mark_node argument and gimplification can't cope with that.
>
> Normally, if one or more arguments are error_mark_node we return -1
> and drop the whole call, but if we also report too many arguments,
> we failed to do so.
>
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
Ok.
Marek