This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 37650
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 13 Oct 2008 12:49:43 -0700
- Subject: Re: [C++ Patch] PR 37650
- References: <48F3102A.1060107@oracle.com>
Paolo Carlini wrote:
> this small patch avoids the ICE, tested x86_64-linux. Alternately, we
> could return error_mark_node (that leads to an additional error message
> ("expected unqualified-id..."), or/and we could check
> current_template_parms in the (only) caller push_template_decl_real). I
> don't have a strong opinion...
>
> Ok for mainline?
I'd prefer the check go in push_template_decl_real with an assert in
process_partial_specialization.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713