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++/48647] [C++0x] SFINAE does not handle incompatible pointer types well in conditional operator


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48647

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-22 18:48:42 UTC ---
Author: jason
Date: Sun May 22 18:48:39 2011
New Revision: 174031

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174031
Log:
    PR c++/48647
    * typeck.c (composite_pointer_type_r): Return error_mark_node
    on error in SFINAE context.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/sfinae23.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/template/sfinae8.C


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