[Bug ipa/85817] [9 Regression] ICE in expand_call at gcc/calls.c:4291
prathamesh3492 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 17 10:50:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817
--- Comment #1 from prathamesh3492 at gcc dot gnu.org ---
Created attachment 44142
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44142&action=edit
Untested fix
Oops, sorry about that.
I put the condition
if (integer_zerop (retval))
continue;
at the wrong place -;)
Can also be reproduced with:
_Bool f()
{
return 0;
}
In that the pure-const dump shows the function marked as malloc -:(
Could you check if the attached patch fixes the GIMP issue ?
Thanks,
Prathamesh
More information about the Gcc-bugs
mailing list