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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:13:28 2018
New Revision: 258168

URL: https://gcc.gnu.org/viewcvs?rev=258168&root=gcc&view=rev
Log:
        Backported from mainline
        2018-01-16  Jakub Jelinek  <ja...@redhat.com>

        PR c++/83817
        * pt.c (tsubst_copy_and_build) <case CALL_EXPR>: If function
        is AGGR_INIT_EXPR rather than CALL_EXPR, set AGGR_INIT_FROM_THUNK_P
        instead of CALL_FROM_THUNK_P.

        * g++.dg/cpp1y/pr83817.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/pr83817.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/pt.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to