------- Comment #3 from mdorey at bluearc dot com 2007-10-12 13:19 ------- (I'm told that) these two function-style casts compile fine on 4.2.1:
template <bool cond>
struct A {
};
A<bool (2)> y;
A<bool (2 < 1)> z;
This is why I suggest the greater-than is a necessary part of the bug. Do you
have a counter-example, Wolfgang - where the greater-than sign isn't necessary
to cause the same failure?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33744
