# HG changeset patch # User cehoyos # Date 1276684556 0 # Node ID 90651a77154965fb22d441eeb179603b5bbe69c3 # Parent da95a329a6b5064f1b25f2ace848e3a5bf525e2b icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used. diff -r da95a329a6b5 -r 90651a771549 mem.h --- a/mem.h Wed Jun 16 04:53:09 2010 +0000 +++ b/mem.h Wed Jun 16 10:35:56 2010 +0000 @@ -28,7 +28,7 @@ #include "attributes.h" -#if defined(__ICC) || defined(__SUNPRO_C) +#if defined(__ICC) && _ICC < 1200 || defined(__SUNPRO_C) #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v #define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v #elif defined(__TI_COMPILER_VERSION__)