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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2015-09-08 00:00:00         |2021-8-22

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Maybe when there are so many overloads don't display them? Though that feels
worse but at least we do have the first line:
<source>: In function 'int main()':
<source>:6:13: error: no match for 'operator<<' (operand types are
'std::ostream' {aka 'std::basic_ostream<char>'} and 'foo')
    6 |   std::cout << bar;
      |   ~~~~~~~~~ ^~ ~~~
      |        |       |
      |        |       foo
      |        std::ostream {aka std::basic_ostream<char>}


MSVC outputs 18 overloads.  ICC/EDG outputs no overloads.
GCC and clang outputs a lot (libc++ has less than libstdc++).

Reply via email to