From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25792 invoked by alias); 19 May 2010 15:50:34 -0000 Received: (qmail 25063 invoked by alias); 19 May 2010 15:49:48 -0000 Date: Wed, 19 May 2010 15:50:00 -0000 Message-ID: <20100519154948.25062.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44157] [C++0x] GCC wrongly takes a std::initializer_list argument as non-deduced context In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg02080.txt.bz2 ------- Comment #2 from jason at gcc dot gnu dot org 2010-05-19 15:49 ------- Subject: Bug 44157 Author: jason Date: Wed May 19 15:49:12 2010 New Revision: 159578 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159578 Log: PR c++/44157 * call.c (build_over_call): Limit init-list deduction warning to cases where the argument is actually an init-list. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/cpp0x/initlist34.C Modified: branches/gcc-4_5-branch/gcc/cp/ChangeLog branches/gcc-4_5-branch/gcc/cp/call.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44157