Mesa (master): gallium: remove support for GCC older than 4.2.0

Timothy Arceri tarceri at kemper.freedesktop.org
Thu Dec 18 05:09:08 UTC 2014


Module: Mesa
Branch: master
Commit: 743a684512b1801de7f45b791181b5c8411fcc34
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=743a684512b1801de7f45b791181b5c8411fcc34

Author: Timothy Arceri <t_arceri at yahoo.com.au>
Date:   Thu Dec 18 07:45:04 2014 +1100

gallium: remove support for GCC older than 4.2.0

Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/gallium/include/pipe/p_compiler.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h
index 939fb06..fb018bf 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -155,7 +155,7 @@ typedef unsigned char boolean;
 /* See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Variable-Attributes.html */
 #define PIPE_ALIGN_VAR(_alignment) __attribute__((aligned(_alignment)))
 
-#if (__GNUC__ > 4 || (__GNUC__ == 4 &&__GNUC_MINOR__>1)) && !defined(PIPE_ARCH_X86_64)
+#if defined(__GNUC__) && !defined(PIPE_ARCH_X86_64)
 #define PIPE_ALIGN_STACK __attribute__((force_align_arg_pointer))
 #else
 #define PIPE_ALIGN_STACK




More information about the mesa-commit mailing list