[Bug c++/87651] [8 Regression] inner class with template template friend declaration of same name fails to compile

2019-04-18 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87651 --- Comment #5 from Ryan R Haining --- Failing on 8.3.0 https://wandbox.org/permlink/69kAYkUWgFD5TTxs

[Bug c++/87652] [8 Regression] inner class template of outer class template can't access friend's protected data member

2019-04-18 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87652 --- Comment #7 from Ryan R Haining --- Still fails in 8.3.0 https://wandbox.org/permlink/69kAYkUWgFD5TTxs

[Bug c++/68423] override/final doesn't cause error in templated class without base

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68423 Ryan R Haining changed: What|Removed |Added Resolution|WONTFIX |INVALID --- Comment #3 from Ryan R

[Bug c++/68423] override/final doesn't cause error in templated class without base

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68423 Ryan R Haining changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79624] comma separate auto variables deduce different types under dependent lookup

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79624 --- Comment #4 from Ryan R Haining --- still a problem on head: https://wandbox.org/permlink/tPYbCp1jWYmc9O9J

[Bug c++/65799] Allows constexpr conversion from cv void * to other type

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65799 Ryan R Haining changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/87652] [8/9 Regression] inner class template of outer class template can't access friend's protected data member

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87652 Ryan R Haining changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/87651] [8/9 Regression] inner class with template template friend declaration of same name fails to compile in gcc 8.1, 8.2, and 9.0

2019-01-06 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87651 Ryan R Haining changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/88725] New: fails to deduce template specialization in friend declaration

2019-01-06 Thread haining.cpp at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: haining.cpp at gmail dot com Target Milestone: --- gcc fails to deduce that the friend declaration refers to ::func in the below ``` template void func(T); class Cls { friend void

[Bug c++/87652] inner class template of outer class template can't access friend's protected data member

2018-10-18 Thread haining.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87652 --- Comment #1 from Ryan R Haining --- ugh, very sorry, I copied the version with private: instead of protected. The example program should be: template struct Outer { template class Inner { template friend class Inner; // All

[Bug c++/87652] New: inner class template of outer class template can't access friend's protected data member

2018-10-18 Thread haining.cpp at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: haining.cpp at gmail dot com Target Milestone: --- Example program template struct Outer { template class Inner { template friend class

[Bug c++/87651] New: inner class with template template friend declaration of same name fails to compile in gcc 8.1, 8.2, and 9.0

2018-10-18 Thread haining.cpp at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: haining.cpp at gmail dot com Target Milestone: --- Requirements to repro 1) Outer class must be template 2) Inner class must have template

[Bug c++/85353] New: deprecation warning issued on data member with initializer

2018-04-11 Thread haining.cpp at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: haining.cpp at gmail dot com Target Milestone: --- The following code issues deprecation warnings. "warning: 'Cls::x' is deprecated " struct Cls { [[deprecated]] int x = 0; // re