This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50324] [C++0x] SFINAE does not handle the object creation of an incomplete type
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Sep 2011 14:58:24 +0000
- Subject: [Bug c++/50324] [C++0x] SFINAE does not handle the object creation of an incomplete type
- Auto-submitted: auto-generated
- References: <bug-50324-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50324
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-08 14:58:24 UTC ---
Author: paolo
Date: Thu Sep 8 14:58:21 2011
New Revision: 178694
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178694
Log:
/cp
2011-09-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50324
* typeck2.c (digest_init_r): Call complete_type_or_maybe_complain
instead of complete_type_or_else.
/testsuite
2011-09-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50324
* g++.dg/cpp0x/sfinae28.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/sfinae28.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
trunk/gcc/testsuite/ChangeLog