https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 Bug 24666 depends on bug 41426, which changed state.
Bug 41426 Summary: User defined conversion on return ignores array types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41426 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED