https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100409
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
So it's not invalid to elide this (for C++) but instead conflicting
specification by the user.
