Messages in this thread | | | Subject | GCC 3.4 and broken inlining. | From | Nigel Cunningham <> | Date | Thu, 08 Jul 2004 21:46:39 +1000 |
| |
Hi.
In response to a user report that suspend2 was broken when compiled with gcc 3.4, I upgraded my compiler to 3.4.1-0.1mdk. I've found that the restore_processor_context, defined as follows:
static inline void restore_processor_context(void)
doesn't get inlined. GCC doesn't complain when compiling the file, and so far as I can see, there's no reason for it not to inline the routine. But that leaves me confused because some other inlined functions do seem to get inlined. Can someone tell me what I'm missing?
Regards,
Nigel
- 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/
| |