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

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed May 18 17:17:03 2016
New Revision: 236419

URL: https://gcc.gnu.org/viewcvs?rev=236419&root=gcc&view=rev
Log:
/cp
2016-05-18  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/70466
        * call.c (convert_like_real): Check that we are actually converting
        from an init list.

/testsuite
2016-05-18  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/70466
        * g++.dg/template/pr70466-1.C: New.
        * g++.dg/template/pr70466-2.C: Likewise.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/template/pr70466-1.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/template/pr70466-2.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/call.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to