[Bug c++/48647] [C++0x] SFINAE does not handle incompatible pointer types well in conditional operator
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun May 22 21:09:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48647
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-22 20:32:03 UTC ---
Author: jason
Date: Sun May 22 20:31:59 2011
New Revision: 174044
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174044
Log:
PR c++/48647
* typeck.c (composite_pointer_type_r): Return error_mark_node
on error in SFINAE context.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/sfinae23.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/typeck.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/template/sfinae8.C
More information about the Gcc-bugs
mailing list