[Bug c++/44703] [C++0x] List initialization fail if parameter is typedef name for the std::initializer_list
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 8 14:10:00 GMT 2010
------- Comment #2 from jason at gcc dot gnu dot org 2010-07-08 14:09 -------
Subject: Bug 44703
Author: jason
Date: Thu Jul 8 14:08:36 2010
New Revision: 161955
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161955
Log:
PR c++/44703
* call.c (is_std_init_list): Look through typedefs.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/cpp0x/initlist41.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=44703
More information about the Gcc-bugs
mailing list