Skip to content

Cleanup PGI Compiler Warnings #7686

Open
@jjhursey

Description

@jjhursey

Mentioned in this thread the PGI compiler is throwing some warnings around the atomics code on ppc64le:

"/tmp/ompi-src/opal/mca/pmix/pmix4x/openpmix/src/atomics/sys/powerpc/atomic.h",
          line 142: warning: "cc" clobber ignored
                            : "cc", "memory");
                              ^

"/tmp/ompi-src/opal/mca/pmix/pmix4x/openpmix/src/atomics/sys/powerpc/atomic.h",
          line 210: warning: "cc" clobber ignored
                            : "cc", "memory");
                              ^

"/tmp/ompi-src/opal/mca/pmix/pmix4x/openpmix/src/atomics/sys/powerpc/atomic.h",
          line 239: warning: "cc" clobber ignored
  PMIX_ATOMIC_POWERPC_DEFINE_ATOMIC_64(add, add)
  ^

"/tmp/ompi-src/opal/mca/pmix/pmix4x/openpmix/src/atomics/sys/powerpc/atomic.h",
          line 239: warning: variable "t" was set but never used
  PMIX_ATOMIC_POWERPC_DEFINE_ATOMIC_64(add, add)
  ^

We should sweep through and clean those up.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions