# define __cast__(_to)
#endif
+#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
+# define attribute_optimize(x) __attribute__ ((optimize(x)))
+#else
+# define attribute_optimize(x)
+#endif
+
#define attribute_unused __attribute__ ((unused))
#if defined __GNUC__ || defined __ICC