[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-29 Thread jeff.science at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 Jeff Hammond changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-29 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 --- Comment #7 from joseph at codesourcery dot com --- __STDC_NO_THREADS__ is defined in glibc's stdc-predef.h because it describes combination compiler and library properties. The correct fix for atomics for 4.9 will be to implement them - see

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-29 Thread jeff.science at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 Jeff Hammond changed: What|Removed |Added CC||jeff.science at gmail dot com --- Comment

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-29 Thread jeff.science at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 --- Comment #5 from Jeff Hammond --- Can someone tell me where the appropriate place to define __STDC_NO_ATOMICS__ and __STDC_NO_THREADS__ in GCC so I can submit a patch? I'd rather solve the problem and take 1-2 steps forward towards C11 complia

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-29 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 --- Comment #4 from joseph at codesourcery dot com --- __STDC_VERSION__ describes *intent* of command-line options (as regards differences between standard versions, to the extent that those are implemented). This is the same principle that has

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-29 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 --- Comment #3 from Jonathan Wakely --- Noone disputes it's not conforming. The point is the support is incomplete. It's known to be incomplete. It's documented as incomplete. Reporting a bug to say it's incomplete doesn't serve any useful purpos

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-28 Thread jeff.science at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 --- Comment #2 from Jeff Hammond --- If GCC doesn't support C11, it should not claim to support C11 via __STDC_VERSION__. The C11 standard definition isn't a recommendation from which implementers can pick and choose based upon their priorities.

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 --- Comment #1 from joseph at codesourcery dot com --- I don't know whether Andrew intends stdatomic.h to go in GCC or glibc, but in any case I consider this a duplicate of bug 53769, which in turn I don't really consider a useful bug report at

[Bug c/58016] stdatomic.h missing in 4.8.1

2013-07-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 Paolo Carlini changed: What|Removed |Added Severity|blocker |normal