[PATCH] Fix convert.c ICEs on invalid builtin calls (PR c/89520)

Joseph Myers joseph@codesourcery.com
Thu Feb 28 00:48:00 GMT 2019


On Wed, 27 Feb 2019, Jakub Jelinek wrote:

> Hi!
> 
> convert.c doesn't verify the CALL_EXPRs to builtin functions have exactly
> one argument (and a scalar float one) and can ICE if that is not the case
> due to K&R declarations of the library functions and passing too few
> arguments.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list