[Bug c++/50324] [C++0x] SFINAE does not handle the object creation of an incomplete type
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 8 15:00:00 GMT 2011
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
More information about the Gcc-bugs
mailing list