https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109529

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
only const references can be bound to temporaries. const volatile references
cannot be bound to a temporary.

That is even this is invalid code:
```
int main(){
  const volatile int & a = 1;
}
```

Reply via email to