https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Doctor it hurts! Then don't do it. Sorry, seriously, it's caused by the flatten
attribute and I can reproduce it for our openSUSE package.

The following helps:

diff --git a/prov/opx/include/rdma/opx/fi_opx_compiler.h
b/prov/opx/include/rdma/opx/fi_opx_compiler.h
index 80493bd..e216faa 100644
--- a/prov/opx/include/rdma/opx/fi_opx_compiler.h
+++ b/prov/opx/include/rdma/opx/fi_opx_compiler.h
@@ -41,7 +41,7 @@
 #define L2_CACHE_LINE_SIZE     (64)

 #ifdef NDEBUG // No Debug, Optimizing
-#define __OPX_FORCE_INLINE_AND_FLATTEN__ static inline __attribute__
((always_inline, flatten))
+#define __OPX_FORCE_INLINE_AND_FLATTEN__ static inline __attribute__
((always_inline))
 #define __OPX_FORCE_INLINE__ static inline __attribute__ ((always_inline))
 #else // NDEBUG
 #define __OPX_FORCE_INLINE_AND_FLATTEN__ static inline

Reply via email to