https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104510
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 52439
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52439&action=edit
gcc12-pr104510.patch
Untested fix. Callers don't expect shorten_compare to ever fail, even when it
returns NULL it still should convert arguments at least to the original
*restype_ptr.