<div dir="ltr">Hi;<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 11:25 PM, Will Dietz <span dir="ltr"><<a href="mailto:wdietz2@illinois.edu" target="_blank">wdietz2@illinois.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: wdietz2<br>
Date: Mon Jan 7 16:25:52 2013<br>
New Revision: 171801<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=171801&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=171801&view=rev</a><br>
Log:<br>
[ubsan] Use correct type for compound assignment ops.<br>
<br>
Added:<br>
cfe/trunk/test/CodeGen/compound-assign-overflow.c<br></blockquote><div><br></div><div style>This test seems to fail on openSUSE 12.2 32bit because...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Added: cfe/trunk/test/CodeGen/compound-assign-overflow.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/compound-assign-overflow.c?rev=171801&view=auto" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/compound-assign-overflow.c?rev=171801&view=auto</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/compound-assign-overflow.c (added)<br>
+++ cfe/trunk/test/CodeGen/compound-assign-overflow.c Mon Jan 7 16:25:52 2013<br>
@@ -0,0 +1,36 @@<br>
+// Verify proper type emitted for compound assignments<br>
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s -fsanitize=signed-integer-overflow,unsigned-integer-overflow | FileCheck %s<br>
</blockquote><div> ^^^^^^^^^^^^^^^^^^^^^^</div><div style>We have an 64bit target here.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
+<br>
+#include <stdint.h><br></blockquote><div><br></div><div style>This includes</div><div style><br></div><div style>features.h which in turn includes gnu/stubs.h which says:</div><div style><br></div><div style>#if defined __x86_64__ && defined __LP64__<br>
</div><div># include <gnu/stubs-64.h></div><div>#endif</div><div><br></div><div style>Since the target is 64bit it tries to include gnu/stubs-64.h but it doesn't exist on 32bit host. Maybe XFAIL on 32bit?</div>
<div style>
<br></div><div style>Regards.</div><div style><br></div><div><br></div></div></div></div>