Author: Armin Rigo <[email protected]> Branch: Changeset: r63367:7b4d1048f5c9 Date: 2013-04-15 16:17 +0200 http://bitbucket.org/pypy/pypy/changeset/7b4d1048f5c9/
Log: Add a workaround for GCC 4.8. diff --git a/rpython/translator/c/src/support.h b/rpython/translator/c/src/support.h --- a/rpython/translator/c/src/support.h +++ b/rpython/translator/c/src/support.h @@ -2,6 +2,16 @@ /************************************************************/ /*** C header subsection: support functions ***/ +/* a temporary(?) workaround for GCC 4.8. See: + http://stackoverflow.com/questions/16016627/ +*/ +#ifdef __GNUC__ +# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) +# pragma GCC optimize("no-aggressive-loop-optimizations") +# endif +#endif + + #define RUNNING_ON_LLINTERP 0 #define OP_JIT_RECORD_KNOWN_CLASS(i, c, r) /* nothing */ _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
