[Bug c++/61566] [4.9/4.10 Regression] ICE in write_unscoped_name

hp at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 20 21:01:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61566

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org

--- Comment #13 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #11)
> Author: jason
> Date: Wed Aug 20 01:17:37 2014
> New Revision: 214206
> 
> URL: https://gcc.gnu.org/viewcvs?rev=214206&root=gcc&view=rev
> Log:
> 	PR c++/61566
> 	* pt.c (instantiate_class_template_1): Ignore lambda on
> 	CLASSTYPE_DECL_LIST.
> 	(push_template_decl_real): A lambda is not primary.
> 	* lambda.c (maybe_add_lambda_conv_op): Distinguish between being
> 	currently in a function and the lambda living in a function.
> 
> Modified:
>     branches/gcc-4_9-branch/gcc/cp/ChangeLog
>     branches/gcc-4_9-branch/gcc/cp/lambda.c
>     branches/gcc-4_9-branch/gcc/cp/pt.c
>    
> branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template13.C

This or another nearby commit of yours in the range (214200:214208] regressed
g++.dg/cpp0x/lambda/lambda-template13.C on the 4.9 branch for all targets
(presumably; at least those at the URLs and cris-elf) for the scan-assembler
match.
See <https://gcc.gnu.org/ml/gcc-testresults/2014-08/msg01967.html> and
<https://gcc.gnu.org/ml/gcc-testresults/2014-08/msg01954.html>.


More information about the Gcc-bugs mailing list