Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 10 Jul 2003 09:44:35 +0200 | From | (Margit Schubert-While) | Subject | Re: [PATCH] 2.4.22-pre3: P3 and P4 for chekc_gcc |
| |
Been using this in production for over 9 months. It's interesting to note that, for AMD's, the check has been there for a long time.
For GCC3, there is another problem. It does not inline what it should inline. (Classic example is the ubiquitous copy_(from/to)_user with constant size)
You need either to add "-finline-limit=<n>" to the options and/or add this into compiler.h +#if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) +#define inline __inline__ __attribute__((always_inline)) +#define __inline__ __inline__ __attribute__((always_inline)) +#define __inline __inline__ __attribute__((always_inline)) +#endif
Margit
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |