Message ID | 20101114205250.GA2243@bromo.med.uc.edu |
---|---|
State | New |
Headers | show |
On Sun, Nov 14, 2010 at 9:52 PM, Jack Howarth <howarth@bromo.med.uc.edu> wrote: > The attached patch eliminates the failures of the new gcc.target/i386/alias-1.c > testcase... > > FAIL: gcc.target/i386/alias-1.c (test for excess errors) > FAIL: gcc.target/i386/alias-1.c scan-assembler wobbly > FAIL: gcc.target/i386/alias-1.c scan-assembler jelly > > on targets like darwin which lack alias support in their object file format > by addition of dg-require-alias to the testcase. Tested on x86_64-appledarwin10. > Okay for gcc trunk? > Jack Ok. Thanks, Richard. > 2011-11-14 Jack Howarth <howarth@bromo.med.uc.edu> > > * gcc.target/i386/alias-1.c: Require alias support. > > > Index: gcc/testsuite/gcc.target/i386/alias-1.c > =================================================================== > --- gcc/testsuite/gcc.target/i386/alias-1.c (revision 166736) > +++ gcc/testsuite/gcc.target/i386/alias-1.c (working copy) > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-alias "" } */ > > int yum; > void dessert (void) { ++yum; } >
On 14 Nov 2010, at 22:35, Richard Guenther wrote: > On Sun, Nov 14, 2010 at 9:52 PM, Jack Howarth <howarth@bromo.med.uc.edu > > wrote: >> The attached patch eliminates the failures of the new gcc.target/ >> i386/alias-1.c >> testcase... >> >> FAIL: gcc.target/i386/alias-1.c (test for excess errors) >> FAIL: gcc.target/i386/alias-1.c scan-assembler wobbly >> FAIL: gcc.target/i386/alias-1.c scan-assembler jelly >> >> on targets like darwin which lack alias support in their object >> file format >> by addition of dg-require-alias to the testcase. Tested on x86_64- >> appledarwin10. >> Okay for gcc trunk? >> Jack > > Ok. applied as r167079 Iain
Index: gcc/testsuite/gcc.target/i386/alias-1.c =================================================================== --- gcc/testsuite/gcc.target/i386/alias-1.c (revision 166736) +++ gcc/testsuite/gcc.target/i386/alias-1.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-alias "" } */ int yum; void dessert (void) { ++yum; }