This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50864] SFINAE bug
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Oct 2011 14:25:23 +0000
- Subject: [Bug c++/50864] SFINAE bug
- Auto-submitted: auto-generated
- References: <bug-50864-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50864
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-10-25
Ever Confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-25 14:25:23 UTC ---
Apparently this has essentially to do with namespaces, TREE_CODE (code) is
NAMESPACE_DECL when tsubst_copy ICEs.
The testcase is a bit garbled (ie, cannot possibly compile anyway) - missing
std::declval, mpl::true_, mpl::false_, is_arrow_dereferencable - but
interestingly if all the missing bits are provided in the global namespace, no
ICE.