[Bug c/108734] powerpc: False Detection of __atomic_*_8 Builtins

2023-02-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734 --- Comment #7 from Jonathan Wakely --- (In reply to David Edelsohn from comment #5) > __has_builtin() does not mean that the builtin is inlined. It only means > that GCC recognizes the builtin. That is how __has_builtin() is documented. > In

[Bug c/108734] powerpc: False Detection of __atomic_*_8 Builtins

2023-02-09 Thread rmclure at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734 Rohan McLure changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/108734] powerpc: False Detection of __atomic_*_8 Builtins

2023-02-09 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734 David Edelsohn changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #5

[Bug c/108734] powerpc: False Detection of __atomic_*_8 Builtins

2023-02-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734 --- Comment #4 from Jonathan Wakely --- What are you actually trying to do here? If you're trying to provide your own definitions for the atomic built-ins then obviously you need to know platform-specific details, including whether that

[Bug c/108734] powerpc: False Detection of __atomic_*_8 Builtins

2023-02-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/108734] powerpc: False Detection of __atomic_*_8 Builtins

2023-02-08 Thread rmclure at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734 --- Comment #2 from Rohan McLure --- The issue here is less that I don't have access to the symbol __atomic_store_8, it's that the preprocessor directive __has_builtin appears to false positive.

[Bug c/108734] powerpc: False Detection of __atomic_*_8 Builtins

2023-02-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734 Andrew Pinski changed: What|Removed |Added Keywords|rejects-valid | --- Comment #1 from Andrew Pinski