]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/compiler-gcc.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
[linux-2.6-omap-h63xx.git] / include / linux / compiler-gcc.h
index acd583384bd9dffb50a097eae3370caf5704d78c..fe23792f05c1077149718fd783458e8d4d12c5db 100644 (file)
 #define __weak                         __attribute__((weak))
 #define __naked                                __attribute__((naked))
 #define __noreturn                     __attribute__((noreturn))
+
+/*
+ * From the GCC manual:
+ *
+ * Many functions have no effects except the return value and their
+ * return value depends only on the parameters and/or global
+ * variables.  Such a function can be subject to common subexpression
+ * elimination and loop optimization just as an arithmetic operator
+ * would be.
+ * [...]
+ */
 #define __pure                         __attribute__((pure))
 #define __aligned(x)                   __attribute__((aligned(x)))
 #define __printf(a,b)                  __attribute__((format(printf,a,b)))
 #define  noinline                      __attribute__((noinline))
-#define __attribute_pure__             __attribute__((pure))
 #define __attribute_const__            __attribute__((__const__))
 #define __maybe_unused                 __attribute__((unused))