Templates and __builtin-constant_p

template<bool Flag> struct foo {static const bool bar = Flag;};
int main() {
    int a;
    int baz = foo<__builtin_constant_p(a)>::bar;
}

Under IDE 1.0.1:

sketch_oct01b.cpp:7: sorry, unimplemented: call_expr cannot be mangled due to a defect in the C++ ABI

At least they apologised!