assertion failure in Sun Studio 12
Hi,
I hope I managed to put in a bug report, but I'm not sure if it worked.
[code]
struct S {
operator bool() const { return true; }
template <typename T> operator T*() const { return 0; }
};
int main() { return 0 || S(); }
~% sunc++ x.cpp
>> Assertion:(../lnk/ir_util.cc, line 329)
while processing x.cpp at line 0.
~% sunc++ -V
CC: Sun C++ 5.9 Linux_i386 2007/05/03
[/code]

