<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 9, 2010, at 5:35 PM, jahanian wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 9, 2010, at 3:32 PM, Douglas Gregor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This might be complaining about the XPASS for<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-style-span" style="font-family: 'Courier New', courier, monotype; white-space: pre; ">g++.old-deja/g++.other/overload11.C  (test for warnings, line 84)</span><div><br></div><div>which I guess means that we just update the test?</div></div></div></blockquote><div><br></div>It crashes:</div><div><br></div><div><div>g++.old-deja/g++.other/overload11.C:56:10: warning: expression result unused [-Wunused-value]</div><div>  ptr = (0, ovl);           // ok { dg-bogus "" "" { xfail *-*-* } }</div><div>         ^</div><div>Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file /Volumes/sandbox/llvm/include/llvm/Support/Casting.h, line 202.</div><div>0  clang             0x00000001012190bf PrintStackTrace(void*) + 38</div><div>1  clang             0x000000010121967a SignalHandler(int) + 254</div><div>2  libSystem.B.dylib 0x00007fff8147935a _sigtramp + 26</div><div>3  clang             0x00000001004f2ccd bool llvm::isa_impl_cl<clang::QualType>::isa<clang::ReferenceType>(clang::QualType const&) + 21</div><div>4  clang             0x00000001000202eb raise + 27</div><div>5  clang             0x00000001000202fb abort + 14</div><div>6  clang             0x0000000100020388 __gnu_cxx::new_allocator<std::pair<void (*)(void*), void*> >::new_allocator() + 0</div><div>7  clang             0x0000000100446e57 llvm::cast_retty<clang::OverloadExpr, clang::Expr*>::ret_type llvm::cast<clang::OverloadExpr, clang::Expr*>(clang::Expr* const&) + 78</div><div><br></div><div>Do you want me to file a radar?</div></div></div></blockquote><br></div><div>Please update your Clang. The crash was fixed early today (unless some different crash got introduced later!)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>- Doug</div></body></html>