OSDN Git Service

* c.opt: Add -fno-deduce-init-list.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Sep 2009 21:25:10 +0000 (21:25 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Sep 2009 21:25:10 +0000 (21:25 +0000)
commita9e738c10afce389cd0572b777edb8a66863738b
tree6aa179508e77386b7ac3dfbb8cfab78bd7ff3486
parentb054b503d350bdea7222aa6be36c118ffa2d141d
* c.opt: Add -fno-deduce-init-list.
* pt.c (get_pattern_parm): New.
(listify): Split out from...
(listify_autos): ...here.
(unify): Deduce std::initializer_list for T.
* call.c (build_over_call): Warn about it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151867 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c.opt
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist-deduce.C [new file with mode: 0644]