diff mbox

[committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*

Message ID BLU0-SMTP416114389C569D135154F297690@phx.gbl
State New
Headers show

Commit Message

John David Anglin April 6, 2014, 4:23 p.m. UTC
This test is an expected fail on hppa*-*-hpux* because there is no  
lockless atomic support.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

Committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net
2014-04-06  John David Anglin  <danglin@gcc.gnu.org>

	* gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*.

Comments

Mike Stump April 6, 2014, 4:51 p.m. UTC | #1
On Apr 6, 2014, at 9:23 AM, John David Anglin <dave.anglin@bell.net> wrote:
> This test is an expected fail on hppa*-*-hpux* because there is no lockless atomic support.

One can add “no lockless atomic” in there somewhere…  The reason is that a secondary port that someone is doing can see a failure, look at the test case, and stop reading when they see your comment and think they are in the same boat.  I’ve done that in many cases with some of the hp comments…  so handy.
John David Anglin April 6, 2014, 5:01 p.m. UTC | #2
On 6-Apr-14, at 12:51 PM, Mike Stump wrote:

> On Apr 6, 2014, at 9:23 AM, John David Anglin <dave.anglin@bell.net>  
> wrote:
>> This test is an expected fail on hppa*-*-hpux* because there is no  
>> lockless atomic support.
>
> One can add “no lockless atomic” in there somewhere…  The reason is  
> that a secondary port that someone is doing can see a failure, look  
> at the test case, and stop reading when they see your comment and  
> think they are in the same boat.  I’ve done that in many cases with  
> some of the hp comments…  so handy.

I'll take a look.

Dave
--
John David Anglin	dave.anglin@bell.net
diff mbox

Patch

Index: gcc.dg/atomic/stdatomic-flag.c
===================================================================
--- gcc.dg/atomic/stdatomic-flag.c	(revision 209163)
+++ gcc.dg/atomic/stdatomic-flag.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* Test atomic_flag routines for existence and execution.  */
-/* { dg-do run } */
+/* { dg-do run { xfail hppa*-*-hpux* } } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
 #include <stdatomic.h>