https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47663|0 |1 is obsolete| | --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 47664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47664&action=edit New patch New patch which does what I describe. I am sill need to test it. It corrects the issue I mentioned about zero_extending the result of the function call.