[Bug c++/93001] bogus is private within this context error with scoped enum

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93001 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/93001] bogus is private within this context error with scoped enum

2020-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93001 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/93001] bogus is private within this context error with scoped enum

2019-12-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93001 --- Comment #1 from Marek Polacek --- I think the problem is in dfs_accessible_post: 757 tree scope = current_nonlambda_scope (); will for this line: enum class S::E : S::T { X }; give "::" so dfs_accessible_post returns NULL_TREE. But if