diff mbox

Require alias support for gcc.target/i386/alias-1.c testcase

Message ID 20101114205250.GA2243@bromo.med.uc.edu
State New
Headers show

Commit Message

Jack Howarth Nov. 14, 2010, 8:52 p.m. UTC
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

2011-11-14  Jack Howarth  <howarth@bromo.med.uc.edu>

	* gcc.target/i386/alias-1.c: Require alias support.

Comments

Richard Biener Nov. 14, 2010, 10:35 p.m. UTC | #1
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; }
>
Iain Sandoe Nov. 23, 2010, 2:58 p.m. UTC | #2
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
diff mbox

Patch

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; }