On Thu, Nov 29, 2012 at 2:42 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Nov 29, 2012 at 1:53 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Sun, Oct 14, 2012 at 4:53 PM, Richard Smith<br>
<<a href="mailto:richard-llvm@metafoo.co.uk" target="_blank">richard-llvm@metafoo.co.uk</a>> wrote:<br>
> Author: rsmith<br>
> Date: Sun Oct 14 18:53:37 2012<br>
> New Revision: 165913<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=165913&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=165913&view=rev</a><br>
> Log:<br>
> Provide a slightly more helpful diagnostic if -fcatch-undefined-behavior finds<br>
> a problem with __int128 arithmetic but the runtime was not built with __int128<br>
> support.<br>
<br>
</div>Would it be possible for the test cases that depend on this would be<br>
marked as untested/xfail/something on platforms that don't support it?<br></blockquote><div><br></div></div><div>It should be possible, yes. It's a little tricky (it depends on both the target and on the compiler used to build compiler-rt), but I'll have a look.</div>
</div></blockquote><div><br></div><div>Situation should be improved in r168955 -- tests for __int128 are disabled if we don't support __int128 on the target, but will still fail if the target supports __int128 but the compiler which built compiler-rt does not. That might actually be a benefit -- the test failure indicates that compiler-rt has been built badly...</div>
</div>