This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48969] ICE with -std=c++0x
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 May 2011 16:54:32 +0000
- Subject: [Bug c++/48969] ICE with -std=c++0x
- Auto-submitted: auto-generated
- References: <bug-48969-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48969
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-13 16:51:24 UTC ---
Yes, the problem arises because in C++0x enums have scope, so
decltype(Foo::Mask)::Mask is the same as Foo::Mask.