mirror of git://gcc.gnu.org/git/gcc.git
struct-layout-encoding-1_generate.c (switchfiles): xfail txxx where xxx >= 25.
2006-01-17 Andrew Pinski <pinskia@physics.uc.edu>
* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (switchfiles):
xfail txxx where xxx >= 25.
From-SVN: r109829
This commit is contained in:
parent
30bdf688e0
commit
bcb36c3e02
|
|
@ -1,3 +1,8 @@
|
||||||
|
2006-01-17 Andrew Pinski <pinskia@physics.uc.edu>
|
||||||
|
|
||||||
|
* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (switchfiles):
|
||||||
|
xfail txxx where xxx >= 25.
|
||||||
|
|
||||||
2006-01-17 Andrew Pinski <pinskia@physics.uc.edu>
|
2006-01-17 Andrew Pinski <pinskia@physics.uc.edu>
|
||||||
|
|
||||||
PR testsuite/25764
|
PR testsuite/25764
|
||||||
|
|
|
||||||
|
|
@ -222,10 +222,23 @@ switchfiles (int fields)
|
||||||
fputs ("failed to create test files\n", stderr);
|
fputs ("failed to create test files\n", stderr);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
fprintf (outfile, "\
|
/* FIXME: these should not be xfailed but they are because
|
||||||
|
of bugs in libobjc and the objc front-end. 25 is because
|
||||||
|
vectors are not encoded. The rest are because or zero sized
|
||||||
|
arrays are encoded as pointers. */
|
||||||
|
if (filecnt >= 25)
|
||||||
|
{
|
||||||
|
fprintf (outfile, "\
|
||||||
|
/* { dg-do run { xfail *-*-* } } */\n\
|
||||||
|
/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fprintf (outfile, "\
|
||||||
/* { dg-do run } */\n\
|
/* { dg-do run } */\n\
|
||||||
/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n\
|
/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n");
|
||||||
#include <objc/encoding.h> \n\
|
}
|
||||||
|
fprintf(outfile, "#include <objc/encoding.h> \n\
|
||||||
#include \"struct-layout-1.h\"\n\
|
#include \"struct-layout-1.h\"\n\
|
||||||
\n\
|
\n\
|
||||||
int fails; \n\
|
int fails; \n\
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue