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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul 19 08:42:12 2016
New Revision: 238459

URL: https://gcc.gnu.org/viewcvs?rev=238459&root=gcc&view=rev
Log:
        Backported from mainline
        2016-07-18  Jakub Jelinek  <ja...@redhat.com>

        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:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/template/defarg21.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/cp-gimplify.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to