[Bug c++/48518] Inconsistent instantiation behavior depending on operator overloading

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518 --- Comment #4 from Jonathan Wakely --- FWIW GCC changed with r153958: re PR c++/34870 (argument-dependent lookup fails to find friend declaration) PR c++/34870 * name-lookup.c (arg_assoc_class): Call complete_type.

[Bug c++/48518] Inconsistent instantiation behavior depending on operator overloading

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID See Also|

[Bug c++/48518] Inconsistent instantiation behavior depending on operator overloading

2012-04-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518 --- Comment #2 from Jonathan Wakely 2012-04-04 11:38:57 UTC --- (In reply to comment #0) > The following program instantiates wrap, but a very similar program > that doesn't call an overloaded operator doesn't: Neither does an even more similar

[Bug c++/48518] Inconsistent instantiation behavior depending on operator overloading

2012-04-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518 --- Comment #1 from Jonathan Wakely 2012-04-04 11:15:54 UTC --- Clang appears to agree with GCC now. This reminds me of PR 46824