[Bug ipa/85817] [9 Regression] ICE in expand_call at gcc/calls.c:4291
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 17 11:10:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-05-17
Ever confirmed|0 |1
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to prathamesh3492 from comment #1)
> Created attachment 44142 [details]
> Untested fix
>
> Oops, sorry about that.
It easily happens.
> 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 ?
Yes, it helps ;)
>
> Thanks,
> Prathamesh
More information about the Gcc-bugs
mailing list