This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50324] [C++0x] SFINAE does not handle the object creation of an incomplete type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]