https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110150
--- Comment #3 from Steven Xia <stevenxia990430 at gmail dot com> --- (In reply to Andrew Pinski from comment #2) > basically you are getting optional<optional<.....<int> ...>>>> Understood, thanks for the quick reply