[Bug c++/103906] Illegal program not detected, ambiguous conversion operator

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 4 20:30:55 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-01-04
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
      Known to fail|                            |4.1.2

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, I thought I had saw another bug like this but I can't find it.
Also MSVC accepts the code but uses the base from NewValue rather than what GCC
does which is uses the base from OldValue.


More information about the Gcc-bugs mailing list