https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122080
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #9 from anlauf at gcc dot gnu.org ---
Created attachment 62469
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62469&action=edit
Tentative patch
Can you please check whether the attached patch solves your problem?
It should wrap the derivation of bounds and strides of the descriptor
by a test of argument presence.