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]

[474 byte] By [ajrh1a] at [2007-11-27 6:32:47]
# 1

When you file a bug at bugs.sun.com, you should get an acknowledgment right away. When the report has been evaluated, you will get another email with details. If you don't receive the email, maybe you did not register a valid email address, or possibly a spam filter is blocking the email.

Your bug was accepted today as CR# 6566463.

clamage45a at 2007-7-12 17:58:28 > top of Java-index,Development Tools,Solaris and Linux Development Tools...