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

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).