[Bug c++/51577] dependent name lookup finds operator in global namespace

2023-09-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added CC||schuchart at icl dot utk.edu ---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #22 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bb2a7f80a98de3febefbb32b1e4898062bdb6af8 commit r12-6022-gbb2a7f80a98de3febefbb32b1e4898062bdb6af8 Author: Patrick Palka Date:

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added CC||asif_bahrainwala at hotmail dot co

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #20 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6ab1176667734bd6de20833f8d263c03a418c452 commit r12-702-g6ab1176667734bd6de20833f8d263c03a418c452 Author: Patrick Palka Date:

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #19 from Jason Merrill --- (In reply to Patrick Palka from comment #18) > ever since Nathan's r11-2876. As this commit mentions, should we enable the > maybe_save_operator_binding / push_operator_binding mechanism for all >

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #17 from Nathan Sidwell --- ah, the logic to squirrel away lookups on a magic attribute list, records that nothing is found. But we don't preserve that negative lookup when injecting these lookups into the parameter binding. So

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||tonvandenheuvel at gmail dot com ---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||zhonghao at pku dot org.cn ---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||andrea_iob at hotmail dot com ---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||niklas at nolte dot dev --- Comment

[Bug c++/51577] dependent name lookup finds operator in global namespace

2015-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #10 from Jonathan Wakely redi at gcc dot gnu.org --- Testcase from PR65336: extern C int puts(const char*); struct ostream {} cout; templatetypename T struct A{ T t; }; struct B{}; struct C : public B{}; ostream operator

[Bug c++/51577] dependent name lookup finds operator in global namespace

2015-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #11 from Jonathan Wakely redi at gcc dot gnu.org --- And the testcase from PR 61161: struct T { templatetypename T void f(const T v) { 0 v; } }; namespace N { struct X {}; struct Y : X {}; void operator(int, const X)

[Bug c++/51577] dependent name lookup finds operator in global namespace

2015-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||thibaut.lutz at

[Bug c++/51577] dependent name lookup finds operator in global namespace

2014-05-12 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Richard Smith richard-gccbugzilla at metafoo dot co.uk changed: What|Removed |Added CC|

[Bug c++/51577] dependent name lookup finds operator in global namespace

2013-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug c++/51577] dependent name lookup finds operator in global namespace

2013-04-13 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com 2013-04-13 11:26:25 UTC --- (In reply to comment #3) The example in PR 56943 gives a wrong-code example Could you explain why? It looks valid to me. According to my

[Bug c++/51577] dependent name lookup finds operator in global namespace

2013-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2013-04-13 11:52:51 UTC --- (In reply to comment #4) (In reply to comment #3) The example in PR 56943 gives a wrong-code example Could you explain why? It looks valid to

[Bug c++/51577] dependent name lookup finds operator in global namespace

2013-04-13 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #6 from Daniel Krügler daniel.kruegler at googlemail dot com 2013-04-13 11:55:36 UTC --- (In reply to comment #5) and G++ calls the global one, returning the wrong result, so it's wrong-code OK, I misunderstood the meaning of

[Bug c++/51577] dependent name lookup finds operator in global namespace

2013-04-13 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #7 from Paolo Carlini paolo.carlini at oracle dot com 2013-04-13 12:10:58 UTC --- Essentially in gcc-english at least, wrong code means wrong assembly code, what the back end emits. Normally for wrong C++ code we say invalid

[Bug c++/51577] dependent name lookup finds operator in global namespace

2013-04-12 Thread zeratul976 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Nathan Ridge zeratul976 at hotmail dot com changed: What|Removed |Added CC|

[Bug c++/51577] dependent name lookup finds operator in global namespace

2012-01-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot