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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |10.1.0, 5.1.0, 9.1.0
      Known to work|                            |11.1.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We produce now:
<source>: In function 'void g(long int)':
<source>:4:11: error: cannot bind non-const lvalue reference of type 'int&' to
a value of type 'long int'
    4 |         f(t);
      |           ^
<source>:2:8: note:   initializing argument 1 of 'void f(int&)'
    2 | void f(int&);
      |        ^~~~

Reply via email to