On Thu, Apr 11, 2013 at 11:56 AM, Jyotsna Verma <[email protected]>wrote:
> Author: jverma > Date: Thu Apr 11 13:56:34 2013 > New Revision: 179310 > > URL: http://llvm.org/viewvc/llvm-project?rev=179310&view=rev > Log: > Exclude test30 of Sema/return.c for Hexagon since setjmp.h include file > is unavailable for Hexagon. > I feel like the right thing to do is inline a minimal set of declarations to support just *this* test, as the test suite really shouldn't be subjected to the vagaries of the system headers anyways. > > Modified: > cfe/trunk/test/Sema/return.c > > Modified: cfe/trunk/test/Sema/return.c > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/return.c?rev=179310&r1=179309&r2=179310&view=diff > > ============================================================================== > --- cfe/trunk/test/Sema/return.c (original) > +++ cfe/trunk/test/Sema/return.c Thu Apr 11 13:56:34 2013 > @@ -197,6 +197,7 @@ int test29() { > exit(1); > } > > +#ifndef __hexagon__ > #include <setjmp.h> > jmp_buf test30_j; > int test30() { > @@ -209,6 +210,7 @@ int test30() { > _longjmp(test30_j, 1); > #endif > } > +#endif > > typedef void test31_t(int status); > void test31(test31_t *callback __attribute__((noreturn))); > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
