------- Comment #4 from potswa at mac dot com  2010-05-17 20:44 -------
The crash may have something to do with using a dependent type in a particular
context. This shorter code still crashes despite resolution failing — no
recursionÂ…

#include <type_traits>

template< int x >
typename std::enable_if< x*0 >::type
ft() {}

template< class F, int n >
decltype( ft< F >( F() ) )
ft() {}

int main() {
    ft< struct a *, 0 >();
}

It's conceivable that I'm seeing more than one issue, though.


-- 


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

Reply via email to