C++ PATCH for c++/43509 (ICE on invalid scope with -std=c++0x)
Jason Merrill
jason@redhat.com
Fri Mar 26 22:06:00 GMT 2010
In C++0x mode we were accepting any typedef name before :: in order to
support scoped enumerator lookup. But we only need to handle enums in
this code, not any type at all.
Tested x86_64-pc-linux-gnu, applied to trunk. Only touches C++0x code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 43509.patch
Type: text/x-patch
Size: 1425 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100326/6e233082/attachment.bin>
More information about the Gcc-patches
mailing list