On Wed, Jul 20, 2011 at 7:29 AM, Jason Merrill <ja...@redhat.com> wrote: > DRs 743 and 950 allow decltype to be used as the scope in a > nested-name-specifier and as a base-specifier. This patch implements that > functionality. In order to deal with the ambiguity when we first encounter > "decltype" as to whether it will be a nested-name-specifier or its own > simple-type-specifier, we now cache the result of parsing in a new > CPP_DECLTYPE token type so that we don't need to parse it a second time if > it turns out not to be a nested-name-specifier. > > Tested x86_64-pc-linux-gnu, applying to trunk.
This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53651 -- H.J.