[Bug c++/71822] [6/7 Regression] ICE: in gimplify_expr, at gimplify.c:11025
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 18 18:41:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71822
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 18 18:40:12 2016
New Revision: 238440
URL: https://gcc.gnu.org/viewcvs?rev=238440&root=gcc&view=rev
Log:
PR c++/71822
* cp-gimplify.c (cp_gimplify_expr) <case VEC_INIT_EXPR>: Recursively
fold *expr_p before genericizing it.
* g++.dg/template/defarg21.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/defarg21.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list