This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Don't ICE on invalid decltype uses (PR c++/34271)
Jakub Jelinek wrote:
> 2007-12-04 Jakub Jelinek <jakub@redhat.com>
>
> PR c++/34271
> * semantics.c (finish_decltype_type): For SCOPE_REF issue an
> error instead of assertion failure.
> * parser.c (cp_parser_decltype): If closing paren is not found,
> return error_mark_node.
>
> * g++.dg/cpp0x/decltype9.C: New test.
> * g++.dg/cpp0x/decltype10.C: New test.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713