https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122080
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |---
--- Comment #7 from anlauf at gcc dot gnu.org ---
A potential problem that can be seen in the tree dump that some artificial
variables are not initialized but referenced when the optional argument
is not present.
D.4676 = ubound.0;
D.4677 = ubound.2;
D.4684 = stride.1;
These should get optimized for absent argument, but might still be seen
with UBsan at -O0.