[Bug c++/43144] Possible ADL bug in GCC 4.4.1

2023-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43144 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WORKSFORME

[Bug c++/43144] Possible ADL bug in GCC 4.4.1

2023-03-20 Thread alisdairm at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43144 --- Comment #2 from Alisdair Meredith --- gcc 4.5 and later correctly report errors, as the language specification for rvalue and forwarding references changed between 4.4 and 4.5. I'm not sure what ADL bug I thought I was hitting, but with the

[Bug c++/43144] Possible ADL bug in GCC 4.4.1

2023-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43144 --- Comment #1 from Andrew Pinski --- Starting GCC 4.5.x we get the following error message first: : In function 'typename std::remove_reference<_Tp>::type&& std0x::move(T&&) [with T = int&, typename std::remove_reference<_Tp>::type = int]':