On Sun, 12 Aug 2007, Segher Boessenkool wrote: > > Yeah. Compiler errors are more annoying though I dare say ;-) Actually, compile-time errors are fine, and easy to work around. *Much* more annoying is when gcc actively generates subtly bad code. We've had use-after-free issues due to incorrect gcc liveness calculations etc, and inline asm has beeen one of the more common causes - exactly because the kernel is one of the few users (along with glibc) that uses it at all. Now *those* are hard to find - the code works most of the time, but the compiler has inserted a really subtle race condition into the code (deallocated a local stack entry before last use). We had that with our semaphore code at some point. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- References:
- [PATCH] make atomic_t volatile on all architectures
- From: Chris Snook <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Chris Snook <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Chuck Ebbert <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Martin Schwidefsky <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Martin Schwidefsky <[email protected]>
- Re: [PATCH] make atomic_t volatile on all architectures
- From: Segher Boessenkool <[email protected]>
- [PATCH] make atomic_t volatile on all architectures
- Prev by Date: Re: [PATCH] remove strict ansi check from __u64 in asm/types.h
- Next by Date: Re: [PATCH] bad temperature values from w83781d in 2.6.22
- Previous by thread: Re: [PATCH] make atomic_t volatile on all architectures
- Next by thread: Re: [PATCH] make atomic_t volatile on all architectures
- Index(es):