From 6300e8ca0239ed4bfe8fbf37c5f72cb4ef3451a7 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Mon, 17 Dec 2012 16:55:14 +0100 Subject: replaced compiler specific __attribute__((noinline)) by EIGEN_DONT_INLINE --- bench/benchGeometry.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bench/benchGeometry.cpp') diff --git a/bench/benchGeometry.cpp b/bench/benchGeometry.cpp index 7a532a846..6e16c0331 100644 --- a/bench/benchGeometry.cpp +++ b/bench/benchGeometry.cpp @@ -25,7 +25,7 @@ struct func; template struct func { - static __attribute__ ((noinline)) res run( arg1& a1, arg2& a2 ) + static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 ) { asm (""); return a1 * a2; @@ -35,7 +35,7 @@ struct func template struct func { - static __attribute__ ((noinline)) res run( arg1& a1, arg2& a2 ) + static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 ) { asm (""); return a1.matrix() * a2; @@ -45,7 +45,7 @@ struct func template struct func { - static __attribute__ ((noinline)) res run( arg1& a1, arg2& a2 ) + static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 ) { asm (""); return res(a1.matrix() * a2.matrix()); -- cgit v1.2.3