[Barrelfish-users] GCC compiler bug

Zeus Gómez Marmolejo zeus.gomez at bsc.es
Wed Oct 17 15:36:10 CEST 2012


Hi,

I've seen this workaround in several inline functions throughout the ARM
code, and I am wondering to which GCC bug it refers to. This bug seems to
be affecting arm-gcc 4.6.3 as well, which is the default version on the
latest Ubuntu Linux. So that should be corrected. Do you know if in the gcc
4.7 branch this bug has been corrected?


//XXX: workaround for inline bug of arm-gcc 4.6.1 and lower
#if defined(__ARM_ARCH_7A__) && defined(__GNUC__) \
        && __GNUC__ == 4 && __GNUC_MINOR__ <= 6 && __GNUC_PATCHLEVEL__ <= 1
static __attribute__((noinline, unused)) errval_t
#else
static inline errval_t
#endif

-- 
Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
http://www.bsc.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20121017/0dd214b9/attachment.html 


More information about the Barrelfish-users mailing list