https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68687
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also const & can bind to a rvalue.
I think you are misunderstanding why the const qualifier applies to types
rather than to the values.
