re PR c++/44157 ([C++0x] GCC wrongly takes a std::initializer_list argument as non...
authorJason Merrill <jason@redhat.com>
Mon, 17 May 2010 19:53:55 +0000 (15:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 May 2010 19:53:55 +0000 (15:53 -0400)
commit9d2b7551cded29cd7eaa87ed8ceb5c01f9e022aa
tree166d2adb5c10d652871dae97b1d256a722aa85db
parentc8361db176c68d1d3b4085970b8862387785e0c2
re PR c++/44157 ([C++0x] GCC wrongly takes a std::initializer_list argument as non-deduced context)

PR c++/44157
* call.c (build_over_call): Limit init-list deduction warning to
cases where the argument is actually an init-list.

From-SVN: r159509
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist34.C [new file with mode: 0644]