public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/104123] New: 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX @ 2022-01-19 17:25 dje at gcc dot gnu.org 2022-01-19 17:36 ` [Bug libstdc++/104123] " redi at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: dje at gcc dot gnu.org @ 2022-01-19 17:25 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104123 Bug ID: 104123 Summary: 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dje at gcc dot gnu.org Target Milestone: --- Target: powerpc-ibm-aix* /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/29_atomics/headers/stdatomic.h/ c_compat.cc:95: error: 'size_t' was not declared in this scope; did you mean 'st d::size_t'? /tmp/GCC/powerpc-ibm-aix7.2.3.0/libstdc++-v3/include/stdatomic.h:35: error: temp late argument 1 is invalid /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/29_atomics/headers/stdatomic.h/ c_compat.cc:95: error: template argument 2 is invalid /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/29_atomics/headers/stdatomic.h/ c_compat.cc:96: error: 'ptrdiff_t' was not declared in this scope; did you mean 'std::ptrdiff_t'? /tmp/GCC/powerpc-ibm-aix7.2.3.0/libstdc++-v3/include/stdatomic.h:35: error: temp late argument 1 is invalid /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/29_atomics/headers/stdatomic.h/ c_compat.cc:96: error: template argument 2 is invalid This probably is an issue that AIX 7.2 headers are not C++-safe. This will be fixed in AIX 7.3. Does this testsuite failure need to be addressed in fixincludes or in the stdatomic.h header? ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/104123] 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX 2022-01-19 17:25 [Bug libstdc++/104123] New: 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX dje at gcc dot gnu.org @ 2022-01-19 17:36 ` redi at gcc dot gnu.org 2022-01-19 17:38 ` redi at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: redi at gcc dot gnu.org @ 2022-01-19 17:36 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104123 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Last reconfirmed| |2022-01-19 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Target Milestone|--- |12.0 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to David Edelsohn from comment #0) > This probably is an issue that AIX 7.2 headers are not C++-safe. This will > be fixed in AIX 7.3. No, I think it's the opposite case. The headers are cleaner than glibc's. > Does this testsuite failure need to be addressed in fixincludes or in the > stdatomic.h header? The stdatomic.h header. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/104123] 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX 2022-01-19 17:25 [Bug libstdc++/104123] New: 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX dje at gcc dot gnu.org 2022-01-19 17:36 ` [Bug libstdc++/104123] " redi at gcc dot gnu.org @ 2022-01-19 17:38 ` redi at gcc dot gnu.org 2022-01-19 17:40 ` cvs-commit at gcc dot gnu.org 2022-01-19 17:41 ` redi at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: redi at gcc dot gnu.org @ 2022-01-19 17:38 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104123 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #1) > > Does this testsuite failure need to be addressed in fixincludes or in the > > stdatomic.h header? > > The stdatomic.h header. Actually, no, it's just a bug in the test. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/104123] 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX 2022-01-19 17:25 [Bug libstdc++/104123] New: 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX dje at gcc dot gnu.org 2022-01-19 17:36 ` [Bug libstdc++/104123] " redi at gcc dot gnu.org 2022-01-19 17:38 ` redi at gcc dot gnu.org @ 2022-01-19 17:40 ` cvs-commit at gcc dot gnu.org 2022-01-19 17:41 ` redi at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2022-01-19 17:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104123 --- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>: https://gcc.gnu.org/g:f5c50748f361841c30d95c1743f040f2f8ec831c commit r12-6750-gf5c50748f361841c30d95c1743f040f2f8ec831c Author: Jonathan Wakely <jwakely@redhat.com> Date: Wed Jan 19 17:39:00 2022 +0000 libstdc++: Include <stddef.h> for size_t and ptrdiff_t [PR104123] libstdc++-v3/ChangeLog: PR libstdc++/104123 * testsuite/29_atomics/headers/stdatomic.h/c_compat.cc: Include <stddef.h>. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/104123] 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX 2022-01-19 17:25 [Bug libstdc++/104123] New: 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX dje at gcc dot gnu.org ` (2 preceding siblings ...) 2022-01-19 17:40 ` cvs-commit at gcc dot gnu.org @ 2022-01-19 17:41 ` redi at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: redi at gcc dot gnu.org @ 2022-01-19 17:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104123 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- That should fix it. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-01-19 17:41 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-01-19 17:25 [Bug libstdc++/104123] New: 29_atomics/headers/stdatomic.h/c_compat.cc fails on AIX dje at gcc dot gnu.org 2022-01-19 17:36 ` [Bug libstdc++/104123] " redi at gcc dot gnu.org 2022-01-19 17:38 ` redi at gcc dot gnu.org 2022-01-19 17:40 ` cvs-commit at gcc dot gnu.org 2022-01-19 17:41 ` redi at gcc dot gnu.org
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).