[C PATCH] Fix ICE with invalid function call (PR c/64778)
Marek Polacek
polacek@redhat.com
Mon Jan 26 21:57:00 GMT 2015
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
More information about the Gcc-patches
mailing list