Hi;
On Mon, Jan 7, 2013 at 11:25 PM, Will Dietz <[email protected]> wrote: > Author: wdietz2 > Date: Mon Jan 7 16:25:52 2013 > New Revision: 171801 > > URL: http://llvm.org/viewvc/llvm-project?rev=171801&view=rev > Log: > [ubsan] Use correct type for compound assignment ops. > > Added: > cfe/trunk/test/CodeGen/compound-assign-overflow.c > This test seems to fail on openSUSE 12.2 32bit because... > Added: cfe/trunk/test/CodeGen/compound-assign-overflow.c > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/compound-assign-overflow.c?rev=171801&view=auto > > ============================================================================== > --- cfe/trunk/test/CodeGen/compound-assign-overflow.c (added) > +++ cfe/trunk/test/CodeGen/compound-assign-overflow.c Mon Jan 7 16:25:52 > 2013 > @@ -0,0 +1,36 @@ > +// Verify proper type emitted for compound assignments > +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s > -fsanitize=signed-integer-overflow,unsigned-integer-overflow | FileCheck %s > ^^^^^^^^^^^^^^^^^^^^^^ We have an 64bit target here. > + > +#include <stdint.h> > This includes features.h which in turn includes gnu/stubs.h which says: #if defined __x86_64__ && defined __LP64__ # include <gnu/stubs-64.h> #endif 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? Regards.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
