public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*
@ 2014-04-06 16:23 John David Anglin
  2014-04-06 16:53 ` Mike Stump
  0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2014-04-06 16:23 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

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



[-- Attachment #2: stdatomic-flag.c.d.txt --]
[-- Type: text/plain, Size: 544 bytes --]

2014-04-06  John David Anglin  <danglin@gcc.gnu.org>

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

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*
  2014-04-06 16:23 [committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux* John David Anglin
@ 2014-04-06 16:53 ` Mike Stump
  2014-04-06 17:01   ` John David Anglin
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Stump @ 2014-04-06 16:53 UTC (permalink / raw)
  To: John David Anglin; +Cc: GCC Patches

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*
  2014-04-06 16:53 ` Mike Stump
@ 2014-04-06 17:01   ` John David Anglin
  0 siblings, 0 replies; 3+ messages in thread
From: John David Anglin @ 2014-04-06 17:01 UTC (permalink / raw)
  To: Mike Stump; +Cc: GCC Patches

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-06 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-06 16:23 [committed] gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux* John David Anglin
2014-04-06 16:53 ` Mike Stump
2014-04-06 17:01   ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).