[Bug target/59305] [4.9 Regression] gcc.dg/atomic/c11-atomic-exec-5.c fails with WARNING: program timed out on x86_64-apple-darwin13

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 5 14:56:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59305

--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #11)
> > --- Comment #10 from Iain Sandoe <iains at gcc dot gnu.org> ---
> > (In reply to Rainer Orth from comment #9)
> >> I see the same issue on some Solaris 10/SPARC systems on UltraSPARC T2:
> >
> > do you use the default mutex-based implementation for lib atomic?
> 
> I do, since this is the only option on SPARC.

Do you repeat the findings we see on Darwin, where a heavily loaded system does
not exhibit the slow-down?

I was part-way through investigating whether spin locks would be a better
solution for these very short code-segements.  Essentially, the duration should
only be a few insns.  Available time is ever the killer.



More information about the Gcc-bugs mailing list